Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::SchedulingOnInstanceStopAction (v2.15.0)

Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::SchedulingOnInstanceStopAction.

Defines the behaviour for instances with the instance_termination_action STOP.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#discard_local_ssd

def discard_local_ssd() -> ::Boolean
Returns
  • (::Boolean) — If true, the contents of any attached Local SSD disks will be discarded else, the Local SSD data will be preserved when the instance is stopped at the end of the run duration/termination time.

#discard_local_ssd=

def discard_local_ssd=(value) -> ::Boolean
Parameter
  • value (::Boolean) — If true, the contents of any attached Local SSD disks will be discarded else, the Local SSD data will be preserved when the instance is stopped at the end of the run duration/termination time.
Returns
  • (::Boolean) — If true, the contents of any attached Local SSD disks will be discarded else, the Local SSD data will be preserved when the instance is stopped at the end of the run duration/termination time.