Class protos.google.cloud.metastore.v1alpha.DataprocMetastore (3.4.1)

Represents a DataprocMetastore

Inheritance

$protobuf.rpc.Service > protos.google.cloud.metastore.v1alpha.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

alterMetadataResourceLocation(request, callback)

public alterMetadataResourceLocation(request: google.cloud.metastore.v1alpha.IAlterMetadataResourceLocationRequest, callback: google.cloud.metastore.v1alpha.DataprocMetastore.AlterMetadataResourceLocationCallback): void;

Calls AlterMetadataResourceLocation.

Parameters
NameDescription
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
TypeDescription
void

alterMetadataResourceLocation(request)

public alterMetadataResourceLocation(request: google.cloud.metastore.v1alpha.IAlterMetadataResourceLocationRequest): Promise<google.longrunning.Operation>;

Calls AlterMetadataResourceLocation.

Parameter
NameDescription
request IAlterMetadataResourceLocationRequest

AlterMetadataResourceLocationRequest message or plain object

Returns
TypeDescription
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
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.v1alpha.ICreateBackupRequest, callback: google.cloud.metastore.v1alpha.DataprocMetastore.CreateBackupCallback): void;

Calls CreateBackup.

Parameters
NameDescription
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
TypeDescription
void

createBackup(request)

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

Calls CreateBackup.

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

CreateBackupRequest message or plain object

Returns
TypeDescription
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
NameDescription
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
TypeDescription
void

createMetadataImport(request)

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

Calls CreateMetadataImport.

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

CreateMetadataImportRequest message or plain object

Returns
TypeDescription
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
NameDescription
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
TypeDescription
void

createService(request)

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

Calls CreateService.

Parameter
NameDescription
request ICreateServiceRequest

CreateServiceRequest message or plain object

Returns
TypeDescription
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
NameDescription
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
TypeDescription
void

deleteBackup(request)

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

Calls DeleteBackup.

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

DeleteBackupRequest message or plain object

Returns
TypeDescription
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
NameDescription
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
TypeDescription
void

deleteService(request)

public deleteService(request: google.cloud.metastore.v1alpha.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.v1alpha.IExportMetadataRequest, callback: google.cloud.metastore.v1alpha.DataprocMetastore.ExportMetadataCallback): void;

Calls ExportMetadata.

Parameters
NameDescription
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
TypeDescription
void

exportMetadata(request)

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

Calls ExportMetadata.

Parameter
NameDescription
request IExportMetadataRequest

ExportMetadataRequest message or plain object

Returns
TypeDescription
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
NameDescription
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
TypeDescription
void

getBackup(request)

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

Calls GetBackup.

Parameter
NameDescription
request IGetBackupRequest

GetBackupRequest message or plain object

Returns
TypeDescription
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
NameDescription
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
TypeDescription
void

getMetadataImport(request)

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

Calls GetMetadataImport.

Parameter
NameDescription
request IGetMetadataImportRequest

GetMetadataImportRequest message or plain object

Returns
TypeDescription
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
NameDescription
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
TypeDescription
void

getService(request)

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

Calls GetService.

Parameter
NameDescription
request IGetServiceRequest

GetServiceRequest message or plain object

Returns
TypeDescription
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
NameDescription
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
TypeDescription
void

listBackups(request)

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

Calls ListBackups.

Parameter
NameDescription
request IListBackupsRequest

ListBackupsRequest message or plain object

Returns
TypeDescription
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
NameDescription
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
TypeDescription
void

listMetadataImports(request)

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

Calls ListMetadataImports.

Parameter
NameDescription
request IListMetadataImportsRequest

ListMetadataImportsRequest message or plain object

Returns
TypeDescription
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
NameDescription
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
TypeDescription
void

listServices(request)

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

Calls ListServices.

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

ListServicesRequest message or plain object

Returns
TypeDescription
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
NameDescription
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
TypeDescription
void

moveTableToDatabase(request)

public moveTableToDatabase(request: google.cloud.metastore.v1alpha.IMoveTableToDatabaseRequest): Promise<google.longrunning.Operation>;

Calls MoveTableToDatabase.

Parameter
NameDescription
request IMoveTableToDatabaseRequest

MoveTableToDatabaseRequest message or plain object

Returns
TypeDescription
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
NameDescription
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
TypeDescription
void

queryMetadata(request)

public queryMetadata(request: google.cloud.metastore.v1alpha.IQueryMetadataRequest): Promise<google.longrunning.Operation>;

Calls QueryMetadata.

Parameter
NameDescription
request IQueryMetadataRequest

QueryMetadataRequest message or plain object

Returns
TypeDescription
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
NameDescription
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
TypeDescription
void

removeIamPolicy(request)

public removeIamPolicy(request: google.cloud.metastore.v1alpha.IRemoveIamPolicyRequest): Promise<google.cloud.metastore.v1alpha.RemoveIamPolicyResponse>;

Calls RemoveIamPolicy.

Parameter
NameDescription
request IRemoveIamPolicyRequest

RemoveIamPolicyRequest message or plain object

Returns
TypeDescription
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
NameDescription
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
TypeDescription
void

restoreService(request)

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

Calls RestoreService.

Parameter
NameDescription
request IRestoreServiceRequest

RestoreServiceRequest message or plain object

Returns
TypeDescription
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
NameDescription
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
TypeDescription
void

updateMetadataImport(request)

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

Calls UpdateMetadataImport.

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

UpdateMetadataImportRequest message or plain object

Returns
TypeDescription
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
NameDescription
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
TypeDescription
void

updateService(request)

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

Calls UpdateService.

Parameter
NameDescription
request IUpdateServiceRequest

UpdateServiceRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise