Class protos.google.cloud.metastore.v1beta.DataprocMetastore (1.2.0)

Represents a DataprocMetastore

Inheritance

$protobuf.rpc.Service > protos.google.cloud.metastore.v1beta.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.v1beta.ICreateBackupRequest, callback: google.cloud.metastore.v1beta.DataprocMetastore.CreateBackupCallback): void;

Calls CreateBackup.

Parameters
NameDescription
request google.cloud.metastore.v1beta.ICreateBackupRequest

CreateBackupRequest message or plain object

callback google.cloud.metastore.v1beta.DataprocMetastore.CreateBackupCallback

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

Returns
TypeDescription
void

createBackup(request)

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

Calls CreateBackup.

Parameter
NameDescription
request google.cloud.metastore.v1beta.ICreateBackupRequest

CreateBackupRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

createMetadataImport(request, callback)

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

Calls CreateMetadataImport.

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

CreateMetadataImportRequest message or plain object

callback google.cloud.metastore.v1beta.DataprocMetastore.CreateMetadataImportCallback

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

Returns
TypeDescription
void

createMetadataImport(request)

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

Calls CreateMetadataImport.

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

CreateMetadataImportRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

createService(request, callback)

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

Calls CreateService.

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

CreateServiceRequest message or plain object

callback google.cloud.metastore.v1beta.DataprocMetastore.CreateServiceCallback

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

Returns
TypeDescription
void

createService(request)

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

Calls CreateService.

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

CreateServiceRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

deleteBackup(request, callback)

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

Calls DeleteBackup.

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

DeleteBackupRequest message or plain object

callback google.cloud.metastore.v1beta.DataprocMetastore.DeleteBackupCallback

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

Returns
TypeDescription
void

deleteBackup(request)

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

Calls DeleteBackup.

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

DeleteBackupRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

deleteService(request, callback)

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

Calls DeleteService.

Parameters
NameDescription
request google.cloud.metastore.v1beta.IDeleteServiceRequest

DeleteServiceRequest message or plain object

callback google.cloud.metastore.v1beta.DataprocMetastore.DeleteServiceCallback

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

Returns
TypeDescription
void

deleteService(request)

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

Calls DeleteService.

Parameter
NameDescription
request google.cloud.metastore.v1beta.IDeleteServiceRequest

DeleteServiceRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

exportMetadata(request, callback)

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

Calls ExportMetadata.

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

ExportMetadataRequest message or plain object

callback google.cloud.metastore.v1beta.DataprocMetastore.ExportMetadataCallback

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

Returns
TypeDescription
void

exportMetadata(request)

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

Calls ExportMetadata.

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

ExportMetadataRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

getBackup(request, callback)

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

Calls GetBackup.

Parameters
NameDescription
request google.cloud.metastore.v1beta.IGetBackupRequest

GetBackupRequest message or plain object

callback google.cloud.metastore.v1beta.DataprocMetastore.GetBackupCallback

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

Returns
TypeDescription
void

getBackup(request)

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

Calls GetBackup.

Parameter
NameDescription
request google.cloud.metastore.v1beta.IGetBackupRequest

GetBackupRequest message or plain object

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

Promise

getMetadataImport(request, callback)

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

Calls GetMetadataImport.

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

GetMetadataImportRequest message or plain object

callback google.cloud.metastore.v1beta.DataprocMetastore.GetMetadataImportCallback

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

Returns
TypeDescription
void

getMetadataImport(request)

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

Calls GetMetadataImport.

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

GetMetadataImportRequest message or plain object

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

Promise

getService(request, callback)

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

Calls GetService.

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

GetServiceRequest message or plain object

callback google.cloud.metastore.v1beta.DataprocMetastore.GetServiceCallback

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

Returns
TypeDescription
void

getService(request)

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

Calls GetService.

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

GetServiceRequest message or plain object

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

Promise

listBackups(request, callback)

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

Calls ListBackups.

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

ListBackupsRequest message or plain object

callback google.cloud.metastore.v1beta.DataprocMetastore.ListBackupsCallback

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

Returns
TypeDescription
void

listBackups(request)

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

Calls ListBackups.

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

ListBackupsRequest message or plain object

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

Promise

listMetadataImports(request, callback)

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

Calls ListMetadataImports.

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

ListMetadataImportsRequest message or plain object

callback google.cloud.metastore.v1beta.DataprocMetastore.ListMetadataImportsCallback

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

Returns
TypeDescription
void

listMetadataImports(request)

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

Calls ListMetadataImports.

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

ListMetadataImportsRequest message or plain object

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

Promise

listServices(request, callback)

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

Calls ListServices.

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

ListServicesRequest message or plain object

callback google.cloud.metastore.v1beta.DataprocMetastore.ListServicesCallback

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

Returns
TypeDescription
void

listServices(request)

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

Calls ListServices.

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

ListServicesRequest message or plain object

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

Promise

restoreService(request, callback)

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

Calls RestoreService.

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

RestoreServiceRequest message or plain object

callback google.cloud.metastore.v1beta.DataprocMetastore.RestoreServiceCallback

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

Returns
TypeDescription
void

restoreService(request)

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

Calls RestoreService.

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

RestoreServiceRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

updateMetadataImport(request, callback)

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

Calls UpdateMetadataImport.

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

UpdateMetadataImportRequest message or plain object

callback google.cloud.metastore.v1beta.DataprocMetastore.UpdateMetadataImportCallback

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

Returns
TypeDescription
void

updateMetadataImport(request)

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

Calls UpdateMetadataImport.

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

UpdateMetadataImportRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

updateService(request, callback)

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

Calls UpdateService.

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

UpdateServiceRequest message or plain object

callback google.cloud.metastore.v1beta.DataprocMetastore.UpdateServiceCallback

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

Returns
TypeDescription
void

updateService(request)

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

Calls UpdateService.

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

UpdateServiceRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise