Interface FetchAclRequestOrBuilder

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean getProjectOwner()
      For Get Project ACL only.
      RequestMetadata getRequestMetadata()
      The meta information collected about the end user, used to enforce access control for the service.
      RequestMetadataOrBuilder getRequestMetadataOrBuilder()
      The meta information collected about the end user, used to enforce access control for the service.
      String getResource()
      Required.
      com.google.protobuf.ByteString getResourceBytes()
      Required.
      boolean hasRequestMetadata()
      The meta information collected about the end user, used to enforce access control for the service.
      • 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 Detail

      • getResource

        String getResource()
         Required. REQUIRED: The resource for which the policy is being requested.
         Format for document:
         projects/{project_number}/locations/{location}/documents/{document_id}.
         Format for collection:
         projects/{project_number}/locations/{location}/collections/{collection_id}.
         Format for project: projects/{project_number}.
         
        string resource = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The resource.
      • getResourceBytes

        com.google.protobuf.ByteString getResourceBytes()
         Required. REQUIRED: The resource for which the policy is being requested.
         Format for document:
         projects/{project_number}/locations/{location}/documents/{document_id}.
         Format for collection:
         projects/{project_number}/locations/{location}/collections/{collection_id}.
         Format for project: projects/{project_number}.
         
        string resource = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The bytes for resource.
      • hasRequestMetadata

        boolean hasRequestMetadata()
         The meta information collected about the end user, used to enforce access
         control for the service.
         
        .google.cloud.contentwarehouse.v1.RequestMetadata request_metadata = 2;
        Returns:
        Whether the requestMetadata field is set.
      • getRequestMetadata

        RequestMetadata getRequestMetadata()
         The meta information collected about the end user, used to enforce access
         control for the service.
         
        .google.cloud.contentwarehouse.v1.RequestMetadata request_metadata = 2;
        Returns:
        The requestMetadata.
      • getRequestMetadataOrBuilder

        RequestMetadataOrBuilder getRequestMetadataOrBuilder()
         The meta information collected about the end user, used to enforce access
         control for the service.
         
        .google.cloud.contentwarehouse.v1.RequestMetadata request_metadata = 2;
      • getProjectOwner

        boolean getProjectOwner()
         For Get Project ACL only. Authorization check for end user will be ignored
         when project_owner=true.
         
        bool project_owner = 3;
        Returns:
        The projectOwner.