- 1.54.0 (latest)
- 1.53.0
- 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 TroubleshootIamPolicyResponse.Builder extends GeneratedMessageV3.Builder<TroubleshootIamPolicyResponse.Builder> implements TroubleshootIamPolicyResponseOrBuilder
Response for TroubleshootIamPolicy.
Protobuf type google.cloud.policytroubleshooter.v1.TroubleshootIamPolicyResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > TroubleshootIamPolicyResponse.BuilderImplements
TroubleshootIamPolicyResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllErrors(Iterable<? extends Status> values)
public TroubleshootIamPolicyResponse.Builder addAllErrors(Iterable<? extends Status> values)
The general errors contained in the troubleshooting response.
repeated .google.rpc.Status errors = 3;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.rpc.Status> |
Returns | |
---|---|
Type | Description |
TroubleshootIamPolicyResponse.Builder |
addAllExplainedPolicies(Iterable<? extends Explanations.ExplainedPolicy> values)
public TroubleshootIamPolicyResponse.Builder addAllExplainedPolicies(Iterable<? extends Explanations.ExplainedPolicy> values)
List of IAM 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 can include the policy for the resource itself. It can also include 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.v1.ExplainedPolicy explained_policies = 2;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends google.cloud.policytroubleshooter.v1.Explanations.ExplainedPolicy> |
Returns | |
---|---|
Type | Description |
TroubleshootIamPolicyResponse.Builder |
addErrors(Status value)
public TroubleshootIamPolicyResponse.Builder addErrors(Status value)
The general errors contained in the troubleshooting response.
repeated .google.rpc.Status errors = 3;
Parameter | |
---|---|
Name | Description |
value |
com.google.rpc.Status |
Returns | |
---|---|
Type | Description |
TroubleshootIamPolicyResponse.Builder |
addErrors(Status.Builder builderForValue)
public TroubleshootIamPolicyResponse.Builder addErrors(Status.Builder builderForValue)
The general errors contained in the troubleshooting response.
repeated .google.rpc.Status errors = 3;
Parameter | |
---|---|
Name | Description |
builderForValue |
com.google.rpc.Status.Builder |
Returns | |
---|---|
Type | Description |
TroubleshootIamPolicyResponse.Builder |
addErrors(int index, Status value)
public TroubleshootIamPolicyResponse.Builder addErrors(int index, Status value)
The general errors contained in the troubleshooting response.
repeated .google.rpc.Status errors = 3;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
com.google.rpc.Status |
Returns | |
---|---|
Type | Description |
TroubleshootIamPolicyResponse.Builder |
addErrors(int index, Status.Builder builderForValue)
public TroubleshootIamPolicyResponse.Builder addErrors(int index, Status.Builder builderForValue)
The general errors contained in the troubleshooting response.
repeated .google.rpc.Status errors = 3;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
com.google.rpc.Status.Builder |
Returns | |
---|---|
Type | Description |
TroubleshootIamPolicyResponse.Builder |
addErrorsBuilder()
public Status.Builder addErrorsBuilder()
The general errors contained in the troubleshooting response.
repeated .google.rpc.Status errors = 3;
Returns | |
---|---|
Type | Description |
com.google.rpc.Status.Builder |
addErrorsBuilder(int index)
public Status.Builder addErrorsBuilder(int index)
The general errors contained in the troubleshooting response.
repeated .google.rpc.Status errors = 3;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
com.google.rpc.Status.Builder |
addExplainedPolicies(Explanations.ExplainedPolicy value)
public TroubleshootIamPolicyResponse.Builder addExplainedPolicies(Explanations.ExplainedPolicy value)
List of IAM 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 can include the policy for the resource itself. It can also include 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.v1.ExplainedPolicy explained_policies = 2;
Parameter | |
---|---|
Name | Description |
value |
Explanations.ExplainedPolicy |
Returns | |
---|---|
Type | Description |
TroubleshootIamPolicyResponse.Builder |
addExplainedPolicies(Explanations.ExplainedPolicy.Builder builderForValue)
public TroubleshootIamPolicyResponse.Builder addExplainedPolicies(Explanations.ExplainedPolicy.Builder builderForValue)
List of IAM 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 can include the policy for the resource itself. It can also include 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.v1.ExplainedPolicy explained_policies = 2;
Parameter | |
---|---|
Name | Description |
builderForValue |
Explanations.ExplainedPolicy.Builder |
Returns | |
---|---|
Type | Description |
TroubleshootIamPolicyResponse.Builder |
addExplainedPolicies(int index, Explanations.ExplainedPolicy value)
public TroubleshootIamPolicyResponse.Builder addExplainedPolicies(int index, Explanations.ExplainedPolicy value)
List of IAM 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 can include the policy for the resource itself. It can also include 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.v1.ExplainedPolicy explained_policies = 2;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Explanations.ExplainedPolicy |
Returns | |
---|---|
Type | Description |
TroubleshootIamPolicyResponse.Builder |
addExplainedPolicies(int index, Explanations.ExplainedPolicy.Builder builderForValue)
public TroubleshootIamPolicyResponse.Builder addExplainedPolicies(int index, Explanations.ExplainedPolicy.Builder builderForValue)
List of IAM 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 can include the policy for the resource itself. It can also include 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.v1.ExplainedPolicy explained_policies = 2;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Explanations.ExplainedPolicy.Builder |
Returns | |
---|---|
Type | Description |
TroubleshootIamPolicyResponse.Builder |
addExplainedPoliciesBuilder()
public Explanations.ExplainedPolicy.Builder addExplainedPoliciesBuilder()
List of IAM 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 can include the policy for the resource itself. It can also include 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.v1.ExplainedPolicy explained_policies = 2;
Returns | |
---|---|
Type | Description |
Explanations.ExplainedPolicy.Builder |
addExplainedPoliciesBuilder(int index)
public Explanations.ExplainedPolicy.Builder addExplainedPoliciesBuilder(int index)
List of IAM 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 can include the policy for the resource itself. It can also include 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.v1.ExplainedPolicy explained_policies = 2;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Explanations.ExplainedPolicy.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TroubleshootIamPolicyResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
TroubleshootIamPolicyResponse.Builder |
build()
public TroubleshootIamPolicyResponse build()
Returns | |
---|---|
Type | Description |
TroubleshootIamPolicyResponse |
buildPartial()
public TroubleshootIamPolicyResponse buildPartial()
Returns | |
---|---|
Type | Description |
TroubleshootIamPolicyResponse |
clear()
public TroubleshootIamPolicyResponse.Builder clear()
Returns | |
---|---|
Type | Description |
TroubleshootIamPolicyResponse.Builder |
clearAccess()
public TroubleshootIamPolicyResponse.Builder clearAccess()
Indicates whether the principal has the specified permission for the specified resource, based on evaluating all of the applicable IAM policies.
.google.cloud.policytroubleshooter.v1.AccessState access = 1;
Returns | |
---|---|
Type | Description |
TroubleshootIamPolicyResponse.Builder |
This builder for chaining. |
clearErrors()
public TroubleshootIamPolicyResponse.Builder clearErrors()
The general errors contained in the troubleshooting response.
repeated .google.rpc.Status errors = 3;
Returns | |
---|---|
Type | Description |
TroubleshootIamPolicyResponse.Builder |
clearExplainedPolicies()
public TroubleshootIamPolicyResponse.Builder clearExplainedPolicies()
List of IAM 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 can include the policy for the resource itself. It can also include 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.v1.ExplainedPolicy explained_policies = 2;
Returns | |
---|---|
Type | Description |
TroubleshootIamPolicyResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public TroubleshootIamPolicyResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
TroubleshootIamPolicyResponse.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public TroubleshootIamPolicyResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
TroubleshootIamPolicyResponse.Builder |
clone()
public TroubleshootIamPolicyResponse.Builder clone()
Returns | |
---|---|
Type | Description |
TroubleshootIamPolicyResponse.Builder |
getAccess()
public Explanations.AccessState getAccess()
Indicates whether the principal has the specified permission for the specified resource, based on evaluating all of the applicable IAM policies.
.google.cloud.policytroubleshooter.v1.AccessState access = 1;
Returns | |
---|---|
Type | Description |
Explanations.AccessState |
The access. |
getAccessValue()
public int getAccessValue()
Indicates whether the principal has the specified permission for the specified resource, based on evaluating all of the applicable IAM policies.
.google.cloud.policytroubleshooter.v1.AccessState access = 1;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for access. |
getDefaultInstanceForType()
public TroubleshootIamPolicyResponse getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
TroubleshootIamPolicyResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getErrors(int index)
public Status getErrors(int index)
The general errors contained in the troubleshooting response.
repeated .google.rpc.Status errors = 3;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
com.google.rpc.Status |
getErrorsBuilder(int index)
public Status.Builder getErrorsBuilder(int index)
The general errors contained in the troubleshooting response.
repeated .google.rpc.Status errors = 3;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
com.google.rpc.Status.Builder |
getErrorsBuilderList()
public List<Status.Builder> getErrorsBuilderList()
The general errors contained in the troubleshooting response.
repeated .google.rpc.Status errors = 3;
Returns | |
---|---|
Type | Description |
List<com.google.rpc.Status.Builder> |
getErrorsCount()
public int getErrorsCount()
The general errors contained in the troubleshooting response.
repeated .google.rpc.Status errors = 3;
Returns | |
---|---|
Type | Description |
int |
getErrorsList()
public List<Status> getErrorsList()
The general errors contained in the troubleshooting response.
repeated .google.rpc.Status errors = 3;
Returns | |
---|---|
Type | Description |
List<com.google.rpc.Status> |
getErrorsOrBuilder(int index)
public StatusOrBuilder getErrorsOrBuilder(int index)
The general errors contained in the troubleshooting response.
repeated .google.rpc.Status errors = 3;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
com.google.rpc.StatusOrBuilder |
getErrorsOrBuilderList()
public List<? extends StatusOrBuilder> getErrorsOrBuilderList()
The general errors contained in the troubleshooting response.
repeated .google.rpc.Status errors = 3;
Returns | |
---|---|
Type | Description |
List<? extends com.google.rpc.StatusOrBuilder> |
getExplainedPolicies(int index)
public Explanations.ExplainedPolicy getExplainedPolicies(int index)
List of IAM 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 can include the policy for the resource itself. It can also include 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.v1.ExplainedPolicy explained_policies = 2;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Explanations.ExplainedPolicy |
getExplainedPoliciesBuilder(int index)
public Explanations.ExplainedPolicy.Builder getExplainedPoliciesBuilder(int index)
List of IAM 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 can include the policy for the resource itself. It can also include 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.v1.ExplainedPolicy explained_policies = 2;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Explanations.ExplainedPolicy.Builder |
getExplainedPoliciesBuilderList()
public List<Explanations.ExplainedPolicy.Builder> getExplainedPoliciesBuilderList()
List of IAM 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 can include the policy for the resource itself. It can also include 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.v1.ExplainedPolicy explained_policies = 2;
Returns | |
---|---|
Type | Description |
List<Builder> |
getExplainedPoliciesCount()
public int getExplainedPoliciesCount()
List of IAM 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 can include the policy for the resource itself. It can also include 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.v1.ExplainedPolicy explained_policies = 2;
Returns | |
---|---|
Type | Description |
int |
getExplainedPoliciesList()
public List<Explanations.ExplainedPolicy> getExplainedPoliciesList()
List of IAM 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 can include the policy for the resource itself. It can also include 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.v1.ExplainedPolicy explained_policies = 2;
Returns | |
---|---|
Type | Description |
List<ExplainedPolicy> |
getExplainedPoliciesOrBuilder(int index)
public Explanations.ExplainedPolicyOrBuilder getExplainedPoliciesOrBuilder(int index)
List of IAM 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 can include the policy for the resource itself. It can also include 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.v1.ExplainedPolicy explained_policies = 2;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Explanations.ExplainedPolicyOrBuilder |
getExplainedPoliciesOrBuilderList()
public List<? extends Explanations.ExplainedPolicyOrBuilder> getExplainedPoliciesOrBuilderList()
List of IAM 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 can include the policy for the resource itself. It can also include 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.v1.ExplainedPolicy explained_policies = 2;
Returns | |
---|---|
Type | Description |
List<? extends google.cloud.policytroubleshooter.v1.Explanations.ExplainedPolicyOrBuilder> |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(TroubleshootIamPolicyResponse other)
public TroubleshootIamPolicyResponse.Builder mergeFrom(TroubleshootIamPolicyResponse other)
Parameter | |
---|---|
Name | Description |
other |
TroubleshootIamPolicyResponse |
Returns | |
---|---|
Type | Description |
TroubleshootIamPolicyResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TroubleshootIamPolicyResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
TroubleshootIamPolicyResponse.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public TroubleshootIamPolicyResponse.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
TroubleshootIamPolicyResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TroubleshootIamPolicyResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
TroubleshootIamPolicyResponse.Builder |
removeErrors(int index)
public TroubleshootIamPolicyResponse.Builder removeErrors(int index)
The general errors contained in the troubleshooting response.
repeated .google.rpc.Status errors = 3;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
TroubleshootIamPolicyResponse.Builder |
removeExplainedPolicies(int index)
public TroubleshootIamPolicyResponse.Builder removeExplainedPolicies(int index)
List of IAM 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 can include the policy for the resource itself. It can also include 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.v1.ExplainedPolicy explained_policies = 2;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
TroubleshootIamPolicyResponse.Builder |
setAccess(Explanations.AccessState value)
public TroubleshootIamPolicyResponse.Builder setAccess(Explanations.AccessState value)
Indicates whether the principal has the specified permission for the specified resource, based on evaluating all of the applicable IAM policies.
.google.cloud.policytroubleshooter.v1.AccessState access = 1;
Parameter | |
---|---|
Name | Description |
value |
Explanations.AccessState The access to set. |
Returns | |
---|---|
Type | Description |
TroubleshootIamPolicyResponse.Builder |
This builder for chaining. |
setAccessValue(int value)
public TroubleshootIamPolicyResponse.Builder setAccessValue(int value)
Indicates whether the principal has the specified permission for the specified resource, based on evaluating all of the applicable IAM policies.
.google.cloud.policytroubleshooter.v1.AccessState access = 1;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for access to set. |
Returns | |
---|---|
Type | Description |
TroubleshootIamPolicyResponse.Builder |
This builder for chaining. |
setErrors(int index, Status value)
public TroubleshootIamPolicyResponse.Builder setErrors(int index, Status value)
The general errors contained in the troubleshooting response.
repeated .google.rpc.Status errors = 3;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
com.google.rpc.Status |
Returns | |
---|---|
Type | Description |
TroubleshootIamPolicyResponse.Builder |
setErrors(int index, Status.Builder builderForValue)
public TroubleshootIamPolicyResponse.Builder setErrors(int index, Status.Builder builderForValue)
The general errors contained in the troubleshooting response.
repeated .google.rpc.Status errors = 3;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
com.google.rpc.Status.Builder |
Returns | |
---|---|
Type | Description |
TroubleshootIamPolicyResponse.Builder |
setExplainedPolicies(int index, Explanations.ExplainedPolicy value)
public TroubleshootIamPolicyResponse.Builder setExplainedPolicies(int index, Explanations.ExplainedPolicy value)
List of IAM 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 can include the policy for the resource itself. It can also include 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.v1.ExplainedPolicy explained_policies = 2;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Explanations.ExplainedPolicy |
Returns | |
---|---|
Type | Description |
TroubleshootIamPolicyResponse.Builder |
setExplainedPolicies(int index, Explanations.ExplainedPolicy.Builder builderForValue)
public TroubleshootIamPolicyResponse.Builder setExplainedPolicies(int index, Explanations.ExplainedPolicy.Builder builderForValue)
List of IAM 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 can include the policy for the resource itself. It can also include 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.v1.ExplainedPolicy explained_policies = 2;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Explanations.ExplainedPolicy.Builder |
Returns | |
---|---|
Type | Description |
TroubleshootIamPolicyResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public TroubleshootIamPolicyResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
TroubleshootIamPolicyResponse.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TroubleshootIamPolicyResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
TroubleshootIamPolicyResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final TroubleshootIamPolicyResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
TroubleshootIamPolicyResponse.Builder |