Compute V1 Client - Class SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo (1.27.0)

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

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ errorStatus

[Output Only] If state is ABANDONED or FAILED, this field is populated.

↳ statestring

[Output Only] Status of the action, which can be one of the following: PROPAGATING, PROPAGATED, ABANDONED, FAILED, or DONE. Check the State enum for the list of possible values.

getError

[Output Only] If state is ABANDONED or FAILED, this field is populated.

Returns
TypeDescription
Status|null

hasError

clearError

setError

[Output Only] If state is ABANDONED or FAILED, this field is populated.

Parameter
NameDescription
varStatus
Returns
TypeDescription
$this

getState

[Output Only] Status of the action, which can be one of the following: PROPAGATING, PROPAGATED, ABANDONED, FAILED, or DONE.

Check the State enum for the list of possible values.

Returns
TypeDescription
string

hasState

clearState

setState

[Output Only] Status of the action, which can be one of the following: PROPAGATING, PROPAGATED, ABANDONED, FAILED, or DONE.

Check the State enum for the list of possible values.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this