Represents a DataprocMetastore
Inheritance
$protobuf.rpc.Service > protos.google.cloud.metastore.v1alpha.DataprocMetastorePackage
@google-cloud/dataproc-metastoreConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new DataprocMetastore service.
Parameters | |
---|---|
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Methods
alterMetadataResourceLocation(request, callback)
public alterMetadataResourceLocation(request: google.cloud.metastore.v1alpha.IAlterMetadataResourceLocationRequest, callback: google.cloud.metastore.v1alpha.DataprocMetastore.AlterMetadataResourceLocationCallback): void;
Calls AlterMetadataResourceLocation.
Parameters | |
---|---|
Name | Description |
request |
IAlterMetadataResourceLocationRequest
AlterMetadataResourceLocationRequest message or plain object |
callback |
google.cloud.metastore.v1alpha.DataprocMetastore.AlterMetadataResourceLocationCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
alterMetadataResourceLocation(request)
public alterMetadataResourceLocation(request: google.cloud.metastore.v1alpha.IAlterMetadataResourceLocationRequest): Promise<google.longrunning.Operation>;
Calls AlterMetadataResourceLocation.
Parameter | |
---|---|
Name | Description |
request |
IAlterMetadataResourceLocationRequest
AlterMetadataResourceLocationRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> | Promise |
create(rpcImpl, requestDelimited, responseDelimited)
public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): DataprocMetastore;
Creates new DataprocMetastore service using the specified rpc implementation.
Parameters | |
---|---|
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Returns | |
---|---|
Type | Description |
DataprocMetastore | RPC service. Useful where requests and/or responses are streamed. |
createBackup(request, callback)
public createBackup(request: google.cloud.metastore.v1alpha.ICreateBackupRequest, callback: google.cloud.metastore.v1alpha.DataprocMetastore.CreateBackupCallback): void;
Calls CreateBackup.
Parameters | |
---|---|
Name | Description |
request |
google.cloud.metastore.v1alpha.ICreateBackupRequest
CreateBackupRequest message or plain object |
callback |
google.cloud.metastore.v1alpha.DataprocMetastore.CreateBackupCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
createBackup(request)
public createBackup(request: google.cloud.metastore.v1alpha.ICreateBackupRequest): Promise<google.longrunning.Operation>;
Calls CreateBackup.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.metastore.v1alpha.ICreateBackupRequest
CreateBackupRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> | Promise |
createMetadataImport(request, callback)
public createMetadataImport(request: google.cloud.metastore.v1alpha.ICreateMetadataImportRequest, callback: google.cloud.metastore.v1alpha.DataprocMetastore.CreateMetadataImportCallback): void;
Calls CreateMetadataImport.
Parameters | |
---|---|
Name | Description |
request |
google.cloud.metastore.v1alpha.ICreateMetadataImportRequest
CreateMetadataImportRequest message or plain object |
callback |
google.cloud.metastore.v1alpha.DataprocMetastore.CreateMetadataImportCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
createMetadataImport(request)
public createMetadataImport(request: google.cloud.metastore.v1alpha.ICreateMetadataImportRequest): Promise<google.longrunning.Operation>;
Calls CreateMetadataImport.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.metastore.v1alpha.ICreateMetadataImportRequest
CreateMetadataImportRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> | Promise |
createService(request, callback)
public createService(request: google.cloud.metastore.v1alpha.ICreateServiceRequest, callback: google.cloud.metastore.v1alpha.DataprocMetastore.CreateServiceCallback): void;
Calls CreateService.
Parameters | |
---|---|
Name | Description |
request |
ICreateServiceRequest
CreateServiceRequest message or plain object |
callback |
google.cloud.metastore.v1alpha.DataprocMetastore.CreateServiceCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
createService(request)
public createService(request: google.cloud.metastore.v1alpha.ICreateServiceRequest): Promise<google.longrunning.Operation>;
Calls CreateService.
Parameter | |
---|---|
Name | Description |
request |
ICreateServiceRequest
CreateServiceRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> | Promise |
deleteBackup(request, callback)
public deleteBackup(request: google.cloud.metastore.v1alpha.IDeleteBackupRequest, callback: google.cloud.metastore.v1alpha.DataprocMetastore.DeleteBackupCallback): void;
Calls DeleteBackup.
Parameters | |
---|---|
Name | Description |
request |
google.cloud.metastore.v1alpha.IDeleteBackupRequest
DeleteBackupRequest message or plain object |
callback |
google.cloud.metastore.v1alpha.DataprocMetastore.DeleteBackupCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
deleteBackup(request)
public deleteBackup(request: google.cloud.metastore.v1alpha.IDeleteBackupRequest): Promise<google.longrunning.Operation>;
Calls DeleteBackup.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.metastore.v1alpha.IDeleteBackupRequest
DeleteBackupRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> | Promise |
deleteService(request, callback)
public deleteService(request: google.cloud.metastore.v1alpha.IDeleteServiceRequest, callback: google.cloud.metastore.v1alpha.DataprocMetastore.DeleteServiceCallback): void;
Calls DeleteService.
Parameters | |
---|---|
Name | Description |
request |
IDeleteServiceRequest
DeleteServiceRequest message or plain object |
callback |
google.cloud.metastore.v1alpha.DataprocMetastore.DeleteServiceCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
deleteService(request)
public deleteService(request: google.cloud.metastore.v1alpha.IDeleteServiceRequest): Promise<google.longrunning.Operation>;
Calls DeleteService.
Parameter | |
---|---|
Name | Description |
request |
IDeleteServiceRequest
DeleteServiceRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> | Promise |
exportMetadata(request, callback)
public exportMetadata(request: google.cloud.metastore.v1alpha.IExportMetadataRequest, callback: google.cloud.metastore.v1alpha.DataprocMetastore.ExportMetadataCallback): void;
Calls ExportMetadata.
Parameters | |
---|---|
Name | Description |
request |
IExportMetadataRequest
ExportMetadataRequest message or plain object |
callback |
google.cloud.metastore.v1alpha.DataprocMetastore.ExportMetadataCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
exportMetadata(request)
public exportMetadata(request: google.cloud.metastore.v1alpha.IExportMetadataRequest): Promise<google.longrunning.Operation>;
Calls ExportMetadata.
Parameter | |
---|---|
Name | Description |
request |
IExportMetadataRequest
ExportMetadataRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> | Promise |
getBackup(request, callback)
public getBackup(request: google.cloud.metastore.v1alpha.IGetBackupRequest, callback: google.cloud.metastore.v1alpha.DataprocMetastore.GetBackupCallback): void;
Calls GetBackup.
Parameters | |
---|---|
Name | Description |
request |
IGetBackupRequest
GetBackupRequest message or plain object |
callback |
google.cloud.metastore.v1alpha.DataprocMetastore.GetBackupCallback
Node-style callback called with the error, if any, and Backup |
Returns | |
---|---|
Type | Description |
void |
getBackup(request)
public getBackup(request: google.cloud.metastore.v1alpha.IGetBackupRequest): Promise<google.cloud.metastore.v1alpha.Backup>;
Calls GetBackup.
Parameter | |
---|---|
Name | Description |
request |
IGetBackupRequest
GetBackupRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.metastore.v1alpha.Backup> | Promise |
getMetadataImport(request, callback)
public getMetadataImport(request: google.cloud.metastore.v1alpha.IGetMetadataImportRequest, callback: google.cloud.metastore.v1alpha.DataprocMetastore.GetMetadataImportCallback): void;
Calls GetMetadataImport.
Parameters | |
---|---|
Name | Description |
request |
IGetMetadataImportRequest
GetMetadataImportRequest message or plain object |
callback |
google.cloud.metastore.v1alpha.DataprocMetastore.GetMetadataImportCallback
Node-style callback called with the error, if any, and MetadataImport |
Returns | |
---|---|
Type | Description |
void |
getMetadataImport(request)
public getMetadataImport(request: google.cloud.metastore.v1alpha.IGetMetadataImportRequest): Promise<google.cloud.metastore.v1alpha.MetadataImport>;
Calls GetMetadataImport.
Parameter | |
---|---|
Name | Description |
request |
IGetMetadataImportRequest
GetMetadataImportRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.metastore.v1alpha.MetadataImport> | Promise |
getService(request, callback)
public getService(request: google.cloud.metastore.v1alpha.IGetServiceRequest, callback: google.cloud.metastore.v1alpha.DataprocMetastore.GetServiceCallback): void;
Calls GetService.
Parameters | |
---|---|
Name | Description |
request |
IGetServiceRequest
GetServiceRequest message or plain object |
callback |
google.cloud.metastore.v1alpha.DataprocMetastore.GetServiceCallback
Node-style callback called with the error, if any, and Service |
Returns | |
---|---|
Type | Description |
void |
getService(request)
public getService(request: google.cloud.metastore.v1alpha.IGetServiceRequest): Promise<google.cloud.metastore.v1alpha.Service>;
Calls GetService.
Parameter | |
---|---|
Name | Description |
request |
IGetServiceRequest
GetServiceRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.metastore.v1alpha.Service> | Promise |
listBackups(request, callback)
public listBackups(request: google.cloud.metastore.v1alpha.IListBackupsRequest, callback: google.cloud.metastore.v1alpha.DataprocMetastore.ListBackupsCallback): void;
Calls ListBackups.
Parameters | |
---|---|
Name | Description |
request |
IListBackupsRequest
ListBackupsRequest message or plain object |
callback |
google.cloud.metastore.v1alpha.DataprocMetastore.ListBackupsCallback
Node-style callback called with the error, if any, and ListBackupsResponse |
Returns | |
---|---|
Type | Description |
void |
listBackups(request)
public listBackups(request: google.cloud.metastore.v1alpha.IListBackupsRequest): Promise<google.cloud.metastore.v1alpha.ListBackupsResponse>;
Calls ListBackups.
Parameter | |
---|---|
Name | Description |
request |
IListBackupsRequest
ListBackupsRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.metastore.v1alpha.ListBackupsResponse> | Promise |
listMetadataImports(request, callback)
public listMetadataImports(request: google.cloud.metastore.v1alpha.IListMetadataImportsRequest, callback: google.cloud.metastore.v1alpha.DataprocMetastore.ListMetadataImportsCallback): void;
Calls ListMetadataImports.
Parameters | |
---|---|
Name | Description |
request |
IListMetadataImportsRequest
ListMetadataImportsRequest message or plain object |
callback |
google.cloud.metastore.v1alpha.DataprocMetastore.ListMetadataImportsCallback
Node-style callback called with the error, if any, and ListMetadataImportsResponse |
Returns | |
---|---|
Type | Description |
void |
listMetadataImports(request)
public listMetadataImports(request: google.cloud.metastore.v1alpha.IListMetadataImportsRequest): Promise<google.cloud.metastore.v1alpha.ListMetadataImportsResponse>;
Calls ListMetadataImports.
Parameter | |
---|---|
Name | Description |
request |
IListMetadataImportsRequest
ListMetadataImportsRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.metastore.v1alpha.ListMetadataImportsResponse> | Promise |
listServices(request, callback)
public listServices(request: google.cloud.metastore.v1alpha.IListServicesRequest, callback: google.cloud.metastore.v1alpha.DataprocMetastore.ListServicesCallback): void;
Calls ListServices.
Parameters | |
---|---|
Name | Description |
request |
google.cloud.metastore.v1alpha.IListServicesRequest
ListServicesRequest message or plain object |
callback |
google.cloud.metastore.v1alpha.DataprocMetastore.ListServicesCallback
Node-style callback called with the error, if any, and ListServicesResponse |
Returns | |
---|---|
Type | Description |
void |
listServices(request)
public listServices(request: google.cloud.metastore.v1alpha.IListServicesRequest): Promise<google.cloud.metastore.v1alpha.ListServicesResponse>;
Calls ListServices.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.metastore.v1alpha.IListServicesRequest
ListServicesRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.metastore.v1alpha.ListServicesResponse> | Promise |
moveTableToDatabase(request, callback)
public moveTableToDatabase(request: google.cloud.metastore.v1alpha.IMoveTableToDatabaseRequest, callback: google.cloud.metastore.v1alpha.DataprocMetastore.MoveTableToDatabaseCallback): void;
Calls MoveTableToDatabase.
Parameters | |
---|---|
Name | Description |
request |
IMoveTableToDatabaseRequest
MoveTableToDatabaseRequest message or plain object |
callback |
google.cloud.metastore.v1alpha.DataprocMetastore.MoveTableToDatabaseCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
moveTableToDatabase(request)
public moveTableToDatabase(request: google.cloud.metastore.v1alpha.IMoveTableToDatabaseRequest): Promise<google.longrunning.Operation>;
Calls MoveTableToDatabase.
Parameter | |
---|---|
Name | Description |
request |
IMoveTableToDatabaseRequest
MoveTableToDatabaseRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> | Promise |
queryMetadata(request, callback)
public queryMetadata(request: google.cloud.metastore.v1alpha.IQueryMetadataRequest, callback: google.cloud.metastore.v1alpha.DataprocMetastore.QueryMetadataCallback): void;
Calls QueryMetadata.
Parameters | |
---|---|
Name | Description |
request |
IQueryMetadataRequest
QueryMetadataRequest message or plain object |
callback |
google.cloud.metastore.v1alpha.DataprocMetastore.QueryMetadataCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
queryMetadata(request)
public queryMetadata(request: google.cloud.metastore.v1alpha.IQueryMetadataRequest): Promise<google.longrunning.Operation>;
Calls QueryMetadata.
Parameter | |
---|---|
Name | Description |
request |
IQueryMetadataRequest
QueryMetadataRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> | Promise |
removeIamPolicy(request, callback)
public removeIamPolicy(request: google.cloud.metastore.v1alpha.IRemoveIamPolicyRequest, callback: google.cloud.metastore.v1alpha.DataprocMetastore.RemoveIamPolicyCallback): void;
Calls RemoveIamPolicy.
Parameters | |
---|---|
Name | Description |
request |
IRemoveIamPolicyRequest
RemoveIamPolicyRequest message or plain object |
callback |
google.cloud.metastore.v1alpha.DataprocMetastore.RemoveIamPolicyCallback
Node-style callback called with the error, if any, and RemoveIamPolicyResponse |
Returns | |
---|---|
Type | Description |
void |
removeIamPolicy(request)
public removeIamPolicy(request: google.cloud.metastore.v1alpha.IRemoveIamPolicyRequest): Promise<google.cloud.metastore.v1alpha.RemoveIamPolicyResponse>;
Calls RemoveIamPolicy.
Parameter | |
---|---|
Name | Description |
request |
IRemoveIamPolicyRequest
RemoveIamPolicyRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.metastore.v1alpha.RemoveIamPolicyResponse> | Promise |
restoreService(request, callback)
public restoreService(request: google.cloud.metastore.v1alpha.IRestoreServiceRequest, callback: google.cloud.metastore.v1alpha.DataprocMetastore.RestoreServiceCallback): void;
Calls RestoreService.
Parameters | |
---|---|
Name | Description |
request |
IRestoreServiceRequest
RestoreServiceRequest message or plain object |
callback |
google.cloud.metastore.v1alpha.DataprocMetastore.RestoreServiceCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
restoreService(request)
public restoreService(request: google.cloud.metastore.v1alpha.IRestoreServiceRequest): Promise<google.longrunning.Operation>;
Calls RestoreService.
Parameter | |
---|---|
Name | Description |
request |
IRestoreServiceRequest
RestoreServiceRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> | Promise |
updateMetadataImport(request, callback)
public updateMetadataImport(request: google.cloud.metastore.v1alpha.IUpdateMetadataImportRequest, callback: google.cloud.metastore.v1alpha.DataprocMetastore.UpdateMetadataImportCallback): void;
Calls UpdateMetadataImport.
Parameters | |
---|---|
Name | Description |
request |
google.cloud.metastore.v1alpha.IUpdateMetadataImportRequest
UpdateMetadataImportRequest message or plain object |
callback |
google.cloud.metastore.v1alpha.DataprocMetastore.UpdateMetadataImportCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
updateMetadataImport(request)
public updateMetadataImport(request: google.cloud.metastore.v1alpha.IUpdateMetadataImportRequest): Promise<google.longrunning.Operation>;
Calls UpdateMetadataImport.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.metastore.v1alpha.IUpdateMetadataImportRequest
UpdateMetadataImportRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> | Promise |
updateService(request, callback)
public updateService(request: google.cloud.metastore.v1alpha.IUpdateServiceRequest, callback: google.cloud.metastore.v1alpha.DataprocMetastore.UpdateServiceCallback): void;
Calls UpdateService.
Parameters | |
---|---|
Name | Description |
request |
IUpdateServiceRequest
UpdateServiceRequest message or plain object |
callback |
google.cloud.metastore.v1alpha.DataprocMetastore.UpdateServiceCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
updateService(request)
public updateService(request: google.cloud.metastore.v1alpha.IUpdateServiceRequest): Promise<google.longrunning.Operation>;
Calls UpdateService.
Parameter | |
---|---|
Name | Description |
request |
IUpdateServiceRequest
UpdateServiceRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> | Promise |