Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::GetRegionCommitmentRequest (v1.4.0)

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

A request message for RegionCommitments.Get. See the method description for details.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#commitment

def commitment() -> ::String
Returns
  • (::String) — Name of the commitment to return.

#commitment=

def commitment=(value) -> ::String
Parameter
  • value (::String) — Name of the commitment to return.
Returns
  • (::String) — Name of the commitment to return.

#project

def project() -> ::String
Returns
  • (::String) — Project ID for this request.

#project=

def project=(value) -> ::String
Parameter
  • value (::String) — Project ID for this request.
Returns
  • (::String) — Project ID for this request.

#region

def region() -> ::String
Returns
  • (::String) — Name of the region for this request.

#region=

def region=(value) -> ::String
Parameter
  • value (::String) — Name of the region for this request.
Returns
  • (::String) — Name of the region for this request.