Cloud Workstations V1 API - Class Google::Cloud::Workstations::V1::StopWorkstationRequest (v0.1.0)

Reference documentation and code samples for the Cloud Workstations V1 API class Google::Cloud::Workstations::V1::StopWorkstationRequest.

Request message for StopWorkstation.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#etag

def etag() -> ::String
Returns
  • (::String) — Optional. If set, the request will be rejected if the latest version of the workstation on the server does not have this ETag.

#etag=

def etag=(value) -> ::String
Parameter
  • value (::String) — Optional. If set, the request will be rejected if the latest version of the workstation on the server does not have this ETag.
Returns
  • (::String) — Optional. If set, the request will be rejected if the latest version of the workstation on the server does not have this ETag.

#name

def name() -> ::String
Returns
  • (::String) — Required. Name of the workstation to stop.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. Name of the workstation to stop.
Returns
  • (::String) — Required. Name of the workstation to stop.

#validate_only

def validate_only() -> ::Boolean
Returns
  • (::Boolean) — Optional. If set, validate the request and preview the review, but do not actually apply it.

#validate_only=

def validate_only=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. If set, validate the request and preview the review, but do not actually apply it.
Returns
  • (::Boolean) — Optional. If set, validate the request and preview the review, but do not actually apply it.