Interface PolicyOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Policy,Policy.Builder
public interface PolicyOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionAn optional symbolic expression specifying an access control :ref:`condition <arch_overview_condition>`.An optional symbolic expression specifying an access control :ref:`condition <arch_overview_condition>`.getPermissions(int index) Required.intRequired.Required.getPermissionsOrBuilder(int index) Required.List<? extends PermissionOrBuilder>Required.getPrincipals(int index) Required.intRequired.Required.getPrincipalsOrBuilder(int index) Required.List<? extends PrincipalOrBuilder>Required.booleanAn optional symbolic expression specifying an access control :ref:`condition <arch_overview_condition>`.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getPermissionsList
List<Permission> getPermissionsList()Required. The set of permissions that define a role. Each permission is matched with OR semantics. To match all actions for this policy, a single Permission with the `any` field set to true should be used.
repeated .envoy.config.rbac.v2.Permission permissions = 1 [(.validate.rules) = { ... } -
getPermissions
Required. The set of permissions that define a role. Each permission is matched with OR semantics. To match all actions for this policy, a single Permission with the `any` field set to true should be used.
repeated .envoy.config.rbac.v2.Permission permissions = 1 [(.validate.rules) = { ... } -
getPermissionsCount
int getPermissionsCount()Required. The set of permissions that define a role. Each permission is matched with OR semantics. To match all actions for this policy, a single Permission with the `any` field set to true should be used.
repeated .envoy.config.rbac.v2.Permission permissions = 1 [(.validate.rules) = { ... } -
getPermissionsOrBuilderList
List<? extends PermissionOrBuilder> getPermissionsOrBuilderList()Required. The set of permissions that define a role. Each permission is matched with OR semantics. To match all actions for this policy, a single Permission with the `any` field set to true should be used.
repeated .envoy.config.rbac.v2.Permission permissions = 1 [(.validate.rules) = { ... } -
getPermissionsOrBuilder
Required. The set of permissions that define a role. Each permission is matched with OR semantics. To match all actions for this policy, a single Permission with the `any` field set to true should be used.
repeated .envoy.config.rbac.v2.Permission permissions = 1 [(.validate.rules) = { ... } -
getPrincipalsList
Required. The set of principals that are assigned/denied the role based on “action”. Each principal is matched with OR semantics. To match all downstreams for this policy, a single Principal with the `any` field set to true should be used.
repeated .envoy.config.rbac.v2.Principal principals = 2 [(.validate.rules) = { ... } -
getPrincipals
Required. The set of principals that are assigned/denied the role based on “action”. Each principal is matched with OR semantics. To match all downstreams for this policy, a single Principal with the `any` field set to true should be used.
repeated .envoy.config.rbac.v2.Principal principals = 2 [(.validate.rules) = { ... } -
getPrincipalsCount
int getPrincipalsCount()Required. The set of principals that are assigned/denied the role based on “action”. Each principal is matched with OR semantics. To match all downstreams for this policy, a single Principal with the `any` field set to true should be used.
repeated .envoy.config.rbac.v2.Principal principals = 2 [(.validate.rules) = { ... } -
getPrincipalsOrBuilderList
List<? extends PrincipalOrBuilder> getPrincipalsOrBuilderList()Required. The set of principals that are assigned/denied the role based on “action”. Each principal is matched with OR semantics. To match all downstreams for this policy, a single Principal with the `any` field set to true should be used.
repeated .envoy.config.rbac.v2.Principal principals = 2 [(.validate.rules) = { ... } -
getPrincipalsOrBuilder
Required. The set of principals that are assigned/denied the role based on “action”. Each principal is matched with OR semantics. To match all downstreams for this policy, a single Principal with the `any` field set to true should be used.
repeated .envoy.config.rbac.v2.Principal principals = 2 [(.validate.rules) = { ... } -
hasCondition
boolean hasCondition()An optional symbolic expression specifying an access control :ref:`condition <arch_overview_condition>`. The condition is combined with the permissions and the principals as a clause with AND semantics.
.google.api.expr.v1alpha1.Expr condition = 3;- Returns:
- Whether the condition field is set.
-
getCondition
Expr getCondition()An optional symbolic expression specifying an access control :ref:`condition <arch_overview_condition>`. The condition is combined with the permissions and the principals as a clause with AND semantics.
.google.api.expr.v1alpha1.Expr condition = 3;- Returns:
- The condition.
-
getConditionOrBuilder
ExprOrBuilder getConditionOrBuilder()An optional symbolic expression specifying an access control :ref:`condition <arch_overview_condition>`. The condition is combined with the permissions and the principals as a clause with AND semantics.
.google.api.expr.v1alpha1.Expr condition = 3;
-