Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::ResourceStatusShutdownDetails.
Specifies if the instance is in PENDING_STOP state or there is a
programmed stop scheduled.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#max_duration
def max_duration() -> ::Google::Cloud::Compute::V1::Duration
Returns
-
(::Google::Cloud::Compute::V1::Duration) — The duration for graceful shutdown. Only applicable when
stop_state=PENDING_STOP.
#max_duration=
def max_duration=(value) -> ::Google::Cloud::Compute::V1::Duration
Parameter
-
value (::Google::Cloud::Compute::V1::Duration) — The duration for graceful shutdown. Only applicable when
stop_state=PENDING_STOP.
Returns
-
(::Google::Cloud::Compute::V1::Duration) — The duration for graceful shutdown. Only applicable when
stop_state=PENDING_STOP.
#request_timestamp
def request_timestamp() -> ::String
Returns
-
(::String) — Past timestamp indicating the beginning of current
stopStatein RFC3339 text format.
#request_timestamp=
def request_timestamp=(value) -> ::String
Parameter
-
value (::String) — Past timestamp indicating the beginning of current
stopStatein RFC3339 text format.
Returns
-
(::String) — Past timestamp indicating the beginning of current
stopStatein RFC3339 text format.
#stop_state
def stop_state() -> ::String
Returns
- (::String) — Current stopping state of the instance. Check the StopState enum for the list of possible values.
#stop_state=
def stop_state=(value) -> ::String
Parameter
- value (::String) — Current stopping state of the instance. Check the StopState enum for the list of possible values.
Returns
- (::String) — Current stopping state of the instance. Check the StopState enum for the list of possible values.
#target_state
def target_state() -> ::String
Returns
- (::String) — Target instance state. Check the TargetState enum for the list of possible values.
#target_state=
def target_state=(value) -> ::String
Parameter
- value (::String) — Target instance state. Check the TargetState enum for the list of possible values.
Returns
- (::String) — Target instance state. Check the TargetState enum for the list of possible values.