Class Google::Iam::V1::GetPolicyOptions (v0.5.1)

Encapsulates settings provided to GetIamPolicy.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#requested_policy_version

def requested_policy_version() -> ::Integer
Returns
  • (::Integer) — Optional. The policy format version to be returned.

    Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected.

    Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset.

#requested_policy_version=

def requested_policy_version=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. The policy format version to be returned.

    Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected.

    Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset.

Returns
  • (::Integer) — Optional. The policy format version to be returned.

    Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected.

    Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset.