Compute V1 Client - Class ManagedInstanceLastAttempt (1.12.1)

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
NameDescription
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
TypeDescription
Google\Cloud\Compute\V1\Errors|null

hasErrors

clearErrors

setErrors

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

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