Privileged Access Manager V1 API - Class Google::Cloud::PrivilegedAccessManager::V1::PrivilegedAccess::GcpIamAccess::RoleBinding (v0.1.2)

Reference documentation and code samples for the Privileged Access Manager V1 API class Google::Cloud::PrivilegedAccessManager::V1::PrivilegedAccess::GcpIamAccess::RoleBinding.

IAM Role bindings that are created after a successful grant.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#condition_expression

def condition_expression() -> ::String
Returns
  • (::String) — Optional. The expression field of the IAM condition to be associated with the role. If specified, a user with an active grant for this entitlement is able to access the resource only if this condition evaluates to true for their request.

    This field uses the same CEL format as IAM and supports all attributes that IAM supports, except tags. https://cloud.google.com/iam/docs/conditions-overview#attributes.

#condition_expression=

def condition_expression=(value) -> ::String
Parameter
  • value (::String) — Optional. The expression field of the IAM condition to be associated with the role. If specified, a user with an active grant for this entitlement is able to access the resource only if this condition evaluates to true for their request.

    This field uses the same CEL format as IAM and supports all attributes that IAM supports, except tags. https://cloud.google.com/iam/docs/conditions-overview#attributes.

Returns
  • (::String) — Optional. The expression field of the IAM condition to be associated with the role. If specified, a user with an active grant for this entitlement is able to access the resource only if this condition evaluates to true for their request.

    This field uses the same CEL format as IAM and supports all attributes that IAM supports, except tags. https://cloud.google.com/iam/docs/conditions-overview#attributes.

#role

def role() -> ::String
Returns
  • (::String) — Required. IAM role to be granted. https://cloud.google.com/iam/docs/roles-overview.

#role=

def role=(value) -> ::String
Parameter
  • value (::String) — Required. IAM role to be granted. https://cloud.google.com/iam/docs/roles-overview.
Returns
  • (::String) — Required. IAM role to be granted. https://cloud.google.com/iam/docs/roles-overview.