# Migrate for Compute Engine V1 API - Class Google::Cloud::VMMigration::V1::AwsSourceDetails (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::AwsSourceDetails.

AwsSourceDetails message describes a specific source details for the
AWS source type.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #access_key_creds

    def access_key_creds() -> ::Google::Cloud::VMMigration::V1::AwsSourceDetails::AccessKeyCredentials

**Returns**

- ([::Google::Cloud::VMMigration::V1::AwsSourceDetails::AccessKeyCredentials](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-AwsSourceDetails-AccessKeyCredentials)) --- AWS Credentials using access key id and secret.

### #access_key_creds=

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

**Parameter**

- **value** ([::Google::Cloud::VMMigration::V1::AwsSourceDetails::AccessKeyCredentials](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-AwsSourceDetails-AccessKeyCredentials)) --- AWS Credentials using access key id and secret.
**Returns**

- ([::Google::Cloud::VMMigration::V1::AwsSourceDetails::AccessKeyCredentials](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-AwsSourceDetails-AccessKeyCredentials)) --- AWS Credentials using access key id and secret.

### #aws_region

    def aws_region() -> ::String

**Returns**

- (::String) --- Immutable. The AWS region that the source VMs will be migrated from.

### #aws_region=

    def aws_region=(value) -> ::String

**Parameter**

- **value** (::String) --- Immutable. The AWS region that the source VMs will be migrated from.
**Returns**

- (::String) --- Immutable. The AWS region that the source VMs will be migrated from.

### #error

    def error() -> ::Google::Rpc::Status

**Returns**

- ([::Google::Rpc::Status](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Rpc-Status)) --- Output only. Provides details on the state of the Source in case of an error.

### #inventory_security_group_names

    def inventory_security_group_names() -> ::Array<::String>

**Returns**

- (::Array\<::String\>) --- AWS security group names to limit the scope of the source inventory.

### #inventory_security_group_names=

    def inventory_security_group_names=(value) -> ::Array<::String>

**Parameter**

- **value** (::Array\<::String\>) --- AWS security group names to limit the scope of the source inventory.
**Returns**

- (::Array\<::String\>) --- AWS security group names to limit the scope of the source inventory.

### #inventory_tag_list

    def inventory_tag_list() -> ::Array<::Google::Cloud::VMMigration::V1::AwsSourceDetails::Tag>

**Returns**

- (::Array\<[::Google::Cloud::VMMigration::V1::AwsSourceDetails::Tag](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-AwsSourceDetails-Tag)\>) --- AWS resource tags to limit the scope of the source inventory.

### #inventory_tag_list=

    def inventory_tag_list=(value) -> ::Array<::Google::Cloud::VMMigration::V1::AwsSourceDetails::Tag>

**Parameter**

- **value** (::Array\<[::Google::Cloud::VMMigration::V1::AwsSourceDetails::Tag](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-AwsSourceDetails-Tag)\>) --- AWS resource tags to limit the scope of the source inventory.
**Returns**

- (::Array\<[::Google::Cloud::VMMigration::V1::AwsSourceDetails::Tag](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-AwsSourceDetails-Tag)\>) --- AWS resource tags to limit the scope of the source inventory.

### #migration_resources_user_tags

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

**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- User specified tags to add to every M2VM generated resource in AWS. These tags will be set in addition to the default tags that are set as part of the migration process. The tags must not begin with the reserved prefix `m2vm`.

### #migration_resources_user_tags=

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

**Parameter**

- **value** (::Google::Protobuf::Map{::String =\> ::String}) --- User specified tags to add to every M2VM generated resource in AWS. These tags will be set in addition to the default tags that are set as part of the migration process. The tags must not begin with the reserved prefix `m2vm`.
**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- User specified tags to add to every M2VM generated resource in AWS. These tags will be set in addition to the default tags that are set as part of the migration process. The tags must not begin with the reserved prefix `m2vm`.

### #public_ip

    def public_ip() -> ::String

**Returns**

- (::String) --- Output only. The source's public IP. All communication initiated by this source will originate from this IP.

### #state

    def state() -> ::Google::Cloud::VMMigration::V1::AwsSourceDetails::State

**Returns**

- ([::Google::Cloud::VMMigration::V1::AwsSourceDetails::State](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-AwsSourceDetails-State)) --- Output only. State of the source as determined by the health check.