# Migrate for Compute Engine V1 API - Class Google::Cloud::VMMigration::V1::Source (v2.9.0)

2.9.0 (latest) 2.8.0 2.7.0 2.6.0 2.5.1 2.4.0 2.3.0 2.2.0 2.1.1 2.0.0 1.3.0 1.2.0 1.1.0 1.0.2 0.9.0 0.8.2 0.7.0 0.6.1 0.5.0 0.4.0 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the Migrate for Compute Engine V1 API class Google::Cloud::VMMigration::V1::Source.

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

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #aws

    def aws() -> ::Google::Cloud::VMMigration::V1::AwsSourceDetails

**Returns**

- ([::Google::Cloud::VMMigration::V1::AwsSourceDetails](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-AwsSourceDetails)) --- AWS type source details.


  Note: The following fields are mutually exclusive: `aws`, `vmware`, `azure`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #aws=

    def aws=(value) -> ::Google::Cloud::VMMigration::V1::AwsSourceDetails

**Parameter**

- **value** ([::Google::Cloud::VMMigration::V1::AwsSourceDetails](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-AwsSourceDetails)) --- AWS type source details.


  Note: The following fields are mutually exclusive: `aws`, `vmware`, `azure`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::VMMigration::V1::AwsSourceDetails](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-AwsSourceDetails)) --- AWS type source details.


  Note: The following fields are mutually exclusive: `aws`, `vmware`, `azure`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #azure

    def azure() -> ::Google::Cloud::VMMigration::V1::AzureSourceDetails

**Returns**

- ([::Google::Cloud::VMMigration::V1::AzureSourceDetails](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-AzureSourceDetails)) --- Azure type source details.


  Note: The following fields are mutually exclusive: `azure`, `vmware`, `aws`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #azure=

    def azure=(value) -> ::Google::Cloud::VMMigration::V1::AzureSourceDetails

**Parameter**

- **value** ([::Google::Cloud::VMMigration::V1::AzureSourceDetails](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-AzureSourceDetails)) --- Azure type source details.


  Note: The following fields are mutually exclusive: `azure`, `vmware`, `aws`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::VMMigration::V1::AzureSourceDetails](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-AzureSourceDetails)) --- Azure type source details.


  Note: The following fields are mutually exclusive: `azure`, `vmware`, `aws`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #create_time

    def create_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Protobuf-Timestamp)) --- Output only. The create time timestamp.

### #description

    def description() -> ::String

**Returns**

- (::String) --- User-provided description of the source.

### #description=

    def description=(value) -> ::String

**Parameter**

- **value** (::String) --- User-provided description of the source.
**Returns**

- (::String) --- User-provided description of the source.

### #encryption

    def encryption() -> ::Google::Cloud::VMMigration::V1::Encryption

**Returns**

- ([::Google::Cloud::VMMigration::V1::Encryption](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-Encryption)) --- Optional. Immutable. The encryption details of the source data stored by the service.

### #encryption=

    def encryption=(value) -> ::Google::Cloud::VMMigration::V1::Encryption

**Parameter**

- **value** ([::Google::Cloud::VMMigration::V1::Encryption](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-Encryption)) --- Optional. Immutable. The encryption details of the source data stored by the service.
**Returns**

- ([::Google::Cloud::VMMigration::V1::Encryption](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-Encryption)) --- Optional. Immutable. The encryption details of the source data stored by the service.

### #labels

    def labels() -> ::Google::Protobuf::Map{::String => ::String}

**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- The labels of the source.

### #labels=

    def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}

**Parameter**

- **value** (::Google::Protobuf::Map{::String =\> ::String}) --- The labels of the source.
**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- The labels of the source.

### #name

    def name() -> ::String

**Returns**

- (::String) --- Output only. The Source name.

### #update_time

    def update_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Protobuf-Timestamp)) --- Output only. The update time timestamp.

### #vmware

    def vmware() -> ::Google::Cloud::VMMigration::V1::VmwareSourceDetails

**Returns**

- ([::Google::Cloud::VMMigration::V1::VmwareSourceDetails](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-VmwareSourceDetails)) --- Vmware type source details.


  Note: The following fields are mutually exclusive: `vmware`, `aws`, `azure`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #vmware=

    def vmware=(value) -> ::Google::Cloud::VMMigration::V1::VmwareSourceDetails

**Parameter**

- **value** ([::Google::Cloud::VMMigration::V1::VmwareSourceDetails](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-VmwareSourceDetails)) --- Vmware type source details.


  Note: The following fields are mutually exclusive: `vmware`, `aws`, `azure`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::VMMigration::V1::VmwareSourceDetails](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-VmwareSourceDetails)) --- Vmware type source details.


  Note: The following fields are mutually exclusive: `vmware`, `aws`, `azure`. If a field in that set is populated, all other fields in the set will automatically be cleared.