Compute V1 Client - Class InstanceManagedByIgmErrorInstanceActionDetails (1.5.0)

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

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

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.

Generated from protobuf field optional string action = 187661878;

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.

Generated from protobuf field optional string action = 187661878;

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.

Generated from protobuf field optional string instance = 18257045;

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.

Generated from protobuf field optional string instance = 18257045;

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.

Generated from protobuf field optional .google.cloud.compute.v1.ManagedInstanceVersion version = 351608024;

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.

Generated from protobuf field optional .google.cloud.compute.v1.ManagedInstanceVersion version = 351608024;

Parameter
NameDescription
var Google\Cloud\Compute\V1\ManagedInstanceVersion
Returns
TypeDescription
$this