# Class Source (1.17.0)

1.17.0 (latest) 1.16.0 1.15.0 1.14.0 1.13.0 1.12.0 1.11.3 1.10.0 1.9.1 1.8.5 1.7.0 1.6.2 1.5.1 1.4.0 1.3.3 1.2.0 1.1.2 1.0.0 0.1.0

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

Source message describes a specific vm migration Source
resource. It contains the source environment information.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `vmware` | `https://docs.cloud.google.com/python/docs/reference/vmmigration/latest/google.cloud.vmmigration_v1.types.VmwareSourceDetails` Vmware type source details. This field is a member of `oneof`_ `source_details`. |
| `aws` | `https://docs.cloud.google.com/python/docs/reference/vmmigration/latest/google.cloud.vmmigration_v1.types.AwsSourceDetails` AWS type source details. This field is a member of `oneof`_ `source_details`. |
| `azure` | `https://docs.cloud.google.com/python/docs/reference/vmmigration/latest/google.cloud.vmmigration_v1.types.AzureSourceDetails` Azure type source details. This field is a member of `oneof`_ `source_details`. |
| `name` | `str` Output only. The Source name. |
| `create_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The create time timestamp. |
| `update_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The update time timestamp. |
| `labels` | `MutableMapping[str, str]` The labels of the source. |
| `description` | `str` User-provided description of the source. |
| `encryption` | `https://docs.cloud.google.com/python/docs/reference/vmmigration/latest/google.cloud.vmmigration_v1.types.Encryption` Optional. Immutable. The encryption details of the source data stored by the service. |

## 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. |