- 1.52.0 (latest)
- 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 AllowPolicyExplanation.Builder extends GeneratedMessageV3.Builder<AllowPolicyExplanation.Builder> implements AllowPolicyExplanationOrBuilder
Details about how the relevant IAM allow policies affect the final access state.
Protobuf type google.cloud.policytroubleshooter.iam.v3.AllowPolicyExplanation
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AllowPolicyExplanation.BuilderImplements
AllowPolicyExplanationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllExplainedPolicies(Iterable<? extends ExplainedAllowPolicy> values)
public AllowPolicyExplanation.Builder addAllExplainedPolicies(Iterable<? extends ExplainedAllowPolicy> values)
List of IAM allow policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result.
The list of policies includes the policy for the resource itself, as well as allow policies that are inherited from higher levels of the resource hierarchy, including the organization, the folder, and the project.
To learn more about the resource hierarchy, see https://cloud.google.com/iam/help/resource-hierarchy.
repeated .google.cloud.policytroubleshooter.iam.v3.ExplainedAllowPolicy explained_policies = 2;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.policytroubleshooter.iam.v3.ExplainedAllowPolicy> |
Returns | |
---|---|
Type | Description |
AllowPolicyExplanation.Builder |
addExplainedPolicies(ExplainedAllowPolicy value)
public AllowPolicyExplanation.Builder addExplainedPolicies(ExplainedAllowPolicy value)
List of IAM allow policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result.
The list of policies includes the policy for the resource itself, as well as allow policies that are inherited from higher levels of the resource hierarchy, including the organization, the folder, and the project.
To learn more about the resource hierarchy, see https://cloud.google.com/iam/help/resource-hierarchy.
repeated .google.cloud.policytroubleshooter.iam.v3.ExplainedAllowPolicy explained_policies = 2;
Parameter | |
---|---|
Name | Description |
value |
ExplainedAllowPolicy |
Returns | |
---|---|
Type | Description |
AllowPolicyExplanation.Builder |
addExplainedPolicies(ExplainedAllowPolicy.Builder builderForValue)
public AllowPolicyExplanation.Builder addExplainedPolicies(ExplainedAllowPolicy.Builder builderForValue)
List of IAM allow policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result.
The list of policies includes the policy for the resource itself, as well as allow policies that are inherited from higher levels of the resource hierarchy, including the organization, the folder, and the project.
To learn more about the resource hierarchy, see https://cloud.google.com/iam/help/resource-hierarchy.
repeated .google.cloud.policytroubleshooter.iam.v3.ExplainedAllowPolicy explained_policies = 2;
Parameter | |
---|---|
Name | Description |
builderForValue |
ExplainedAllowPolicy.Builder |
Returns | |
---|---|
Type | Description |
AllowPolicyExplanation.Builder |
addExplainedPolicies(int index, ExplainedAllowPolicy value)
public AllowPolicyExplanation.Builder addExplainedPolicies(int index, ExplainedAllowPolicy value)
List of IAM allow policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result.
The list of policies includes the policy for the resource itself, as well as allow policies that are inherited from higher levels of the resource hierarchy, including the organization, the folder, and the project.
To learn more about the resource hierarchy, see https://cloud.google.com/iam/help/resource-hierarchy.
repeated .google.cloud.policytroubleshooter.iam.v3.ExplainedAllowPolicy explained_policies = 2;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
ExplainedAllowPolicy |
Returns | |
---|---|
Type | Description |
AllowPolicyExplanation.Builder |
addExplainedPolicies(int index, ExplainedAllowPolicy.Builder builderForValue)
public AllowPolicyExplanation.Builder addExplainedPolicies(int index, ExplainedAllowPolicy.Builder builderForValue)
List of IAM allow policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result.
The list of policies includes the policy for the resource itself, as well as allow policies that are inherited from higher levels of the resource hierarchy, including the organization, the folder, and the project.
To learn more about the resource hierarchy, see https://cloud.google.com/iam/help/resource-hierarchy.
repeated .google.cloud.policytroubleshooter.iam.v3.ExplainedAllowPolicy explained_policies = 2;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
ExplainedAllowPolicy.Builder |
Returns | |
---|---|
Type | Description |
AllowPolicyExplanation.Builder |
addExplainedPoliciesBuilder()
public ExplainedAllowPolicy.Builder addExplainedPoliciesBuilder()
List of IAM allow policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result.
The list of policies includes the policy for the resource itself, as well as allow policies that are inherited from higher levels of the resource hierarchy, including the organization, the folder, and the project.
To learn more about the resource hierarchy, see https://cloud.google.com/iam/help/resource-hierarchy.
repeated .google.cloud.policytroubleshooter.iam.v3.ExplainedAllowPolicy explained_policies = 2;
Returns | |
---|---|
Type | Description |
ExplainedAllowPolicy.Builder |
addExplainedPoliciesBuilder(int index)
public ExplainedAllowPolicy.Builder addExplainedPoliciesBuilder(int index)
List of IAM allow policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result.
The list of policies includes the policy for the resource itself, as well as allow policies that are inherited from higher levels of the resource hierarchy, including the organization, the folder, and the project.
To learn more about the resource hierarchy, see https://cloud.google.com/iam/help/resource-hierarchy.
repeated .google.cloud.policytroubleshooter.iam.v3.ExplainedAllowPolicy explained_policies = 2;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ExplainedAllowPolicy.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AllowPolicyExplanation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
AllowPolicyExplanation.Builder |
build()
public AllowPolicyExplanation build()
Returns | |
---|---|
Type | Description |
AllowPolicyExplanation |
buildPartial()
public AllowPolicyExplanation buildPartial()
Returns | |
---|---|
Type | Description |
AllowPolicyExplanation |
clear()
public AllowPolicyExplanation.Builder clear()
Returns | |
---|---|
Type | Description |
AllowPolicyExplanation.Builder |
clearAllowAccessState()
public AllowPolicyExplanation.Builder clearAllowAccessState()
Indicates whether the principal has the specified permission for the specified resource, based on evaluating all applicable IAM allow policies.
.google.cloud.policytroubleshooter.iam.v3.AllowAccessState allow_access_state = 1;
Returns | |
---|---|
Type | Description |
AllowPolicyExplanation.Builder |
This builder for chaining. |
clearExplainedPolicies()
public AllowPolicyExplanation.Builder clearExplainedPolicies()
List of IAM allow policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result.
The list of policies includes the policy for the resource itself, as well as allow policies that are inherited from higher levels of the resource hierarchy, including the organization, the folder, and the project.
To learn more about the resource hierarchy, see https://cloud.google.com/iam/help/resource-hierarchy.
repeated .google.cloud.policytroubleshooter.iam.v3.ExplainedAllowPolicy explained_policies = 2;
Returns | |
---|---|
Type | Description |
AllowPolicyExplanation.Builder |
clearField(Descriptors.FieldDescriptor field)
public AllowPolicyExplanation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
AllowPolicyExplanation.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public AllowPolicyExplanation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
AllowPolicyExplanation.Builder |
clearRelevance()
public AllowPolicyExplanation.Builder clearRelevance()
The relevance of the allow policy type to the overall access state.
.google.cloud.policytroubleshooter.iam.v3.HeuristicRelevance relevance = 3;
Returns | |
---|---|
Type | Description |
AllowPolicyExplanation.Builder |
This builder for chaining. |
clone()
public AllowPolicyExplanation.Builder clone()
Returns | |
---|---|
Type | Description |
AllowPolicyExplanation.Builder |
getAllowAccessState()
public AllowAccessState getAllowAccessState()
Indicates whether the principal has the specified permission for the specified resource, based on evaluating all applicable IAM allow policies.
.google.cloud.policytroubleshooter.iam.v3.AllowAccessState allow_access_state = 1;
Returns | |
---|---|
Type | Description |
AllowAccessState |
The allowAccessState. |
getAllowAccessStateValue()
public int getAllowAccessStateValue()
Indicates whether the principal has the specified permission for the specified resource, based on evaluating all applicable IAM allow policies.
.google.cloud.policytroubleshooter.iam.v3.AllowAccessState allow_access_state = 1;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for allowAccessState. |
getDefaultInstanceForType()
public AllowPolicyExplanation getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
AllowPolicyExplanation |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getExplainedPolicies(int index)
public ExplainedAllowPolicy getExplainedPolicies(int index)
List of IAM allow policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result.
The list of policies includes the policy for the resource itself, as well as allow policies that are inherited from higher levels of the resource hierarchy, including the organization, the folder, and the project.
To learn more about the resource hierarchy, see https://cloud.google.com/iam/help/resource-hierarchy.
repeated .google.cloud.policytroubleshooter.iam.v3.ExplainedAllowPolicy explained_policies = 2;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ExplainedAllowPolicy |
getExplainedPoliciesBuilder(int index)
public ExplainedAllowPolicy.Builder getExplainedPoliciesBuilder(int index)
List of IAM allow policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result.
The list of policies includes the policy for the resource itself, as well as allow policies that are inherited from higher levels of the resource hierarchy, including the organization, the folder, and the project.
To learn more about the resource hierarchy, see https://cloud.google.com/iam/help/resource-hierarchy.
repeated .google.cloud.policytroubleshooter.iam.v3.ExplainedAllowPolicy explained_policies = 2;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ExplainedAllowPolicy.Builder |
getExplainedPoliciesBuilderList()
public List<ExplainedAllowPolicy.Builder> getExplainedPoliciesBuilderList()
List of IAM allow policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result.
The list of policies includes the policy for the resource itself, as well as allow policies that are inherited from higher levels of the resource hierarchy, including the organization, the folder, and the project.
To learn more about the resource hierarchy, see https://cloud.google.com/iam/help/resource-hierarchy.
repeated .google.cloud.policytroubleshooter.iam.v3.ExplainedAllowPolicy explained_policies = 2;
Returns | |
---|---|
Type | Description |
List<Builder> |
getExplainedPoliciesCount()
public int getExplainedPoliciesCount()
List of IAM allow policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result.
The list of policies includes the policy for the resource itself, as well as allow policies that are inherited from higher levels of the resource hierarchy, including the organization, the folder, and the project.
To learn more about the resource hierarchy, see https://cloud.google.com/iam/help/resource-hierarchy.
repeated .google.cloud.policytroubleshooter.iam.v3.ExplainedAllowPolicy explained_policies = 2;
Returns | |
---|---|
Type | Description |
int |
getExplainedPoliciesList()
public List<ExplainedAllowPolicy> getExplainedPoliciesList()
List of IAM allow policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result.
The list of policies includes the policy for the resource itself, as well as allow policies that are inherited from higher levels of the resource hierarchy, including the organization, the folder, and the project.
To learn more about the resource hierarchy, see https://cloud.google.com/iam/help/resource-hierarchy.
repeated .google.cloud.policytroubleshooter.iam.v3.ExplainedAllowPolicy explained_policies = 2;
Returns | |
---|---|
Type | Description |
List<ExplainedAllowPolicy> |
getExplainedPoliciesOrBuilder(int index)
public ExplainedAllowPolicyOrBuilder getExplainedPoliciesOrBuilder(int index)
List of IAM allow policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result.
The list of policies includes the policy for the resource itself, as well as allow policies that are inherited from higher levels of the resource hierarchy, including the organization, the folder, and the project.
To learn more about the resource hierarchy, see https://cloud.google.com/iam/help/resource-hierarchy.
repeated .google.cloud.policytroubleshooter.iam.v3.ExplainedAllowPolicy explained_policies = 2;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ExplainedAllowPolicyOrBuilder |
getExplainedPoliciesOrBuilderList()
public List<? extends ExplainedAllowPolicyOrBuilder> getExplainedPoliciesOrBuilderList()
List of IAM allow policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result.
The list of policies includes the policy for the resource itself, as well as allow policies that are inherited from higher levels of the resource hierarchy, including the organization, the folder, and the project.
To learn more about the resource hierarchy, see https://cloud.google.com/iam/help/resource-hierarchy.
repeated .google.cloud.policytroubleshooter.iam.v3.ExplainedAllowPolicy explained_policies = 2;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.policytroubleshooter.iam.v3.ExplainedAllowPolicyOrBuilder> |
getRelevance()
public HeuristicRelevance getRelevance()
The relevance of the allow policy type to the overall access state.
.google.cloud.policytroubleshooter.iam.v3.HeuristicRelevance relevance = 3;
Returns | |
---|---|
Type | Description |
HeuristicRelevance |
The relevance. |
getRelevanceValue()
public int getRelevanceValue()
The relevance of the allow policy type to the overall access state.
.google.cloud.policytroubleshooter.iam.v3.HeuristicRelevance relevance = 3;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for relevance. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(AllowPolicyExplanation other)
public AllowPolicyExplanation.Builder mergeFrom(AllowPolicyExplanation other)
Parameter | |
---|---|
Name | Description |
other |
AllowPolicyExplanation |
Returns | |
---|---|
Type | Description |
AllowPolicyExplanation.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AllowPolicyExplanation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AllowPolicyExplanation.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public AllowPolicyExplanation.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
AllowPolicyExplanation.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AllowPolicyExplanation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AllowPolicyExplanation.Builder |
removeExplainedPolicies(int index)
public AllowPolicyExplanation.Builder removeExplainedPolicies(int index)
List of IAM allow policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result.
The list of policies includes the policy for the resource itself, as well as allow policies that are inherited from higher levels of the resource hierarchy, including the organization, the folder, and the project.
To learn more about the resource hierarchy, see https://cloud.google.com/iam/help/resource-hierarchy.
repeated .google.cloud.policytroubleshooter.iam.v3.ExplainedAllowPolicy explained_policies = 2;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
AllowPolicyExplanation.Builder |
setAllowAccessState(AllowAccessState value)
public AllowPolicyExplanation.Builder setAllowAccessState(AllowAccessState value)
Indicates whether the principal has the specified permission for the specified resource, based on evaluating all applicable IAM allow policies.
.google.cloud.policytroubleshooter.iam.v3.AllowAccessState allow_access_state = 1;
Parameter | |
---|---|
Name | Description |
value |
AllowAccessState The allowAccessState to set. |
Returns | |
---|---|
Type | Description |
AllowPolicyExplanation.Builder |
This builder for chaining. |
setAllowAccessStateValue(int value)
public AllowPolicyExplanation.Builder setAllowAccessStateValue(int value)
Indicates whether the principal has the specified permission for the specified resource, based on evaluating all applicable IAM allow policies.
.google.cloud.policytroubleshooter.iam.v3.AllowAccessState allow_access_state = 1;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for allowAccessState to set. |
Returns | |
---|---|
Type | Description |
AllowPolicyExplanation.Builder |
This builder for chaining. |
setExplainedPolicies(int index, ExplainedAllowPolicy value)
public AllowPolicyExplanation.Builder setExplainedPolicies(int index, ExplainedAllowPolicy value)
List of IAM allow policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result.
The list of policies includes the policy for the resource itself, as well as allow policies that are inherited from higher levels of the resource hierarchy, including the organization, the folder, and the project.
To learn more about the resource hierarchy, see https://cloud.google.com/iam/help/resource-hierarchy.
repeated .google.cloud.policytroubleshooter.iam.v3.ExplainedAllowPolicy explained_policies = 2;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
ExplainedAllowPolicy |
Returns | |
---|---|
Type | Description |
AllowPolicyExplanation.Builder |
setExplainedPolicies(int index, ExplainedAllowPolicy.Builder builderForValue)
public AllowPolicyExplanation.Builder setExplainedPolicies(int index, ExplainedAllowPolicy.Builder builderForValue)
List of IAM allow policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result.
The list of policies includes the policy for the resource itself, as well as allow policies that are inherited from higher levels of the resource hierarchy, including the organization, the folder, and the project.
To learn more about the resource hierarchy, see https://cloud.google.com/iam/help/resource-hierarchy.
repeated .google.cloud.policytroubleshooter.iam.v3.ExplainedAllowPolicy explained_policies = 2;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
ExplainedAllowPolicy.Builder |
Returns | |
---|---|
Type | Description |
AllowPolicyExplanation.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public AllowPolicyExplanation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
AllowPolicyExplanation.Builder |
setRelevance(HeuristicRelevance value)
public AllowPolicyExplanation.Builder setRelevance(HeuristicRelevance value)
The relevance of the allow policy type to the overall access state.
.google.cloud.policytroubleshooter.iam.v3.HeuristicRelevance relevance = 3;
Parameter | |
---|---|
Name | Description |
value |
HeuristicRelevance The relevance to set. |
Returns | |
---|---|
Type | Description |
AllowPolicyExplanation.Builder |
This builder for chaining. |
setRelevanceValue(int value)
public AllowPolicyExplanation.Builder setRelevanceValue(int value)
The relevance of the allow policy type to the overall access state.
.google.cloud.policytroubleshooter.iam.v3.HeuristicRelevance relevance = 3;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for relevance to set. |
Returns | |
---|---|
Type | Description |
AllowPolicyExplanation.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AllowPolicyExplanation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
AllowPolicyExplanation.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final AllowPolicyExplanation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AllowPolicyExplanation.Builder |