Interface DataprocMetastoreFederationGrpc.AsyncService (2.46.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
Name Description
request CreateFederationRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteFederation(DeleteFederationRequest request, StreamObserver<Operation> responseObserver)

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

Deletes a single federation.

Parameters
Name Description
request DeleteFederationRequest
responseObserver io.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
Name Description
request GetFederationRequest
responseObserver io.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
Name Description
request ListFederationsRequest
responseObserver io.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
Name Description
request UpdateFederationRequest
responseObserver io.grpc.stub.StreamObserver<Operation>