- 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 interface TroubleshootIamPolicyResponseOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getAccess()
public abstract 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 abstract 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. |
getErrors(int index)
public abstract 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 |
getErrorsCount()
public abstract int getErrorsCount()
The general errors contained in the troubleshooting response.
repeated .google.rpc.Status errors = 3;
Returns | |
---|---|
Type | Description |
int |
getErrorsList()
public abstract 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 abstract 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 abstract 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 abstract 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 |
getExplainedPoliciesCount()
public abstract 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 abstract 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 abstract 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 abstract 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> |