Interface MethodAuthorizationOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
MethodAuthorization, MethodAuthorization.Builder

public interface MethodAuthorizationOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Allow anonymous invocations (i.e.
    boolean
    Allow the use of "publishable" API keys.
    Governs the principal types that can invoke a given RPC method.
    int
    Governs the principal types that can invoke a given RPC method.
    Describes the minimum generalized permission level that is required to execute a given RPC method.
    int
    Describes the minimum generalized permission level that is required to execute a given RPC method.
    boolean
    Require the presence of tenant authorization information on a request, regardless of the mode of the request.
    boolean
    Require a valid end-user authorization token, or signed session, to be present on the request.
    boolean
    Mark the method as a "sensitive" operation.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getAllowAnonymous

      boolean getAllowAnonymous()
       Allow anonymous invocations (i.e. invocations with no credentials present).
       
      bool allow_anonymous = 1 [json_name = "allowAnonymous"];
      Returns:
      The allowAnonymous.
    • getAllowPublishable

      boolean getAllowPublishable()
       Allow the use of "publishable" API keys.
       
      bool allow_publishable = 2 [json_name = "allowPublishable"];
      Returns:
      The allowPublishable.
    • getRequireToken

      boolean getRequireToken()
       Require a valid end-user authorization token, or signed session, to be present on the request.
       
      bool require_token = 3 [json_name = "requireToken"];
      Returns:
      The requireToken.
    • getSensitive

      boolean getSensitive()
       Mark the method as a "sensitive" operation.
       
      bool sensitive = 4 [json_name = "sensitive"];
      Returns:
      The sensitive.
    • getModeValue

      int getModeValue()
       Governs the principal types that can invoke a given RPC method.
       
      .buildless.api.AuthorizationMode mode = 5 [json_name = "mode"];
      Returns:
      The enum numeric value on the wire for mode.
    • getMode

       Governs the principal types that can invoke a given RPC method.
       
      .buildless.api.AuthorizationMode mode = 5 [json_name = "mode"];
      Returns:
      The mode.
    • getRequireTenant

      boolean getRequireTenant()
       Require the presence of tenant authorization information on a request, regardless of the mode of the request.
       
      bool require_tenant = 6 [json_name = "requireTenant"];
      Returns:
      The requireTenant.
    • getPermissionValue

      int getPermissionValue()
       Describes the minimum generalized permission level that is required to execute a given RPC method.
       
      .buildless.api.PermissionLevel permission = 7 [json_name = "permission"];
      Returns:
      The enum numeric value on the wire for permission.
    • getPermission

      PermissionLevel getPermission()
       Describes the minimum generalized permission level that is required to execute a given RPC method.
       
      .buildless.api.PermissionLevel permission = 7 [json_name = "permission"];
      Returns:
      The permission.