Google Cloud Vm Migration V1 Client - Class AwsSourceDetails (0.3.2)

Reference documentation and code samples for the Google Cloud Vm Migration V1 Client class AwsSourceDetails.

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

Generated from protobuf message google.cloud.vmmigration.v1.AwsSourceDetails

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ access_key_creds Google\Cloud\VMMigration\V1\AwsSourceDetails\AccessKeyCredentials

AWS Credentials using access key id and secret.

↳ aws_region string

Immutable. The AWS region that the source VMs will be migrated from.

↳ state int

Output only. State of the source as determined by the health check.

↳ error Google\Rpc\Status

Output only. Provides details on the state of the Source in case of an error.

↳ inventory_tag_list array<Google\Cloud\VMMigration\V1\AwsSourceDetails\Tag>

AWS resource tags to limit the scope of the source inventory.

↳ inventory_security_group_names array

AWS security group names to limit the scope of the source inventory.

↳ migration_resources_user_tags array|Google\Protobuf\Internal\MapField

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 string

Output only. The source's public IP. All communication initiated by this source will originate from this IP.

getAccessKeyCreds

AWS Credentials using access key id and secret.

Returns
TypeDescription
Google\Cloud\VMMigration\V1\AwsSourceDetails\AccessKeyCredentials|null

hasAccessKeyCreds

setAccessKeyCreds

AWS Credentials using access key id and secret.

Parameter
NameDescription
var Google\Cloud\VMMigration\V1\AwsSourceDetails\AccessKeyCredentials
Returns
TypeDescription
$this

getAwsRegion

Immutable. The AWS region that the source VMs will be migrated from.

Returns
TypeDescription
string

setAwsRegion

Immutable. The AWS region that the source VMs will be migrated from.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getState

Output only. State of the source as determined by the health check.

Returns
TypeDescription
int

setState

Output only. State of the source as determined by the health check.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getError

Output only. Provides details on the state of the Source in case of an error.

Returns
TypeDescription
Google\Rpc\Status|null

hasError

clearError

setError

Output only. Provides details on the state of the Source in case of an error.

Parameter
NameDescription
var Google\Rpc\Status
Returns
TypeDescription
$this

getInventoryTagList

AWS resource tags to limit the scope of the source inventory.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setInventoryTagList

AWS resource tags to limit the scope of the source inventory.

Parameter
NameDescription
var array<Google\Cloud\VMMigration\V1\AwsSourceDetails\Tag>
Returns
TypeDescription
$this

getInventorySecurityGroupNames

AWS security group names to limit the scope of the source inventory.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setInventorySecurityGroupNames

AWS security group names to limit the scope of the source inventory.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getMigrationResourcesUserTags

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
TypeDescription
Google\Protobuf\Internal\MapField

setMigrationResourcesUserTags

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.

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this

getPublicIp

Output only. The source's public IP. All communication initiated by this source will originate from this IP.

Returns
TypeDescription
string

setPublicIp

Output only. The source's public IP. All communication initiated by this source will originate from this IP.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCredentialsType

Returns
TypeDescription
string