Compute V1 Client - Class ManagedInstanceLastAttempt (1.20.0)

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

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ errors Google\Cloud\Compute\V1\Errors

[Output Only] Encountered errors during the last attempt to create or delete the instance.

getErrors

[Output Only] Encountered errors during the last attempt to create or delete the instance.

Returns
Type Description
Google\Cloud\Compute\V1\Errors|null

hasErrors

clearErrors

setErrors

[Output Only] Encountered errors during the last attempt to create or delete the instance.

Parameter
Name Description
var Google\Cloud\Compute\V1\Errors
Returns
Type Description
$this