Google Cloud Vm Migration V1 Client - Class Source (1.0.1)

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

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

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

Namespace

Google \ Cloud \ VMMigration \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ vmware VmwareSourceDetails

Vmware type source details.

↳ aws AwsSourceDetails

AWS type source details.

↳ name string

Output only. The Source name.

↳ create_time Google\Protobuf\Timestamp

Output only. The create time timestamp.

↳ update_time Google\Protobuf\Timestamp

Output only. The update time timestamp.

↳ labels array|Google\Protobuf\Internal\MapField

The labels of the source.

↳ description string

User-provided description of the source.

getVmware

Vmware type source details.

Returns
Type Description
VmwareSourceDetails|null

hasVmware

setVmware

Vmware type source details.

Parameter
Name Description
var VmwareSourceDetails
Returns
Type Description
$this

getAws

AWS type source details.

Returns
Type Description
AwsSourceDetails|null

hasAws

setAws

AWS type source details.

Parameter
Name Description
var AwsSourceDetails
Returns
Type Description
$this

getName

Output only. The Source name.

Returns
Type Description
string

setName

Output only. The Source name.

Parameter
Name Description
var string
Returns
Type Description
$this

getCreateTime

Output only. The create time timestamp.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. The create time timestamp.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getUpdateTime

Output only. The update time timestamp.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. The update time timestamp.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getLabels

The labels of the source.

Returns
Type Description
Google\Protobuf\Internal\MapField

setLabels

The labels of the source.

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

getDescription

User-provided description of the source.

Returns
Type Description
string

setDescription

User-provided description of the source.

Parameter
Name Description
var string
Returns
Type Description
$this

getSourceDetails

Returns
Type Description
string