Compute V1 Client - Class InstanceManagedByIgmErrorManagedInstanceError (1.18.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
Name Description
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
Type Description
string

hasCode

clearCode

setCode

[Output Only] Error code.

Parameter
Name Description
var string
Returns
Type Description
$this

getMessage

[Output Only] Error message.

Returns
Type Description
string

hasMessage

clearMessage

setMessage

[Output Only] Error message.

Parameter
Name Description
var string
Returns
Type Description
$this