Compute V1 Client - Class InstanceManagedByIgmErrorManagedInstanceError (1.5.0)

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

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

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.

Generated from protobuf field optional string code = 3059181;

Returns
TypeDescription
string

hasCode

clearCode

setCode

[Output Only] Error code.

Generated from protobuf field optional string code = 3059181;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getMessage

[Output Only] Error message.

Generated from protobuf field optional string message = 418054151;

Returns
TypeDescription
string

hasMessage

clearMessage

setMessage

[Output Only] Error message.

Generated from protobuf field optional string message = 418054151;

Parameter
NameDescription
var string
Returns
TypeDescription
$this