[BindServiceMethod(typeof(DataprocMetastore), "BindService")]
public abstract class DataprocMetastoreBase
Reference documentation and code samples for the Dataproc Metastore v1 API class DataprocMetastore.DataprocMetastoreBase.
Base class for server-side implementations of DataprocMetastore
Namespace
Google.Cloud.Metastore.V1Assembly
Google.Cloud.Metastore.V1.dll
Methods
CreateBackup(CreateBackupRequest, ServerCallContext)
public virtual Task<Operation> CreateBackup(CreateBackupRequest request, ServerCallContext context)
Creates a new backup in a given project and location.
Parameters | |
---|---|
Name | Description |
request | CreateBackupRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> | The response to send back to the client (wrapped by a task). |
CreateMetadataImport(CreateMetadataImportRequest, ServerCallContext)
public virtual Task<Operation> CreateMetadataImport(CreateMetadataImportRequest request, ServerCallContext context)
Creates a new MetadataImport in a given project and location.
Parameters | |
---|---|
Name | Description |
request | CreateMetadataImportRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> | The response to send back to the client (wrapped by a task). |
CreateService(CreateServiceRequest, ServerCallContext)
public virtual Task<Operation> CreateService(CreateServiceRequest request, ServerCallContext context)
Creates a metastore service in a project and location.
Parameters | |
---|---|
Name | Description |
request | CreateServiceRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> | The response to send back to the client (wrapped by a task). |
DeleteBackup(DeleteBackupRequest, ServerCallContext)
public virtual Task<Operation> DeleteBackup(DeleteBackupRequest request, ServerCallContext context)
Deletes a single backup.
Parameters | |
---|---|
Name | Description |
request | DeleteBackupRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> | The response to send back to the client (wrapped by a task). |
DeleteService(DeleteServiceRequest, ServerCallContext)
public virtual Task<Operation> DeleteService(DeleteServiceRequest request, ServerCallContext context)
Deletes a single service.
Parameters | |
---|---|
Name | Description |
request | DeleteServiceRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> | The response to send back to the client (wrapped by a task). |
ExportMetadata(ExportMetadataRequest, ServerCallContext)
public virtual Task<Operation> ExportMetadata(ExportMetadataRequest request, ServerCallContext context)
Exports metadata from a service.
Parameters | |
---|---|
Name | Description |
request | ExportMetadataRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> | The response to send back to the client (wrapped by a task). |
GetBackup(GetBackupRequest, ServerCallContext)
public virtual Task<Backup> GetBackup(GetBackupRequest request, ServerCallContext context)
Gets details of a single backup.
Parameters | |
---|---|
Name | Description |
request | GetBackupRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Backup> | The response to send back to the client (wrapped by a task). |
GetMetadataImport(GetMetadataImportRequest, ServerCallContext)
public virtual Task<MetadataImport> GetMetadataImport(GetMetadataImportRequest request, ServerCallContext context)
Gets details of a single import.
Parameters | |
---|---|
Name | Description |
request | GetMetadataImportRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<MetadataImport> | The response to send back to the client (wrapped by a task). |
GetService(GetServiceRequest, ServerCallContext)
public virtual Task<Service> GetService(GetServiceRequest request, ServerCallContext context)
Gets the details of a single service.
Parameters | |
---|---|
Name | Description |
request | GetServiceRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Service> | The response to send back to the client (wrapped by a task). |
ListBackups(ListBackupsRequest, ServerCallContext)
public virtual Task<ListBackupsResponse> ListBackups(ListBackupsRequest request, ServerCallContext context)
Lists backups in a service.
Parameters | |
---|---|
Name | Description |
request | ListBackupsRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<ListBackupsResponse> | The response to send back to the client (wrapped by a task). |
ListMetadataImports(ListMetadataImportsRequest, ServerCallContext)
public virtual Task<ListMetadataImportsResponse> ListMetadataImports(ListMetadataImportsRequest request, ServerCallContext context)
Lists imports in a service.
Parameters | |
---|---|
Name | Description |
request | ListMetadataImportsRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<ListMetadataImportsResponse> | The response to send back to the client (wrapped by a task). |
ListServices(ListServicesRequest, ServerCallContext)
public virtual Task<ListServicesResponse> ListServices(ListServicesRequest request, ServerCallContext context)
Lists services in a project and location.
Parameters | |
---|---|
Name | Description |
request | ListServicesRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<ListServicesResponse> | The response to send back to the client (wrapped by a task). |
RestoreService(RestoreServiceRequest, ServerCallContext)
public virtual Task<Operation> RestoreService(RestoreServiceRequest request, ServerCallContext context)
Restores a service from a backup.
Parameters | |
---|---|
Name | Description |
request | RestoreServiceRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> | The response to send back to the client (wrapped by a task). |
UpdateMetadataImport(UpdateMetadataImportRequest, ServerCallContext)
public virtual Task<Operation> UpdateMetadataImport(UpdateMetadataImportRequest request, ServerCallContext context)
Updates a single import. Only the description field of MetadataImport is supported to be updated.
Parameters | |
---|---|
Name | Description |
request | UpdateMetadataImportRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> | The response to send back to the client (wrapped by a task). |
UpdateService(UpdateServiceRequest, ServerCallContext)
public virtual Task<Operation> UpdateService(UpdateServiceRequest request, ServerCallContext context)
Updates the parameters of a single service.
Parameters | |
---|---|
Name | Description |
request | UpdateServiceRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> | The response to send back to the client (wrapped by a task). |