Interface DataprocMetastoreFederationGrpc.AsyncService (2.17.0)

public static interface DataprocMetastoreFederationGrpc.AsyncService

Configures and manages metastore federation services. Dataproc Metastore Federation Service allows federating a collection of backend metastores like BigQuery, Dataplex Lakes, and other Dataproc Metastores. The Federation Service exposes a gRPC URL through which metadata from the backend metastores are served at query time. The Dataproc Metastore Federation API defines the following resource model:

  • The service works with a collection of Google Cloud projects.
  • Each project has a collection of available locations.
  • Each location has a collection of federations.
  • Dataproc Metastore Federations are resources with names of the form: projects/{project_number}/locations/{location_id}/federations/{federation_id}.

Methods

createFederation(CreateFederationRequest request, StreamObserver<Operation> responseObserver)

public default void createFederation(CreateFederationRequest request, StreamObserver<Operation> responseObserver)

Creates a metastore federation in a project and location.

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

deleteFederation(DeleteFederationRequest request, StreamObserver<Operation> responseObserver)

public default void deleteFederation(DeleteFederationRequest request, StreamObserver<Operation> responseObserver)

Deletes a single federation.

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

getFederation(GetFederationRequest request, StreamObserver<Federation> responseObserver)

public default void getFederation(GetFederationRequest request, StreamObserver<Federation> responseObserver)

Gets the details of a single federation.

Parameters
NameDescription
requestGetFederationRequest
responseObserverio.grpc.stub.StreamObserver<Federation>

listFederations(ListFederationsRequest request, StreamObserver<ListFederationsResponse> responseObserver)

public default void listFederations(ListFederationsRequest request, StreamObserver<ListFederationsResponse> responseObserver)

Lists federations in a project and location.

Parameters
NameDescription
requestListFederationsRequest
responseObserverio.grpc.stub.StreamObserver<ListFederationsResponse>

updateFederation(UpdateFederationRequest request, StreamObserver<Operation> responseObserver)

public default void updateFederation(UpdateFederationRequest request, StreamObserver<Operation> responseObserver)

Updates the fields of a federation.

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