- 1.53.0 (latest)
- 1.52.0
- 1.51.0
- 1.50.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.6
- 1.1.0
- 1.0.4
- 0.4.4
public static final class Explanations.BindingExplanation.Builder extends GeneratedMessageV3.Builder<Explanations.BindingExplanation.Builder> implements Explanations.BindingExplanationOrBuilder
Details about how a binding in a policy affects a member's ability to use a permission.
Protobuf type google.cloud.policytroubleshooter.v1.BindingExplanation
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Explanations.BindingExplanation.BuilderImplements
Explanations.BindingExplanationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Explanations.BindingExplanation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Explanations.BindingExplanation.Builder |
build()
public Explanations.BindingExplanation build()
Type | Description |
Explanations.BindingExplanation |
buildPartial()
public Explanations.BindingExplanation buildPartial()
Type | Description |
Explanations.BindingExplanation |
clear()
public Explanations.BindingExplanation.Builder clear()
Type | Description |
Explanations.BindingExplanation.Builder |
clearAccess()
public Explanations.BindingExplanation.Builder clearAccess()
Required. Indicates whether this binding provides the specified permission to the
specified member for the specified resource.
This field does not indicate whether the member actually has the
permission for the resource. There might be another binding that overrides
this binding. To determine whether the member actually has the permission,
use the access
field in the
TroubleshootIamPolicyResponse.
.google.cloud.policytroubleshooter.v1.AccessState access = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
Explanations.BindingExplanation.Builder | This builder for chaining. |
clearCondition()
public Explanations.BindingExplanation.Builder clearCondition()
A condition expression that prevents access unless the expression evaluates
to true
.
To learn about IAM Conditions, see
http://cloud.google.com/iam/help/conditions/overview.
.google.type.Expr condition = 7;
Type | Description |
Explanations.BindingExplanation.Builder |
clearField(Descriptors.FieldDescriptor field)
public Explanations.BindingExplanation.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Explanations.BindingExplanation.Builder |
clearMemberships()
public Explanations.BindingExplanation.Builder clearMemberships()
Type | Description |
Explanations.BindingExplanation.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Explanations.BindingExplanation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Explanations.BindingExplanation.Builder |
clearRelevance()
public Explanations.BindingExplanation.Builder clearRelevance()
The relevance of this binding to the overall determination for the entire policy.
.google.cloud.policytroubleshooter.v1.HeuristicRelevance relevance = 6;
Type | Description |
Explanations.BindingExplanation.Builder | This builder for chaining. |
clearRole()
public Explanations.BindingExplanation.Builder clearRole()
The role that this binding grants. For example,
roles/compute.serviceAgent
.
For a complete list of predefined IAM roles, as well as the permissions in
each role, see https://cloud.google.com/iam/help/roles/reference.
string role = 2;
Type | Description |
Explanations.BindingExplanation.Builder | This builder for chaining. |
clearRolePermission()
public Explanations.BindingExplanation.Builder clearRolePermission()
Indicates whether the role granted by this binding contains the specified permission.
.google.cloud.policytroubleshooter.v1.BindingExplanation.RolePermission role_permission = 3;
Type | Description |
Explanations.BindingExplanation.Builder | This builder for chaining. |
clearRolePermissionRelevance()
public Explanations.BindingExplanation.Builder clearRolePermissionRelevance()
The relevance of the permission's existence, or nonexistence, in the role to the overall determination for the entire policy.
.google.cloud.policytroubleshooter.v1.HeuristicRelevance role_permission_relevance = 4;
Type | Description |
Explanations.BindingExplanation.Builder | This builder for chaining. |
clone()
public Explanations.BindingExplanation.Builder clone()
Type | Description |
Explanations.BindingExplanation.Builder |
containsMemberships(String key)
public boolean containsMemberships(String key)
Indicates whether each member in the binding includes the member specified in the request, either directly or indirectly. Each key identifies a member in the binding, and each value indicates whether the member in the binding includes the member in the request. For example, suppose that a binding includes the following members:
user:alice@example.com
group:product-eng@example.com
You want to troubleshoot access foruser:bob@example.com
. This user is a member of the groupgroup:product-eng@example.com
. For the first member in the binding, the key isuser:alice@example.com
, and themembership
field in the value is set toMEMBERSHIP_NOT_INCLUDED
. For the second member in the binding, the key isgroup:product-eng@example.com
, and themembership
field in the value is set toMEMBERSHIP_INCLUDED
.
map<string, .google.cloud.policytroubleshooter.v1.BindingExplanation.AnnotatedMembership> memberships = 5;
Name | Description |
key | String |
Type | Description |
boolean |
getAccess()
public Explanations.AccessState getAccess()
Required. Indicates whether this binding provides the specified permission to the
specified member for the specified resource.
This field does not indicate whether the member actually has the
permission for the resource. There might be another binding that overrides
this binding. To determine whether the member actually has the permission,
use the access
field in the
TroubleshootIamPolicyResponse.
.google.cloud.policytroubleshooter.v1.AccessState access = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
Explanations.AccessState | The access. |
getAccessValue()
public int getAccessValue()
Required. Indicates whether this binding provides the specified permission to the
specified member for the specified resource.
This field does not indicate whether the member actually has the
permission for the resource. There might be another binding that overrides
this binding. To determine whether the member actually has the permission,
use the access
field in the
TroubleshootIamPolicyResponse.
.google.cloud.policytroubleshooter.v1.AccessState access = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
int | The enum numeric value on the wire for access. |
getCondition()
public Expr getCondition()
A condition expression that prevents access unless the expression evaluates
to true
.
To learn about IAM Conditions, see
http://cloud.google.com/iam/help/conditions/overview.
.google.type.Expr condition = 7;
Type | Description |
com.google.type.Expr | The condition. |
getConditionBuilder()
public Expr.Builder getConditionBuilder()
A condition expression that prevents access unless the expression evaluates
to true
.
To learn about IAM Conditions, see
http://cloud.google.com/iam/help/conditions/overview.
.google.type.Expr condition = 7;
Type | Description |
com.google.type.Expr.Builder |
getConditionOrBuilder()
public ExprOrBuilder getConditionOrBuilder()
A condition expression that prevents access unless the expression evaluates
to true
.
To learn about IAM Conditions, see
http://cloud.google.com/iam/help/conditions/overview.
.google.type.Expr condition = 7;
Type | Description |
com.google.type.ExprOrBuilder |
getDefaultInstanceForType()
public Explanations.BindingExplanation getDefaultInstanceForType()
Type | Description |
Explanations.BindingExplanation |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getMemberships()
public Map<String,Explanations.BindingExplanation.AnnotatedMembership> getMemberships()
Use #getMembershipsMap() instead.
Type | Description |
Map<String,AnnotatedMembership> |
getMembershipsCount()
public int getMembershipsCount()
Indicates whether each member in the binding includes the member specified in the request, either directly or indirectly. Each key identifies a member in the binding, and each value indicates whether the member in the binding includes the member in the request. For example, suppose that a binding includes the following members:
user:alice@example.com
group:product-eng@example.com
You want to troubleshoot access foruser:bob@example.com
. This user is a member of the groupgroup:product-eng@example.com
. For the first member in the binding, the key isuser:alice@example.com
, and themembership
field in the value is set toMEMBERSHIP_NOT_INCLUDED
. For the second member in the binding, the key isgroup:product-eng@example.com
, and themembership
field in the value is set toMEMBERSHIP_INCLUDED
.
map<string, .google.cloud.policytroubleshooter.v1.BindingExplanation.AnnotatedMembership> memberships = 5;
Type | Description |
int |
getMembershipsMap()
public Map<String,Explanations.BindingExplanation.AnnotatedMembership> getMembershipsMap()
Indicates whether each member in the binding includes the member specified in the request, either directly or indirectly. Each key identifies a member in the binding, and each value indicates whether the member in the binding includes the member in the request. For example, suppose that a binding includes the following members:
user:alice@example.com
group:product-eng@example.com
You want to troubleshoot access foruser:bob@example.com
. This user is a member of the groupgroup:product-eng@example.com
. For the first member in the binding, the key isuser:alice@example.com
, and themembership
field in the value is set toMEMBERSHIP_NOT_INCLUDED
. For the second member in the binding, the key isgroup:product-eng@example.com
, and themembership
field in the value is set toMEMBERSHIP_INCLUDED
.
map<string, .google.cloud.policytroubleshooter.v1.BindingExplanation.AnnotatedMembership> memberships = 5;
Type | Description |
Map<String,AnnotatedMembership> |
getMembershipsOrDefault(String key, Explanations.BindingExplanation.AnnotatedMembership defaultValue)
public Explanations.BindingExplanation.AnnotatedMembership getMembershipsOrDefault(String key, Explanations.BindingExplanation.AnnotatedMembership defaultValue)
Indicates whether each member in the binding includes the member specified in the request, either directly or indirectly. Each key identifies a member in the binding, and each value indicates whether the member in the binding includes the member in the request. For example, suppose that a binding includes the following members:
user:alice@example.com
group:product-eng@example.com
You want to troubleshoot access foruser:bob@example.com
. This user is a member of the groupgroup:product-eng@example.com
. For the first member in the binding, the key isuser:alice@example.com
, and themembership
field in the value is set toMEMBERSHIP_NOT_INCLUDED
. For the second member in the binding, the key isgroup:product-eng@example.com
, and themembership
field in the value is set toMEMBERSHIP_INCLUDED
.
map<string, .google.cloud.policytroubleshooter.v1.BindingExplanation.AnnotatedMembership> memberships = 5;
Name | Description |
key | String |
defaultValue | Explanations.BindingExplanation.AnnotatedMembership |
Type | Description |
Explanations.BindingExplanation.AnnotatedMembership |
getMembershipsOrThrow(String key)
public Explanations.BindingExplanation.AnnotatedMembership getMembershipsOrThrow(String key)
Indicates whether each member in the binding includes the member specified in the request, either directly or indirectly. Each key identifies a member in the binding, and each value indicates whether the member in the binding includes the member in the request. For example, suppose that a binding includes the following members:
user:alice@example.com
group:product-eng@example.com
You want to troubleshoot access foruser:bob@example.com
. This user is a member of the groupgroup:product-eng@example.com
. For the first member in the binding, the key isuser:alice@example.com
, and themembership
field in the value is set toMEMBERSHIP_NOT_INCLUDED
. For the second member in the binding, the key isgroup:product-eng@example.com
, and themembership
field in the value is set toMEMBERSHIP_INCLUDED
.
map<string, .google.cloud.policytroubleshooter.v1.BindingExplanation.AnnotatedMembership> memberships = 5;
Name | Description |
key | String |
Type | Description |
Explanations.BindingExplanation.AnnotatedMembership |
getMutableMemberships()
public Map<String,Explanations.BindingExplanation.AnnotatedMembership> getMutableMemberships()
Use alternate mutation accessors instead.
Type | Description |
Map<String,AnnotatedMembership> |
getRelevance()
public Explanations.HeuristicRelevance getRelevance()
The relevance of this binding to the overall determination for the entire policy.
.google.cloud.policytroubleshooter.v1.HeuristicRelevance relevance = 6;
Type | Description |
Explanations.HeuristicRelevance | The relevance. |
getRelevanceValue()
public int getRelevanceValue()
The relevance of this binding to the overall determination for the entire policy.
.google.cloud.policytroubleshooter.v1.HeuristicRelevance relevance = 6;
Type | Description |
int | The enum numeric value on the wire for relevance. |
getRole()
public String getRole()
The role that this binding grants. For example,
roles/compute.serviceAgent
.
For a complete list of predefined IAM roles, as well as the permissions in
each role, see https://cloud.google.com/iam/help/roles/reference.
string role = 2;
Type | Description |
String | The role. |
getRoleBytes()
public ByteString getRoleBytes()
The role that this binding grants. For example,
roles/compute.serviceAgent
.
For a complete list of predefined IAM roles, as well as the permissions in
each role, see https://cloud.google.com/iam/help/roles/reference.
string role = 2;
Type | Description |
ByteString | The bytes for role. |
getRolePermission()
public Explanations.BindingExplanation.RolePermission getRolePermission()
Indicates whether the role granted by this binding contains the specified permission.
.google.cloud.policytroubleshooter.v1.BindingExplanation.RolePermission role_permission = 3;
Type | Description |
Explanations.BindingExplanation.RolePermission | The rolePermission. |
getRolePermissionRelevance()
public Explanations.HeuristicRelevance getRolePermissionRelevance()
The relevance of the permission's existence, or nonexistence, in the role to the overall determination for the entire policy.
.google.cloud.policytroubleshooter.v1.HeuristicRelevance role_permission_relevance = 4;
Type | Description |
Explanations.HeuristicRelevance | The rolePermissionRelevance. |
getRolePermissionRelevanceValue()
public int getRolePermissionRelevanceValue()
The relevance of the permission's existence, or nonexistence, in the role to the overall determination for the entire policy.
.google.cloud.policytroubleshooter.v1.HeuristicRelevance role_permission_relevance = 4;
Type | Description |
int | The enum numeric value on the wire for rolePermissionRelevance. |
getRolePermissionValue()
public int getRolePermissionValue()
Indicates whether the role granted by this binding contains the specified permission.
.google.cloud.policytroubleshooter.v1.BindingExplanation.RolePermission role_permission = 3;
Type | Description |
int | The enum numeric value on the wire for rolePermission. |
hasCondition()
public boolean hasCondition()
A condition expression that prevents access unless the expression evaluates
to true
.
To learn about IAM Conditions, see
http://cloud.google.com/iam/help/conditions/overview.
.google.type.Expr condition = 7;
Type | Description |
boolean | Whether the condition field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeCondition(Expr value)
public Explanations.BindingExplanation.Builder mergeCondition(Expr value)
A condition expression that prevents access unless the expression evaluates
to true
.
To learn about IAM Conditions, see
http://cloud.google.com/iam/help/conditions/overview.
.google.type.Expr condition = 7;
Name | Description |
value | com.google.type.Expr |
Type | Description |
Explanations.BindingExplanation.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Explanations.BindingExplanation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Explanations.BindingExplanation.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Explanations.BindingExplanation.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Explanations.BindingExplanation.Builder |
mergeFrom(Explanations.BindingExplanation other)
public Explanations.BindingExplanation.Builder mergeFrom(Explanations.BindingExplanation other)
Name | Description |
other | Explanations.BindingExplanation |
Type | Description |
Explanations.BindingExplanation.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Explanations.BindingExplanation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Explanations.BindingExplanation.Builder |
putAllMemberships(Map<String,Explanations.BindingExplanation.AnnotatedMembership> values)
public Explanations.BindingExplanation.Builder putAllMemberships(Map<String,Explanations.BindingExplanation.AnnotatedMembership> values)
Indicates whether each member in the binding includes the member specified in the request, either directly or indirectly. Each key identifies a member in the binding, and each value indicates whether the member in the binding includes the member in the request. For example, suppose that a binding includes the following members:
user:alice@example.com
group:product-eng@example.com
You want to troubleshoot access foruser:bob@example.com
. This user is a member of the groupgroup:product-eng@example.com
. For the first member in the binding, the key isuser:alice@example.com
, and themembership
field in the value is set toMEMBERSHIP_NOT_INCLUDED
. For the second member in the binding, the key isgroup:product-eng@example.com
, and themembership
field in the value is set toMEMBERSHIP_INCLUDED
.
map<string, .google.cloud.policytroubleshooter.v1.BindingExplanation.AnnotatedMembership> memberships = 5;
Name | Description |
values | Map<String,AnnotatedMembership> |
Type | Description |
Explanations.BindingExplanation.Builder |
putMemberships(String key, Explanations.BindingExplanation.AnnotatedMembership value)
public Explanations.BindingExplanation.Builder putMemberships(String key, Explanations.BindingExplanation.AnnotatedMembership value)
Indicates whether each member in the binding includes the member specified in the request, either directly or indirectly. Each key identifies a member in the binding, and each value indicates whether the member in the binding includes the member in the request. For example, suppose that a binding includes the following members:
user:alice@example.com
group:product-eng@example.com
You want to troubleshoot access foruser:bob@example.com
. This user is a member of the groupgroup:product-eng@example.com
. For the first member in the binding, the key isuser:alice@example.com
, and themembership
field in the value is set toMEMBERSHIP_NOT_INCLUDED
. For the second member in the binding, the key isgroup:product-eng@example.com
, and themembership
field in the value is set toMEMBERSHIP_INCLUDED
.
map<string, .google.cloud.policytroubleshooter.v1.BindingExplanation.AnnotatedMembership> memberships = 5;
Name | Description |
key | String |
value | Explanations.BindingExplanation.AnnotatedMembership |
Type | Description |
Explanations.BindingExplanation.Builder |
removeMemberships(String key)
public Explanations.BindingExplanation.Builder removeMemberships(String key)
Indicates whether each member in the binding includes the member specified in the request, either directly or indirectly. Each key identifies a member in the binding, and each value indicates whether the member in the binding includes the member in the request. For example, suppose that a binding includes the following members:
user:alice@example.com
group:product-eng@example.com
You want to troubleshoot access foruser:bob@example.com
. This user is a member of the groupgroup:product-eng@example.com
. For the first member in the binding, the key isuser:alice@example.com
, and themembership
field in the value is set toMEMBERSHIP_NOT_INCLUDED
. For the second member in the binding, the key isgroup:product-eng@example.com
, and themembership
field in the value is set toMEMBERSHIP_INCLUDED
.
map<string, .google.cloud.policytroubleshooter.v1.BindingExplanation.AnnotatedMembership> memberships = 5;
Name | Description |
key | String |
Type | Description |
Explanations.BindingExplanation.Builder |
setAccess(Explanations.AccessState value)
public Explanations.BindingExplanation.Builder setAccess(Explanations.AccessState value)
Required. Indicates whether this binding provides the specified permission to the
specified member for the specified resource.
This field does not indicate whether the member actually has the
permission for the resource. There might be another binding that overrides
this binding. To determine whether the member actually has the permission,
use the access
field in the
TroubleshootIamPolicyResponse.
.google.cloud.policytroubleshooter.v1.AccessState access = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | Explanations.AccessState The access to set. |
Type | Description |
Explanations.BindingExplanation.Builder | This builder for chaining. |
setAccessValue(int value)
public Explanations.BindingExplanation.Builder setAccessValue(int value)
Required. Indicates whether this binding provides the specified permission to the
specified member for the specified resource.
This field does not indicate whether the member actually has the
permission for the resource. There might be another binding that overrides
this binding. To determine whether the member actually has the permission,
use the access
field in the
TroubleshootIamPolicyResponse.
.google.cloud.policytroubleshooter.v1.AccessState access = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | int The enum numeric value on the wire for access to set. |
Type | Description |
Explanations.BindingExplanation.Builder | This builder for chaining. |
setCondition(Expr value)
public Explanations.BindingExplanation.Builder setCondition(Expr value)
A condition expression that prevents access unless the expression evaluates
to true
.
To learn about IAM Conditions, see
http://cloud.google.com/iam/help/conditions/overview.
.google.type.Expr condition = 7;
Name | Description |
value | com.google.type.Expr |
Type | Description |
Explanations.BindingExplanation.Builder |
setCondition(Expr.Builder builderForValue)
public Explanations.BindingExplanation.Builder setCondition(Expr.Builder builderForValue)
A condition expression that prevents access unless the expression evaluates
to true
.
To learn about IAM Conditions, see
http://cloud.google.com/iam/help/conditions/overview.
.google.type.Expr condition = 7;
Name | Description |
builderForValue | com.google.type.Expr.Builder |
Type | Description |
Explanations.BindingExplanation.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Explanations.BindingExplanation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Explanations.BindingExplanation.Builder |
setRelevance(Explanations.HeuristicRelevance value)
public Explanations.BindingExplanation.Builder setRelevance(Explanations.HeuristicRelevance value)
The relevance of this binding to the overall determination for the entire policy.
.google.cloud.policytroubleshooter.v1.HeuristicRelevance relevance = 6;
Name | Description |
value | Explanations.HeuristicRelevance The relevance to set. |
Type | Description |
Explanations.BindingExplanation.Builder | This builder for chaining. |
setRelevanceValue(int value)
public Explanations.BindingExplanation.Builder setRelevanceValue(int value)
The relevance of this binding to the overall determination for the entire policy.
.google.cloud.policytroubleshooter.v1.HeuristicRelevance relevance = 6;
Name | Description |
value | int The enum numeric value on the wire for relevance to set. |
Type | Description |
Explanations.BindingExplanation.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Explanations.BindingExplanation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Explanations.BindingExplanation.Builder |
setRole(String value)
public Explanations.BindingExplanation.Builder setRole(String value)
The role that this binding grants. For example,
roles/compute.serviceAgent
.
For a complete list of predefined IAM roles, as well as the permissions in
each role, see https://cloud.google.com/iam/help/roles/reference.
string role = 2;
Name | Description |
value | String The role to set. |
Type | Description |
Explanations.BindingExplanation.Builder | This builder for chaining. |
setRoleBytes(ByteString value)
public Explanations.BindingExplanation.Builder setRoleBytes(ByteString value)
The role that this binding grants. For example,
roles/compute.serviceAgent
.
For a complete list of predefined IAM roles, as well as the permissions in
each role, see https://cloud.google.com/iam/help/roles/reference.
string role = 2;
Name | Description |
value | ByteString The bytes for role to set. |
Type | Description |
Explanations.BindingExplanation.Builder | This builder for chaining. |
setRolePermission(Explanations.BindingExplanation.RolePermission value)
public Explanations.BindingExplanation.Builder setRolePermission(Explanations.BindingExplanation.RolePermission value)
Indicates whether the role granted by this binding contains the specified permission.
.google.cloud.policytroubleshooter.v1.BindingExplanation.RolePermission role_permission = 3;
Name | Description |
value | Explanations.BindingExplanation.RolePermission The rolePermission to set. |
Type | Description |
Explanations.BindingExplanation.Builder | This builder for chaining. |
setRolePermissionRelevance(Explanations.HeuristicRelevance value)
public Explanations.BindingExplanation.Builder setRolePermissionRelevance(Explanations.HeuristicRelevance value)
The relevance of the permission's existence, or nonexistence, in the role to the overall determination for the entire policy.
.google.cloud.policytroubleshooter.v1.HeuristicRelevance role_permission_relevance = 4;
Name | Description |
value | Explanations.HeuristicRelevance The rolePermissionRelevance to set. |
Type | Description |
Explanations.BindingExplanation.Builder | This builder for chaining. |
setRolePermissionRelevanceValue(int value)
public Explanations.BindingExplanation.Builder setRolePermissionRelevanceValue(int value)
The relevance of the permission's existence, or nonexistence, in the role to the overall determination for the entire policy.
.google.cloud.policytroubleshooter.v1.HeuristicRelevance role_permission_relevance = 4;
Name | Description |
value | int The enum numeric value on the wire for rolePermissionRelevance to set. |
Type | Description |
Explanations.BindingExplanation.Builder | This builder for chaining. |
setRolePermissionValue(int value)
public Explanations.BindingExplanation.Builder setRolePermissionValue(int value)
Indicates whether the role granted by this binding contains the specified permission.
.google.cloud.policytroubleshooter.v1.BindingExplanation.RolePermission role_permission = 3;
Name | Description |
value | int The enum numeric value on the wire for rolePermission to set. |
Type | Description |
Explanations.BindingExplanation.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Explanations.BindingExplanation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Explanations.BindingExplanation.Builder |