public interface DecisionOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsAnnotations(String key)
annotations that may be added to a decision
|
boolean |
containsOutcomes(String key)
outcome of the decisions specified in the policy context
|
Map<String,String> |
getAnnotations()
Deprecated.
|
int |
getAnnotationsCount()
annotations that may be added to a decision
|
Map<String,String> |
getAnnotationsMap()
annotations that may be added to a decision
|
String |
getAnnotationsOrDefault(String key,
String defaultValue)
annotations that may be added to a decision
|
String |
getAnnotationsOrThrow(String key)
annotations that may be added to a decision
|
String |
getId()
unique id, replay a decision starting with this, also useful to de-dup
|
com.google.protobuf.ByteString |
getIdBytes()
unique id, replay a decision starting with this, also useful to de-dup
|
Map<String,Boolean> |
getOutcomes()
Deprecated.
|
int |
getOutcomesCount()
outcome of the decisions specified in the policy context
|
Map<String,Boolean> |
getOutcomesMap()
outcome of the decisions specified in the policy context
|
boolean |
getOutcomesOrDefault(String key,
boolean defaultValue)
outcome of the decisions specified in the policy context
|
boolean |
getOutcomesOrThrow(String key)
outcome of the decisions specified in the policy context
|
String |
getPath()
Policy path used in decision
|
com.google.protobuf.ByteString |
getPathBytes()
Policy path used in decision
|
DecisionPolicy |
getPolicy()
info about policy used for the decision
|
DecisionPolicyOrBuilder |
getPolicyOrBuilder()
info about policy used for the decision
|
com.google.protobuf.Struct |
getResource()
the resource context used in a decision
|
com.google.protobuf.StructOrBuilder |
getResourceOrBuilder()
the resource context used in a decision
|
String |
getTenantId()
id of the tenant that generated the decision
|
com.google.protobuf.ByteString |
getTenantIdBytes()
id of the tenant that generated the decision
|
com.google.protobuf.Timestamp |
getTimestamp()
UTC time when the decision was made
|
com.google.protobuf.TimestampOrBuilder |
getTimestampOrBuilder()
UTC time when the decision was made
|
DecisionUser |
getUser()
info about user for whom the decision as made
|
DecisionUserOrBuilder |
getUserOrBuilder()
info about user for whom the decision as made
|
boolean |
hasPolicy()
info about policy used for the decision
|
boolean |
hasResource()
the resource context used in a decision
|
boolean |
hasTenantId()
id of the tenant that generated the decision
|
boolean |
hasTimestamp()
UTC time when the decision was made
|
boolean |
hasUser()
info about user for whom the decision as made
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getId()
unique id, replay a decision starting with this, also useful to de-dup
string id = 1 [json_name = "id"];com.google.protobuf.ByteString getIdBytes()
unique id, replay a decision starting with this, also useful to de-dup
string id = 1 [json_name = "id"];boolean hasTimestamp()
UTC time when the decision was made
.google.protobuf.Timestamp timestamp = 2 [json_name = "timestamp"];com.google.protobuf.Timestamp getTimestamp()
UTC time when the decision was made
.google.protobuf.Timestamp timestamp = 2 [json_name = "timestamp"];com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder()
UTC time when the decision was made
.google.protobuf.Timestamp timestamp = 2 [json_name = "timestamp"];String getPath()
Policy path used in decision
string path = 3 [json_name = "path"];com.google.protobuf.ByteString getPathBytes()
Policy path used in decision
string path = 3 [json_name = "path"];boolean hasUser()
info about user for whom the decision as made
.aserto.authorizer.v2.api.DecisionUser user = 4 [json_name = "user"];DecisionUser getUser()
info about user for whom the decision as made
.aserto.authorizer.v2.api.DecisionUser user = 4 [json_name = "user"];DecisionUserOrBuilder getUserOrBuilder()
info about user for whom the decision as made
.aserto.authorizer.v2.api.DecisionUser user = 4 [json_name = "user"];boolean hasPolicy()
info about policy used for the decision
.aserto.authorizer.v2.api.DecisionPolicy policy = 5 [json_name = "policy"];DecisionPolicy getPolicy()
info about policy used for the decision
.aserto.authorizer.v2.api.DecisionPolicy policy = 5 [json_name = "policy"];DecisionPolicyOrBuilder getPolicyOrBuilder()
info about policy used for the decision
.aserto.authorizer.v2.api.DecisionPolicy policy = 5 [json_name = "policy"];int getOutcomesCount()
outcome of the decisions specified in the policy context
map<string, bool> outcomes = 6 [json_name = "outcomes"];boolean containsOutcomes(String key)
outcome of the decisions specified in the policy context
map<string, bool> outcomes = 6 [json_name = "outcomes"];@Deprecated Map<String,Boolean> getOutcomes()
getOutcomesMap() instead.Map<String,Boolean> getOutcomesMap()
outcome of the decisions specified in the policy context
map<string, bool> outcomes = 6 [json_name = "outcomes"];boolean getOutcomesOrDefault(String key, boolean defaultValue)
outcome of the decisions specified in the policy context
map<string, bool> outcomes = 6 [json_name = "outcomes"];boolean getOutcomesOrThrow(String key)
outcome of the decisions specified in the policy context
map<string, bool> outcomes = 6 [json_name = "outcomes"];boolean hasResource()
the resource context used in a decision
.google.protobuf.Struct resource = 7 [json_name = "resource"];com.google.protobuf.Struct getResource()
the resource context used in a decision
.google.protobuf.Struct resource = 7 [json_name = "resource"];com.google.protobuf.StructOrBuilder getResourceOrBuilder()
the resource context used in a decision
.google.protobuf.Struct resource = 7 [json_name = "resource"];int getAnnotationsCount()
annotations that may be added to a decision
map<string, string> annotations = 8 [json_name = "annotations"];boolean containsAnnotations(String key)
annotations that may be added to a decision
map<string, string> annotations = 8 [json_name = "annotations"];@Deprecated Map<String,String> getAnnotations()
getAnnotationsMap() instead.Map<String,String> getAnnotationsMap()
annotations that may be added to a decision
map<string, string> annotations = 8 [json_name = "annotations"];String getAnnotationsOrDefault(String key, String defaultValue)
annotations that may be added to a decision
map<string, string> annotations = 8 [json_name = "annotations"];String getAnnotationsOrThrow(String key)
annotations that may be added to a decision
map<string, string> annotations = 8 [json_name = "annotations"];boolean hasTenantId()
id of the tenant that generated the decision
optional string tenant_id = 9 [json_name = "tenantId"];String getTenantId()
id of the tenant that generated the decision
optional string tenant_id = 9 [json_name = "tenantId"];com.google.protobuf.ByteString getTenantIdBytes()
id of the tenant that generated the decision
optional string tenant_id = 9 [json_name = "tenantId"];Copyright © 2023. All rights reserved.