Class: Google::Iam::V1::SetIamPolicyRequest
- Inherits:
-
Object
- Object
- Google::Iam::V1::SetIamPolicyRequest
- Defined in:
- lib/google/cloud/spanner/admin/database/v1/doc/google/iam/v1/iam_policy.rb,
lib/google/cloud/spanner/admin/instance/v1/doc/google/iam/v1/iam_policy.rb
Overview
Request message for SetIamPolicy
method.
Instance Attribute Summary collapse
-
#policy ⇒ Google::Iam::V1::Policy
REQUIRED: The complete policy to be applied to the
resource
. -
#resource ⇒ String
REQUIRED: The resource for which the policy is being specified.
Instance Attribute Details
#policy ⇒ Google::Iam::V1::Policy
Returns REQUIRED: The complete policy to be applied to the resource
. The size of
the policy is limited to a few 10s of KB. An empty policy is a
valid policy but certain Cloud Platform services (such as Projects)
might reject them.
31 |
# File 'lib/google/cloud/spanner/admin/database/v1/doc/google/iam/v1/iam_policy.rb', line 31 class SetIamPolicyRequest; end |
#resource ⇒ String
Returns REQUIRED: The resource for which the policy is being specified.
resource
is usually specified as a path. For example, a Project
resource is specified as projects/{project}
.
31 |
# File 'lib/google/cloud/spanner/admin/database/v1/doc/google/iam/v1/iam_policy.rb', line 31 class SetIamPolicyRequest; end |