Compute V1 Client - Class InstanceManagedByIgmErrorInstanceActionDetails (1.18.1)

Reference documentation and code samples for the Compute V1 Client class InstanceManagedByIgmErrorInstanceActionDetails.

Generated from protobuf message google.cloud.compute.v1.InstanceManagedByIgmErrorInstanceActionDetails

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ action string

[Output Only] Action that managed instance group was executing on the instance when the error occurred. Possible values: Check the Action enum for the list of possible values.

↳ instance string

[Output Only] The URL of the instance. The URL can be set even if the instance has not yet been created.

↳ version Google\Cloud\Compute\V1\ManagedInstanceVersion

[Output Only] Version this instance was created from, or was being created from, but the creation failed. Corresponds to one of the versions that were set on the Instance Group Manager resource at the time this instance was being created.

getAction

[Output Only] Action that managed instance group was executing on the instance when the error occurred. Possible values: Check the Action enum for the list of possible values.

Returns
Type Description
string

hasAction

clearAction

setAction

[Output Only] Action that managed instance group was executing on the instance when the error occurred. Possible values: Check the Action enum for the list of possible values.

Parameter
Name Description
var string
Returns
Type Description
$this

getInstance

[Output Only] The URL of the instance. The URL can be set even if the instance has not yet been created.

Returns
Type Description
string

hasInstance

clearInstance

setInstance

[Output Only] The URL of the instance. The URL can be set even if the instance has not yet been created.

Parameter
Name Description
var string
Returns
Type Description
$this

getVersion

[Output Only] Version this instance was created from, or was being created from, but the creation failed. Corresponds to one of the versions that were set on the Instance Group Manager resource at the time this instance was being created.

Returns
Type Description
Google\Cloud\Compute\V1\ManagedInstanceVersion|null

hasVersion

clearVersion

setVersion

[Output Only] Version this instance was created from, or was being created from, but the creation failed. Corresponds to one of the versions that were set on the Instance Group Manager resource at the time this instance was being created.

Parameter
Name Description
var Google\Cloud\Compute\V1\ManagedInstanceVersion
Returns
Type Description
$this