Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::GetIamPolicyResourcePolicyRequest (v2.7.2)

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

A request message for ResourcePolicies.GetIamPolicy. See the method description for details.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#options_requested_policy_version

def options_requested_policy_version() -> ::Integer
Returns
  • (::Integer) — Requested IAM Policy version.

#options_requested_policy_version=

def options_requested_policy_version=(value) -> ::Integer
Parameter
  • value (::Integer) — Requested IAM Policy version.
Returns
  • (::Integer) — Requested IAM Policy version.

#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) — The name of the region for this request.

#region=

def region=(value) -> ::String
Parameter
  • value (::String) — The name of the region for this request.
Returns
  • (::String) — The name of the region 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.