# Class Collector (0.4.1)

0.4.1 (latest) 0.4.0 0.3.0 0.2.0 0.1.16

    Collector(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Message describing Collector object.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `name` | `str` name of resource. |
| `create_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. Create time stamp. |
| `update_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. Update time stamp. |
| `labels` | `MutableMapping[str, str]` Labels as key value pairs. |
| `display_name` | `str` User specified name of the Collector. |
| `description` | `str` User specified description of the Collector. |
| `service_account` | `str` Service Account email used to ingest data to this Collector. |
| `bucket` | `str` Output only. Store cloud storage bucket name (which is a guid) created with this Collector. |
| `expected_asset_count` | `int` User specified expected asset count. |
| `state` | `https://docs.cloud.google.com/python/docs/reference/rapidmigrationassessment/latest/google.cloud.rapidmigrationassessment_v1.types.Collector.State` Output only. State of the Collector. |
| `client_version` | `str` Output only. Client version. |
| `guest_os_scan` | `https://docs.cloud.google.com/python/docs/reference/rapidmigrationassessment/latest/google.cloud.rapidmigrationassessment_v1.types.GuestOsScan` Output only. Reference to MC Source Guest Os Scan. |
| `vsphere_scan` | `https://docs.cloud.google.com/python/docs/reference/rapidmigrationassessment/latest/google.cloud.rapidmigrationassessment_v1.types.VSphereScan` Output only. Reference to MC Source vsphere_scan. |
| `collection_days` | `int` How many days to collect data. |
| `eula_uri` | `str` Uri for EULA (End User License Agreement) from customer. |

## Classes

### LabelsEntry

    LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `kwargs` | `dict` Keys and values corresponding to the fields of the message. |
| `mapping` | ``Union[dict, `.Message`]`` A dictionary or message to be used to determine the values for this message. |
| `ignore_unknown_fields` | `Optional(bool)` If True, do not raise errors for unknown fields. Only applied if `mapping` is a mapping type or there are keyword parameters. |

### State

    State(value)

-- Using suggestion from API Linter Analyzer for nesting enum -- --
<https://linter.aip.dev/216/nesting> -- State of a Collector
(server_side). States are used for internal purposes and named to
keep convention of legacy product:
<https://cloud.google.com/migrate/stratozone/docs/about-stratoprobe>.