public sealed class DataprocMetastoreFederationClientImpl : DataprocMetastoreFederationClient
Reference documentation and code samples for the Dataproc Metastore v1 API class DataprocMetastoreFederationClientImpl.
DataprocMetastoreFederation client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Metastore.V1Assembly
Google.Cloud.Metastore.V1.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 | |
---|---|
Name | Description |
grpcClient | DataprocMetastoreFederationDataprocMetastoreFederationClient The underlying gRPC client. |
settings | DataprocMetastoreFederationSettings The base DataprocMetastoreFederationSettings used within this client. |
logger | ILogger Optional ILogger to use within this client. |
Properties
CreateFederationOperationsClient
public override OperationsClient CreateFederationOperationsClient { get; }
The long-running operations client for CreateFederation
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
DeleteFederationOperationsClient
public override OperationsClient DeleteFederationOperationsClient { get; }
The long-running operations client for DeleteFederation
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
GrpcClient
public override DataprocMetastoreFederation.DataprocMetastoreFederationClient GrpcClient { get; }
The underlying gRPC DataprocMetastoreFederation client
Property Value | |
---|---|
Type | Description |
DataprocMetastoreFederationDataprocMetastoreFederationClient |
IAMPolicyClient
public override IAMPolicyClient IAMPolicyClient { get; }
The IAMPolicyClient associated with this client.
Property Value | |
---|---|
Type | Description |
IAMPolicyClient |
LocationsClient
public override LocationsClient LocationsClient { get; }
The LocationsClient associated with this client.
Property Value | |
---|---|
Type | Description |
LocationsClient |
UpdateFederationOperationsClient
public override OperationsClient UpdateFederationOperationsClient { get; }
The long-running operations client for UpdateFederation
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
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 | |
---|---|
Name | Description |
request | CreateFederationRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationFederationOperationMetadata | The RPC response. |
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 | |
---|---|
Name | Description |
request | CreateFederationRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationFederationOperationMetadata | A Task containing the RPC response. |
DeleteFederation(DeleteFederationRequest, CallSettings)
public override Operation<Empty, OperationMetadata> DeleteFederation(DeleteFederationRequest request, CallSettings callSettings = null)
Deletes a single federation.
Parameters | |
---|---|
Name | Description |
request | DeleteFederationRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationEmptyOperationMetadata | The RPC response. |
DeleteFederationAsync(DeleteFederationRequest, CallSettings)
public override Task<Operation<Empty, OperationMetadata>> DeleteFederationAsync(DeleteFederationRequest request, CallSettings callSettings = null)
Deletes a single federation.
Parameters | |
---|---|
Name | Description |
request | DeleteFederationRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationEmptyOperationMetadata | A Task containing the RPC response. |
GetFederation(GetFederationRequest, CallSettings)
public override Federation GetFederation(GetFederationRequest request, CallSettings callSettings = null)
Gets the details of a single federation.
Parameters | |
---|---|
Name | Description |
request | GetFederationRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Federation | The RPC response. |
GetFederationAsync(GetFederationRequest, CallSettings)
public override Task<Federation> GetFederationAsync(GetFederationRequest request, CallSettings callSettings = null)
Gets the details of a single federation.
Parameters | |
---|---|
Name | Description |
request | GetFederationRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskFederation | A Task containing the RPC response. |
ListFederations(ListFederationsRequest, CallSettings)
public override PagedEnumerable<ListFederationsResponse, Federation> ListFederations(ListFederationsRequest request, CallSettings callSettings = null)
Lists federations in a project and location.
Parameters | |
---|---|
Name | Description |
request | ListFederationsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListFederationsResponseFederation | A pageable sequence of Federation resources. |
ListFederationsAsync(ListFederationsRequest, CallSettings)
public override PagedAsyncEnumerable<ListFederationsResponse, Federation> ListFederationsAsync(ListFederationsRequest request, CallSettings callSettings = null)
Lists federations in a project and location.
Parameters | |
---|---|
Name | Description |
request | ListFederationsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListFederationsResponseFederation | A pageable asynchronous sequence of Federation resources. |
UpdateFederation(UpdateFederationRequest, CallSettings)
public override Operation<Federation, OperationMetadata> UpdateFederation(UpdateFederationRequest request, CallSettings callSettings = null)
Updates the fields of a federation.
Parameters | |
---|---|
Name | Description |
request | UpdateFederationRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationFederationOperationMetadata | The RPC response. |
UpdateFederationAsync(UpdateFederationRequest, CallSettings)
public override Task<Operation<Federation, OperationMetadata>> UpdateFederationAsync(UpdateFederationRequest request, CallSettings callSettings = null)
Updates the fields of a federation.
Parameters | |
---|---|
Name | Description |
request | UpdateFederationRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationFederationOperationMetadata | A Task containing the RPC response. |