Interface DocumentServiceGrpc.AsyncService (2.25.0)

public static interface DocumentServiceGrpc.AsyncService

Service to call Cloud DocumentAI to manage document collection (dataset).

Methods

getDatasetSchema(GetDatasetSchemaRequest request, StreamObserver<DatasetSchema> responseObserver)

public default void getDatasetSchema(GetDatasetSchemaRequest request, StreamObserver<DatasetSchema> responseObserver)

Gets the DatasetSchema of a Dataset.

Parameters
NameDescription
requestGetDatasetSchemaRequest
responseObserverio.grpc.stub.StreamObserver<DatasetSchema>

updateDataset(UpdateDatasetRequest request, StreamObserver<Operation> responseObserver)

public default void updateDataset(UpdateDatasetRequest request, StreamObserver<Operation> responseObserver)

Updates metadata associated with a dataset.

Parameters
NameDescription
requestUpdateDatasetRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

updateDatasetSchema(UpdateDatasetSchemaRequest request, StreamObserver<DatasetSchema> responseObserver)

public default void updateDatasetSchema(UpdateDatasetSchemaRequest request, StreamObserver<DatasetSchema> responseObserver)

Updates a DatasetSchema.

Parameters
NameDescription
requestUpdateDatasetSchemaRequest
responseObserverio.grpc.stub.StreamObserver<DatasetSchema>