Dataproc Metastore v1beta API - Class DataprocMetastoreFederationClientImpl (2.0.0-beta09)

public sealed class DataprocMetastoreFederationClientImpl : DataprocMetastoreFederationClient

Reference documentation and code samples for the Dataproc Metastore v1beta API class DataprocMetastoreFederationClientImpl.

DataprocMetastoreFederation client wrapper implementation, for convenient use.

Inheritance

object > DataprocMetastoreFederationClient > DataprocMetastoreFederationClientImpl

Namespace

Google.Cloud.Metastore.V1Beta

Assembly

Google.Cloud.Metastore.V1Beta.dll

Remarks

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}.

Constructors

DataprocMetastoreFederationClientImpl(DataprocMetastoreFederationClient, DataprocMetastoreFederationSettings, ILogger)

public DataprocMetastoreFederationClientImpl(DataprocMetastoreFederation.DataprocMetastoreFederationClient grpcClient, DataprocMetastoreFederationSettings settings, ILogger logger)

Constructs a client wrapper for the DataprocMetastoreFederation service, with the specified gRPC client and settings.

Parameters
NameDescription
grpcClientDataprocMetastoreFederationDataprocMetastoreFederationClient

The underlying gRPC client.

settingsDataprocMetastoreFederationSettings

The base DataprocMetastoreFederationSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

CreateFederationOperationsClient

public override OperationsClient CreateFederationOperationsClient { get; }

The long-running operations client for CreateFederation.

Property Value
TypeDescription
OperationsClient
Overrides

DeleteFederationOperationsClient

public override OperationsClient DeleteFederationOperationsClient { get; }

The long-running operations client for DeleteFederation.

Property Value
TypeDescription
OperationsClient
Overrides

GrpcClient

public override DataprocMetastoreFederation.DataprocMetastoreFederationClient GrpcClient { get; }

The underlying gRPC DataprocMetastoreFederation client

Property Value
TypeDescription
DataprocMetastoreFederationDataprocMetastoreFederationClient
Overrides

IAMPolicyClient

public override IAMPolicyClient IAMPolicyClient { get; }

The IAMPolicyClient associated with this client.

Property Value
TypeDescription
IAMPolicyClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
TypeDescription
LocationsClient
Overrides

UpdateFederationOperationsClient

public override OperationsClient UpdateFederationOperationsClient { get; }

The long-running operations client for UpdateFederation.

Property Value
TypeDescription
OperationsClient
Overrides

Methods

CreateFederation(CreateFederationRequest, CallSettings)

public override Operation<Federation, OperationMetadata> CreateFederation(CreateFederationRequest request, CallSettings callSettings = null)

Creates a metastore federation in a project and location.

Parameters
NameDescription
requestCreateFederationRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationFederationOperationMetadata

The RPC response.

Overrides

CreateFederationAsync(CreateFederationRequest, CallSettings)

public override Task<Operation<Federation, OperationMetadata>> CreateFederationAsync(CreateFederationRequest request, CallSettings callSettings = null)

Creates a metastore federation in a project and location.

Parameters
NameDescription
requestCreateFederationRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationFederationOperationMetadata

A Task containing the RPC response.

Overrides

DeleteFederation(DeleteFederationRequest, CallSettings)

public override Operation<Empty, OperationMetadata> DeleteFederation(DeleteFederationRequest request, CallSettings callSettings = null)

Deletes a single federation.

Parameters
NameDescription
requestDeleteFederationRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationEmptyOperationMetadata

The RPC response.

Overrides

DeleteFederationAsync(DeleteFederationRequest, CallSettings)

public override Task<Operation<Empty, OperationMetadata>> DeleteFederationAsync(DeleteFederationRequest request, CallSettings callSettings = null)

Deletes a single federation.

Parameters
NameDescription
requestDeleteFederationRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Overrides

GetFederation(GetFederationRequest, CallSettings)

public override Federation GetFederation(GetFederationRequest request, CallSettings callSettings = null)

Gets the details of a single federation.

Parameters
NameDescription
requestGetFederationRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Federation

The RPC response.

Overrides

GetFederationAsync(GetFederationRequest, CallSettings)

public override Task<Federation> GetFederationAsync(GetFederationRequest request, CallSettings callSettings = null)

Gets the details of a single federation.

Parameters
NameDescription
requestGetFederationRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskFederation

A Task containing the RPC response.

Overrides

ListFederations(ListFederationsRequest, CallSettings)

public override PagedEnumerable<ListFederationsResponse, Federation> ListFederations(ListFederationsRequest request, CallSettings callSettings = null)

Lists federations in a project and location.

Parameters
NameDescription
requestListFederationsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListFederationsResponseFederation

A pageable sequence of Federation resources.

Overrides

ListFederationsAsync(ListFederationsRequest, CallSettings)

public override PagedAsyncEnumerable<ListFederationsResponse, Federation> ListFederationsAsync(ListFederationsRequest request, CallSettings callSettings = null)

Lists federations in a project and location.

Parameters
NameDescription
requestListFederationsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListFederationsResponseFederation

A pageable asynchronous sequence of Federation resources.

Overrides

UpdateFederation(UpdateFederationRequest, CallSettings)

public override Operation<Federation, OperationMetadata> UpdateFederation(UpdateFederationRequest request, CallSettings callSettings = null)

Updates the fields of a federation.

Parameters
NameDescription
requestUpdateFederationRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationFederationOperationMetadata

The RPC response.

Overrides

UpdateFederationAsync(UpdateFederationRequest, CallSettings)

public override Task<Operation<Federation, OperationMetadata>> UpdateFederationAsync(UpdateFederationRequest request, CallSettings callSettings = null)

Updates the fields of a federation.

Parameters
NameDescription
requestUpdateFederationRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationFederationOperationMetadata

A Task containing the RPC response.

Overrides