Interface AccessPolicyRule.OperationOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
AccessPolicyRule.Operation, AccessPolicyRule.Operation.Builder
Enclosing class:
AccessPolicyRule

public static interface AccessPolicyRule.OperationOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getPermissionsList

      List<String> getPermissionsList()
       Optional. The permissions that are explicitly affected by this rule. Each
       permission uses the format `{service_fqdn}/{resource}.{verb}`, where
       `{service_fqdn}` is the fully qualified domain name for the service.
       Currently supported permissions are as follows:
      
       * `eventarc.googleapis.com/messageBuses.publish`.
       
      repeated string permissions = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      A list containing the permissions.
    • getPermissionsCount

      int getPermissionsCount()
       Optional. The permissions that are explicitly affected by this rule. Each
       permission uses the format `{service_fqdn}/{resource}.{verb}`, where
       `{service_fqdn}` is the fully qualified domain name for the service.
       Currently supported permissions are as follows:
      
       * `eventarc.googleapis.com/messageBuses.publish`.
       
      repeated string permissions = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The count of permissions.
    • getPermissions

      String getPermissions(int index)
       Optional. The permissions that are explicitly affected by this rule. Each
       permission uses the format `{service_fqdn}/{resource}.{verb}`, where
       `{service_fqdn}` is the fully qualified domain name for the service.
       Currently supported permissions are as follows:
      
       * `eventarc.googleapis.com/messageBuses.publish`.
       
      repeated string permissions = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the element to return.
      Returns:
      The permissions at the given index.
    • getPermissionsBytes

      com.google.protobuf.ByteString getPermissionsBytes(int index)
       Optional. The permissions that are explicitly affected by this rule. Each
       permission uses the format `{service_fqdn}/{resource}.{verb}`, where
       `{service_fqdn}` is the fully qualified domain name for the service.
       Currently supported permissions are as follows:
      
       * `eventarc.googleapis.com/messageBuses.publish`.
       
      repeated string permissions = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the permissions at the given index.
    • getExcludedPermissionsList

      List<String> getExcludedPermissionsList()
       Optional. Specifies the permissions that this rule excludes from the set
       of affected permissions given by `permissions`. If a permission appears
       in `permissions` _and_ in `excluded_permissions` then it will _not_ be
       subject to the policy effect.
      
       The excluded permissions can be specified using the same syntax as
       `permissions`.
       
      repeated string excluded_permissions = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      A list containing the excludedPermissions.
    • getExcludedPermissionsCount

      int getExcludedPermissionsCount()
       Optional. Specifies the permissions that this rule excludes from the set
       of affected permissions given by `permissions`. If a permission appears
       in `permissions` _and_ in `excluded_permissions` then it will _not_ be
       subject to the policy effect.
      
       The excluded permissions can be specified using the same syntax as
       `permissions`.
       
      repeated string excluded_permissions = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The count of excludedPermissions.
    • getExcludedPermissions

      String getExcludedPermissions(int index)
       Optional. Specifies the permissions that this rule excludes from the set
       of affected permissions given by `permissions`. If a permission appears
       in `permissions` _and_ in `excluded_permissions` then it will _not_ be
       subject to the policy effect.
      
       The excluded permissions can be specified using the same syntax as
       `permissions`.
       
      repeated string excluded_permissions = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the element to return.
      Returns:
      The excludedPermissions at the given index.
    • getExcludedPermissionsBytes

      com.google.protobuf.ByteString getExcludedPermissionsBytes(int index)
       Optional. Specifies the permissions that this rule excludes from the set
       of affected permissions given by `permissions`. If a permission appears
       in `permissions` _and_ in `excluded_permissions` then it will _not_ be
       subject to the policy effect.
      
       The excluded permissions can be specified using the same syntax as
       `permissions`.
       
      repeated string excluded_permissions = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the excludedPermissions at the given index.