google/cloud/documentai_v1beta2/services/document_understanding_service/transports/grpc.py
def batch_process_documents(
        self,
    ) -> Callable[
        [document_understanding.BatchProcessDocumentsRequest], operations.Operation
    ]:
        r"""Return a callable for the batch process documents method over gRPC.

        LRO endpoint to batch process many documents. The output is
        written to Cloud Storage as JSON in the [Document] format.

        Returns:
            Callable[[~.BatchProcessDocumentsRequest],
                    ~.Operation]:
                A function that, when called, will call the underlying RPC
                on the server.
        """
        # Generate a "stub function" on-the-fly which will actually make
        # the request.
        # gRPC handles serialization and deserialization, so we just need
        # to pass in the functions for each.
        if "batch_process_documents" not in self._stubs:
            self._stubs["batch_process_documents"] = self.grpc_channel.unary_unary(
                "/google.cloud.documentai.v1beta2.DocumentUnderstandingService/BatchProcessDocuments",
                request_serializer=document_understanding.BatchProcessDocumentsRequest.serialize,
                response_deserializer=operations.Operation.FromString,
            )
        return self._stubs["batch_process_documents"]
r"""Return a callable for the batch process documents method over gRPC.

        LRO endpoint to batch process many documents. The output is
        written to Cloud Storage as JSON in the [Document] format.

        Returns:
            Callable[[~.BatchProcessDocumentsRequest],
                    ~.Operation]:
                A function that, when called, will call the underlying RPC
                on the server.
        
r"""Return a callable for the batch process documents method over gRPC.
LRO endpoint to batch process many documents. The output is
written to Cloud Storage as JSON in the [Document] format.
r " " " Return a callable for the batch process documents method over gRPC . LRO endpoint to batch process many documents . The output is written to Cloud Storage as JSON in the [ Document ] format .
def batch_process_documents(
        self,
    ) -> Callable[
        [document_understanding.BatchProcessDocumentsRequest], operations.Operation
    ]:
        if "batch_process_documents" not in self._stubs:
            self._stubs["batch_process_documents"] = self.grpc_channel.unary_unary(
                "/google.cloud.documentai.v1beta2.DocumentUnderstandingService/BatchProcessDocuments",
                request_serializer=document_understanding.BatchProcessDocumentsRequest.serialize,
                response_deserializer=operations.Operation.FromString,
            )
        return self._stubs["batch_process_documents"]
def batch_process_documents ( self , ) -> Callable [ [ document_understanding . BatchProcessDocumentsRequest ] , operations . Operation ] : if "batch_process_documents" not in self . _stubs : self . _stubs [ "batch_process_documents" ] = self . grpc_channel . unary_unary ( "/google.cloud.documentai.v1beta2.DocumentUnderstandingService/BatchProcessDocuments" , request_serializer = document_understanding . BatchProcessDocumentsRequest . serialize , response_deserializer = operations . Operation . FromString , ) return self . _stubs [ "batch_process_documents" ]
r"""Return a callable for the batch process documents method over gRPC.
r " " " Return a callable for the batch process documents method over gRPC .
r"""Return a callable for the batch process documents method over gRPC.

        LRO endpoint to batch process many documents. The output is
        written to Cloud Storage as JSON in the [Document] format.

        Returns:
            Callable[[~.BatchProcessDocumentsRequest],
                    ~.Operation]:
                A function that, when called, will call the underlying RPC
                on the server.
        """ # Generate a "stub function" on-the-fly which will actually make # the request. # gRPC handles serialization and deserialization, so we just need # to pass in the functions for each.
A function that, when called, will call the underlying RPC
on the server.
A function that when called will call the underlying RPC on the server .
Callable[[~.BatchProcessDocumentsRequest],
    ~.Operation]
self