Interface ExplainedAccessOrBuilder (0.1.0)

public interface ExplainedAccessOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAccessState()

public abstract 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;

Returns
TypeDescription
AccessState

The accessState.

getAccessStateValue()

public abstract int 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;

Returns
TypeDescription
int

The enum numeric value on the wire for accessState.

getErrors(int index)

public abstract Status getErrors(int index)

If the 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;

Parameter
NameDescription
indexint
Returns
TypeDescription
com.google.rpc.Status

getErrorsCount()

public abstract int getErrorsCount()

If the 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;

Returns
TypeDescription
int

getErrorsList()

public abstract List<Status> getErrorsList()

If the 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;

Returns
TypeDescription
List<com.google.rpc.Status>

getErrorsOrBuilder(int index)

public abstract StatusOrBuilder getErrorsOrBuilder(int index)

If the 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;

Parameter
NameDescription
indexint
Returns
TypeDescription
com.google.rpc.StatusOrBuilder

getErrorsOrBuilderList()

public abstract List<? extends StatusOrBuilder> getErrorsOrBuilderList()

If the 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;

Returns
TypeDescription
List<? extends com.google.rpc.StatusOrBuilder>

getPolicies(int index)

public abstract ExplainedPolicy getPolicies(int index)

If the 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;

Parameter
NameDescription
indexint
Returns
TypeDescription
ExplainedPolicy

getPoliciesCount()

public abstract int getPoliciesCount()

If the 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;

Returns
TypeDescription
int

getPoliciesList()

public abstract List<ExplainedPolicy> getPoliciesList()

If the 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;

Returns
TypeDescription
List<ExplainedPolicy>

getPoliciesOrBuilder(int index)

public abstract ExplainedPolicyOrBuilder getPoliciesOrBuilder(int index)

If the 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;

Parameter
NameDescription
indexint
Returns
TypeDescription
ExplainedPolicyOrBuilder

getPoliciesOrBuilderList()

public abstract List<? extends ExplainedPolicyOrBuilder> getPoliciesOrBuilderList()

If the 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;

Returns
TypeDescription
List<? extends com.google.cloud.policysimulator.v1.ExplainedPolicyOrBuilder>