public interface ExplainedAccessOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
AccessState |
getAccessState()
Whether the principal in the access tuple has permission to access the
resource in the access tuple under the given policies.
|
int |
getAccessStateValue()
Whether the principal in the access tuple has permission to access the
resource in the access tuple under the given policies.
|
com.google.rpc.Status |
getErrors(int index)
If the [AccessState][google.cloud.policysimulator.v1.AccessState] is
`UNKNOWN`, this field contains a list of errors explaining why the result
is `UNKNOWN`.
|
int |
getErrorsCount()
If the [AccessState][google.cloud.policysimulator.v1.AccessState] is
`UNKNOWN`, this field contains a list of errors explaining why the result
is `UNKNOWN`.
|
List<com.google.rpc.Status> |
getErrorsList()
If the [AccessState][google.cloud.policysimulator.v1.AccessState] is
`UNKNOWN`, this field contains a list of errors explaining why the result
is `UNKNOWN`.
|
com.google.rpc.StatusOrBuilder |
getErrorsOrBuilder(int index)
If the [AccessState][google.cloud.policysimulator.v1.AccessState] is
`UNKNOWN`, this field contains a list of errors explaining why the result
is `UNKNOWN`.
|
List<? extends com.google.rpc.StatusOrBuilder> |
getErrorsOrBuilderList()
If the [AccessState][google.cloud.policysimulator.v1.AccessState] is
`UNKNOWN`, this field contains a list of errors explaining why the result
is `UNKNOWN`.
|
ExplainedPolicy |
getPolicies(int index)
If the [AccessState][google.cloud.policysimulator.v1.AccessState] is
`UNKNOWN`, this field contains the policies that led to that result.
|
int |
getPoliciesCount()
If the [AccessState][google.cloud.policysimulator.v1.AccessState] is
`UNKNOWN`, this field contains the policies that led to that result.
|
List<ExplainedPolicy> |
getPoliciesList()
If the [AccessState][google.cloud.policysimulator.v1.AccessState] is
`UNKNOWN`, this field contains the policies that led to that result.
|
ExplainedPolicyOrBuilder |
getPoliciesOrBuilder(int index)
If the [AccessState][google.cloud.policysimulator.v1.AccessState] is
`UNKNOWN`, this field contains the policies that led to that result.
|
List<? extends ExplainedPolicyOrBuilder> |
getPoliciesOrBuilderList()
If the [AccessState][google.cloud.policysimulator.v1.AccessState] is
`UNKNOWN`, this field contains the policies that led to that result.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofint getAccessStateValue()
Whether the principal in the access tuple has permission to access the resource in the access tuple under the given policies.
.google.cloud.policysimulator.v1.AccessState access_state = 1;AccessState getAccessState()
Whether the principal in the access tuple has permission to access the resource in the access tuple under the given policies.
.google.cloud.policysimulator.v1.AccessState access_state = 1;List<ExplainedPolicy> getPoliciesList()
If the [AccessState][google.cloud.policysimulator.v1.AccessState] is `UNKNOWN`, this field contains the policies that led to that result. If the `AccessState` is `GRANTED` or `NOT_GRANTED`, this field is omitted.
repeated .google.cloud.policysimulator.v1.ExplainedPolicy policies = 2;ExplainedPolicy getPolicies(int index)
If the [AccessState][google.cloud.policysimulator.v1.AccessState] is `UNKNOWN`, this field contains the policies that led to that result. If the `AccessState` is `GRANTED` or `NOT_GRANTED`, this field is omitted.
repeated .google.cloud.policysimulator.v1.ExplainedPolicy policies = 2;int getPoliciesCount()
If the [AccessState][google.cloud.policysimulator.v1.AccessState] is `UNKNOWN`, this field contains the policies that led to that result. If the `AccessState` is `GRANTED` or `NOT_GRANTED`, this field is omitted.
repeated .google.cloud.policysimulator.v1.ExplainedPolicy policies = 2;List<? extends ExplainedPolicyOrBuilder> getPoliciesOrBuilderList()
If the [AccessState][google.cloud.policysimulator.v1.AccessState] is `UNKNOWN`, this field contains the policies that led to that result. If the `AccessState` is `GRANTED` or `NOT_GRANTED`, this field is omitted.
repeated .google.cloud.policysimulator.v1.ExplainedPolicy policies = 2;ExplainedPolicyOrBuilder getPoliciesOrBuilder(int index)
If the [AccessState][google.cloud.policysimulator.v1.AccessState] is `UNKNOWN`, this field contains the policies that led to that result. If the `AccessState` is `GRANTED` or `NOT_GRANTED`, this field is omitted.
repeated .google.cloud.policysimulator.v1.ExplainedPolicy policies = 2;List<com.google.rpc.Status> getErrorsList()
If the [AccessState][google.cloud.policysimulator.v1.AccessState] is `UNKNOWN`, this field contains a list of errors explaining why the result is `UNKNOWN`. If the `AccessState` is `GRANTED` or `NOT_GRANTED`, this field is omitted.
repeated .google.rpc.Status errors = 3;com.google.rpc.Status getErrors(int index)
If the [AccessState][google.cloud.policysimulator.v1.AccessState] is `UNKNOWN`, this field contains a list of errors explaining why the result is `UNKNOWN`. If the `AccessState` is `GRANTED` or `NOT_GRANTED`, this field is omitted.
repeated .google.rpc.Status errors = 3;int getErrorsCount()
If the [AccessState][google.cloud.policysimulator.v1.AccessState] is `UNKNOWN`, this field contains a list of errors explaining why the result is `UNKNOWN`. If the `AccessState` is `GRANTED` or `NOT_GRANTED`, this field is omitted.
repeated .google.rpc.Status errors = 3;List<? extends com.google.rpc.StatusOrBuilder> getErrorsOrBuilderList()
If the [AccessState][google.cloud.policysimulator.v1.AccessState] is `UNKNOWN`, this field contains a list of errors explaining why the result is `UNKNOWN`. If the `AccessState` is `GRANTED` or `NOT_GRANTED`, this field is omitted.
repeated .google.rpc.Status errors = 3;com.google.rpc.StatusOrBuilder getErrorsOrBuilder(int index)
If the [AccessState][google.cloud.policysimulator.v1.AccessState] is `UNKNOWN`, this field contains a list of errors explaining why the result is `UNKNOWN`. If the `AccessState` is `GRANTED` or `NOT_GRANTED`, this field is omitted.
repeated .google.rpc.Status errors = 3;Copyright © 2023 Google LLC. All rights reserved.