- 1.51.0 (latest)
- 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 ExplainedDenyResource.Builder extends GeneratedMessageV3.Builder<ExplainedDenyResource.Builder> implements ExplainedDenyResourceOrBuilder
Details about how a specific resource contributed to the deny policy evaluation.
Protobuf type google.cloud.policytroubleshooter.iam.v3.ExplainedDenyResource
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ExplainedDenyResource.BuilderImplements
ExplainedDenyResourceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllExplainedPolicies(Iterable<? extends ExplainedDenyPolicy> values)
public ExplainedDenyResource.Builder addAllExplainedPolicies(Iterable<? extends ExplainedDenyPolicy> values)
List of IAM deny policies that were evaluated to check the principal's denied permissions, with annotations to indicate how each policy contributed to the final result.
repeated .google.cloud.policytroubleshooter.iam.v3.ExplainedDenyPolicy explained_policies = 3;
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.cloud.policytroubleshooter.iam.v3.ExplainedDenyPolicy> |
Returns | |
---|---|
Type | Description |
ExplainedDenyResource.Builder |
addExplainedPolicies(ExplainedDenyPolicy value)
public ExplainedDenyResource.Builder addExplainedPolicies(ExplainedDenyPolicy value)
List of IAM deny policies that were evaluated to check the principal's denied permissions, with annotations to indicate how each policy contributed to the final result.
repeated .google.cloud.policytroubleshooter.iam.v3.ExplainedDenyPolicy explained_policies = 3;
Parameter | |
---|---|
Name | Description |
value | ExplainedDenyPolicy |
Returns | |
---|---|
Type | Description |
ExplainedDenyResource.Builder |
addExplainedPolicies(ExplainedDenyPolicy.Builder builderForValue)
public ExplainedDenyResource.Builder addExplainedPolicies(ExplainedDenyPolicy.Builder builderForValue)
List of IAM deny policies that were evaluated to check the principal's denied permissions, with annotations to indicate how each policy contributed to the final result.
repeated .google.cloud.policytroubleshooter.iam.v3.ExplainedDenyPolicy explained_policies = 3;
Parameter | |
---|---|
Name | Description |
builderForValue | ExplainedDenyPolicy.Builder |
Returns | |
---|---|
Type | Description |
ExplainedDenyResource.Builder |
addExplainedPolicies(int index, ExplainedDenyPolicy value)
public ExplainedDenyResource.Builder addExplainedPolicies(int index, ExplainedDenyPolicy value)
List of IAM deny policies that were evaluated to check the principal's denied permissions, with annotations to indicate how each policy contributed to the final result.
repeated .google.cloud.policytroubleshooter.iam.v3.ExplainedDenyPolicy explained_policies = 3;
Parameters | |
---|---|
Name | Description |
index | int |
value | ExplainedDenyPolicy |
Returns | |
---|---|
Type | Description |
ExplainedDenyResource.Builder |
addExplainedPolicies(int index, ExplainedDenyPolicy.Builder builderForValue)
public ExplainedDenyResource.Builder addExplainedPolicies(int index, ExplainedDenyPolicy.Builder builderForValue)
List of IAM deny policies that were evaluated to check the principal's denied permissions, with annotations to indicate how each policy contributed to the final result.
repeated .google.cloud.policytroubleshooter.iam.v3.ExplainedDenyPolicy explained_policies = 3;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | ExplainedDenyPolicy.Builder |
Returns | |
---|---|
Type | Description |
ExplainedDenyResource.Builder |
addExplainedPoliciesBuilder()
public ExplainedDenyPolicy.Builder addExplainedPoliciesBuilder()
List of IAM deny policies that were evaluated to check the principal's denied permissions, with annotations to indicate how each policy contributed to the final result.
repeated .google.cloud.policytroubleshooter.iam.v3.ExplainedDenyPolicy explained_policies = 3;
Returns | |
---|---|
Type | Description |
ExplainedDenyPolicy.Builder |
addExplainedPoliciesBuilder(int index)
public ExplainedDenyPolicy.Builder addExplainedPoliciesBuilder(int index)
List of IAM deny policies that were evaluated to check the principal's denied permissions, with annotations to indicate how each policy contributed to the final result.
repeated .google.cloud.policytroubleshooter.iam.v3.ExplainedDenyPolicy explained_policies = 3;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
ExplainedDenyPolicy.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ExplainedDenyResource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ExplainedDenyResource.Builder |
build()
public ExplainedDenyResource build()
Returns | |
---|---|
Type | Description |
ExplainedDenyResource |
buildPartial()
public ExplainedDenyResource buildPartial()
Returns | |
---|---|
Type | Description |
ExplainedDenyResource |
clear()
public ExplainedDenyResource.Builder clear()
Returns | |
---|---|
Type | Description |
ExplainedDenyResource.Builder |
clearDenyAccessState()
public ExplainedDenyResource.Builder clearDenyAccessState()
Required. Indicates whether any policies attached to this resource deny the specific permission to the specified principal for the specified resource.
This field does not indicate whether the principal actually has the
permission for the resource. There might be another policy that overrides
this policy. To determine whether the principal actually has the
permission, use the overall_access_state
field in the
TroubleshootIamPolicyResponse.
.google.cloud.policytroubleshooter.iam.v3.DenyAccessState deny_access_state = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ExplainedDenyResource.Builder | This builder for chaining. |
clearExplainedPolicies()
public ExplainedDenyResource.Builder clearExplainedPolicies()
List of IAM deny policies that were evaluated to check the principal's denied permissions, with annotations to indicate how each policy contributed to the final result.
repeated .google.cloud.policytroubleshooter.iam.v3.ExplainedDenyPolicy explained_policies = 3;
Returns | |
---|---|
Type | Description |
ExplainedDenyResource.Builder |
clearField(Descriptors.FieldDescriptor field)
public ExplainedDenyResource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
ExplainedDenyResource.Builder |
clearFullResourceName()
public ExplainedDenyResource.Builder clearFullResourceName()
The full resource name that identifies the resource. For example,
//compute.googleapis.com/projects/my-project/zones/us-central1-a/instances/my-instance
.
If the sender of the request does not have access to the policy, this field is omitted.
For examples of full resource names for Google Cloud services, see https://cloud.google.com/iam/help/troubleshooter/full-resource-names.
string full_resource_name = 2;
Returns | |
---|---|
Type | Description |
ExplainedDenyResource.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ExplainedDenyResource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
ExplainedDenyResource.Builder |
clearRelevance()
public ExplainedDenyResource.Builder clearRelevance()
The relevance of this policy to the overall access state in the TroubleshootIamPolicyResponse.
If the sender of the request does not have access to the policy, this field is omitted.
.google.cloud.policytroubleshooter.iam.v3.HeuristicRelevance relevance = 4;
Returns | |
---|---|
Type | Description |
ExplainedDenyResource.Builder | This builder for chaining. |
clone()
public ExplainedDenyResource.Builder clone()
Returns | |
---|---|
Type | Description |
ExplainedDenyResource.Builder |
getDefaultInstanceForType()
public ExplainedDenyResource getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ExplainedDenyResource |
getDenyAccessState()
public DenyAccessState getDenyAccessState()
Required. Indicates whether any policies attached to this resource deny the specific permission to the specified principal for the specified resource.
This field does not indicate whether the principal actually has the
permission for the resource. There might be another policy that overrides
this policy. To determine whether the principal actually has the
permission, use the overall_access_state
field in the
TroubleshootIamPolicyResponse.
.google.cloud.policytroubleshooter.iam.v3.DenyAccessState deny_access_state = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
DenyAccessState | The denyAccessState. |
getDenyAccessStateValue()
public int getDenyAccessStateValue()
Required. Indicates whether any policies attached to this resource deny the specific permission to the specified principal for the specified resource.
This field does not indicate whether the principal actually has the
permission for the resource. There might be another policy that overrides
this policy. To determine whether the principal actually has the
permission, use the overall_access_state
field in the
TroubleshootIamPolicyResponse.
.google.cloud.policytroubleshooter.iam.v3.DenyAccessState deny_access_state = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for denyAccessState. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getExplainedPolicies(int index)
public ExplainedDenyPolicy getExplainedPolicies(int index)
List of IAM deny policies that were evaluated to check the principal's denied permissions, with annotations to indicate how each policy contributed to the final result.
repeated .google.cloud.policytroubleshooter.iam.v3.ExplainedDenyPolicy explained_policies = 3;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
ExplainedDenyPolicy |
getExplainedPoliciesBuilder(int index)
public ExplainedDenyPolicy.Builder getExplainedPoliciesBuilder(int index)
List of IAM deny policies that were evaluated to check the principal's denied permissions, with annotations to indicate how each policy contributed to the final result.
repeated .google.cloud.policytroubleshooter.iam.v3.ExplainedDenyPolicy explained_policies = 3;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
ExplainedDenyPolicy.Builder |
getExplainedPoliciesBuilderList()
public List<ExplainedDenyPolicy.Builder> getExplainedPoliciesBuilderList()
List of IAM deny policies that were evaluated to check the principal's denied permissions, with annotations to indicate how each policy contributed to the final result.
repeated .google.cloud.policytroubleshooter.iam.v3.ExplainedDenyPolicy explained_policies = 3;
Returns | |
---|---|
Type | Description |
List<Builder> |
getExplainedPoliciesCount()
public int getExplainedPoliciesCount()
List of IAM deny policies that were evaluated to check the principal's denied permissions, with annotations to indicate how each policy contributed to the final result.
repeated .google.cloud.policytroubleshooter.iam.v3.ExplainedDenyPolicy explained_policies = 3;
Returns | |
---|---|
Type | Description |
int |
getExplainedPoliciesList()
public List<ExplainedDenyPolicy> getExplainedPoliciesList()
List of IAM deny policies that were evaluated to check the principal's denied permissions, with annotations to indicate how each policy contributed to the final result.
repeated .google.cloud.policytroubleshooter.iam.v3.ExplainedDenyPolicy explained_policies = 3;
Returns | |
---|---|
Type | Description |
List<ExplainedDenyPolicy> |
getExplainedPoliciesOrBuilder(int index)
public ExplainedDenyPolicyOrBuilder getExplainedPoliciesOrBuilder(int index)
List of IAM deny policies that were evaluated to check the principal's denied permissions, with annotations to indicate how each policy contributed to the final result.
repeated .google.cloud.policytroubleshooter.iam.v3.ExplainedDenyPolicy explained_policies = 3;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
ExplainedDenyPolicyOrBuilder |
getExplainedPoliciesOrBuilderList()
public List<? extends ExplainedDenyPolicyOrBuilder> getExplainedPoliciesOrBuilderList()
List of IAM deny policies that were evaluated to check the principal's denied permissions, with annotations to indicate how each policy contributed to the final result.
repeated .google.cloud.policytroubleshooter.iam.v3.ExplainedDenyPolicy explained_policies = 3;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.policytroubleshooter.iam.v3.ExplainedDenyPolicyOrBuilder> |
getFullResourceName()
public String getFullResourceName()
The full resource name that identifies the resource. For example,
//compute.googleapis.com/projects/my-project/zones/us-central1-a/instances/my-instance
.
If the sender of the request does not have access to the policy, this field is omitted.
For examples of full resource names for Google Cloud services, see https://cloud.google.com/iam/help/troubleshooter/full-resource-names.
string full_resource_name = 2;
Returns | |
---|---|
Type | Description |
String | The fullResourceName. |
getFullResourceNameBytes()
public ByteString getFullResourceNameBytes()
The full resource name that identifies the resource. For example,
//compute.googleapis.com/projects/my-project/zones/us-central1-a/instances/my-instance
.
If the sender of the request does not have access to the policy, this field is omitted.
For examples of full resource names for Google Cloud services, see https://cloud.google.com/iam/help/troubleshooter/full-resource-names.
string full_resource_name = 2;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for fullResourceName. |
getRelevance()
public HeuristicRelevance getRelevance()
The relevance of this policy to the overall access state in the TroubleshootIamPolicyResponse.
If the sender of the request does not have access to the policy, this field is omitted.
.google.cloud.policytroubleshooter.iam.v3.HeuristicRelevance relevance = 4;
Returns | |
---|---|
Type | Description |
HeuristicRelevance | The relevance. |
getRelevanceValue()
public int getRelevanceValue()
The relevance of this policy to the overall access state in the TroubleshootIamPolicyResponse.
If the sender of the request does not have access to the policy, this field is omitted.
.google.cloud.policytroubleshooter.iam.v3.HeuristicRelevance relevance = 4;
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(ExplainedDenyResource other)
public ExplainedDenyResource.Builder mergeFrom(ExplainedDenyResource other)
Parameter | |
---|---|
Name | Description |
other | ExplainedDenyResource |
Returns | |
---|---|
Type | Description |
ExplainedDenyResource.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ExplainedDenyResource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ExplainedDenyResource.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ExplainedDenyResource.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
ExplainedDenyResource.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ExplainedDenyResource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ExplainedDenyResource.Builder |
removeExplainedPolicies(int index)
public ExplainedDenyResource.Builder removeExplainedPolicies(int index)
List of IAM deny policies that were evaluated to check the principal's denied permissions, with annotations to indicate how each policy contributed to the final result.
repeated .google.cloud.policytroubleshooter.iam.v3.ExplainedDenyPolicy explained_policies = 3;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
ExplainedDenyResource.Builder |
setDenyAccessState(DenyAccessState value)
public ExplainedDenyResource.Builder setDenyAccessState(DenyAccessState value)
Required. Indicates whether any policies attached to this resource deny the specific permission to the specified principal for the specified resource.
This field does not indicate whether the principal actually has the
permission for the resource. There might be another policy that overrides
this policy. To determine whether the principal actually has the
permission, use the overall_access_state
field in the
TroubleshootIamPolicyResponse.
.google.cloud.policytroubleshooter.iam.v3.DenyAccessState deny_access_state = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value | DenyAccessState The denyAccessState to set. |
Returns | |
---|---|
Type | Description |
ExplainedDenyResource.Builder | This builder for chaining. |
setDenyAccessStateValue(int value)
public ExplainedDenyResource.Builder setDenyAccessStateValue(int value)
Required. Indicates whether any policies attached to this resource deny the specific permission to the specified principal for the specified resource.
This field does not indicate whether the principal actually has the
permission for the resource. There might be another policy that overrides
this policy. To determine whether the principal actually has the
permission, use the overall_access_state
field in the
TroubleshootIamPolicyResponse.
.google.cloud.policytroubleshooter.iam.v3.DenyAccessState deny_access_state = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for denyAccessState to set. |
Returns | |
---|---|
Type | Description |
ExplainedDenyResource.Builder | This builder for chaining. |
setExplainedPolicies(int index, ExplainedDenyPolicy value)
public ExplainedDenyResource.Builder setExplainedPolicies(int index, ExplainedDenyPolicy value)
List of IAM deny policies that were evaluated to check the principal's denied permissions, with annotations to indicate how each policy contributed to the final result.
repeated .google.cloud.policytroubleshooter.iam.v3.ExplainedDenyPolicy explained_policies = 3;
Parameters | |
---|---|
Name | Description |
index | int |
value | ExplainedDenyPolicy |
Returns | |
---|---|
Type | Description |
ExplainedDenyResource.Builder |
setExplainedPolicies(int index, ExplainedDenyPolicy.Builder builderForValue)
public ExplainedDenyResource.Builder setExplainedPolicies(int index, ExplainedDenyPolicy.Builder builderForValue)
List of IAM deny policies that were evaluated to check the principal's denied permissions, with annotations to indicate how each policy contributed to the final result.
repeated .google.cloud.policytroubleshooter.iam.v3.ExplainedDenyPolicy explained_policies = 3;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | ExplainedDenyPolicy.Builder |
Returns | |
---|---|
Type | Description |
ExplainedDenyResource.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ExplainedDenyResource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ExplainedDenyResource.Builder |
setFullResourceName(String value)
public ExplainedDenyResource.Builder setFullResourceName(String value)
The full resource name that identifies the resource. For example,
//compute.googleapis.com/projects/my-project/zones/us-central1-a/instances/my-instance
.
If the sender of the request does not have access to the policy, this field is omitted.
For examples of full resource names for Google Cloud services, see https://cloud.google.com/iam/help/troubleshooter/full-resource-names.
string full_resource_name = 2;
Parameter | |
---|---|
Name | Description |
value | String The fullResourceName to set. |
Returns | |
---|---|
Type | Description |
ExplainedDenyResource.Builder | This builder for chaining. |
setFullResourceNameBytes(ByteString value)
public ExplainedDenyResource.Builder setFullResourceNameBytes(ByteString value)
The full resource name that identifies the resource. For example,
//compute.googleapis.com/projects/my-project/zones/us-central1-a/instances/my-instance
.
If the sender of the request does not have access to the policy, this field is omitted.
For examples of full resource names for Google Cloud services, see https://cloud.google.com/iam/help/troubleshooter/full-resource-names.
string full_resource_name = 2;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for fullResourceName to set. |
Returns | |
---|---|
Type | Description |
ExplainedDenyResource.Builder | This builder for chaining. |
setRelevance(HeuristicRelevance value)
public ExplainedDenyResource.Builder setRelevance(HeuristicRelevance value)
The relevance of this policy to the overall access state in the TroubleshootIamPolicyResponse.
If the sender of the request does not have access to the policy, this field is omitted.
.google.cloud.policytroubleshooter.iam.v3.HeuristicRelevance relevance = 4;
Parameter | |
---|---|
Name | Description |
value | HeuristicRelevance The relevance to set. |
Returns | |
---|---|
Type | Description |
ExplainedDenyResource.Builder | This builder for chaining. |
setRelevanceValue(int value)
public ExplainedDenyResource.Builder setRelevanceValue(int value)
The relevance of this policy to the overall access state in the TroubleshootIamPolicyResponse.
If the sender of the request does not have access to the policy, this field is omitted.
.google.cloud.policytroubleshooter.iam.v3.HeuristicRelevance relevance = 4;
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for relevance to set. |
Returns | |
---|---|
Type | Description |
ExplainedDenyResource.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ExplainedDenyResource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
ExplainedDenyResource.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ExplainedDenyResource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ExplainedDenyResource.Builder |