Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::ResourceStatusShutdownDetails (v4.0.0)

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

#max_duration=

def max_duration=(value) -> ::Google::Cloud::Compute::V1::Duration
Parameter
Returns

#request_timestamp

def request_timestamp() -> ::String
Returns
  • (::String) — Past timestamp indicating the beginning of current stopState in RFC3339 text format.

#request_timestamp=

def request_timestamp=(value) -> ::String
Parameter
  • value (::String) — Past timestamp indicating the beginning of current stopState in RFC3339 text format.
Returns
  • (::String) — Past timestamp indicating the beginning of current stopState in 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.