Compute V1 Client - Class InstanceManagedByIgmErrorManagedInstanceError (1.13.0)

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

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ code string

[Output Only] Error code.

↳ message string

[Output Only] Error message.

getCode

[Output Only] Error code.

Returns
TypeDescription
string

hasCode

clearCode

setCode

[Output Only] Error code.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getMessage

[Output Only] Error message.

Returns
TypeDescription
string

hasMessage

clearMessage

setMessage

[Output Only] Error message.

Parameter
NameDescription
var string
Returns
TypeDescription
$this