Reference documentation and code samples for the IAM API class Google::Iam::V1::GetIamPolicyRequest.
Request message for GetIamPolicy
method.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#options
def
options
()
-
>
::
Google
::
Iam
::
V1
::
GetPolicyOptions
Returns
- ( ::Google::Iam::V1::GetPolicyOptions
) — OPTIONAL: A
GetPolicyOptions
object for specifying options toGetIamPolicy
.
#options=
def
options=
(
value
)
-
>
::
Google
::
Iam
::
V1
::
GetPolicyOptions
Parameter
- value( ::Google::Iam::V1::GetPolicyOptions
) — OPTIONAL: A
GetPolicyOptions
object for specifying options toGetIamPolicy
.
Returns
- ( ::Google::Iam::V1::GetPolicyOptions
) — OPTIONAL: A
GetPolicyOptions
object for specifying options toGetIamPolicy
.
#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.