Interface PrivilegedAccess.GcpIamAccess.RoleBindingOrBuilder (0.7.0)

public static interface PrivilegedAccess.GcpIamAccess.RoleBindingOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConditionExpression()

public abstract String getConditionExpression()

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.

string condition_expression = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The conditionExpression.

getConditionExpressionBytes()

public abstract ByteString getConditionExpressionBytes()

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.

string condition_expression = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for conditionExpression.

getRole()

public abstract String getRole()

Required. IAM role to be granted. https://cloud.google.com/iam/docs/roles-overview.

string role = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The role.

getRoleBytes()

public abstract ByteString getRoleBytes()

Required. IAM role to be granted. https://cloud.google.com/iam/docs/roles-overview.

string role = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for role.