Reference documentation and code samples for the Compute V1 Client class InstanceManagedByIgmError.
Generated from protobuf message google.cloud.compute.v1.InstanceManagedByIgmError
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ error |
Google\Cloud\Compute\V1\InstanceManagedByIgmErrorManagedInstanceError
[Output Only] Contents of the error. |
↳ instance_action_details |
Google\Cloud\Compute\V1\InstanceManagedByIgmErrorInstanceActionDetails
[Output Only] Details of the instance action that triggered this error. May be null, if the error was not caused by an action on an instance. This field is optional. |
↳ timestamp |
string
[Output Only] The time that this error occurred. This value is in RFC3339 text format. |
getError
[Output Only] Contents of the error.
Generated from protobuf field optional .google.cloud.compute.v1.InstanceManagedByIgmErrorManagedInstanceError error = 96784904;
Returns | |
---|---|
Type | Description |
Google\Cloud\Compute\V1\InstanceManagedByIgmErrorManagedInstanceError|null |
hasError
clearError
setError
[Output Only] Contents of the error.
Generated from protobuf field optional .google.cloud.compute.v1.InstanceManagedByIgmErrorManagedInstanceError error = 96784904;
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Compute\V1\InstanceManagedByIgmErrorManagedInstanceError
|
Returns | |
---|---|
Type | Description |
$this |
getInstanceActionDetails
[Output Only] Details of the instance action that triggered this error. May be null, if the error was not caused by an action on an instance. This field is optional.
Generated from protobuf field optional .google.cloud.compute.v1.InstanceManagedByIgmErrorInstanceActionDetails instance_action_details = 292224547;
Returns | |
---|---|
Type | Description |
Google\Cloud\Compute\V1\InstanceManagedByIgmErrorInstanceActionDetails|null |
hasInstanceActionDetails
clearInstanceActionDetails
setInstanceActionDetails
[Output Only] Details of the instance action that triggered this error. May be null, if the error was not caused by an action on an instance. This field is optional.
Generated from protobuf field optional .google.cloud.compute.v1.InstanceManagedByIgmErrorInstanceActionDetails instance_action_details = 292224547;
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Compute\V1\InstanceManagedByIgmErrorInstanceActionDetails
|
Returns | |
---|---|
Type | Description |
$this |
getTimestamp
[Output Only] The time that this error occurred. This value is in RFC3339 text format.
Generated from protobuf field optional string timestamp = 55126294;
Returns | |
---|---|
Type | Description |
string |
hasTimestamp
clearTimestamp
setTimestamp
[Output Only] The time that this error occurred. This value is in RFC3339 text format.
Generated from protobuf field optional string timestamp = 55126294;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |