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

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

Migrating VM source information about the VM capabilities needed for some Compute Engine features.

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

Namespace

Google \ Cloud \ VMMigration \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ os_capabilities array

Output only. Unordered list. List of certain VM OS capabilities needed for some Compute Engine features.

↳ last_os_capabilities_update_time Google\Protobuf\Timestamp

Output only. The last time OS capabilities list was updated.

getOsCapabilities

Output only. Unordered list. List of certain VM OS capabilities needed for some Compute Engine features.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setOsCapabilities

Output only. Unordered list. List of certain VM OS capabilities needed for some Compute Engine features.

Parameter
Name Description
var int[]
Returns
Type Description
$this

getLastOsCapabilitiesUpdateTime

Output only. The last time OS capabilities list was updated.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasLastOsCapabilitiesUpdateTime

clearLastOsCapabilitiesUpdateTime

setLastOsCapabilitiesUpdateTime

Output only. The last time OS capabilities list was updated.

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