Compute V1 Client - Class SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo (1.13.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
data array

Optional. Data for populating the Message object.

↳ error Google\Cloud\Compute\V1\Status

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

↳ state string

[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
Google\Cloud\Compute\V1\Status|null

hasError

clearError

setError

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

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