public sealed class PrivilegedAccess.Types.GcpIamAccess.Types.RoleBinding : IMessage<PrivilegedAccess.Types.GcpIamAccess.Types.RoleBinding>, IEquatable<PrivilegedAccess.Types.GcpIamAccess.Types.RoleBinding>, IDeepCloneable<PrivilegedAccess.Types.GcpIamAccess.Types.RoleBinding>, IBufferMessage, IMessage
Reference documentation and code samples for the Privileged Access Manager v1 API class PrivilegedAccess.Types.GcpIamAccess.Types.RoleBinding.
IAM role bindings that are created after a successful grant.
Implements
IMessagePrivilegedAccessTypesGcpIamAccessTypesRoleBinding, IEquatablePrivilegedAccessTypesGcpIamAccessTypesRoleBinding, IDeepCloneablePrivilegedAccessTypesGcpIamAccessTypesRoleBinding, IBufferMessage, IMessageNamespace
Google.Cloud.PrivilegedAccessManager.V1Assembly
Google.Cloud.PrivilegedAccessManager.V1.dll
Constructors
RoleBinding()
public RoleBinding()
RoleBinding(RoleBinding)
public RoleBinding(PrivilegedAccess.Types.GcpIamAccess.Types.RoleBinding other)
Parameter | |
---|---|
Name | Description |
other |
PrivilegedAccessTypesGcpIamAccessTypesRoleBinding |
Properties
ConditionExpression
public string ConditionExpression { get; set; }
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.
Property Value | |
---|---|
Type | Description |
string |
Role
public string Role { get; set; }
Required. IAM role to be granted. https://cloud.google.com/iam/docs/roles-overview.
Property Value | |
---|---|
Type | Description |
string |