Reference documentation and code samples for the Compute V1 Client class InstanceManagedByIgmError.
Generated from protobuf message google.cloud.compute.v1.InstanceManagedByIgmError
Namespace
Google \ Cloud \ Compute \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ error |
InstanceManagedByIgmErrorManagedInstanceError
Output only. [Output Only] Contents of the error. |
↳ instance_action_details |
InstanceManagedByIgmErrorInstanceActionDetails
Output only. [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. [Output Only] The time that this error occurred. This value is in RFC3339 text format. |
getError
Output only. [Output Only] Contents of the error.
| Returns | |
|---|---|
| Type | Description |
InstanceManagedByIgmErrorManagedInstanceError|null |
|
hasError
clearError
setError
Output only. [Output Only] Contents of the error.
| Parameter | |
|---|---|
| Name | Description |
var |
InstanceManagedByIgmErrorManagedInstanceError
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getInstanceActionDetails
Output only. [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.
| Returns | |
|---|---|
| Type | Description |
InstanceManagedByIgmErrorInstanceActionDetails|null |
|
hasInstanceActionDetails
clearInstanceActionDetails
setInstanceActionDetails
Output only. [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.
| Parameter | |
|---|---|
| Name | Description |
var |
InstanceManagedByIgmErrorInstanceActionDetails
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTimestamp
Output only. [Output Only] The time that this error occurred.
This value is in RFC3339 text format.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasTimestamp
clearTimestamp
setTimestamp
Output only. [Output Only] The time that this error occurred.
This value is in RFC3339 text format.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|