Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::SetIamPolicyReservationRequest (v2.1.0)

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

A request message for Reservations.SetIamPolicy. See the method description for details.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#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.

#resource

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

#resource=

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

#zone

def zone() -> ::String
Returns
  • (::String) — The name of the zone for this request.

#zone=

def zone=(value) -> ::String
Parameter
  • value (::String) — The name of the zone for this request.
Returns
  • (::String) — The name of the zone for this request.

#zone_set_policy_request_resource

def zone_set_policy_request_resource() -> ::Google::Cloud::Compute::V1::ZoneSetPolicyRequest
Returns

#zone_set_policy_request_resource=

def zone_set_policy_request_resource=(value) -> ::Google::Cloud::Compute::V1::ZoneSetPolicyRequest
Parameter
Returns