Interface AuthzPolicy.CustomProvider.AuthzExtensionOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
AuthzPolicy.CustomProvider.AuthzExtension, AuthzPolicy.CustomProvider.AuthzExtension.Builder
Enclosing class:
AuthzPolicy.CustomProvider

public static interface AuthzPolicy.CustomProvider.AuthzExtensionOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    getResources(int index)
    Required.
    com.google.protobuf.ByteString
    getResourcesBytes(int index)
    Required.
    int
    Required.
    Required.

    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

    • getResourcesList

      List<String> getResourcesList()
       Required. A list of references to authorization
       extensions that will be invoked for requests matching this policy.
       Limited to 1 custom provider.
       
      repeated string resources = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      A list containing the resources.
    • getResourcesCount

      int getResourcesCount()
       Required. A list of references to authorization
       extensions that will be invoked for requests matching this policy.
       Limited to 1 custom provider.
       
      repeated string resources = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The count of resources.
    • getResources

      String getResources(int index)
       Required. A list of references to authorization
       extensions that will be invoked for requests matching this policy.
       Limited to 1 custom provider.
       
      repeated string resources = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      index - The index of the element to return.
      Returns:
      The resources at the given index.
    • getResourcesBytes

      com.google.protobuf.ByteString getResourcesBytes(int index)
       Required. A list of references to authorization
       extensions that will be invoked for requests matching this policy.
       Limited to 1 custom provider.
       
      repeated string resources = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the resources at the given index.