Google Cloud Vm Migration V1 Client - Class FetchInventoryResponse (0.2.3)

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

Response message for fetchInventory.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ vmware_vms Google\Cloud\VMMigration\V1\VmwareVmsDetails

The description of the VMs in a Source of type Vmware.

↳ update_time Google\Protobuf\Timestamp

Output only. The timestamp when the source was last queried (if the result is from the cache).

getVmwareVms

The description of the VMs in a Source of type Vmware.

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

hasVmwareVms

setVmwareVms

The description of the VMs in a Source of type Vmware.

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

getUpdateTime

Output only. The timestamp when the source was last queried (if the result is from the cache).

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. The timestamp when the source was last queried (if the result is from the cache).

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

getSourceVms

Returns
TypeDescription
string