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

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ vmware Google\Cloud\VMMigration\V1\VmwareSourceDetails

Vmware type source details.

↳ aws Google\Cloud\VMMigration\V1\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
TypeDescription
Google\Cloud\VMMigration\V1\VmwareSourceDetails|null

hasVmware

setVmware

Vmware type source details.

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

getAws

AWS type source details.

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

hasAws

setAws

AWS type source details.

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

getName

Output only. The Source name.

Returns
TypeDescription
string

setName

Output only. The Source name.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCreateTime

Output only. The create time timestamp.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. The create time timestamp.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getUpdateTime

Output only. The update time timestamp.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. The update time timestamp.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getLabels

The labels of the source.

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setLabels

The labels of the source.

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

getDescription

User-provided description of the source.

Returns
TypeDescription
string

setDescription

User-provided description of the source.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSourceDetails

Returns
TypeDescription
string