Compute V1 Client - Class InstanceManagedByIgmErrorInstanceActionDetails (1.23.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
dataarray

Optional. Data for populating the Message object.

↳ actionstring

[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.

↳ instancestring

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

↳ versionManagedInstanceVersion

[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
varstring
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
varstring
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
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
varManagedInstanceVersion
Returns
TypeDescription
$this