Security Command Center V2 API - Class Google::Iam::V1::GetIamPolicyRequest (v0.3.0)

Reference documentation and code samples for the Security Command Center V2 API class Google::Iam::V1::GetIamPolicyRequest.

Request message for GetIamPolicy method.

Inherits

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#options

def options() -> ::Google::Iam::V1::GetPolicyOptions
Returns

#options=

def options=(value) -> ::Google::Iam::V1::GetPolicyOptions
Parameter
Returns

#resource

def resource() -> ::String
Returns
  • (::String) — REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.

#resource=

def resource=(value) -> ::String
Parameter
  • value (::String) — REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.
Returns
  • (::String) — REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.