Class protos.google.cloud.metastore.v1.DataprocMetastore (3.1.2)

Represents a DataprocMetastore

Inheritance

$protobuf.rpc.Service > protos.google.cloud.metastore.v1.DataprocMetastore

Package

@google-cloud/dataproc-metastore

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);

Constructs a new DataprocMetastore service.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Methods

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
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Returns
TypeDescription
DataprocMetastore

RPC service. Useful where requests and/or responses are streamed.

createBackup(request, callback)

public createBackup(request: google.cloud.metastore.v1.ICreateBackupRequest, callback: google.cloud.metastore.v1.DataprocMetastore.CreateBackupCallback): void;

Calls CreateBackup.

Parameters
NameDescription
request ICreateBackupRequest

CreateBackupRequest message or plain object

callback google.cloud.metastore.v1.DataprocMetastore.CreateBackupCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

createBackup(request)

public createBackup(request: google.cloud.metastore.v1.ICreateBackupRequest): Promise<google.longrunning.Operation>;

Calls CreateBackup.

Parameter
NameDescription
request ICreateBackupRequest

CreateBackupRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

createMetadataImport(request, callback)

public createMetadataImport(request: google.cloud.metastore.v1.ICreateMetadataImportRequest, callback: google.cloud.metastore.v1.DataprocMetastore.CreateMetadataImportCallback): void;

Calls CreateMetadataImport.

Parameters
NameDescription
request google.cloud.metastore.v1.ICreateMetadataImportRequest

CreateMetadataImportRequest message or plain object

callback google.cloud.metastore.v1.DataprocMetastore.CreateMetadataImportCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

createMetadataImport(request)

public createMetadataImport(request: google.cloud.metastore.v1.ICreateMetadataImportRequest): Promise<google.longrunning.Operation>;

Calls CreateMetadataImport.

Parameter
NameDescription
request google.cloud.metastore.v1.ICreateMetadataImportRequest

CreateMetadataImportRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

createService(request, callback)

public createService(request: google.cloud.metastore.v1.ICreateServiceRequest, callback: google.cloud.metastore.v1.DataprocMetastore.CreateServiceCallback): void;

Calls CreateService.

Parameters
NameDescription
request google.cloud.metastore.v1.ICreateServiceRequest

CreateServiceRequest message or plain object

callback google.cloud.metastore.v1.DataprocMetastore.CreateServiceCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

createService(request)

public createService(request: google.cloud.metastore.v1.ICreateServiceRequest): Promise<google.longrunning.Operation>;

Calls CreateService.

Parameter
NameDescription
request google.cloud.metastore.v1.ICreateServiceRequest

CreateServiceRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

deleteBackup(request, callback)

public deleteBackup(request: google.cloud.metastore.v1.IDeleteBackupRequest, callback: google.cloud.metastore.v1.DataprocMetastore.DeleteBackupCallback): void;

Calls DeleteBackup.

Parameters
NameDescription
request google.cloud.metastore.v1.IDeleteBackupRequest

DeleteBackupRequest message or plain object

callback google.cloud.metastore.v1.DataprocMetastore.DeleteBackupCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

deleteBackup(request)

public deleteBackup(request: google.cloud.metastore.v1.IDeleteBackupRequest): Promise<google.longrunning.Operation>;

Calls DeleteBackup.

Parameter
NameDescription
request google.cloud.metastore.v1.IDeleteBackupRequest

DeleteBackupRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

deleteService(request, callback)

public deleteService(request: google.cloud.metastore.v1.IDeleteServiceRequest, callback: google.cloud.metastore.v1.DataprocMetastore.DeleteServiceCallback): void;

Calls DeleteService.

Parameters
NameDescription
request IDeleteServiceRequest

DeleteServiceRequest message or plain object

callback google.cloud.metastore.v1.DataprocMetastore.DeleteServiceCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

deleteService(request)

public deleteService(request: google.cloud.metastore.v1.IDeleteServiceRequest): Promise<google.longrunning.Operation>;

Calls DeleteService.

Parameter
NameDescription
request IDeleteServiceRequest

DeleteServiceRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

exportMetadata(request, callback)

public exportMetadata(request: google.cloud.metastore.v1.IExportMetadataRequest, callback: google.cloud.metastore.v1.DataprocMetastore.ExportMetadataCallback): void;

Calls ExportMetadata.

Parameters
NameDescription
request google.cloud.metastore.v1.IExportMetadataRequest

ExportMetadataRequest message or plain object

callback google.cloud.metastore.v1.DataprocMetastore.ExportMetadataCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

exportMetadata(request)

public exportMetadata(request: google.cloud.metastore.v1.IExportMetadataRequest): Promise<google.longrunning.Operation>;

Calls ExportMetadata.

Parameter
NameDescription
request google.cloud.metastore.v1.IExportMetadataRequest

ExportMetadataRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

getBackup(request, callback)

public getBackup(request: google.cloud.metastore.v1.IGetBackupRequest, callback: google.cloud.metastore.v1.DataprocMetastore.GetBackupCallback): void;

Calls GetBackup.

Parameters
NameDescription
request IGetBackupRequest

GetBackupRequest message or plain object

callback google.cloud.metastore.v1.DataprocMetastore.GetBackupCallback

Node-style callback called with the error, if any, and Backup

Returns
TypeDescription
void

getBackup(request)

public getBackup(request: google.cloud.metastore.v1.IGetBackupRequest): Promise<google.cloud.metastore.v1.Backup>;

Calls GetBackup.

Parameter
NameDescription
request IGetBackupRequest

GetBackupRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.metastore.v1.Backup>

Promise

getMetadataImport(request, callback)

public getMetadataImport(request: google.cloud.metastore.v1.IGetMetadataImportRequest, callback: google.cloud.metastore.v1.DataprocMetastore.GetMetadataImportCallback): void;

Calls GetMetadataImport.

Parameters
NameDescription
request google.cloud.metastore.v1.IGetMetadataImportRequest

GetMetadataImportRequest message or plain object

callback google.cloud.metastore.v1.DataprocMetastore.GetMetadataImportCallback

Node-style callback called with the error, if any, and MetadataImport

Returns
TypeDescription
void

getMetadataImport(request)

public getMetadataImport(request: google.cloud.metastore.v1.IGetMetadataImportRequest): Promise<google.cloud.metastore.v1.MetadataImport>;

Calls GetMetadataImport.

Parameter
NameDescription
request google.cloud.metastore.v1.IGetMetadataImportRequest

GetMetadataImportRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.metastore.v1.MetadataImport>

Promise

getService(request, callback)

public getService(request: google.cloud.metastore.v1.IGetServiceRequest, callback: google.cloud.metastore.v1.DataprocMetastore.GetServiceCallback): void;

Calls GetService.

Parameters
NameDescription
request google.cloud.metastore.v1.IGetServiceRequest

GetServiceRequest message or plain object

callback google.cloud.metastore.v1.DataprocMetastore.GetServiceCallback

Node-style callback called with the error, if any, and Service

Returns
TypeDescription
void

getService(request)

public getService(request: google.cloud.metastore.v1.IGetServiceRequest): Promise<google.cloud.metastore.v1.Service>;

Calls GetService.

Parameter
NameDescription
request google.cloud.metastore.v1.IGetServiceRequest

GetServiceRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.metastore.v1.Service>

Promise

listBackups(request, callback)

public listBackups(request: google.cloud.metastore.v1.IListBackupsRequest, callback: google.cloud.metastore.v1.DataprocMetastore.ListBackupsCallback): void;

Calls ListBackups.

Parameters
NameDescription
request google.cloud.metastore.v1.IListBackupsRequest

ListBackupsRequest message or plain object

callback google.cloud.metastore.v1.DataprocMetastore.ListBackupsCallback

Node-style callback called with the error, if any, and ListBackupsResponse

Returns
TypeDescription
void

listBackups(request)

public listBackups(request: google.cloud.metastore.v1.IListBackupsRequest): Promise<google.cloud.metastore.v1.ListBackupsResponse>;

Calls ListBackups.

Parameter
NameDescription
request google.cloud.metastore.v1.IListBackupsRequest

ListBackupsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.metastore.v1.ListBackupsResponse>

Promise

listMetadataImports(request, callback)

public listMetadataImports(request: google.cloud.metastore.v1.IListMetadataImportsRequest, callback: google.cloud.metastore.v1.DataprocMetastore.ListMetadataImportsCallback): void;

Calls ListMetadataImports.

Parameters
NameDescription
request google.cloud.metastore.v1.IListMetadataImportsRequest

ListMetadataImportsRequest message or plain object

callback google.cloud.metastore.v1.DataprocMetastore.ListMetadataImportsCallback

Node-style callback called with the error, if any, and ListMetadataImportsResponse

Returns
TypeDescription
void

listMetadataImports(request)

public listMetadataImports(request: google.cloud.metastore.v1.IListMetadataImportsRequest): Promise<google.cloud.metastore.v1.ListMetadataImportsResponse>;

Calls ListMetadataImports.

Parameter
NameDescription
request google.cloud.metastore.v1.IListMetadataImportsRequest

ListMetadataImportsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.metastore.v1.ListMetadataImportsResponse>

Promise

listServices(request, callback)

public listServices(request: google.cloud.metastore.v1.IListServicesRequest, callback: google.cloud.metastore.v1.DataprocMetastore.ListServicesCallback): void;

Calls ListServices.

Parameters
NameDescription
request google.cloud.metastore.v1.IListServicesRequest

ListServicesRequest message or plain object

callback google.cloud.metastore.v1.DataprocMetastore.ListServicesCallback

Node-style callback called with the error, if any, and ListServicesResponse

Returns
TypeDescription
void

listServices(request)

public listServices(request: google.cloud.metastore.v1.IListServicesRequest): Promise<google.cloud.metastore.v1.ListServicesResponse>;

Calls ListServices.

Parameter
NameDescription
request google.cloud.metastore.v1.IListServicesRequest

ListServicesRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.metastore.v1.ListServicesResponse>

Promise

restoreService(request, callback)

public restoreService(request: google.cloud.metastore.v1.IRestoreServiceRequest, callback: google.cloud.metastore.v1.DataprocMetastore.RestoreServiceCallback): void;

Calls RestoreService.

Parameters
NameDescription
request google.cloud.metastore.v1.IRestoreServiceRequest

RestoreServiceRequest message or plain object

callback google.cloud.metastore.v1.DataprocMetastore.RestoreServiceCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

restoreService(request)

public restoreService(request: google.cloud.metastore.v1.IRestoreServiceRequest): Promise<google.longrunning.Operation>;

Calls RestoreService.

Parameter
NameDescription
request google.cloud.metastore.v1.IRestoreServiceRequest

RestoreServiceRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

updateMetadataImport(request, callback)

public updateMetadataImport(request: google.cloud.metastore.v1.IUpdateMetadataImportRequest, callback: google.cloud.metastore.v1.DataprocMetastore.UpdateMetadataImportCallback): void;

Calls UpdateMetadataImport.

Parameters
NameDescription
request google.cloud.metastore.v1.IUpdateMetadataImportRequest

UpdateMetadataImportRequest message or plain object

callback google.cloud.metastore.v1.DataprocMetastore.UpdateMetadataImportCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

updateMetadataImport(request)

public updateMetadataImport(request: google.cloud.metastore.v1.IUpdateMetadataImportRequest): Promise<google.longrunning.Operation>;

Calls UpdateMetadataImport.

Parameter
NameDescription
request google.cloud.metastore.v1.IUpdateMetadataImportRequest

UpdateMetadataImportRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

updateService(request, callback)

public updateService(request: google.cloud.metastore.v1.IUpdateServiceRequest, callback: google.cloud.metastore.v1.DataprocMetastore.UpdateServiceCallback): void;

Calls UpdateService.

Parameters
NameDescription
request google.cloud.metastore.v1.IUpdateServiceRequest

UpdateServiceRequest message or plain object

callback google.cloud.metastore.v1.DataprocMetastore.UpdateServiceCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

updateService(request)

public updateService(request: google.cloud.metastore.v1.IUpdateServiceRequest): Promise<google.longrunning.Operation>;

Calls UpdateService.

Parameter
NameDescription
request google.cloud.metastore.v1.IUpdateServiceRequest

UpdateServiceRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise