Class: Google::Iam::V1::SetIamPolicyRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/kms/v1/doc/google/iam/v1/iam_policy.rb

Overview

Request message for +SetIamPolicy+ method.

Instance Attribute Summary collapse

Instance Attribute Details

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

Returns:

  • (Google::Iam::V1::Policy)

    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.



30
# File 'lib/google/cloud/kms/v1/doc/google/iam/v1/iam_policy.rb', line 30

class SetIamPolicyRequest; end

#resourceString

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

Returns:

  • (String)

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



30
# File 'lib/google/cloud/kms/v1/doc/google/iam/v1/iam_policy.rb', line 30

class SetIamPolicyRequest; end