Compute V1 Client - Class InstanceManagedByIgmErrorInstanceActionDetails (1.13.0)

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
NameDescription
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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

getInstance

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

Returns
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var Google\Cloud\Compute\V1\ManagedInstanceVersion
Returns
TypeDescription
$this