Reference documentation and code samples for the Compute V1 Client class ManagedInstanceShutdownDetails.
Generated from protobuf message google.cloud.compute.v1.ManagedInstanceShutdownDetails
Namespace
Google \ Cloud \ Compute \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ max_duration |
Duration
Output only. The duration for graceful shutdown. Only applicable when the instance is in |
↳ request_timestamp |
string
Output only. Past timestamp indicating the beginning of |
getMaxDuration
Output only. The duration for graceful shutdown. Only applicable when the instance is
in PENDING_STOP state.
| Returns | |
|---|---|
| Type | Description |
Duration|null |
|
hasMaxDuration
clearMaxDuration
setMaxDuration
Output only. The duration for graceful shutdown. Only applicable when the instance is
in PENDING_STOP state.
| Parameter | |
|---|---|
| Name | Description |
var |
Duration
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getRequestTimestamp
Output only. Past timestamp indicating the beginning of PENDING_STOP state of
instance in RFC3339
text format.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasRequestTimestamp
clearRequestTimestamp
setRequestTimestamp
Output only. Past timestamp indicating the beginning of PENDING_STOP state of
instance in RFC3339
text format.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|