public static interface Rbac.RBACOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsPolicies(String key)
Maps from policy name to policy.
|
Rbac.RBAC.Action |
getAction()
The action to take if a policy matches.
|
int |
getActionValue()
The action to take if a policy matches.
|
Map<String,Rbac.Policy> |
getPolicies()
Deprecated.
|
int |
getPoliciesCount()
Maps from policy name to policy.
|
Map<String,Rbac.Policy> |
getPoliciesMap()
Maps from policy name to policy.
|
Rbac.Policy |
getPoliciesOrDefault(String key,
Rbac.Policy defaultValue)
Maps from policy name to policy.
|
Rbac.Policy |
getPoliciesOrThrow(String key)
Maps from policy name to policy.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofint getActionValue()
The action to take if a policy matches. The request is allowed if and only if: * `action` is "ALLOWED" and at least one policy matches * `action` is "DENY" and none of the policies match
.envoy.config.rbac.v2alpha.RBAC.Action action = 1;Rbac.RBAC.Action getAction()
The action to take if a policy matches. The request is allowed if and only if: * `action` is "ALLOWED" and at least one policy matches * `action` is "DENY" and none of the policies match
.envoy.config.rbac.v2alpha.RBAC.Action action = 1;int getPoliciesCount()
Maps from policy name to policy. A match occurs when at least one policy matches the request.
map<string, .envoy.config.rbac.v2alpha.Policy> policies = 2;boolean containsPolicies(String key)
Maps from policy name to policy. A match occurs when at least one policy matches the request.
map<string, .envoy.config.rbac.v2alpha.Policy> policies = 2;@Deprecated Map<String,Rbac.Policy> getPolicies()
getPoliciesMap() instead.Map<String,Rbac.Policy> getPoliciesMap()
Maps from policy name to policy. A match occurs when at least one policy matches the request.
map<string, .envoy.config.rbac.v2alpha.Policy> policies = 2;Rbac.Policy getPoliciesOrDefault(String key, Rbac.Policy defaultValue)
Maps from policy name to policy. A match occurs when at least one policy matches the request.
map<string, .envoy.config.rbac.v2alpha.Policy> policies = 2;Rbac.Policy getPoliciesOrThrow(String key)
Maps from policy name to policy. A match occurs when at least one policy matches the request.
map<string, .envoy.config.rbac.v2alpha.Policy> policies = 2;Copyright © 2018 The Envoy Project. All rights reserved.