Class Google::Iam::V1::SetIamPolicyRequest (v0.4.0)

Request message for SetIamPolicy method.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#policy

def policy() -> ::Google::Iam::V1::Policy
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.

#policy=

def policy=(value) -> ::Google::Iam::V1::Policy
Parameter
  • value (::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.
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.

#resource

def resource() -> ::String
Returns
  • (::String) — REQUIRED: The resource for which the policy is being specified. 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 specified. See the operation documentation for the appropriate value for this field.
Returns
  • (::String) — REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.