Configures and manages metastore services. Metastore services are fully managed, highly available, auto-scaled, auto-healing, OSS-native deployments of technical metadata management software. Each metastore service exposes a network endpoint through which metadata queries are served. Metadata queries can originate from a variety of sources, including Apache Hive, Apache Presto, and Apache Spark.
The Dataproc Metastore API defines the following resource model:
* The service works with a collection of Google Cloud projects, named: /projects/*
* Each project has a collection of available locations, named: /locations/*
(a location must refer to a Google Cloud region
) * Each location has a collection of services, named: /services/*
* Dataproc Metastore services are resources with names of the form:
/projects/{project_number}/locations/{location_id}/services/{service_id}
. v1alpha
Package
@google-cloud/dataproc-metastore!
Constructors
constructor(opts?: ClientOptions);
Construct an instance of DataprocMetastoreClient.
Parameter
Name | Description |
opts |
ClientOptions
|
Properties
static get apiEndpoint(): string;
The DNS address for this API service - same as servicePath(), exists for compatibility reasons.
Property Value
Property Value
Type | Description |
gax.GoogleAuth | |
dataprocMetastoreStub?: Promise<{
[name: string]: Function;
}>;
Property Value
Type | Description |
Promise<{
[name: string]: Function;
}> | |
descriptors: Descriptors;
Property Value
Type | Description |
Descriptors | |
innerApiCalls: {
[name: string]: Function;
};
Property Value
Type | Description |
{
[name: string]: Function;
} | |
operationsClient: gax.OperationsClient;
Property Value
Type | Description |
gax.OperationsClient | |
pathTemplates: {
[name: string]: gax.PathTemplate;
};
Property Value
Type | Description |
{
[name: string]: gax.PathTemplate;
} | |
static get port(): number;
The port for this API service.
Property Value
static get scopes(): string[];
The scopes needed to make gRPC calls for every method defined in this service.
Property Value
static get servicePath(): string;
The DNS address for this API service.
Property Value
warn: (code: string, message: string, warnType?: string) => void;
Property Value
Type | Description |
(code: string, message: string, warnType?: string) => void | |
Methods
backupPath(project: string, location: string, service: string, backup: string): string;
Return a fully-qualified backup resource name string.
Parameters
Name | Description |
project |
string
|
location |
string
|
service |
string
|
backup |
string
|
Returns
Type | Description |
string | {string} Resource name string.
|
checkCreateBackupProgress(name: string): Promise<LROperation<protos.google.cloud.metastore.v1alpha.Backup, protos.google.cloud.metastore.v1alpha.OperationMetadata>>;
Check the status of the long running operation returned by createBackup()
.
Parameter
Name | Description |
name |
string
The operation name that will be passed.
|
Returns
Type | Description |
Promise<LROperation<protos.google.cloud.metastore.v1alpha.Backup, protos.google.cloud.metastore.v1alpha.OperationMetadata>> | {Promise} - The promise which resolves to an object. The decoded operation object has result and metadata field to get information from. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations) for more details and examples.
|
checkCreateMetadataImportProgress(name: string): Promise<LROperation<protos.google.cloud.metastore.v1alpha.MetadataImport, protos.google.cloud.metastore.v1alpha.OperationMetadata>>;
Check the status of the long running operation returned by createMetadataImport()
.
Parameter
Name | Description |
name |
string
The operation name that will be passed.
|
Returns
Type | Description |
Promise<LROperation<protos.google.cloud.metastore.v1alpha.MetadataImport, protos.google.cloud.metastore.v1alpha.OperationMetadata>> | {Promise} - The promise which resolves to an object. The decoded operation object has result and metadata field to get information from. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations) for more details and examples.
|
checkCreateServiceProgress(name: string): Promise<LROperation<protos.google.cloud.metastore.v1alpha.Service, protos.google.cloud.metastore.v1alpha.OperationMetadata>>;
Check the status of the long running operation returned by createService()
.
Parameter
Name | Description |
name |
string
The operation name that will be passed.
|
Returns
Type | Description |
Promise<LROperation<protos.google.cloud.metastore.v1alpha.Service, protos.google.cloud.metastore.v1alpha.OperationMetadata>> | {Promise} - The promise which resolves to an object. The decoded operation object has result and metadata field to get information from. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations) for more details and examples.
|
checkDeleteBackupProgress(name: string): Promise<LROperation<protos.google.protobuf.Empty, protos.google.cloud.metastore.v1alpha.OperationMetadata>>;
Check the status of the long running operation returned by deleteBackup()
.
Parameter
Name | Description |
name |
string
The operation name that will be passed.
|
Returns
Type | Description |
Promise<LROperation<protos.google.protobuf.Empty, protos.google.cloud.metastore.v1alpha.OperationMetadata>> | {Promise} - The promise which resolves to an object. The decoded operation object has result and metadata field to get information from. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations) for more details and examples.
|
checkDeleteServiceProgress(name: string): Promise<LROperation<protos.google.protobuf.Empty, protos.google.cloud.metastore.v1alpha.OperationMetadata>>;
Check the status of the long running operation returned by deleteService()
.
Parameter
Name | Description |
name |
string
The operation name that will be passed.
|
Returns
Type | Description |
Promise<LROperation<protos.google.protobuf.Empty, protos.google.cloud.metastore.v1alpha.OperationMetadata>> | {Promise} - The promise which resolves to an object. The decoded operation object has result and metadata field to get information from. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations) for more details and examples.
|
checkExportMetadataProgress(name: string): Promise<LROperation<protos.google.cloud.metastore.v1alpha.MetadataExport, protos.google.cloud.metastore.v1alpha.OperationMetadata>>;
Check the status of the long running operation returned by exportMetadata()
.
Parameter
Name | Description |
name |
string
The operation name that will be passed.
|
Returns
Type | Description |
Promise<LROperation<protos.google.cloud.metastore.v1alpha.MetadataExport, protos.google.cloud.metastore.v1alpha.OperationMetadata>> | {Promise} - The promise which resolves to an object. The decoded operation object has result and metadata field to get information from. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations) for more details and examples.
|
checkRestoreServiceProgress(name: string): Promise<LROperation<protos.google.cloud.metastore.v1alpha.Restore, protos.google.cloud.metastore.v1alpha.OperationMetadata>>;
Check the status of the long running operation returned by restoreService()
.
Parameter
Name | Description |
name |
string
The operation name that will be passed.
|
Returns
Type | Description |
Promise<LROperation<protos.google.cloud.metastore.v1alpha.Restore, protos.google.cloud.metastore.v1alpha.OperationMetadata>> | {Promise} - The promise which resolves to an object. The decoded operation object has result and metadata field to get information from. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations) for more details and examples.
|
checkUpdateMetadataImportProgress(name: string): Promise<LROperation<protos.google.cloud.metastore.v1alpha.MetadataImport, protos.google.cloud.metastore.v1alpha.OperationMetadata>>;
Check the status of the long running operation returned by updateMetadataImport()
.
Parameter
Name | Description |
name |
string
The operation name that will be passed.
|
Returns
Type | Description |
Promise<LROperation<protos.google.cloud.metastore.v1alpha.MetadataImport, protos.google.cloud.metastore.v1alpha.OperationMetadata>> | {Promise} - The promise which resolves to an object. The decoded operation object has result and metadata field to get information from. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations) for more details and examples.
|
checkUpdateServiceProgress(name: string): Promise<LROperation<protos.google.cloud.metastore.v1alpha.Service, protos.google.cloud.metastore.v1alpha.OperationMetadata>>;
Check the status of the long running operation returned by updateService()
.
Parameter
Name | Description |
name |
string
The operation name that will be passed.
|
Returns
Type | Description |
Promise<LROperation<protos.google.cloud.metastore.v1alpha.Service, protos.google.cloud.metastore.v1alpha.OperationMetadata>> | {Promise} - The promise which resolves to an object. The decoded operation object has result and metadata field to get information from. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations) for more details and examples.
|
Terminate the gRPC channel and close the client.
The client will no longer be usable and all future behavior is undefined.
Returns
Type | Description |
Promise<void> | {Promise} A promise that resolves when the client is closed.
|
createBackup(request?: protos.google.cloud.metastore.v1alpha.ICreateBackupRequest, options?: CallOptions): Promise<[
LROperation<protos.google.cloud.metastore.v1alpha.IBackup, protos.google.cloud.metastore.v1alpha.IOperationMetadata>,
protos.google.longrunning.IOperation | undefined,
{} | undefined
]>;
Parameters
Name | Description |
request |
protos.google.cloud.metastore.v1alpha.ICreateBackupRequest
|
options |
CallOptions
|
Returns
Type | Description |
Promise<[
LROperation<protos.google.cloud.metastore.v1alpha.IBackup, protos.google.cloud.metastore.v1alpha.IOperationMetadata>,
protos.google.longrunning.IOperation | undefined,
{} | undefined
]> | |
createBackup(request: protos.google.cloud.metastore.v1alpha.ICreateBackupRequest, options: CallOptions, callback: Callback<LROperation<protos.google.cloud.metastore.v1alpha.IBackup, protos.google.cloud.metastore.v1alpha.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
Parameters
Name | Description |
request |
protos.google.cloud.metastore.v1alpha.ICreateBackupRequest
|
options |
CallOptions
|
callback |
Callback<LROperation<protos.google.cloud.metastore.v1alpha.IBackup, protos.google.cloud.metastore.v1alpha.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
|
Returns
createBackup(request: protos.google.cloud.metastore.v1alpha.ICreateBackupRequest, callback: Callback<LROperation<protos.google.cloud.metastore.v1alpha.IBackup, protos.google.cloud.metastore.v1alpha.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
Parameters
Name | Description |
request |
protos.google.cloud.metastore.v1alpha.ICreateBackupRequest
|
callback |
Callback<LROperation<protos.google.cloud.metastore.v1alpha.IBackup, protos.google.cloud.metastore.v1alpha.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
|
Returns
createMetadataImport(request?: protos.google.cloud.metastore.v1alpha.ICreateMetadataImportRequest, options?: CallOptions): Promise<[
LROperation<protos.google.cloud.metastore.v1alpha.IMetadataImport, protos.google.cloud.metastore.v1alpha.IOperationMetadata>,
protos.google.longrunning.IOperation | undefined,
{} | undefined
]>;
Parameters
Name | Description |
request |
protos.google.cloud.metastore.v1alpha.ICreateMetadataImportRequest
|
options |
CallOptions
|
Returns
Type | Description |
Promise<[
LROperation<protos.google.cloud.metastore.v1alpha.IMetadataImport, protos.google.cloud.metastore.v1alpha.IOperationMetadata>,
protos.google.longrunning.IOperation | undefined,
{} | undefined
]> | |
createMetadataImport(request: protos.google.cloud.metastore.v1alpha.ICreateMetadataImportRequest, options: CallOptions, callback: Callback<LROperation<protos.google.cloud.metastore.v1alpha.IMetadataImport, protos.google.cloud.metastore.v1alpha.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
Parameters
Name | Description |
request |
protos.google.cloud.metastore.v1alpha.ICreateMetadataImportRequest
|
options |
CallOptions
|
callback |
Callback<LROperation<protos.google.cloud.metastore.v1alpha.IMetadataImport, protos.google.cloud.metastore.v1alpha.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
|
Returns
createMetadataImport(request: protos.google.cloud.metastore.v1alpha.ICreateMetadataImportRequest, callback: Callback<LROperation<protos.google.cloud.metastore.v1alpha.IMetadataImport, protos.google.cloud.metastore.v1alpha.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
Parameters
Name | Description |
request |
protos.google.cloud.metastore.v1alpha.ICreateMetadataImportRequest
|
callback |
Callback<LROperation<protos.google.cloud.metastore.v1alpha.IMetadataImport, protos.google.cloud.metastore.v1alpha.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
|
Returns
createService(request?: protos.google.cloud.metastore.v1alpha.ICreateServiceRequest, options?: CallOptions): Promise<[
LROperation<protos.google.cloud.metastore.v1alpha.IService, protos.google.cloud.metastore.v1alpha.IOperationMetadata>,
protos.google.longrunning.IOperation | undefined,
{} | undefined
]>;
Parameters
Name | Description |
request |
protos.google.cloud.metastore.v1alpha.ICreateServiceRequest
|
options |
CallOptions
|
Returns
Type | Description |
Promise<[
LROperation<protos.google.cloud.metastore.v1alpha.IService, protos.google.cloud.metastore.v1alpha.IOperationMetadata>,
protos.google.longrunning.IOperation | undefined,
{} | undefined
]> | |
createService(request: protos.google.cloud.metastore.v1alpha.ICreateServiceRequest, options: CallOptions, callback: Callback<LROperation<protos.google.cloud.metastore.v1alpha.IService, protos.google.cloud.metastore.v1alpha.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
Parameters
Name | Description |
request |
protos.google.cloud.metastore.v1alpha.ICreateServiceRequest
|
options |
CallOptions
|
callback |
Callback<LROperation<protos.google.cloud.metastore.v1alpha.IService, protos.google.cloud.metastore.v1alpha.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
|
Returns
createService(request: protos.google.cloud.metastore.v1alpha.ICreateServiceRequest, callback: Callback<LROperation<protos.google.cloud.metastore.v1alpha.IService, protos.google.cloud.metastore.v1alpha.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
Parameters
Name | Description |
request |
protos.google.cloud.metastore.v1alpha.ICreateServiceRequest
|
callback |
Callback<LROperation<protos.google.cloud.metastore.v1alpha.IService, protos.google.cloud.metastore.v1alpha.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
|
Returns
deleteBackup(request?: protos.google.cloud.metastore.v1alpha.IDeleteBackupRequest, options?: CallOptions): Promise<[
LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.metastore.v1alpha.IOperationMetadata>,
protos.google.longrunning.IOperation | undefined,
{} | undefined
]>;
Parameters
Name | Description |
request |
protos.google.cloud.metastore.v1alpha.IDeleteBackupRequest
|
options |
CallOptions
|
Returns
Type | Description |
Promise<[
LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.metastore.v1alpha.IOperationMetadata>,
protos.google.longrunning.IOperation | undefined,
{} | undefined
]> | |
deleteBackup(request: protos.google.cloud.metastore.v1alpha.IDeleteBackupRequest, options: CallOptions, callback: Callback<LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.metastore.v1alpha.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
Parameters
Name | Description |
request |
protos.google.cloud.metastore.v1alpha.IDeleteBackupRequest
|
options |
CallOptions
|
callback |
Callback<LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.metastore.v1alpha.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
|
Returns
deleteBackup(request: protos.google.cloud.metastore.v1alpha.IDeleteBackupRequest, callback: Callback<LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.metastore.v1alpha.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
Parameters
Name | Description |
request |
protos.google.cloud.metastore.v1alpha.IDeleteBackupRequest
|
callback |
Callback<LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.metastore.v1alpha.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
|
Returns
deleteService(request?: protos.google.cloud.metastore.v1alpha.IDeleteServiceRequest, options?: CallOptions): Promise<[
LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.metastore.v1alpha.IOperationMetadata>,
protos.google.longrunning.IOperation | undefined,
{} | undefined
]>;
Parameters
Name | Description |
request |
protos.google.cloud.metastore.v1alpha.IDeleteServiceRequest
|
options |
CallOptions
|
Returns
Type | Description |
Promise<[
LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.metastore.v1alpha.IOperationMetadata>,
protos.google.longrunning.IOperation | undefined,
{} | undefined
]> | |
deleteService(request: protos.google.cloud.metastore.v1alpha.IDeleteServiceRequest, options: CallOptions, callback: Callback<LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.metastore.v1alpha.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
Parameters
Name | Description |
request |
protos.google.cloud.metastore.v1alpha.IDeleteServiceRequest
|
options |
CallOptions
|
callback |
Callback<LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.metastore.v1alpha.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
|
Returns
deleteService(request: protos.google.cloud.metastore.v1alpha.IDeleteServiceRequest, callback: Callback<LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.metastore.v1alpha.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
Parameters
Name | Description |
request |
protos.google.cloud.metastore.v1alpha.IDeleteServiceRequest
|
callback |
Callback<LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.metastore.v1alpha.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
|
Returns
exportMetadata(request?: protos.google.cloud.metastore.v1alpha.IExportMetadataRequest, options?: CallOptions): Promise<[
LROperation<protos.google.cloud.metastore.v1alpha.IMetadataExport, protos.google.cloud.metastore.v1alpha.IOperationMetadata>,
protos.google.longrunning.IOperation | undefined,
{} | undefined
]>;
Parameters
Name | Description |
request |
protos.google.cloud.metastore.v1alpha.IExportMetadataRequest
|
options |
CallOptions
|
Returns
Type | Description |
Promise<[
LROperation<protos.google.cloud.metastore.v1alpha.IMetadataExport, protos.google.cloud.metastore.v1alpha.IOperationMetadata>,
protos.google.longrunning.IOperation | undefined,
{} | undefined
]> | |
exportMetadata(request: protos.google.cloud.metastore.v1alpha.IExportMetadataRequest, options: CallOptions, callback: Callback<LROperation<protos.google.cloud.metastore.v1alpha.IMetadataExport, protos.google.cloud.metastore.v1alpha.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
Parameters
Name | Description |
request |
protos.google.cloud.metastore.v1alpha.IExportMetadataRequest
|
options |
CallOptions
|
callback |
Callback<LROperation<protos.google.cloud.metastore.v1alpha.IMetadataExport, protos.google.cloud.metastore.v1alpha.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
|
Returns
exportMetadata(request: protos.google.cloud.metastore.v1alpha.IExportMetadataRequest, callback: Callback<LROperation<protos.google.cloud.metastore.v1alpha.IMetadataExport, protos.google.cloud.metastore.v1alpha.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
Parameters
Name | Description |
request |
protos.google.cloud.metastore.v1alpha.IExportMetadataRequest
|
callback |
Callback<LROperation<protos.google.cloud.metastore.v1alpha.IMetadataExport, protos.google.cloud.metastore.v1alpha.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
|
Returns
getBackup(request?: protos.google.cloud.metastore.v1alpha.IGetBackupRequest, options?: CallOptions): Promise<[
protos.google.cloud.metastore.v1alpha.IBackup,
protos.google.cloud.metastore.v1alpha.IGetBackupRequest | undefined,
{} | undefined
]>;
Parameters
Name | Description |
request |
protos.google.cloud.metastore.v1alpha.IGetBackupRequest
|
options |
CallOptions
|
Returns
Type | Description |
Promise<[
protos.google.cloud.metastore.v1alpha.IBackup,
protos.google.cloud.metastore.v1alpha.IGetBackupRequest | undefined,
{} | undefined
]> | |
getBackup(request: protos.google.cloud.metastore.v1alpha.IGetBackupRequest, options: CallOptions, callback: Callback<protos.google.cloud.metastore.v1alpha.IBackup, protos.google.cloud.metastore.v1alpha.IGetBackupRequest | null | undefined, {} | null | undefined>): void;
Parameters
Name | Description |
request |
protos.google.cloud.metastore.v1alpha.IGetBackupRequest
|
options |
CallOptions
|
callback |
Callback<protos.google.cloud.metastore.v1alpha.IBackup, protos.google.cloud.metastore.v1alpha.IGetBackupRequest | null | undefined, {} | null | undefined>
|
Returns
getBackup(request: protos.google.cloud.metastore.v1alpha.IGetBackupRequest, callback: Callback<protos.google.cloud.metastore.v1alpha.IBackup, protos.google.cloud.metastore.v1alpha.IGetBackupRequest | null | undefined, {} | null | undefined>): void;
Parameters
Name | Description |
request |
protos.google.cloud.metastore.v1alpha.IGetBackupRequest
|
callback |
Callback<protos.google.cloud.metastore.v1alpha.IBackup, protos.google.cloud.metastore.v1alpha.IGetBackupRequest | null | undefined, {} | null | undefined>
|
Returns
getMetadataImport(request?: protos.google.cloud.metastore.v1alpha.IGetMetadataImportRequest, options?: CallOptions): Promise<[
protos.google.cloud.metastore.v1alpha.IMetadataImport,
(protos.google.cloud.metastore.v1alpha.IGetMetadataImportRequest | undefined),
{} | undefined
]>;
Parameters
Name | Description |
request |
protos.google.cloud.metastore.v1alpha.IGetMetadataImportRequest
|
options |
CallOptions
|
Returns
Type | Description |
Promise<[
protos.google.cloud.metastore.v1alpha.IMetadataImport,
(protos.google.cloud.metastore.v1alpha.IGetMetadataImportRequest | undefined),
{} | undefined
]> | |
getMetadataImport(request: protos.google.cloud.metastore.v1alpha.IGetMetadataImportRequest, options: CallOptions, callback: Callback<protos.google.cloud.metastore.v1alpha.IMetadataImport, protos.google.cloud.metastore.v1alpha.IGetMetadataImportRequest | null | undefined, {} | null | undefined>): void;
Parameters
Name | Description |
request |
protos.google.cloud.metastore.v1alpha.IGetMetadataImportRequest
|
options |
CallOptions
|
callback |
Callback<protos.google.cloud.metastore.v1alpha.IMetadataImport, protos.google.cloud.metastore.v1alpha.IGetMetadataImportRequest | null | undefined, {} | null | undefined>
|
Returns
getMetadataImport(request: protos.google.cloud.metastore.v1alpha.IGetMetadataImportRequest, callback: Callback<protos.google.cloud.metastore.v1alpha.IMetadataImport, protos.google.cloud.metastore.v1alpha.IGetMetadataImportRequest | null | undefined, {} | null | undefined>): void;
Parameters
Name | Description |
request |
protos.google.cloud.metastore.v1alpha.IGetMetadataImportRequest
|
callback |
Callback<protos.google.cloud.metastore.v1alpha.IMetadataImport, protos.google.cloud.metastore.v1alpha.IGetMetadataImportRequest | null | undefined, {} | null | undefined>
|
Returns
getProjectId(): Promise<string>;
Returns
Type | Description |
Promise<string> | |
getProjectId(callback: Callback<string, undefined, undefined>): void;
Parameter
Name | Description |
callback |
Callback<string, undefined, undefined>
|
Returns
getService(request?: protos.google.cloud.metastore.v1alpha.IGetServiceRequest, options?: CallOptions): Promise<[
protos.google.cloud.metastore.v1alpha.IService,
protos.google.cloud.metastore.v1alpha.IGetServiceRequest | undefined,
{} | undefined
]>;
Parameters
Name | Description |
request |
protos.google.cloud.metastore.v1alpha.IGetServiceRequest
|
options |
CallOptions
|
Returns
Type | Description |
Promise<[
protos.google.cloud.metastore.v1alpha.IService,
protos.google.cloud.metastore.v1alpha.IGetServiceRequest | undefined,
{} | undefined
]> | |
getService(request: protos.google.cloud.metastore.v1alpha.IGetServiceRequest, options: CallOptions, callback: Callback<protos.google.cloud.metastore.v1alpha.IService, protos.google.cloud.metastore.v1alpha.IGetServiceRequest | null | undefined, {} | null | undefined>): void;
Parameters
Name | Description |
request |
protos.google.cloud.metastore.v1alpha.IGetServiceRequest
|
options |
CallOptions
|
callback |
Callback<protos.google.cloud.metastore.v1alpha.IService, protos.google.cloud.metastore.v1alpha.IGetServiceRequest | null | undefined, {} | null | undefined>
|
Returns
getService(request: protos.google.cloud.metastore.v1alpha.IGetServiceRequest, callback: Callback<protos.google.cloud.metastore.v1alpha.IService, protos.google.cloud.metastore.v1alpha.IGetServiceRequest | null | undefined, {} | null | undefined>): void;
Parameters
Name | Description |
request |
protos.google.cloud.metastore.v1alpha.IGetServiceRequest
|
callback |
Callback<protos.google.cloud.metastore.v1alpha.IService, protos.google.cloud.metastore.v1alpha.IGetServiceRequest | null | undefined, {} | null | undefined>
|
Returns
initialize(): Promise<{
[name: string]: Function;
}>;
Initialize the client. Performs asynchronous operations (such as authentication) and prepares the client. This function will be called automatically when any class method is called for the first time, but if you need to initialize it before calling an actual method, feel free to call initialize() directly.
You can await on this method if you want to make sure the client is initialized.
Returns
Type | Description |
Promise<{
[name: string]: Function;
}> | {Promise} A promise that resolves to an authenticated service stub.
|
listBackups(request?: protos.google.cloud.metastore.v1alpha.IListBackupsRequest, options?: CallOptions): Promise<[
protos.google.cloud.metastore.v1alpha.IBackup[],
protos.google.cloud.metastore.v1alpha.IListBackupsRequest | null,
protos.google.cloud.metastore.v1alpha.IListBackupsResponse
]>;
Parameters
Name | Description |
request |
protos.google.cloud.metastore.v1alpha.IListBackupsRequest
|
options |
CallOptions
|
Returns
Type | Description |
Promise<[
protos.google.cloud.metastore.v1alpha.IBackup[],
protos.google.cloud.metastore.v1alpha.IListBackupsRequest | null,
protos.google.cloud.metastore.v1alpha.IListBackupsResponse
]> | |
listBackups(request: protos.google.cloud.metastore.v1alpha.IListBackupsRequest, options: CallOptions, callback: PaginationCallback<protos.google.cloud.metastore.v1alpha.IListBackupsRequest, protos.google.cloud.metastore.v1alpha.IListBackupsResponse | null | undefined, protos.google.cloud.metastore.v1alpha.IBackup>): void;
Parameters
Name | Description |
request |
protos.google.cloud.metastore.v1alpha.IListBackupsRequest
|
options |
CallOptions
|
callback |
PaginationCallback<protos.google.cloud.metastore.v1alpha.IListBackupsRequest, protos.google.cloud.metastore.v1alpha.IListBackupsResponse | null | undefined, protos.google.cloud.metastore.v1alpha.IBackup>
|
Returns
listBackups(request: protos.google.cloud.metastore.v1alpha.IListBackupsRequest, callback: PaginationCallback<protos.google.cloud.metastore.v1alpha.IListBackupsRequest, protos.google.cloud.metastore.v1alpha.IListBackupsResponse | null | undefined, protos.google.cloud.metastore.v1alpha.IBackup>): void;
Parameters
Name | Description |
request |
protos.google.cloud.metastore.v1alpha.IListBackupsRequest
|
callback |
PaginationCallback<protos.google.cloud.metastore.v1alpha.IListBackupsRequest, protos.google.cloud.metastore.v1alpha.IListBackupsResponse | null | undefined, protos.google.cloud.metastore.v1alpha.IBackup>
|
Returns
listBackupsAsync(request?: protos.google.cloud.metastore.v1alpha.IListBackupsRequest, options?: CallOptions): AsyncIterable<protos.google.cloud.metastore.v1alpha.IBackup>;
Equivalent to listBackups
, but returns an iterable object.
for
-await
-of
syntax is used with the iterable to get response elements on-demand.
Parameters
Name | Description |
request |
protos.google.cloud.metastore.v1alpha.IListBackupsRequest
The request object that will be sent.
|
options |
CallOptions
Call options. See CallOptions for more details.
|
Returns
Type | Description |
AsyncIterable<protos.google.cloud.metastore.v1alpha.IBackup> | {Object} An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols). When you iterate the returned iterable, each element will be an object representing [Backup]. The API will be called under the hood as needed, once per the page, so you can stop the iteration when you don't need more results. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) for more details and examples.
|
listBackupsStream(request?: protos.google.cloud.metastore.v1alpha.IListBackupsRequest, options?: CallOptions): Transform;
Equivalent to method.name.toCamelCase()
, but returns a NodeJS Stream object.
Parameters
Name | Description |
request |
protos.google.cloud.metastore.v1alpha.IListBackupsRequest
The request object that will be sent.
|
options |
CallOptions
Call options. See CallOptions for more details.
|
Returns
Type | Description |
Transform | {Stream} An object stream which emits an object representing [Backup] on 'data' event. The client library will perform auto-pagination by default: it will call the API as many times as needed. Note that it can affect your quota. We recommend using listBackupsAsync() method described below for async iteration which you can stop as needed. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) for more details and examples.
|
listMetadataImports(request?: protos.google.cloud.metastore.v1alpha.IListMetadataImportsRequest, options?: CallOptions): Promise<[
protos.google.cloud.metastore.v1alpha.IMetadataImport[],
protos.google.cloud.metastore.v1alpha.IListMetadataImportsRequest | null,
protos.google.cloud.metastore.v1alpha.IListMetadataImportsResponse
]>;
Parameters
Name | Description |
request |
protos.google.cloud.metastore.v1alpha.IListMetadataImportsRequest
|
options |
CallOptions
|
Returns
Type | Description |
Promise<[
protos.google.cloud.metastore.v1alpha.IMetadataImport[],
protos.google.cloud.metastore.v1alpha.IListMetadataImportsRequest | null,
protos.google.cloud.metastore.v1alpha.IListMetadataImportsResponse
]> | |
listMetadataImports(request: protos.google.cloud.metastore.v1alpha.IListMetadataImportsRequest, options: CallOptions, callback: PaginationCallback<protos.google.cloud.metastore.v1alpha.IListMetadataImportsRequest, protos.google.cloud.metastore.v1alpha.IListMetadataImportsResponse | null | undefined, protos.google.cloud.metastore.v1alpha.IMetadataImport>): void;
Parameters
Name | Description |
request |
protos.google.cloud.metastore.v1alpha.IListMetadataImportsRequest
|
options |
CallOptions
|
callback |
PaginationCallback<protos.google.cloud.metastore.v1alpha.IListMetadataImportsRequest, protos.google.cloud.metastore.v1alpha.IListMetadataImportsResponse | null | undefined, protos.google.cloud.metastore.v1alpha.IMetadataImport>
|
Returns
listMetadataImports(request: protos.google.cloud.metastore.v1alpha.IListMetadataImportsRequest, callback: PaginationCallback<protos.google.cloud.metastore.v1alpha.IListMetadataImportsRequest, protos.google.cloud.metastore.v1alpha.IListMetadataImportsResponse | null | undefined, protos.google.cloud.metastore.v1alpha.IMetadataImport>): void;
Parameters
Name | Description |
request |
protos.google.cloud.metastore.v1alpha.IListMetadataImportsRequest
|
callback |
PaginationCallback<protos.google.cloud.metastore.v1alpha.IListMetadataImportsRequest, protos.google.cloud.metastore.v1alpha.IListMetadataImportsResponse | null | undefined, protos.google.cloud.metastore.v1alpha.IMetadataImport>
|
Returns
listMetadataImportsAsync(request?: protos.google.cloud.metastore.v1alpha.IListMetadataImportsRequest, options?: CallOptions): AsyncIterable<protos.google.cloud.metastore.v1alpha.IMetadataImport>;
Equivalent to listMetadataImports
, but returns an iterable object.
for
-await
-of
syntax is used with the iterable to get response elements on-demand.
Parameters
Name | Description |
request |
protos.google.cloud.metastore.v1alpha.IListMetadataImportsRequest
The request object that will be sent.
|
options |
CallOptions
Call options. See CallOptions for more details.
|
Returns
Type | Description |
AsyncIterable<protos.google.cloud.metastore.v1alpha.IMetadataImport> | {Object} An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols). When you iterate the returned iterable, each element will be an object representing [MetadataImport]. The API will be called under the hood as needed, once per the page, so you can stop the iteration when you don't need more results. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) for more details and examples.
|
listMetadataImportsStream(request?: protos.google.cloud.metastore.v1alpha.IListMetadataImportsRequest, options?: CallOptions): Transform;
Equivalent to method.name.toCamelCase()
, but returns a NodeJS Stream object.
Parameters
Name | Description |
request |
protos.google.cloud.metastore.v1alpha.IListMetadataImportsRequest
The request object that will be sent.
|
options |
CallOptions
Call options. See CallOptions for more details.
|
Returns
Type | Description |
Transform | {Stream} An object stream which emits an object representing [MetadataImport] on 'data' event. The client library will perform auto-pagination by default: it will call the API as many times as needed. Note that it can affect your quota. We recommend using listMetadataImportsAsync() method described below for async iteration which you can stop as needed. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) for more details and examples.
|
listServices(request?: protos.google.cloud.metastore.v1alpha.IListServicesRequest, options?: CallOptions): Promise<[
protos.google.cloud.metastore.v1alpha.IService[],
protos.google.cloud.metastore.v1alpha.IListServicesRequest | null,
protos.google.cloud.metastore.v1alpha.IListServicesResponse
]>;
Parameters
Name | Description |
request |
protos.google.cloud.metastore.v1alpha.IListServicesRequest
|
options |
CallOptions
|
Returns
Type | Description |
Promise<[
protos.google.cloud.metastore.v1alpha.IService[],
protos.google.cloud.metastore.v1alpha.IListServicesRequest | null,
protos.google.cloud.metastore.v1alpha.IListServicesResponse
]> | |
listServices(request: protos.google.cloud.metastore.v1alpha.IListServicesRequest, options: CallOptions, callback: PaginationCallback<protos.google.cloud.metastore.v1alpha.IListServicesRequest, protos.google.cloud.metastore.v1alpha.IListServicesResponse | null | undefined, protos.google.cloud.metastore.v1alpha.IService>): void;
Parameters
Name | Description |
request |
protos.google.cloud.metastore.v1alpha.IListServicesRequest
|
options |
CallOptions
|
callback |
PaginationCallback<protos.google.cloud.metastore.v1alpha.IListServicesRequest, protos.google.cloud.metastore.v1alpha.IListServicesResponse | null | undefined, protos.google.cloud.metastore.v1alpha.IService>
|
Returns
listServices(request: protos.google.cloud.metastore.v1alpha.IListServicesRequest, callback: PaginationCallback<protos.google.cloud.metastore.v1alpha.IListServicesRequest, protos.google.cloud.metastore.v1alpha.IListServicesResponse | null | undefined, protos.google.cloud.metastore.v1alpha.IService>): void;
Parameters
Name | Description |
request |
protos.google.cloud.metastore.v1alpha.IListServicesRequest
|
callback |
PaginationCallback<protos.google.cloud.metastore.v1alpha.IListServicesRequest, protos.google.cloud.metastore.v1alpha.IListServicesResponse | null | undefined, protos.google.cloud.metastore.v1alpha.IService>
|
Returns
listServicesAsync(request?: protos.google.cloud.metastore.v1alpha.IListServicesRequest, options?: CallOptions): AsyncIterable<protos.google.cloud.metastore.v1alpha.IService>;
Equivalent to listServices
, but returns an iterable object.
for
-await
-of
syntax is used with the iterable to get response elements on-demand.
Parameters
Name | Description |
request |
protos.google.cloud.metastore.v1alpha.IListServicesRequest
The request object that will be sent.
|
options |
CallOptions
Call options. See CallOptions for more details.
|
Returns
Type | Description |
AsyncIterable<protos.google.cloud.metastore.v1alpha.IService> | {Object} An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols). When you iterate the returned iterable, each element will be an object representing [Service]. The API will be called under the hood as needed, once per the page, so you can stop the iteration when you don't need more results. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) for more details and examples.
|
listServicesStream(request?: protos.google.cloud.metastore.v1alpha.IListServicesRequest, options?: CallOptions): Transform;
Equivalent to method.name.toCamelCase()
, but returns a NodeJS Stream object.
Parameters
Name | Description |
request |
protos.google.cloud.metastore.v1alpha.IListServicesRequest
The request object that will be sent.
|
options |
CallOptions
Call options. See CallOptions for more details.
|
Returns
Type | Description |
Transform | {Stream} An object stream which emits an object representing [Service] on 'data' event. The client library will perform auto-pagination by default: it will call the API as many times as needed. Note that it can affect your quota. We recommend using listServicesAsync() method described below for async iteration which you can stop as needed. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) for more details and examples.
|
locationPath(project: string, location: string): string;
Return a fully-qualified location resource name string.
Parameters
Name | Description |
project |
string
|
location |
string
|
Returns
Type | Description |
string | {string} Resource name string.
|
matchBackupFromBackupName(backupName: string): string | number;
Parse the backup from Backup resource.
Parameter
Name | Description |
backupName |
string
A fully-qualified path representing Backup resource.
|
Returns
Type | Description |
string | number | {string} A string representing the backup.
|
matchLocationFromBackupName(backupName: string): string | number;
Parse the location from Backup resource.
Parameter
Name | Description |
backupName |
string
A fully-qualified path representing Backup resource.
|
Returns
Type | Description |
string | number | {string} A string representing the location.
|
matchLocationFromLocationName(locationName: string): string | number;
Parse the location from Location resource.
Parameter
Name | Description |
locationName |
string
A fully-qualified path representing Location resource.
|
Returns
Type | Description |
string | number | {string} A string representing the location.
|
matchLocationFromMetadataImportName(metadataImportName: string): string | number;
Parse the location from MetadataImport resource.
Parameter
Name | Description |
metadataImportName |
string
A fully-qualified path representing MetadataImport resource.
|
Returns
Type | Description |
string | number | {string} A string representing the location.
|
matchLocationFromServiceName(serviceName: string): string | number;
Parse the location from Service resource.
Parameter
Name | Description |
serviceName |
string
A fully-qualified path representing Service resource.
|
Returns
Type | Description |
string | number | {string} A string representing the location.
|
matchMetadataImportFromMetadataImportName(metadataImportName: string): string | number;
Parse the metadata_import from MetadataImport resource.
Parameter
Name | Description |
metadataImportName |
string
A fully-qualified path representing MetadataImport resource.
|
Returns
Type | Description |
string | number | {string} A string representing the metadata_import.
|
matchNetworkFromNetworkName(networkName: string): string | number;
Parse the network from Network resource.
Parameter
Name | Description |
networkName |
string
A fully-qualified path representing Network resource.
|
Returns
Type | Description |
string | number | {string} A string representing the network.
|
matchProjectFromBackupName(backupName: string): string | number;
Parse the project from Backup resource.
Parameter
Name | Description |
backupName |
string
A fully-qualified path representing Backup resource.
|
Returns
Type | Description |
string | number | {string} A string representing the project.
|
matchProjectFromLocationName(locationName: string): string | number;
Parse the project from Location resource.
Parameter
Name | Description |
locationName |
string
A fully-qualified path representing Location resource.
|
Returns
Type | Description |
string | number | {string} A string representing the project.
|
matchProjectFromMetadataImportName(metadataImportName: string): string | number;
Parse the project from MetadataImport resource.
Parameter
Name | Description |
metadataImportName |
string
A fully-qualified path representing MetadataImport resource.
|
Returns
Type | Description |
string | number | {string} A string representing the project.
|
matchProjectFromNetworkName(networkName: string): string | number;
Parse the project from Network resource.
Parameter
Name | Description |
networkName |
string
A fully-qualified path representing Network resource.
|
Returns
Type | Description |
string | number | {string} A string representing the project.
|
matchProjectFromServiceName(serviceName: string): string | number;
Parse the project from Service resource.
Parameter
Name | Description |
serviceName |
string
A fully-qualified path representing Service resource.
|
Returns
Type | Description |
string | number | {string} A string representing the project.
|
matchServiceFromBackupName(backupName: string): string | number;
Parse the service from Backup resource.
Parameter
Name | Description |
backupName |
string
A fully-qualified path representing Backup resource.
|
Returns
Type | Description |
string | number | {string} A string representing the service.
|
matchServiceFromMetadataImportName(metadataImportName: string): string | number;
Parse the service from MetadataImport resource.
Parameter
Name | Description |
metadataImportName |
string
A fully-qualified path representing MetadataImport resource.
|
Returns
Type | Description |
string | number | {string} A string representing the service.
|
matchServiceFromServiceName(serviceName: string): string | number;
Parse the service from Service resource.
Parameter
Name | Description |
serviceName |
string
A fully-qualified path representing Service resource.
|
Returns
Type | Description |
string | number | {string} A string representing the service.
|
metadataImportPath(project: string, location: string, service: string, metadataImport: string): string;
Return a fully-qualified metadataImport resource name string.
Parameters
Name | Description |
project |
string
|
location |
string
|
service |
string
|
metadataImport |
string
|
Returns
Type | Description |
string | {string} Resource name string.
|
networkPath(project: string, network: string): string;
Return a fully-qualified network resource name string.
Parameters
Name | Description |
project |
string
|
network |
string
|
Returns
Type | Description |
string | {string} Resource name string.
|
restoreService(request?: protos.google.cloud.metastore.v1alpha.IRestoreServiceRequest, options?: CallOptions): Promise<[
LROperation<protos.google.cloud.metastore.v1alpha.IRestore, protos.google.cloud.metastore.v1alpha.IOperationMetadata>,
protos.google.longrunning.IOperation | undefined,
{} | undefined
]>;
Parameters
Name | Description |
request |
protos.google.cloud.metastore.v1alpha.IRestoreServiceRequest
|
options |
CallOptions
|
Returns
Type | Description |
Promise<[
LROperation<protos.google.cloud.metastore.v1alpha.IRestore, protos.google.cloud.metastore.v1alpha.IOperationMetadata>,
protos.google.longrunning.IOperation | undefined,
{} | undefined
]> | |
restoreService(request: protos.google.cloud.metastore.v1alpha.IRestoreServiceRequest, options: CallOptions, callback: Callback<LROperation<protos.google.cloud.metastore.v1alpha.IRestore, protos.google.cloud.metastore.v1alpha.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
Parameters
Name | Description |
request |
protos.google.cloud.metastore.v1alpha.IRestoreServiceRequest
|
options |
CallOptions
|
callback |
Callback<LROperation<protos.google.cloud.metastore.v1alpha.IRestore, protos.google.cloud.metastore.v1alpha.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
|
Returns
restoreService(request: protos.google.cloud.metastore.v1alpha.IRestoreServiceRequest, callback: Callback<LROperation<protos.google.cloud.metastore.v1alpha.IRestore, protos.google.cloud.metastore.v1alpha.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
Parameters
Name | Description |
request |
protos.google.cloud.metastore.v1alpha.IRestoreServiceRequest
|
callback |
Callback<LROperation<protos.google.cloud.metastore.v1alpha.IRestore, protos.google.cloud.metastore.v1alpha.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
|
Returns
servicePath(project: string, location: string, service: string): string;
Return a fully-qualified service resource name string.
Parameters
Name | Description |
project |
string
|
location |
string
|
service |
string
|
Returns
Type | Description |
string | {string} Resource name string.
|
updateMetadataImport(request?: protos.google.cloud.metastore.v1alpha.IUpdateMetadataImportRequest, options?: CallOptions): Promise<[
LROperation<protos.google.cloud.metastore.v1alpha.IMetadataImport, protos.google.cloud.metastore.v1alpha.IOperationMetadata>,
protos.google.longrunning.IOperation | undefined,
{} | undefined
]>;
Parameters
Name | Description |
request |
protos.google.cloud.metastore.v1alpha.IUpdateMetadataImportRequest
|
options |
CallOptions
|
Returns
Type | Description |
Promise<[
LROperation<protos.google.cloud.metastore.v1alpha.IMetadataImport, protos.google.cloud.metastore.v1alpha.IOperationMetadata>,
protos.google.longrunning.IOperation | undefined,
{} | undefined
]> | |
updateMetadataImport(request: protos.google.cloud.metastore.v1alpha.IUpdateMetadataImportRequest, options: CallOptions, callback: Callback<LROperation<protos.google.cloud.metastore.v1alpha.IMetadataImport, protos.google.cloud.metastore.v1alpha.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
Parameters
Name | Description |
request |
protos.google.cloud.metastore.v1alpha.IUpdateMetadataImportRequest
|
options |
CallOptions
|
callback |
Callback<LROperation<protos.google.cloud.metastore.v1alpha.IMetadataImport, protos.google.cloud.metastore.v1alpha.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
|
Returns
updateMetadataImport(request: protos.google.cloud.metastore.v1alpha.IUpdateMetadataImportRequest, callback: Callback<LROperation<protos.google.cloud.metastore.v1alpha.IMetadataImport, protos.google.cloud.metastore.v1alpha.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
Parameters
Name | Description |
request |
protos.google.cloud.metastore.v1alpha.IUpdateMetadataImportRequest
|
callback |
Callback<LROperation<protos.google.cloud.metastore.v1alpha.IMetadataImport, protos.google.cloud.metastore.v1alpha.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
|
Returns
updateService(request?: protos.google.cloud.metastore.v1alpha.IUpdateServiceRequest, options?: CallOptions): Promise<[
LROperation<protos.google.cloud.metastore.v1alpha.IService, protos.google.cloud.metastore.v1alpha.IOperationMetadata>,
protos.google.longrunning.IOperation | undefined,
{} | undefined
]>;
Parameters
Name | Description |
request |
protos.google.cloud.metastore.v1alpha.IUpdateServiceRequest
|
options |
CallOptions
|
Returns
Type | Description |
Promise<[
LROperation<protos.google.cloud.metastore.v1alpha.IService, protos.google.cloud.metastore.v1alpha.IOperationMetadata>,
protos.google.longrunning.IOperation | undefined,
{} | undefined
]> | |
updateService(request: protos.google.cloud.metastore.v1alpha.IUpdateServiceRequest, options: CallOptions, callback: Callback<LROperation<protos.google.cloud.metastore.v1alpha.IService, protos.google.cloud.metastore.v1alpha.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
Parameters
Name | Description |
request |
protos.google.cloud.metastore.v1alpha.IUpdateServiceRequest
|
options |
CallOptions
|
callback |
Callback<LROperation<protos.google.cloud.metastore.v1alpha.IService, protos.google.cloud.metastore.v1alpha.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
|
Returns
updateService(request: protos.google.cloud.metastore.v1alpha.IUpdateServiceRequest, callback: Callback<LROperation<protos.google.cloud.metastore.v1alpha.IService, protos.google.cloud.metastore.v1alpha.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
Parameters
Name | Description |
request |
protos.google.cloud.metastore.v1alpha.IUpdateServiceRequest
|
callback |
Callback<LROperation<protos.google.cloud.metastore.v1alpha.IService, protos.google.cloud.metastore.v1alpha.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
|
Returns