Compute V1 Client - Class SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo (1.18.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
Name Description
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
Type Description
Google\Cloud\Compute\V1\Status|null

hasError

clearError

setError

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

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