Google Cloud Vm Migration V1 Client - Class AwsSourceDiskDetails (1.1.0)

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

Represents the source AWS Disk details.

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

Namespace

Google \ Cloud \ VMMigration \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ volume_id string

Required. AWS volume ID.

↳ size_gib int|string

Output only. Size in GiB.

↳ disk_type int

Optional. Output only. Disk type.

↳ tags array|Google\Protobuf\Internal\MapField

Optional. Output only. A map of AWS volume tags.

getVolumeId

Required. AWS volume ID.

Returns
Type Description
string

setVolumeId

Required. AWS volume ID.

Parameter
Name Description
var string
Returns
Type Description
$this

getSizeGib

Output only. Size in GiB.

Returns
Type Description
int|string

setSizeGib

Output only. Size in GiB.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getDiskType

Optional. Output only. Disk type.

Returns
Type Description
int Enum of type Type.

setDiskType

Optional. Output only. Disk type.

Parameter
Name Description
var int

Enum of type Type.

Returns
Type Description
$this

getTags

Optional. Output only. A map of AWS volume tags.

Returns
Type Description
Google\Protobuf\Internal\MapField

setTags

Optional. Output only. A map of AWS volume tags.

Parameter
Name Description
var array|Google\Protobuf\Internal\MapField
Returns
Type Description
$this