public static final class PrivilegedAccess.GcpIamAccess.RoleBinding.Builder extends GeneratedMessageV3.Builder<PrivilegedAccess.GcpIamAccess.RoleBinding.Builder> implements PrivilegedAccess.GcpIamAccess.RoleBindingOrBuilder
IAM Role bindings that are created after a successful grant.
Protobuf type
google.cloud.privilegedaccessmanager.v1.PrivilegedAccess.GcpIamAccess.RoleBinding
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PrivilegedAccess.GcpIamAccess.RoleBinding.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public PrivilegedAccess.GcpIamAccess.RoleBinding build()
buildPartial()
public PrivilegedAccess.GcpIamAccess.RoleBinding buildPartial()
clear()
public PrivilegedAccess.GcpIamAccess.RoleBinding.Builder clear()
Overrides
clearConditionExpression()
public PrivilegedAccess.GcpIamAccess.RoleBinding.Builder clearConditionExpression()
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];
clearField(Descriptors.FieldDescriptor field)
public PrivilegedAccess.GcpIamAccess.RoleBinding.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public PrivilegedAccess.GcpIamAccess.RoleBinding.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearRole()
public PrivilegedAccess.GcpIamAccess.RoleBinding.Builder clearRole()
clone()
public PrivilegedAccess.GcpIamAccess.RoleBinding.Builder clone()
Overrides
getConditionExpression()
public 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 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.
|
getDefaultInstanceForType()
public PrivilegedAccess.GcpIamAccess.RoleBinding getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getRole()
Returns |
Type |
Description |
String |
The role.
|
getRoleBytes()
public ByteString getRoleBytes()
Returns |
Type |
Description |
ByteString |
The bytes for role.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(PrivilegedAccess.GcpIamAccess.RoleBinding other)
public PrivilegedAccess.GcpIamAccess.RoleBinding.Builder mergeFrom(PrivilegedAccess.GcpIamAccess.RoleBinding other)
public PrivilegedAccess.GcpIamAccess.RoleBinding.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public PrivilegedAccess.GcpIamAccess.RoleBinding.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PrivilegedAccess.GcpIamAccess.RoleBinding.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setConditionExpression(String value)
public PrivilegedAccess.GcpIamAccess.RoleBinding.Builder setConditionExpression(String value)
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];
Parameter |
Name |
Description |
value |
String
The conditionExpression to set.
|
setConditionExpressionBytes(ByteString value)
public PrivilegedAccess.GcpIamAccess.RoleBinding.Builder setConditionExpressionBytes(ByteString value)
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];
Parameter |
Name |
Description |
value |
ByteString
The bytes for conditionExpression to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public PrivilegedAccess.GcpIamAccess.RoleBinding.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PrivilegedAccess.GcpIamAccess.RoleBinding.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setRole(String value)
public PrivilegedAccess.GcpIamAccess.RoleBinding.Builder setRole(String value)
Parameter |
Name |
Description |
value |
String
The role to set.
|
setRoleBytes(ByteString value)
public PrivilegedAccess.GcpIamAccess.RoleBinding.Builder setRoleBytes(ByteString value)
Parameter |
Name |
Description |
value |
ByteString
The bytes for role to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final PrivilegedAccess.GcpIamAccess.RoleBinding.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides