public sealed class DataprocMetastoreClientImpl : DataprocMetastoreClient
DataprocMetastore client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Metastore.V1Assembly
Google.Cloud.Metastore.V1.dll
Remarks
Configures and manages metastore services. Metastore services are fully managed, highly available, autoscaled, autohealing, OSS-native deployments of technical metadata management software. Each metastore service exposes a network endpoint through which metadata queries are served. Metadata queries can originate from a variety of sources, including Apache Hive, Apache Presto, and Apache Spark.
The Dataproc Metastore API defines the following resource model:
- The service works with a collection of Google Cloud projects, named:
/projects/*
- Each project has a collection of available locations, named:
/locations/*
(a location must refer to a Google Cloudregion
) - Each location has a collection of services, named:
/services/*
- Dataproc Metastore services are resources with names of the form:
/projects/{project_number}/locations/{location_id}/services/{service_id}
.
Constructors
DataprocMetastoreClientImpl(DataprocMetastore.DataprocMetastoreClient, DataprocMetastoreSettings, ILogger)
public DataprocMetastoreClientImpl(DataprocMetastore.DataprocMetastoreClient grpcClient, DataprocMetastoreSettings settings, ILogger logger)
Constructs a client wrapper for the DataprocMetastore service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient | DataprocMetastore.DataprocMetastoreClient The underlying gRPC client. |
settings | DataprocMetastoreSettings The base DataprocMetastoreSettings used within this client. |
logger | ILogger Optional ILogger to use within this client. |
Properties
CreateBackupOperationsClient
public override OperationsClient CreateBackupOperationsClient { get; }
The long-running operations client for CreateBackup
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
CreateMetadataImportOperationsClient
public override OperationsClient CreateMetadataImportOperationsClient { get; }
The long-running operations client for CreateMetadataImport
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
CreateServiceOperationsClient
public override OperationsClient CreateServiceOperationsClient { get; }
The long-running operations client for CreateService
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
DeleteBackupOperationsClient
public override OperationsClient DeleteBackupOperationsClient { get; }
The long-running operations client for DeleteBackup
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
DeleteServiceOperationsClient
public override OperationsClient DeleteServiceOperationsClient { get; }
The long-running operations client for DeleteService
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
ExportMetadataOperationsClient
public override OperationsClient ExportMetadataOperationsClient { get; }
The long-running operations client for ExportMetadata
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
GrpcClient
public override DataprocMetastore.DataprocMetastoreClient GrpcClient { get; }
The underlying gRPC DataprocMetastore client
Property Value | |
---|---|
Type | Description |
DataprocMetastore.DataprocMetastoreClient |
RestoreServiceOperationsClient
public override OperationsClient RestoreServiceOperationsClient { get; }
The long-running operations client for RestoreService
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
UpdateMetadataImportOperationsClient
public override OperationsClient UpdateMetadataImportOperationsClient { get; }
The long-running operations client for UpdateMetadataImport
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
UpdateServiceOperationsClient
public override OperationsClient UpdateServiceOperationsClient { get; }
The long-running operations client for UpdateService
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
Methods
CreateBackup(CreateBackupRequest, CallSettings)
public override Operation<Backup, OperationMetadata> CreateBackup(CreateBackupRequest request, CallSettings callSettings = null)
Creates a new backup in a given project and location.
Parameters | |
---|---|
Name | Description |
request | CreateBackupRequest 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 |
Operation<Backup, OperationMetadata> | The RPC response. |
CreateBackupAsync(CreateBackupRequest, CallSettings)
public override async Task<Operation<Backup, OperationMetadata>> CreateBackupAsync(CreateBackupRequest request, CallSettings callSettings = null)
Creates a new backup in a given project and location.
Parameters | |
---|---|
Name | Description |
request | CreateBackupRequest 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 |
Task<Operation<Backup, OperationMetadata>> | A Task containing the RPC response. |
CreateMetadataImport(CreateMetadataImportRequest, CallSettings)
public override Operation<MetadataImport, OperationMetadata> CreateMetadataImport(CreateMetadataImportRequest request, CallSettings callSettings = null)
Creates a new MetadataImport in a given project and location.
Parameters | |
---|---|
Name | Description |
request | CreateMetadataImportRequest 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 |
Operation<MetadataImport, OperationMetadata> | The RPC response. |
CreateMetadataImportAsync(CreateMetadataImportRequest, CallSettings)
public override async Task<Operation<MetadataImport, OperationMetadata>> CreateMetadataImportAsync(CreateMetadataImportRequest request, CallSettings callSettings = null)
Creates a new MetadataImport in a given project and location.
Parameters | |
---|---|
Name | Description |
request | CreateMetadataImportRequest 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 |
Task<Operation<MetadataImport, OperationMetadata>> | A Task containing the RPC response. |
CreateService(CreateServiceRequest, CallSettings)
public override Operation<Service, OperationMetadata> CreateService(CreateServiceRequest request, CallSettings callSettings = null)
Creates a metastore service in a project and location.
Parameters | |
---|---|
Name | Description |
request | CreateServiceRequest 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 |
Operation<Service, OperationMetadata> | The RPC response. |
CreateServiceAsync(CreateServiceRequest, CallSettings)
public override async Task<Operation<Service, OperationMetadata>> CreateServiceAsync(CreateServiceRequest request, CallSettings callSettings = null)
Creates a metastore service in a project and location.
Parameters | |
---|---|
Name | Description |
request | CreateServiceRequest 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 |
Task<Operation<Service, OperationMetadata>> | A Task containing the RPC response. |
DeleteBackup(DeleteBackupRequest, CallSettings)
public override Operation<Empty, OperationMetadata> DeleteBackup(DeleteBackupRequest request, CallSettings callSettings = null)
Deletes a single backup.
Parameters | |
---|---|
Name | Description |
request | DeleteBackupRequest 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 |
Operation<Empty, OperationMetadata> | The RPC response. |
DeleteBackupAsync(DeleteBackupRequest, CallSettings)
public override async Task<Operation<Empty, OperationMetadata>> DeleteBackupAsync(DeleteBackupRequest request, CallSettings callSettings = null)
Deletes a single backup.
Parameters | |
---|---|
Name | Description |
request | DeleteBackupRequest 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 |
Task<Operation<Empty, OperationMetadata>> | A Task containing the RPC response. |
DeleteService(DeleteServiceRequest, CallSettings)
public override Operation<Empty, OperationMetadata> DeleteService(DeleteServiceRequest request, CallSettings callSettings = null)
Deletes a single service.
Parameters | |
---|---|
Name | Description |
request | DeleteServiceRequest 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 |
Operation<Empty, OperationMetadata> | The RPC response. |
DeleteServiceAsync(DeleteServiceRequest, CallSettings)
public override async Task<Operation<Empty, OperationMetadata>> DeleteServiceAsync(DeleteServiceRequest request, CallSettings callSettings = null)
Deletes a single service.
Parameters | |
---|---|
Name | Description |
request | DeleteServiceRequest 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 |
Task<Operation<Empty, OperationMetadata>> | A Task containing the RPC response. |
ExportMetadata(ExportMetadataRequest, CallSettings)
public override Operation<MetadataExport, OperationMetadata> ExportMetadata(ExportMetadataRequest request, CallSettings callSettings = null)
Exports metadata from a service.
Parameters | |
---|---|
Name | Description |
request | ExportMetadataRequest 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 |
Operation<MetadataExport, OperationMetadata> | The RPC response. |
ExportMetadataAsync(ExportMetadataRequest, CallSettings)
public override async Task<Operation<MetadataExport, OperationMetadata>> ExportMetadataAsync(ExportMetadataRequest request, CallSettings callSettings = null)
Exports metadata from a service.
Parameters | |
---|---|
Name | Description |
request | ExportMetadataRequest 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 |
Task<Operation<MetadataExport, OperationMetadata>> | A Task containing the RPC response. |
GetBackup(GetBackupRequest, CallSettings)
public override Backup GetBackup(GetBackupRequest request, CallSettings callSettings = null)
Gets details of a single backup.
Parameters | |
---|---|
Name | Description |
request | GetBackupRequest 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 |
Backup | The RPC response. |
GetBackupAsync(GetBackupRequest, CallSettings)
public override Task<Backup> GetBackupAsync(GetBackupRequest request, CallSettings callSettings = null)
Gets details of a single backup.
Parameters | |
---|---|
Name | Description |
request | GetBackupRequest 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 |
Task<Backup> | A Task containing the RPC response. |
GetMetadataImport(GetMetadataImportRequest, CallSettings)
public override MetadataImport GetMetadataImport(GetMetadataImportRequest request, CallSettings callSettings = null)
Gets details of a single import.
Parameters | |
---|---|
Name | Description |
request | GetMetadataImportRequest 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 |
MetadataImport | The RPC response. |
GetMetadataImportAsync(GetMetadataImportRequest, CallSettings)
public override Task<MetadataImport> GetMetadataImportAsync(GetMetadataImportRequest request, CallSettings callSettings = null)
Gets details of a single import.
Parameters | |
---|---|
Name | Description |
request | GetMetadataImportRequest 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 |
Task<MetadataImport> | A Task containing the RPC response. |
GetService(GetServiceRequest, CallSettings)
public override Service GetService(GetServiceRequest request, CallSettings callSettings = null)
Gets the details of a single service.
Parameters | |
---|---|
Name | Description |
request | GetServiceRequest 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 |
Service | The RPC response. |
GetServiceAsync(GetServiceRequest, CallSettings)
public override Task<Service> GetServiceAsync(GetServiceRequest request, CallSettings callSettings = null)
Gets the details of a single service.
Parameters | |
---|---|
Name | Description |
request | GetServiceRequest 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 |
Task<Service> | A Task containing the RPC response. |
ListBackups(ListBackupsRequest, CallSettings)
public override PagedEnumerable<ListBackupsResponse, Backup> ListBackups(ListBackupsRequest request, CallSettings callSettings = null)
Lists backups in a service.
Parameters | |
---|---|
Name | Description |
request | ListBackupsRequest 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 |
PagedEnumerable<ListBackupsResponse, Backup> | A pageable sequence of Backup resources. |
ListBackupsAsync(ListBackupsRequest, CallSettings)
public override PagedAsyncEnumerable<ListBackupsResponse, Backup> ListBackupsAsync(ListBackupsRequest request, CallSettings callSettings = null)
Lists backups in a service.
Parameters | |
---|---|
Name | Description |
request | ListBackupsRequest 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 |
PagedAsyncEnumerable<ListBackupsResponse, Backup> | A pageable asynchronous sequence of Backup resources. |
ListMetadataImports(ListMetadataImportsRequest, CallSettings)
public override PagedEnumerable<ListMetadataImportsResponse, MetadataImport> ListMetadataImports(ListMetadataImportsRequest request, CallSettings callSettings = null)
Lists imports in a service.
Parameters | |
---|---|
Name | Description |
request | ListMetadataImportsRequest 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 |
PagedEnumerable<ListMetadataImportsResponse, MetadataImport> | A pageable sequence of MetadataImport resources. |
ListMetadataImportsAsync(ListMetadataImportsRequest, CallSettings)
public override PagedAsyncEnumerable<ListMetadataImportsResponse, MetadataImport> ListMetadataImportsAsync(ListMetadataImportsRequest request, CallSettings callSettings = null)
Lists imports in a service.
Parameters | |
---|---|
Name | Description |
request | ListMetadataImportsRequest 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 |
PagedAsyncEnumerable<ListMetadataImportsResponse, MetadataImport> | A pageable asynchronous sequence of MetadataImport resources. |
ListServices(ListServicesRequest, CallSettings)
public override PagedEnumerable<ListServicesResponse, Service> ListServices(ListServicesRequest request, CallSettings callSettings = null)
Lists services in a project and location.
Parameters | |
---|---|
Name | Description |
request | ListServicesRequest 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 |
PagedEnumerable<ListServicesResponse, Service> | A pageable sequence of Service resources. |
ListServicesAsync(ListServicesRequest, CallSettings)
public override PagedAsyncEnumerable<ListServicesResponse, Service> ListServicesAsync(ListServicesRequest request, CallSettings callSettings = null)
Lists services in a project and location.
Parameters | |
---|---|
Name | Description |
request | ListServicesRequest 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 |
PagedAsyncEnumerable<ListServicesResponse, Service> | A pageable asynchronous sequence of Service resources. |
RestoreService(RestoreServiceRequest, CallSettings)
public override Operation<Restore, OperationMetadata> RestoreService(RestoreServiceRequest request, CallSettings callSettings = null)
Restores a service from a backup.
Parameters | |
---|---|
Name | Description |
request | RestoreServiceRequest 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 |
Operation<Restore, OperationMetadata> | The RPC response. |
RestoreServiceAsync(RestoreServiceRequest, CallSettings)
public override async Task<Operation<Restore, OperationMetadata>> RestoreServiceAsync(RestoreServiceRequest request, CallSettings callSettings = null)
Restores a service from a backup.
Parameters | |
---|---|
Name | Description |
request | RestoreServiceRequest 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 |
Task<Operation<Restore, OperationMetadata>> | A Task containing the RPC response. |
UpdateMetadataImport(UpdateMetadataImportRequest, CallSettings)
public override Operation<MetadataImport, OperationMetadata> UpdateMetadataImport(UpdateMetadataImportRequest request, CallSettings callSettings = null)
Updates a single import. Only the description field of MetadataImport is supported to be updated.
Parameters | |
---|---|
Name | Description |
request | UpdateMetadataImportRequest 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 |
Operation<MetadataImport, OperationMetadata> | The RPC response. |
UpdateMetadataImportAsync(UpdateMetadataImportRequest, CallSettings)
public override async Task<Operation<MetadataImport, OperationMetadata>> UpdateMetadataImportAsync(UpdateMetadataImportRequest request, CallSettings callSettings = null)
Updates a single import. Only the description field of MetadataImport is supported to be updated.
Parameters | |
---|---|
Name | Description |
request | UpdateMetadataImportRequest 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 |
Task<Operation<MetadataImport, OperationMetadata>> | A Task containing the RPC response. |
UpdateService(UpdateServiceRequest, CallSettings)
public override Operation<Service, OperationMetadata> UpdateService(UpdateServiceRequest request, CallSettings callSettings = null)
Updates the parameters of a single service.
Parameters | |
---|---|
Name | Description |
request | UpdateServiceRequest 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 |
Operation<Service, OperationMetadata> | The RPC response. |
UpdateServiceAsync(UpdateServiceRequest, CallSettings)
public override async Task<Operation<Service, OperationMetadata>> UpdateServiceAsync(UpdateServiceRequest request, CallSettings callSettings = null)
Updates the parameters of a single service.
Parameters | |
---|---|
Name | Description |
request | UpdateServiceRequest 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 |
Task<Operation<Service, OperationMetadata>> | A Task containing the RPC response. |