public class DataprocMetastore.DataprocMetastoreClient : ClientBase<DataprocMetastore.DataprocMetastoreClient>
Reference documentation and code samples for the Dataproc Metastore v1beta API class DataprocMetastore.DataprocMetastoreClient.
Client for DataprocMetastore
Inheritance
object > ClientBase > ClientBaseDataprocMetastoreDataprocMetastoreClient > DataprocMetastore.DataprocMetastoreClientNamespace
Google.Cloud.Metastore.V1BetaAssembly
Google.Cloud.Metastore.V1Beta.dll
Constructors
DataprocMetastoreClient()
protected DataprocMetastoreClient()
Protected parameterless constructor to allow creation of test doubles.
DataprocMetastoreClient(CallInvoker)
public DataprocMetastoreClient(CallInvoker callInvoker)
Creates a new client for DataprocMetastore that uses a custom CallInvoker
.
Parameter | |
---|---|
Name | Description |
callInvoker |
CallInvoker The callInvoker to use to make remote calls. |
DataprocMetastoreClient(ChannelBase)
public DataprocMetastoreClient(ChannelBase channel)
Creates a new client for DataprocMetastore
Parameter | |
---|---|
Name | Description |
channel |
ChannelBase The channel to use to make remote calls. |
DataprocMetastoreClient(ClientBaseConfiguration)
protected DataprocMetastoreClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration |
ClientBaseClientBaseConfiguration The client configuration. |
Methods
AlterMetadataResourceLocation(AlterMetadataResourceLocationRequest, CallOptions)
public virtual Operation AlterMetadataResourceLocation(AlterMetadataResourceLocationRequest request, CallOptions options)
Alter metadata resource location. The metadata resource can be a database, table, or partition. This functionality only updates the parent directory for the respective metadata resource and does not transfer any existing data to the new location.
Parameters | |
---|---|
Name | Description |
request |
AlterMetadataResourceLocationRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
AlterMetadataResourceLocation(AlterMetadataResourceLocationRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation AlterMetadataResourceLocation(AlterMetadataResourceLocationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Alter metadata resource location. The metadata resource can be a database, table, or partition. This functionality only updates the parent directory for the respective metadata resource and does not transfer any existing data to the new location.
Parameters | |
---|---|
Name | Description |
request |
AlterMetadataResourceLocationRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
AlterMetadataResourceLocationAsync(AlterMetadataResourceLocationRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> AlterMetadataResourceLocationAsync(AlterMetadataResourceLocationRequest request, CallOptions options)
Alter metadata resource location. The metadata resource can be a database, table, or partition. This functionality only updates the parent directory for the respective metadata resource and does not transfer any existing data to the new location.
Parameters | |
---|---|
Name | Description |
request |
AlterMetadataResourceLocationRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
AlterMetadataResourceLocationAsync(AlterMetadataResourceLocationRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> AlterMetadataResourceLocationAsync(AlterMetadataResourceLocationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Alter metadata resource location. The metadata resource can be a database, table, or partition. This functionality only updates the parent directory for the respective metadata resource and does not transfer any existing data to the new location.
Parameters | |
---|---|
Name | Description |
request |
AlterMetadataResourceLocationRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
CreateBackup(CreateBackupRequest, CallOptions)
public virtual Operation CreateBackup(CreateBackupRequest request, CallOptions options)
Creates a new backup in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
CreateBackupRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
CreateBackup(CreateBackupRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation CreateBackup(CreateBackupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Creates a new backup in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
CreateBackupRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
CreateBackupAsync(CreateBackupRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> CreateBackupAsync(CreateBackupRequest request, CallOptions options)
Creates a new backup in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
CreateBackupRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
CreateBackupAsync(CreateBackupRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> CreateBackupAsync(CreateBackupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Creates a new backup in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
CreateBackupRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
CreateIAMPolicyClient()
public virtual IAMPolicy.IAMPolicyClient CreateIAMPolicyClient()
Creates a new instance of IAMPolicy.IAMPolicyClient using the same call invoker as this client.
Returns | |
---|---|
Type | Description |
IAMPolicyIAMPolicyClient |
A new IAMPolicy.IAMPolicyClient for the same target as this client. |
CreateLocationsClient()
public virtual Locations.LocationsClient CreateLocationsClient()
Creates a new instance of Locations.LocationsClient using the same call invoker as this client.
Returns | |
---|---|
Type | Description |
LocationsLocationsClient |
A new Locations.LocationsClient for the same target as this client. |
CreateMetadataImport(CreateMetadataImportRequest, CallOptions)
public virtual Operation CreateMetadataImport(CreateMetadataImportRequest request, CallOptions options)
Creates a new MetadataImport in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
CreateMetadataImportRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
CreateMetadataImport(CreateMetadataImportRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation CreateMetadataImport(CreateMetadataImportRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Creates a new MetadataImport in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
CreateMetadataImportRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
CreateMetadataImportAsync(CreateMetadataImportRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> CreateMetadataImportAsync(CreateMetadataImportRequest request, CallOptions options)
Creates a new MetadataImport in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
CreateMetadataImportRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
CreateMetadataImportAsync(CreateMetadataImportRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> CreateMetadataImportAsync(CreateMetadataImportRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Creates a new MetadataImport in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
CreateMetadataImportRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
CreateOperationsClient()
public virtual Operations.OperationsClient CreateOperationsClient()
Creates a new instance of Operations.OperationsClient using the same call invoker as this client.
Returns | |
---|---|
Type | Description |
OperationsOperationsClient |
A new Operations client for the same target as this client. |
CreateService(CreateServiceRequest, CallOptions)
public virtual Operation CreateService(CreateServiceRequest request, CallOptions options)
Creates a metastore service in a project and location.
Parameters | |
---|---|
Name | Description |
request |
CreateServiceRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
CreateService(CreateServiceRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation CreateService(CreateServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Creates a metastore service in a project and location.
Parameters | |
---|---|
Name | Description |
request |
CreateServiceRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
CreateServiceAsync(CreateServiceRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> CreateServiceAsync(CreateServiceRequest request, CallOptions options)
Creates a metastore service in a project and location.
Parameters | |
---|---|
Name | Description |
request |
CreateServiceRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
CreateServiceAsync(CreateServiceRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> CreateServiceAsync(CreateServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Creates a metastore service in a project and location.
Parameters | |
---|---|
Name | Description |
request |
CreateServiceRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
DeleteBackup(DeleteBackupRequest, CallOptions)
public virtual Operation DeleteBackup(DeleteBackupRequest request, CallOptions options)
Deletes a single backup.
Parameters | |
---|---|
Name | Description |
request |
DeleteBackupRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
DeleteBackup(DeleteBackupRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation DeleteBackup(DeleteBackupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Deletes a single backup.
Parameters | |
---|---|
Name | Description |
request |
DeleteBackupRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
DeleteBackupAsync(DeleteBackupRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteBackupAsync(DeleteBackupRequest request, CallOptions options)
Deletes a single backup.
Parameters | |
---|---|
Name | Description |
request |
DeleteBackupRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
DeleteBackupAsync(DeleteBackupRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteBackupAsync(DeleteBackupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Deletes a single backup.
Parameters | |
---|---|
Name | Description |
request |
DeleteBackupRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
DeleteService(DeleteServiceRequest, CallOptions)
public virtual Operation DeleteService(DeleteServiceRequest request, CallOptions options)
Deletes a single service.
Parameters | |
---|---|
Name | Description |
request |
DeleteServiceRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
DeleteService(DeleteServiceRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation DeleteService(DeleteServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Deletes a single service.
Parameters | |
---|---|
Name | Description |
request |
DeleteServiceRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
DeleteServiceAsync(DeleteServiceRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteServiceAsync(DeleteServiceRequest request, CallOptions options)
Deletes a single service.
Parameters | |
---|---|
Name | Description |
request |
DeleteServiceRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
DeleteServiceAsync(DeleteServiceRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteServiceAsync(DeleteServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Deletes a single service.
Parameters | |
---|---|
Name | Description |
request |
DeleteServiceRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
ExportMetadata(ExportMetadataRequest, CallOptions)
public virtual Operation ExportMetadata(ExportMetadataRequest request, CallOptions options)
Exports metadata from a service.
Parameters | |
---|---|
Name | Description |
request |
ExportMetadataRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
ExportMetadata(ExportMetadataRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation ExportMetadata(ExportMetadataRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Exports metadata from a service.
Parameters | |
---|---|
Name | Description |
request |
ExportMetadataRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
ExportMetadataAsync(ExportMetadataRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> ExportMetadataAsync(ExportMetadataRequest request, CallOptions options)
Exports metadata from a service.
Parameters | |
---|---|
Name | Description |
request |
ExportMetadataRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
ExportMetadataAsync(ExportMetadataRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> ExportMetadataAsync(ExportMetadataRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Exports metadata from a service.
Parameters | |
---|---|
Name | Description |
request |
ExportMetadataRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
GetBackup(GetBackupRequest, CallOptions)
public virtual Backup GetBackup(GetBackupRequest request, CallOptions options)
Gets details of a single backup.
Parameters | |
---|---|
Name | Description |
request |
GetBackupRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Backup |
The response received from the server. |
GetBackup(GetBackupRequest, Metadata, DateTime?, CancellationToken)
public virtual Backup GetBackup(GetBackupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Gets details of a single backup.
Parameters | |
---|---|
Name | Description |
request |
GetBackupRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Backup |
The response received from the server. |
GetBackupAsync(GetBackupRequest, CallOptions)
public virtual AsyncUnaryCall<Backup> GetBackupAsync(GetBackupRequest request, CallOptions options)
Gets details of a single backup.
Parameters | |
---|---|
Name | Description |
request |
GetBackupRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallBackup |
The call object. |
GetBackupAsync(GetBackupRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Backup> GetBackupAsync(GetBackupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Gets details of a single backup.
Parameters | |
---|---|
Name | Description |
request |
GetBackupRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallBackup |
The call object. |
GetMetadataImport(GetMetadataImportRequest, CallOptions)
public virtual MetadataImport GetMetadataImport(GetMetadataImportRequest request, CallOptions options)
Gets details of a single import.
Parameters | |
---|---|
Name | Description |
request |
GetMetadataImportRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
MetadataImport |
The response received from the server. |
GetMetadataImport(GetMetadataImportRequest, Metadata, DateTime?, CancellationToken)
public virtual MetadataImport GetMetadataImport(GetMetadataImportRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Gets details of a single import.
Parameters | |
---|---|
Name | Description |
request |
GetMetadataImportRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
MetadataImport |
The response received from the server. |
GetMetadataImportAsync(GetMetadataImportRequest, CallOptions)
public virtual AsyncUnaryCall<MetadataImport> GetMetadataImportAsync(GetMetadataImportRequest request, CallOptions options)
Gets details of a single import.
Parameters | |
---|---|
Name | Description |
request |
GetMetadataImportRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallMetadataImport |
The call object. |
GetMetadataImportAsync(GetMetadataImportRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<MetadataImport> GetMetadataImportAsync(GetMetadataImportRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Gets details of a single import.
Parameters | |
---|---|
Name | Description |
request |
GetMetadataImportRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallMetadataImport |
The call object. |
GetService(GetServiceRequest, CallOptions)
public virtual Service GetService(GetServiceRequest request, CallOptions options)
Gets the details of a single service.
Parameters | |
---|---|
Name | Description |
request |
GetServiceRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Service |
The response received from the server. |
GetService(GetServiceRequest, Metadata, DateTime?, CancellationToken)
public virtual Service GetService(GetServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Gets the details of a single service.
Parameters | |
---|---|
Name | Description |
request |
GetServiceRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Service |
The response received from the server. |
GetServiceAsync(GetServiceRequest, CallOptions)
public virtual AsyncUnaryCall<Service> GetServiceAsync(GetServiceRequest request, CallOptions options)
Gets the details of a single service.
Parameters | |
---|---|
Name | Description |
request |
GetServiceRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallService |
The call object. |
GetServiceAsync(GetServiceRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Service> GetServiceAsync(GetServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Gets the details of a single service.
Parameters | |
---|---|
Name | Description |
request |
GetServiceRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallService |
The call object. |
ListBackups(ListBackupsRequest, CallOptions)
public virtual ListBackupsResponse ListBackups(ListBackupsRequest request, CallOptions options)
Lists backups in a service.
Parameters | |
---|---|
Name | Description |
request |
ListBackupsRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListBackupsResponse |
The response received from the server. |
ListBackups(ListBackupsRequest, Metadata, DateTime?, CancellationToken)
public virtual ListBackupsResponse ListBackups(ListBackupsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Lists backups in a service.
Parameters | |
---|---|
Name | Description |
request |
ListBackupsRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ListBackupsResponse |
The response received from the server. |
ListBackupsAsync(ListBackupsRequest, CallOptions)
public virtual AsyncUnaryCall<ListBackupsResponse> ListBackupsAsync(ListBackupsRequest request, CallOptions options)
Lists backups in a service.
Parameters | |
---|---|
Name | Description |
request |
ListBackupsRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListBackupsResponse |
The call object. |
ListBackupsAsync(ListBackupsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ListBackupsResponse> ListBackupsAsync(ListBackupsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Lists backups in a service.
Parameters | |
---|---|
Name | Description |
request |
ListBackupsRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListBackupsResponse |
The call object. |
ListMetadataImports(ListMetadataImportsRequest, CallOptions)
public virtual ListMetadataImportsResponse ListMetadataImports(ListMetadataImportsRequest request, CallOptions options)
Lists imports in a service.
Parameters | |
---|---|
Name | Description |
request |
ListMetadataImportsRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListMetadataImportsResponse |
The response received from the server. |
ListMetadataImports(ListMetadataImportsRequest, Metadata, DateTime?, CancellationToken)
public virtual ListMetadataImportsResponse ListMetadataImports(ListMetadataImportsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Lists imports in a service.
Parameters | |
---|---|
Name | Description |
request |
ListMetadataImportsRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ListMetadataImportsResponse |
The response received from the server. |
ListMetadataImportsAsync(ListMetadataImportsRequest, CallOptions)
public virtual AsyncUnaryCall<ListMetadataImportsResponse> ListMetadataImportsAsync(ListMetadataImportsRequest request, CallOptions options)
Lists imports in a service.
Parameters | |
---|---|
Name | Description |
request |
ListMetadataImportsRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListMetadataImportsResponse |
The call object. |
ListMetadataImportsAsync(ListMetadataImportsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ListMetadataImportsResponse> ListMetadataImportsAsync(ListMetadataImportsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Lists imports in a service.
Parameters | |
---|---|
Name | Description |
request |
ListMetadataImportsRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListMetadataImportsResponse |
The call object. |
ListServices(ListServicesRequest, CallOptions)
public virtual ListServicesResponse ListServices(ListServicesRequest request, CallOptions options)
Lists services in a project and location.
Parameters | |
---|---|
Name | Description |
request |
ListServicesRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListServicesResponse |
The response received from the server. |
ListServices(ListServicesRequest, Metadata, DateTime?, CancellationToken)
public virtual ListServicesResponse ListServices(ListServicesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Lists services in a project and location.
Parameters | |
---|---|
Name | Description |
request |
ListServicesRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ListServicesResponse |
The response received from the server. |
ListServicesAsync(ListServicesRequest, CallOptions)
public virtual AsyncUnaryCall<ListServicesResponse> ListServicesAsync(ListServicesRequest request, CallOptions options)
Lists services in a project and location.
Parameters | |
---|---|
Name | Description |
request |
ListServicesRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListServicesResponse |
The call object. |
ListServicesAsync(ListServicesRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ListServicesResponse> ListServicesAsync(ListServicesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Lists services in a project and location.
Parameters | |
---|---|
Name | Description |
request |
ListServicesRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListServicesResponse |
The call object. |
MoveTableToDatabase(MoveTableToDatabaseRequest, CallOptions)
public virtual Operation MoveTableToDatabase(MoveTableToDatabaseRequest request, CallOptions options)
Move a table to another database.
Parameters | |
---|---|
Name | Description |
request |
MoveTableToDatabaseRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
MoveTableToDatabase(MoveTableToDatabaseRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation MoveTableToDatabase(MoveTableToDatabaseRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Move a table to another database.
Parameters | |
---|---|
Name | Description |
request |
MoveTableToDatabaseRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
MoveTableToDatabaseAsync(MoveTableToDatabaseRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> MoveTableToDatabaseAsync(MoveTableToDatabaseRequest request, CallOptions options)
Move a table to another database.
Parameters | |
---|---|
Name | Description |
request |
MoveTableToDatabaseRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
MoveTableToDatabaseAsync(MoveTableToDatabaseRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> MoveTableToDatabaseAsync(MoveTableToDatabaseRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Move a table to another database.
Parameters | |
---|---|
Name | Description |
request |
MoveTableToDatabaseRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
NewInstance(ClientBaseConfiguration)
protected override DataprocMetastore.DataprocMetastoreClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration |
ClientBaseClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
DataprocMetastoreDataprocMetastoreClient |
QueryMetadata(QueryMetadataRequest, CallOptions)
public virtual Operation QueryMetadata(QueryMetadataRequest request, CallOptions options)
Query DPMS metadata.
Parameters | |
---|---|
Name | Description |
request |
QueryMetadataRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
QueryMetadata(QueryMetadataRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation QueryMetadata(QueryMetadataRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Query DPMS metadata.
Parameters | |
---|---|
Name | Description |
request |
QueryMetadataRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
QueryMetadataAsync(QueryMetadataRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> QueryMetadataAsync(QueryMetadataRequest request, CallOptions options)
Query DPMS metadata.
Parameters | |
---|---|
Name | Description |
request |
QueryMetadataRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
QueryMetadataAsync(QueryMetadataRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> QueryMetadataAsync(QueryMetadataRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Query DPMS metadata.
Parameters | |
---|---|
Name | Description |
request |
QueryMetadataRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
RemoveIamPolicy(RemoveIamPolicyRequest, CallOptions)
public virtual RemoveIamPolicyResponse RemoveIamPolicy(RemoveIamPolicyRequest request, CallOptions options)
Removes the attached IAM policies for a resource
Parameters | |
---|---|
Name | Description |
request |
RemoveIamPolicyRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
RemoveIamPolicyResponse |
The response received from the server. |
RemoveIamPolicy(RemoveIamPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual RemoveIamPolicyResponse RemoveIamPolicy(RemoveIamPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Removes the attached IAM policies for a resource
Parameters | |
---|---|
Name | Description |
request |
RemoveIamPolicyRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
RemoveIamPolicyResponse |
The response received from the server. |
RemoveIamPolicyAsync(RemoveIamPolicyRequest, CallOptions)
public virtual AsyncUnaryCall<RemoveIamPolicyResponse> RemoveIamPolicyAsync(RemoveIamPolicyRequest request, CallOptions options)
Removes the attached IAM policies for a resource
Parameters | |
---|---|
Name | Description |
request |
RemoveIamPolicyRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallRemoveIamPolicyResponse |
The call object. |
RemoveIamPolicyAsync(RemoveIamPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<RemoveIamPolicyResponse> RemoveIamPolicyAsync(RemoveIamPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Removes the attached IAM policies for a resource
Parameters | |
---|---|
Name | Description |
request |
RemoveIamPolicyRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallRemoveIamPolicyResponse |
The call object. |
RestoreService(RestoreServiceRequest, CallOptions)
public virtual Operation RestoreService(RestoreServiceRequest request, CallOptions options)
Restores a service from a backup.
Parameters | |
---|---|
Name | Description |
request |
RestoreServiceRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
RestoreService(RestoreServiceRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation RestoreService(RestoreServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Restores a service from a backup.
Parameters | |
---|---|
Name | Description |
request |
RestoreServiceRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
RestoreServiceAsync(RestoreServiceRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> RestoreServiceAsync(RestoreServiceRequest request, CallOptions options)
Restores a service from a backup.
Parameters | |
---|---|
Name | Description |
request |
RestoreServiceRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
RestoreServiceAsync(RestoreServiceRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> RestoreServiceAsync(RestoreServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Restores a service from a backup.
Parameters | |
---|---|
Name | Description |
request |
RestoreServiceRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
UpdateMetadataImport(UpdateMetadataImportRequest, CallOptions)
public virtual Operation UpdateMetadataImport(UpdateMetadataImportRequest request, CallOptions options)
Updates a single import. Only the description field of MetadataImport is supported to be updated.
Parameters | |
---|---|
Name | Description |
request |
UpdateMetadataImportRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
UpdateMetadataImport(UpdateMetadataImportRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation UpdateMetadataImport(UpdateMetadataImportRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Updates a single import. Only the description field of MetadataImport is supported to be updated.
Parameters | |
---|---|
Name | Description |
request |
UpdateMetadataImportRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
UpdateMetadataImportAsync(UpdateMetadataImportRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> UpdateMetadataImportAsync(UpdateMetadataImportRequest request, CallOptions options)
Updates a single import. Only the description field of MetadataImport is supported to be updated.
Parameters | |
---|---|
Name | Description |
request |
UpdateMetadataImportRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
UpdateMetadataImportAsync(UpdateMetadataImportRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> UpdateMetadataImportAsync(UpdateMetadataImportRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Updates a single import. Only the description field of MetadataImport is supported to be updated.
Parameters | |
---|---|
Name | Description |
request |
UpdateMetadataImportRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
UpdateService(UpdateServiceRequest, CallOptions)
public virtual Operation UpdateService(UpdateServiceRequest request, CallOptions options)
Updates the parameters of a single service.
Parameters | |
---|---|
Name | Description |
request |
UpdateServiceRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
UpdateService(UpdateServiceRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation UpdateService(UpdateServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Updates the parameters of a single service.
Parameters | |
---|---|
Name | Description |
request |
UpdateServiceRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
UpdateServiceAsync(UpdateServiceRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> UpdateServiceAsync(UpdateServiceRequest request, CallOptions options)
Updates the parameters of a single service.
Parameters | |
---|---|
Name | Description |
request |
UpdateServiceRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
UpdateServiceAsync(UpdateServiceRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> UpdateServiceAsync(UpdateServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Updates the parameters of a single service.
Parameters | |
---|---|
Name | Description |
request |
UpdateServiceRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |