@google-cloud/discoveryengine 0.6.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/README.md +38 -22
  3. package/build/protos/google/cloud/discoveryengine/v1/common.proto +100 -0
  4. package/build/protos/google/cloud/discoveryengine/v1/completion_service.proto +116 -0
  5. package/build/protos/google/cloud/discoveryengine/v1/document.proto +118 -0
  6. package/build/protos/google/cloud/discoveryengine/v1/document_service.proto +313 -0
  7. package/build/protos/google/cloud/discoveryengine/v1/import_config.proto +334 -0
  8. package/build/protos/google/cloud/discoveryengine/v1/purge_config.proto +86 -0
  9. package/build/protos/google/cloud/discoveryengine/v1/schema.proto +58 -0
  10. package/build/protos/google/cloud/discoveryengine/v1/schema_service.proto +256 -0
  11. package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +289 -0
  12. package/build/protos/google/cloud/discoveryengine/v1/user_event.proto +458 -0
  13. package/build/protos/google/cloud/discoveryengine/v1/user_event_service.proto +133 -0
  14. package/build/protos/google/cloud/discoveryengine/v1beta/import_config.proto +54 -0
  15. package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +29 -4
  16. package/build/protos/protos.d.ts +6589 -0
  17. package/build/protos/protos.js +16050 -1
  18. package/build/protos/protos.json +1807 -0
  19. package/build/src/index.d.ts +18 -19
  20. package/build/src/index.js +9 -9
  21. package/build/src/v1/completion_service_client.d.ts +455 -0
  22. package/build/src/v1/completion_service_client.js +659 -0
  23. package/build/src/v1/completion_service_client_config.json +43 -0
  24. package/build/src/v1/document_service_client.d.ts +995 -0
  25. package/build/src/v1/document_service_client.js +1191 -0
  26. package/build/src/v1/document_service_client_config.json +82 -0
  27. package/build/src/v1/index.d.ts +5 -0
  28. package/build/src/v1/index.js +31 -0
  29. package/build/src/v1/schema_service_client.d.ts +795 -0
  30. package/build/src/v1/schema_service_client.js +1129 -0
  31. package/build/src/v1/schema_service_client_config.json +63 -0
  32. package/build/src/v1/search_service_client.d.ts +857 -0
  33. package/build/src/v1/search_service_client.js +1073 -0
  34. package/build/src/v1/search_service_client_config.json +43 -0
  35. package/build/src/v1/user_event_service_client.d.ts +638 -0
  36. package/build/src/v1/user_event_service_client.js +933 -0
  37. package/build/src/v1/user_event_service_client_config.json +62 -0
  38. package/build/src/v1beta/document_service_client.d.ts +52 -0
  39. package/build/src/v1beta/document_service_client.js +6 -0
  40. package/build/src/v1beta/schema_service_client.js +6 -0
  41. package/build/src/v1beta/search_service_client.d.ts +78 -12
  42. package/build/src/v1beta/search_service_client.js +52 -8
  43. package/build/src/v1beta/user_event_service_client.js +6 -0
  44. package/package.json +2 -2
@@ -0,0 +1,795 @@
1
+ /// <reference types="node" />
2
+ import type * as gax from 'google-gax';
3
+ import type { Callback, CallOptions, Descriptors, ClientOptions, LROperation, PaginationCallback } from 'google-gax';
4
+ import { Transform } from 'stream';
5
+ import * as protos from '../../protos/protos';
6
+ /**
7
+ * Service for managing {@link google.cloud.discoveryengine.v1.Schema|Schema}s.
8
+ * @class
9
+ * @memberof v1
10
+ */
11
+ export declare class SchemaServiceClient {
12
+ private _terminated;
13
+ private _opts;
14
+ private _providedCustomServicePath;
15
+ private _gaxModule;
16
+ private _gaxGrpc;
17
+ private _protos;
18
+ private _defaults;
19
+ auth: gax.GoogleAuth;
20
+ descriptors: Descriptors;
21
+ warn: (code: string, message: string, warnType?: string) => void;
22
+ innerApiCalls: {
23
+ [name: string]: Function;
24
+ };
25
+ pathTemplates: {
26
+ [name: string]: gax.PathTemplate;
27
+ };
28
+ operationsClient: gax.OperationsClient;
29
+ schemaServiceStub?: Promise<{
30
+ [name: string]: Function;
31
+ }>;
32
+ /**
33
+ * Construct an instance of SchemaServiceClient.
34
+ *
35
+ * @param {object} [options] - The configuration object.
36
+ * The options accepted by the constructor are described in detail
37
+ * in [this document](https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#creating-the-client-instance).
38
+ * The common options are:
39
+ * @param {object} [options.credentials] - Credentials object.
40
+ * @param {string} [options.credentials.client_email]
41
+ * @param {string} [options.credentials.private_key]
42
+ * @param {string} [options.email] - Account email address. Required when
43
+ * using a .pem or .p12 keyFilename.
44
+ * @param {string} [options.keyFilename] - Full path to the a .json, .pem, or
45
+ * .p12 key downloaded from the Google Developers Console. If you provide
46
+ * a path to a JSON file, the projectId option below is not necessary.
47
+ * NOTE: .pem and .p12 require you to specify options.email as well.
48
+ * @param {number} [options.port] - The port on which to connect to
49
+ * the remote host.
50
+ * @param {string} [options.projectId] - The project ID from the Google
51
+ * Developer's Console, e.g. 'grape-spaceship-123'. We will also check
52
+ * the environment variable GCLOUD_PROJECT for your project ID. If your
53
+ * app is running in an environment which supports
54
+ * {@link https://developers.google.com/identity/protocols/application-default-credentials Application Default Credentials},
55
+ * your project ID will be detected automatically.
56
+ * @param {string} [options.apiEndpoint] - The domain name of the
57
+ * API remote host.
58
+ * @param {gax.ClientConfig} [options.clientConfig] - Client configuration override.
59
+ * Follows the structure of {@link gapicConfig}.
60
+ * @param {boolean | "rest"} [options.fallback] - Use HTTP fallback mode.
61
+ * Pass "rest" to use HTTP/1.1 REST API instead of gRPC.
62
+ * For more information, please check the
63
+ * {@link https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#http11-rest-api-mode documentation}.
64
+ * @param {gax} [gaxInstance]: loaded instance of `google-gax`. Useful if you
65
+ * need to avoid loading the default gRPC version and want to use the fallback
66
+ * HTTP implementation. Load only fallback version and pass it to the constructor:
67
+ * ```
68
+ * const gax = require('google-gax/build/src/fallback'); // avoids loading google-gax with gRPC
69
+ * const client = new SchemaServiceClient({fallback: 'rest'}, gax);
70
+ * ```
71
+ */
72
+ constructor(opts?: ClientOptions, gaxInstance?: typeof gax | typeof gax.fallback);
73
+ /**
74
+ * Initialize the client.
75
+ * Performs asynchronous operations (such as authentication) and prepares the client.
76
+ * This function will be called automatically when any class method is called for the
77
+ * first time, but if you need to initialize it before calling an actual method,
78
+ * feel free to call initialize() directly.
79
+ *
80
+ * You can await on this method if you want to make sure the client is initialized.
81
+ *
82
+ * @returns {Promise} A promise that resolves to an authenticated service stub.
83
+ */
84
+ initialize(): Promise<{
85
+ [name: string]: Function;
86
+ }>;
87
+ /**
88
+ * The DNS address for this API service.
89
+ * @returns {string} The DNS address for this service.
90
+ */
91
+ static get servicePath(): string;
92
+ /**
93
+ * The DNS address for this API service - same as servicePath(),
94
+ * exists for compatibility reasons.
95
+ * @returns {string} The DNS address for this service.
96
+ */
97
+ static get apiEndpoint(): string;
98
+ /**
99
+ * The port for this API service.
100
+ * @returns {number} The default port for this service.
101
+ */
102
+ static get port(): number;
103
+ /**
104
+ * The scopes needed to make gRPC calls for every method defined
105
+ * in this service.
106
+ * @returns {string[]} List of default scopes.
107
+ */
108
+ static get scopes(): string[];
109
+ getProjectId(): Promise<string>;
110
+ getProjectId(callback: Callback<string, undefined, undefined>): void;
111
+ /**
112
+ * Gets a {@link google.cloud.discoveryengine.v1.Schema|Schema}.
113
+ *
114
+ * @param {Object} request
115
+ * The request object that will be sent.
116
+ * @param {string} request.name
117
+ * Required. The full resource name of the schema, in the format of
118
+ * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}`.
119
+ * @param {object} [options]
120
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
121
+ * @returns {Promise} - The promise which resolves to an array.
122
+ * The first element of the array is an object representing {@link google.cloud.discoveryengine.v1.Schema | Schema}.
123
+ * Please see the
124
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
125
+ * for more details and examples.
126
+ * @example <caption>include:samples/generated/v1/schema_service.get_schema.js</caption>
127
+ * region_tag:discoveryengine_v1_generated_SchemaService_GetSchema_async
128
+ */
129
+ getSchema(request?: protos.google.cloud.discoveryengine.v1.IGetSchemaRequest, options?: CallOptions): Promise<[
130
+ protos.google.cloud.discoveryengine.v1.ISchema,
131
+ protos.google.cloud.discoveryengine.v1.IGetSchemaRequest | undefined,
132
+ {} | undefined
133
+ ]>;
134
+ getSchema(request: protos.google.cloud.discoveryengine.v1.IGetSchemaRequest, options: CallOptions, callback: Callback<protos.google.cloud.discoveryengine.v1.ISchema, protos.google.cloud.discoveryengine.v1.IGetSchemaRequest | null | undefined, {} | null | undefined>): void;
135
+ getSchema(request: protos.google.cloud.discoveryengine.v1.IGetSchemaRequest, callback: Callback<protos.google.cloud.discoveryengine.v1.ISchema, protos.google.cloud.discoveryengine.v1.IGetSchemaRequest | null | undefined, {} | null | undefined>): void;
136
+ /**
137
+ * Creates a {@link google.cloud.discoveryengine.v1.Schema|Schema}.
138
+ *
139
+ * @param {Object} request
140
+ * The request object that will be sent.
141
+ * @param {string} request.parent
142
+ * Required. The parent data store resource name, in the format of
143
+ * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`.
144
+ * @param {google.cloud.discoveryengine.v1.Schema} request.schema
145
+ * Required. The {@link google.cloud.discoveryengine.v1.Schema|Schema} to create.
146
+ * @param {string} request.schemaId
147
+ * Required. The ID to use for the
148
+ * {@link google.cloud.discoveryengine.v1.Schema|Schema}, which will become the
149
+ * final component of the
150
+ * {@link google.cloud.discoveryengine.v1.Schema.name|Schema.name}.
151
+ *
152
+ * This field should conform to
153
+ * [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length
154
+ * limit of 63 characters.
155
+ * @param {object} [options]
156
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
157
+ * @returns {Promise} - The promise which resolves to an array.
158
+ * The first element of the array is an object representing
159
+ * a long running operation. Its `promise()` method returns a promise
160
+ * you can `await` for.
161
+ * Please see the
162
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations)
163
+ * for more details and examples.
164
+ * @example <caption>include:samples/generated/v1/schema_service.create_schema.js</caption>
165
+ * region_tag:discoveryengine_v1_generated_SchemaService_CreateSchema_async
166
+ */
167
+ createSchema(request?: protos.google.cloud.discoveryengine.v1.ICreateSchemaRequest, options?: CallOptions): Promise<[
168
+ LROperation<protos.google.cloud.discoveryengine.v1.ISchema, protos.google.cloud.discoveryengine.v1.ICreateSchemaMetadata>,
169
+ protos.google.longrunning.IOperation | undefined,
170
+ {} | undefined
171
+ ]>;
172
+ createSchema(request: protos.google.cloud.discoveryengine.v1.ICreateSchemaRequest, options: CallOptions, callback: Callback<LROperation<protos.google.cloud.discoveryengine.v1.ISchema, protos.google.cloud.discoveryengine.v1.ICreateSchemaMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
173
+ createSchema(request: protos.google.cloud.discoveryengine.v1.ICreateSchemaRequest, callback: Callback<LROperation<protos.google.cloud.discoveryengine.v1.ISchema, protos.google.cloud.discoveryengine.v1.ICreateSchemaMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
174
+ /**
175
+ * Check the status of the long running operation returned by `createSchema()`.
176
+ * @param {String} name
177
+ * The operation name that will be passed.
178
+ * @returns {Promise} - The promise which resolves to an object.
179
+ * The decoded operation object has result and metadata field to get information from.
180
+ * Please see the
181
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations)
182
+ * for more details and examples.
183
+ * @example <caption>include:samples/generated/v1/schema_service.create_schema.js</caption>
184
+ * region_tag:discoveryengine_v1_generated_SchemaService_CreateSchema_async
185
+ */
186
+ checkCreateSchemaProgress(name: string): Promise<LROperation<protos.google.cloud.discoveryengine.v1.Schema, protos.google.cloud.discoveryengine.v1.CreateSchemaMetadata>>;
187
+ /**
188
+ * Updates a {@link google.cloud.discoveryengine.v1.Schema|Schema}.
189
+ *
190
+ * @param {Object} request
191
+ * The request object that will be sent.
192
+ * @param {google.cloud.discoveryengine.v1.Schema} request.schema
193
+ * Required. The {@link google.cloud.discoveryengine.v1.Schema|Schema} to update.
194
+ * @param {boolean} request.allowMissing
195
+ * If set to true, and the {@link google.cloud.discoveryengine.v1.Schema|Schema} is
196
+ * not found, a new {@link google.cloud.discoveryengine.v1.Schema|Schema} will be
197
+ * created. In this situation, `update_mask` is ignored.
198
+ * @param {object} [options]
199
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
200
+ * @returns {Promise} - The promise which resolves to an array.
201
+ * The first element of the array is an object representing
202
+ * a long running operation. Its `promise()` method returns a promise
203
+ * you can `await` for.
204
+ * Please see the
205
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations)
206
+ * for more details and examples.
207
+ * @example <caption>include:samples/generated/v1/schema_service.update_schema.js</caption>
208
+ * region_tag:discoveryengine_v1_generated_SchemaService_UpdateSchema_async
209
+ */
210
+ updateSchema(request?: protos.google.cloud.discoveryengine.v1.IUpdateSchemaRequest, options?: CallOptions): Promise<[
211
+ LROperation<protos.google.cloud.discoveryengine.v1.ISchema, protos.google.cloud.discoveryengine.v1.IUpdateSchemaMetadata>,
212
+ protos.google.longrunning.IOperation | undefined,
213
+ {} | undefined
214
+ ]>;
215
+ updateSchema(request: protos.google.cloud.discoveryengine.v1.IUpdateSchemaRequest, options: CallOptions, callback: Callback<LROperation<protos.google.cloud.discoveryengine.v1.ISchema, protos.google.cloud.discoveryengine.v1.IUpdateSchemaMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
216
+ updateSchema(request: protos.google.cloud.discoveryengine.v1.IUpdateSchemaRequest, callback: Callback<LROperation<protos.google.cloud.discoveryengine.v1.ISchema, protos.google.cloud.discoveryengine.v1.IUpdateSchemaMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
217
+ /**
218
+ * Check the status of the long running operation returned by `updateSchema()`.
219
+ * @param {String} name
220
+ * The operation name that will be passed.
221
+ * @returns {Promise} - The promise which resolves to an object.
222
+ * The decoded operation object has result and metadata field to get information from.
223
+ * Please see the
224
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations)
225
+ * for more details and examples.
226
+ * @example <caption>include:samples/generated/v1/schema_service.update_schema.js</caption>
227
+ * region_tag:discoveryengine_v1_generated_SchemaService_UpdateSchema_async
228
+ */
229
+ checkUpdateSchemaProgress(name: string): Promise<LROperation<protos.google.cloud.discoveryengine.v1.Schema, protos.google.cloud.discoveryengine.v1.UpdateSchemaMetadata>>;
230
+ /**
231
+ * Deletes a {@link google.cloud.discoveryengine.v1.Schema|Schema}.
232
+ *
233
+ * @param {Object} request
234
+ * The request object that will be sent.
235
+ * @param {string} request.name
236
+ * Required. The full resource name of the schema, in the format of
237
+ * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}`.
238
+ * @param {object} [options]
239
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
240
+ * @returns {Promise} - The promise which resolves to an array.
241
+ * The first element of the array is an object representing
242
+ * a long running operation. Its `promise()` method returns a promise
243
+ * you can `await` for.
244
+ * Please see the
245
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations)
246
+ * for more details and examples.
247
+ * @example <caption>include:samples/generated/v1/schema_service.delete_schema.js</caption>
248
+ * region_tag:discoveryengine_v1_generated_SchemaService_DeleteSchema_async
249
+ */
250
+ deleteSchema(request?: protos.google.cloud.discoveryengine.v1.IDeleteSchemaRequest, options?: CallOptions): Promise<[
251
+ LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.discoveryengine.v1.IDeleteSchemaMetadata>,
252
+ protos.google.longrunning.IOperation | undefined,
253
+ {} | undefined
254
+ ]>;
255
+ deleteSchema(request: protos.google.cloud.discoveryengine.v1.IDeleteSchemaRequest, options: CallOptions, callback: Callback<LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.discoveryengine.v1.IDeleteSchemaMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
256
+ deleteSchema(request: protos.google.cloud.discoveryengine.v1.IDeleteSchemaRequest, callback: Callback<LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.discoveryengine.v1.IDeleteSchemaMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
257
+ /**
258
+ * Check the status of the long running operation returned by `deleteSchema()`.
259
+ * @param {String} name
260
+ * The operation name that will be passed.
261
+ * @returns {Promise} - The promise which resolves to an object.
262
+ * The decoded operation object has result and metadata field to get information from.
263
+ * Please see the
264
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations)
265
+ * for more details and examples.
266
+ * @example <caption>include:samples/generated/v1/schema_service.delete_schema.js</caption>
267
+ * region_tag:discoveryengine_v1_generated_SchemaService_DeleteSchema_async
268
+ */
269
+ checkDeleteSchemaProgress(name: string): Promise<LROperation<protos.google.protobuf.Empty, protos.google.cloud.discoveryengine.v1.DeleteSchemaMetadata>>;
270
+ /**
271
+ * Gets a list of {@link google.cloud.discoveryengine.v1.Schema|Schema}s.
272
+ *
273
+ * @param {Object} request
274
+ * The request object that will be sent.
275
+ * @param {string} request.parent
276
+ * Required. The parent data store resource name, in the format of
277
+ * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`.
278
+ * @param {number} request.pageSize
279
+ * The maximum number of {@link google.cloud.discoveryengine.v1.Schema|Schema}s to
280
+ * return. The service may return fewer than this value.
281
+ *
282
+ * If unspecified, at most 100
283
+ * {@link google.cloud.discoveryengine.v1.Schema|Schema}s will be returned.
284
+ *
285
+ * The maximum value is 1000; values above 1000 will be coerced to 1000.
286
+ * @param {string} request.pageToken
287
+ * A page token, received from a previous
288
+ * {@link google.cloud.discoveryengine.v1.SchemaService.ListSchemas|SchemaService.ListSchemas}
289
+ * call. Provide this to retrieve the subsequent page.
290
+ *
291
+ * When paginating, all other parameters provided to
292
+ * {@link google.cloud.discoveryengine.v1.SchemaService.ListSchemas|SchemaService.ListSchemas}
293
+ * must match the call that provided the page token.
294
+ * @param {object} [options]
295
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
296
+ * @returns {Promise} - The promise which resolves to an array.
297
+ * The first element of the array is Array of {@link google.cloud.discoveryengine.v1.Schema | Schema}.
298
+ * The client library will perform auto-pagination by default: it will call the API as many
299
+ * times as needed and will merge results from all the pages into this array.
300
+ * Note that it can affect your quota.
301
+ * We recommend using `listSchemasAsync()`
302
+ * method described below for async iteration which you can stop as needed.
303
+ * Please see the
304
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
305
+ * for more details and examples.
306
+ */
307
+ listSchemas(request?: protos.google.cloud.discoveryengine.v1.IListSchemasRequest, options?: CallOptions): Promise<[
308
+ protos.google.cloud.discoveryengine.v1.ISchema[],
309
+ protos.google.cloud.discoveryengine.v1.IListSchemasRequest | null,
310
+ protos.google.cloud.discoveryengine.v1.IListSchemasResponse
311
+ ]>;
312
+ listSchemas(request: protos.google.cloud.discoveryengine.v1.IListSchemasRequest, options: CallOptions, callback: PaginationCallback<protos.google.cloud.discoveryengine.v1.IListSchemasRequest, protos.google.cloud.discoveryengine.v1.IListSchemasResponse | null | undefined, protos.google.cloud.discoveryengine.v1.ISchema>): void;
313
+ listSchemas(request: protos.google.cloud.discoveryengine.v1.IListSchemasRequest, callback: PaginationCallback<protos.google.cloud.discoveryengine.v1.IListSchemasRequest, protos.google.cloud.discoveryengine.v1.IListSchemasResponse | null | undefined, protos.google.cloud.discoveryengine.v1.ISchema>): void;
314
+ /**
315
+ * Equivalent to `method.name.toCamelCase()`, but returns a NodeJS Stream object.
316
+ * @param {Object} request
317
+ * The request object that will be sent.
318
+ * @param {string} request.parent
319
+ * Required. The parent data store resource name, in the format of
320
+ * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`.
321
+ * @param {number} request.pageSize
322
+ * The maximum number of {@link google.cloud.discoveryengine.v1.Schema|Schema}s to
323
+ * return. The service may return fewer than this value.
324
+ *
325
+ * If unspecified, at most 100
326
+ * {@link google.cloud.discoveryengine.v1.Schema|Schema}s will be returned.
327
+ *
328
+ * The maximum value is 1000; values above 1000 will be coerced to 1000.
329
+ * @param {string} request.pageToken
330
+ * A page token, received from a previous
331
+ * {@link google.cloud.discoveryengine.v1.SchemaService.ListSchemas|SchemaService.ListSchemas}
332
+ * call. Provide this to retrieve the subsequent page.
333
+ *
334
+ * When paginating, all other parameters provided to
335
+ * {@link google.cloud.discoveryengine.v1.SchemaService.ListSchemas|SchemaService.ListSchemas}
336
+ * must match the call that provided the page token.
337
+ * @param {object} [options]
338
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
339
+ * @returns {Stream}
340
+ * An object stream which emits an object representing {@link google.cloud.discoveryengine.v1.Schema | Schema} on 'data' event.
341
+ * The client library will perform auto-pagination by default: it will call the API as many
342
+ * times as needed. Note that it can affect your quota.
343
+ * We recommend using `listSchemasAsync()`
344
+ * method described below for async iteration which you can stop as needed.
345
+ * Please see the
346
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
347
+ * for more details and examples.
348
+ */
349
+ listSchemasStream(request?: protos.google.cloud.discoveryengine.v1.IListSchemasRequest, options?: CallOptions): Transform;
350
+ /**
351
+ * Equivalent to `listSchemas`, but returns an iterable object.
352
+ *
353
+ * `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
354
+ * @param {Object} request
355
+ * The request object that will be sent.
356
+ * @param {string} request.parent
357
+ * Required. The parent data store resource name, in the format of
358
+ * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`.
359
+ * @param {number} request.pageSize
360
+ * The maximum number of {@link google.cloud.discoveryengine.v1.Schema|Schema}s to
361
+ * return. The service may return fewer than this value.
362
+ *
363
+ * If unspecified, at most 100
364
+ * {@link google.cloud.discoveryengine.v1.Schema|Schema}s will be returned.
365
+ *
366
+ * The maximum value is 1000; values above 1000 will be coerced to 1000.
367
+ * @param {string} request.pageToken
368
+ * A page token, received from a previous
369
+ * {@link google.cloud.discoveryengine.v1.SchemaService.ListSchemas|SchemaService.ListSchemas}
370
+ * call. Provide this to retrieve the subsequent page.
371
+ *
372
+ * When paginating, all other parameters provided to
373
+ * {@link google.cloud.discoveryengine.v1.SchemaService.ListSchemas|SchemaService.ListSchemas}
374
+ * must match the call that provided the page token.
375
+ * @param {object} [options]
376
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
377
+ * @returns {Object}
378
+ * An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols).
379
+ * When you iterate the returned iterable, each element will be an object representing
380
+ * {@link google.cloud.discoveryengine.v1.Schema | Schema}. The API will be called under the hood as needed, once per the page,
381
+ * so you can stop the iteration when you don't need more results.
382
+ * Please see the
383
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
384
+ * for more details and examples.
385
+ * @example <caption>include:samples/generated/v1/schema_service.list_schemas.js</caption>
386
+ * region_tag:discoveryengine_v1_generated_SchemaService_ListSchemas_async
387
+ */
388
+ listSchemasAsync(request?: protos.google.cloud.discoveryengine.v1.IListSchemasRequest, options?: CallOptions): AsyncIterable<protos.google.cloud.discoveryengine.v1.ISchema>;
389
+ /**
390
+ * Gets the latest state of a long-running operation. Clients can use this
391
+ * method to poll the operation result at intervals as recommended by the API
392
+ * service.
393
+ *
394
+ * @param {Object} request - The request object that will be sent.
395
+ * @param {string} request.name - The name of the operation resource.
396
+ * @param {Object=} options
397
+ * Optional parameters. You can override the default settings for this call,
398
+ * e.g, timeout, retries, paginations, etc. See {@link
399
+ * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions}
400
+ * for the details.
401
+ * @param {function(?Error, ?Object)=} callback
402
+ * The function which will be called with the result of the API call.
403
+ *
404
+ * The second parameter to the callback is an object representing
405
+ * {@link google.longrunning.Operation | google.longrunning.Operation}.
406
+ * @return {Promise} - The promise which resolves to an array.
407
+ * The first element of the array is an object representing
408
+ * {@link google.longrunning.Operation | google.longrunning.Operation}.
409
+ * The promise has a method named "cancel" which cancels the ongoing API call.
410
+ *
411
+ * @example
412
+ * ```
413
+ * const client = longrunning.operationsClient();
414
+ * const name = '';
415
+ * const [response] = await client.getOperation({name});
416
+ * // doThingsWith(response)
417
+ * ```
418
+ */
419
+ getOperation(request: protos.google.longrunning.GetOperationRequest, options?: gax.CallOptions | Callback<protos.google.longrunning.Operation, protos.google.longrunning.GetOperationRequest, {} | null | undefined>, callback?: Callback<protos.google.longrunning.Operation, protos.google.longrunning.GetOperationRequest, {} | null | undefined>): Promise<[protos.google.longrunning.Operation]>;
420
+ /**
421
+ * Lists operations that match the specified filter in the request. If the
422
+ * server doesn't support this method, it returns `UNIMPLEMENTED`. Returns an iterable object.
423
+ *
424
+ * For-await-of syntax is used with the iterable to recursively get response element on-demand.
425
+ *
426
+ * @param {Object} request - The request object that will be sent.
427
+ * @param {string} request.name - The name of the operation collection.
428
+ * @param {string} request.filter - The standard list filter.
429
+ * @param {number=} request.pageSize -
430
+ * The maximum number of resources contained in the underlying API
431
+ * response. If page streaming is performed per-resource, this
432
+ * parameter does not affect the return value. If page streaming is
433
+ * performed per-page, this determines the maximum number of
434
+ * resources in a page.
435
+ * @param {Object=} options
436
+ * Optional parameters. You can override the default settings for this call,
437
+ * e.g, timeout, retries, paginations, etc. See {@link
438
+ * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions} for the
439
+ * details.
440
+ * @returns {Object}
441
+ * An iterable Object that conforms to {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | iteration protocols}.
442
+ *
443
+ * @example
444
+ * ```
445
+ * const client = longrunning.operationsClient();
446
+ * for await (const response of client.listOperationsAsync(request));
447
+ * // doThingsWith(response)
448
+ * ```
449
+ */
450
+ listOperationsAsync(request: protos.google.longrunning.ListOperationsRequest, options?: gax.CallOptions): AsyncIterable<protos.google.longrunning.ListOperationsResponse>;
451
+ /**
452
+ * Starts asynchronous cancellation on a long-running operation. The server
453
+ * makes a best effort to cancel the operation, but success is not
454
+ * guaranteed. If the server doesn't support this method, it returns
455
+ * `google.rpc.Code.UNIMPLEMENTED`. Clients can use
456
+ * {@link Operations.GetOperation} or
457
+ * other methods to check whether the cancellation succeeded or whether the
458
+ * operation completed despite cancellation. On successful cancellation,
459
+ * the operation is not deleted; instead, it becomes an operation with
460
+ * an {@link Operation.error} value with a {@link google.rpc.Status.code} of
461
+ * 1, corresponding to `Code.CANCELLED`.
462
+ *
463
+ * @param {Object} request - The request object that will be sent.
464
+ * @param {string} request.name - The name of the operation resource to be cancelled.
465
+ * @param {Object=} options
466
+ * Optional parameters. You can override the default settings for this call,
467
+ * e.g, timeout, retries, paginations, etc. See {@link
468
+ * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions} for the
469
+ * details.
470
+ * @param {function(?Error)=} callback
471
+ * The function which will be called with the result of the API call.
472
+ * @return {Promise} - The promise which resolves when API call finishes.
473
+ * The promise has a method named "cancel" which cancels the ongoing API
474
+ * call.
475
+ *
476
+ * @example
477
+ * ```
478
+ * const client = longrunning.operationsClient();
479
+ * await client.cancelOperation({name: ''});
480
+ * ```
481
+ */
482
+ cancelOperation(request: protos.google.longrunning.CancelOperationRequest, options?: gax.CallOptions | Callback<protos.google.protobuf.Empty, protos.google.longrunning.CancelOperationRequest, {} | undefined | null>, callback?: Callback<protos.google.longrunning.CancelOperationRequest, protos.google.protobuf.Empty, {} | undefined | null>): Promise<protos.google.protobuf.Empty>;
483
+ /**
484
+ * Deletes a long-running operation. This method indicates that the client is
485
+ * no longer interested in the operation result. It does not cancel the
486
+ * operation. If the server doesn't support this method, it returns
487
+ * `google.rpc.Code.UNIMPLEMENTED`.
488
+ *
489
+ * @param {Object} request - The request object that will be sent.
490
+ * @param {string} request.name - The name of the operation resource to be deleted.
491
+ * @param {Object=} options
492
+ * Optional parameters. You can override the default settings for this call,
493
+ * e.g, timeout, retries, paginations, etc. See {@link
494
+ * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions}
495
+ * for the details.
496
+ * @param {function(?Error)=} callback
497
+ * The function which will be called with the result of the API call.
498
+ * @return {Promise} - The promise which resolves when API call finishes.
499
+ * The promise has a method named "cancel" which cancels the ongoing API
500
+ * call.
501
+ *
502
+ * @example
503
+ * ```
504
+ * const client = longrunning.operationsClient();
505
+ * await client.deleteOperation({name: ''});
506
+ * ```
507
+ */
508
+ deleteOperation(request: protos.google.longrunning.DeleteOperationRequest, options?: gax.CallOptions | Callback<protos.google.protobuf.Empty, protos.google.longrunning.DeleteOperationRequest, {} | null | undefined>, callback?: Callback<protos.google.protobuf.Empty, protos.google.longrunning.DeleteOperationRequest, {} | null | undefined>): Promise<protos.google.protobuf.Empty>;
509
+ /**
510
+ * Return a fully-qualified projectLocationCollectionDataStore resource name string.
511
+ *
512
+ * @param {string} project
513
+ * @param {string} location
514
+ * @param {string} collection
515
+ * @param {string} data_store
516
+ * @returns {string} Resource name string.
517
+ */
518
+ projectLocationCollectionDataStorePath(project: string, location: string, collection: string, dataStore: string): string;
519
+ /**
520
+ * Parse the project from ProjectLocationCollectionDataStore resource.
521
+ *
522
+ * @param {string} projectLocationCollectionDataStoreName
523
+ * A fully-qualified path representing project_location_collection_data_store resource.
524
+ * @returns {string} A string representing the project.
525
+ */
526
+ matchProjectFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName: string): string | number;
527
+ /**
528
+ * Parse the location from ProjectLocationCollectionDataStore resource.
529
+ *
530
+ * @param {string} projectLocationCollectionDataStoreName
531
+ * A fully-qualified path representing project_location_collection_data_store resource.
532
+ * @returns {string} A string representing the location.
533
+ */
534
+ matchLocationFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName: string): string | number;
535
+ /**
536
+ * Parse the collection from ProjectLocationCollectionDataStore resource.
537
+ *
538
+ * @param {string} projectLocationCollectionDataStoreName
539
+ * A fully-qualified path representing project_location_collection_data_store resource.
540
+ * @returns {string} A string representing the collection.
541
+ */
542
+ matchCollectionFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName: string): string | number;
543
+ /**
544
+ * Parse the data_store from ProjectLocationCollectionDataStore resource.
545
+ *
546
+ * @param {string} projectLocationCollectionDataStoreName
547
+ * A fully-qualified path representing project_location_collection_data_store resource.
548
+ * @returns {string} A string representing the data_store.
549
+ */
550
+ matchDataStoreFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName: string): string | number;
551
+ /**
552
+ * Return a fully-qualified projectLocationCollectionDataStoreBranchDocument resource name string.
553
+ *
554
+ * @param {string} project
555
+ * @param {string} location
556
+ * @param {string} collection
557
+ * @param {string} data_store
558
+ * @param {string} branch
559
+ * @param {string} document
560
+ * @returns {string} Resource name string.
561
+ */
562
+ projectLocationCollectionDataStoreBranchDocumentPath(project: string, location: string, collection: string, dataStore: string, branch: string, document: string): string;
563
+ /**
564
+ * Parse the project from ProjectLocationCollectionDataStoreBranchDocument resource.
565
+ *
566
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
567
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
568
+ * @returns {string} A string representing the project.
569
+ */
570
+ matchProjectFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
571
+ /**
572
+ * Parse the location from ProjectLocationCollectionDataStoreBranchDocument resource.
573
+ *
574
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
575
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
576
+ * @returns {string} A string representing the location.
577
+ */
578
+ matchLocationFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
579
+ /**
580
+ * Parse the collection from ProjectLocationCollectionDataStoreBranchDocument resource.
581
+ *
582
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
583
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
584
+ * @returns {string} A string representing the collection.
585
+ */
586
+ matchCollectionFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
587
+ /**
588
+ * Parse the data_store from ProjectLocationCollectionDataStoreBranchDocument resource.
589
+ *
590
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
591
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
592
+ * @returns {string} A string representing the data_store.
593
+ */
594
+ matchDataStoreFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
595
+ /**
596
+ * Parse the branch from ProjectLocationCollectionDataStoreBranchDocument resource.
597
+ *
598
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
599
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
600
+ * @returns {string} A string representing the branch.
601
+ */
602
+ matchBranchFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
603
+ /**
604
+ * Parse the document from ProjectLocationCollectionDataStoreBranchDocument resource.
605
+ *
606
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
607
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
608
+ * @returns {string} A string representing the document.
609
+ */
610
+ matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
611
+ /**
612
+ * Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
613
+ *
614
+ * @param {string} project
615
+ * @param {string} location
616
+ * @param {string} collection
617
+ * @param {string} data_store
618
+ * @param {string} schema
619
+ * @returns {string} Resource name string.
620
+ */
621
+ projectLocationCollectionDataStoreSchemaPath(project: string, location: string, collection: string, dataStore: string, schema: string): string;
622
+ /**
623
+ * Parse the project from ProjectLocationCollectionDataStoreSchema resource.
624
+ *
625
+ * @param {string} projectLocationCollectionDataStoreSchemaName
626
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
627
+ * @returns {string} A string representing the project.
628
+ */
629
+ matchProjectFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
630
+ /**
631
+ * Parse the location from ProjectLocationCollectionDataStoreSchema resource.
632
+ *
633
+ * @param {string} projectLocationCollectionDataStoreSchemaName
634
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
635
+ * @returns {string} A string representing the location.
636
+ */
637
+ matchLocationFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
638
+ /**
639
+ * Parse the collection from ProjectLocationCollectionDataStoreSchema resource.
640
+ *
641
+ * @param {string} projectLocationCollectionDataStoreSchemaName
642
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
643
+ * @returns {string} A string representing the collection.
644
+ */
645
+ matchCollectionFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
646
+ /**
647
+ * Parse the data_store from ProjectLocationCollectionDataStoreSchema resource.
648
+ *
649
+ * @param {string} projectLocationCollectionDataStoreSchemaName
650
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
651
+ * @returns {string} A string representing the data_store.
652
+ */
653
+ matchDataStoreFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
654
+ /**
655
+ * Parse the schema from ProjectLocationCollectionDataStoreSchema resource.
656
+ *
657
+ * @param {string} projectLocationCollectionDataStoreSchemaName
658
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
659
+ * @returns {string} A string representing the schema.
660
+ */
661
+ matchSchemaFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
662
+ /**
663
+ * Return a fully-qualified projectLocationDataStore resource name string.
664
+ *
665
+ * @param {string} project
666
+ * @param {string} location
667
+ * @param {string} data_store
668
+ * @returns {string} Resource name string.
669
+ */
670
+ projectLocationDataStorePath(project: string, location: string, dataStore: string): string;
671
+ /**
672
+ * Parse the project from ProjectLocationDataStore resource.
673
+ *
674
+ * @param {string} projectLocationDataStoreName
675
+ * A fully-qualified path representing project_location_data_store resource.
676
+ * @returns {string} A string representing the project.
677
+ */
678
+ matchProjectFromProjectLocationDataStoreName(projectLocationDataStoreName: string): string | number;
679
+ /**
680
+ * Parse the location from ProjectLocationDataStore resource.
681
+ *
682
+ * @param {string} projectLocationDataStoreName
683
+ * A fully-qualified path representing project_location_data_store resource.
684
+ * @returns {string} A string representing the location.
685
+ */
686
+ matchLocationFromProjectLocationDataStoreName(projectLocationDataStoreName: string): string | number;
687
+ /**
688
+ * Parse the data_store from ProjectLocationDataStore resource.
689
+ *
690
+ * @param {string} projectLocationDataStoreName
691
+ * A fully-qualified path representing project_location_data_store resource.
692
+ * @returns {string} A string representing the data_store.
693
+ */
694
+ matchDataStoreFromProjectLocationDataStoreName(projectLocationDataStoreName: string): string | number;
695
+ /**
696
+ * Return a fully-qualified projectLocationDataStoreBranchDocument resource name string.
697
+ *
698
+ * @param {string} project
699
+ * @param {string} location
700
+ * @param {string} data_store
701
+ * @param {string} branch
702
+ * @param {string} document
703
+ * @returns {string} Resource name string.
704
+ */
705
+ projectLocationDataStoreBranchDocumentPath(project: string, location: string, dataStore: string, branch: string, document: string): string;
706
+ /**
707
+ * Parse the project from ProjectLocationDataStoreBranchDocument resource.
708
+ *
709
+ * @param {string} projectLocationDataStoreBranchDocumentName
710
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
711
+ * @returns {string} A string representing the project.
712
+ */
713
+ matchProjectFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
714
+ /**
715
+ * Parse the location from ProjectLocationDataStoreBranchDocument resource.
716
+ *
717
+ * @param {string} projectLocationDataStoreBranchDocumentName
718
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
719
+ * @returns {string} A string representing the location.
720
+ */
721
+ matchLocationFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
722
+ /**
723
+ * Parse the data_store from ProjectLocationDataStoreBranchDocument resource.
724
+ *
725
+ * @param {string} projectLocationDataStoreBranchDocumentName
726
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
727
+ * @returns {string} A string representing the data_store.
728
+ */
729
+ matchDataStoreFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
730
+ /**
731
+ * Parse the branch from ProjectLocationDataStoreBranchDocument resource.
732
+ *
733
+ * @param {string} projectLocationDataStoreBranchDocumentName
734
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
735
+ * @returns {string} A string representing the branch.
736
+ */
737
+ matchBranchFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
738
+ /**
739
+ * Parse the document from ProjectLocationDataStoreBranchDocument resource.
740
+ *
741
+ * @param {string} projectLocationDataStoreBranchDocumentName
742
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
743
+ * @returns {string} A string representing the document.
744
+ */
745
+ matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
746
+ /**
747
+ * Return a fully-qualified projectLocationDataStoreSchema resource name string.
748
+ *
749
+ * @param {string} project
750
+ * @param {string} location
751
+ * @param {string} data_store
752
+ * @param {string} schema
753
+ * @returns {string} Resource name string.
754
+ */
755
+ projectLocationDataStoreSchemaPath(project: string, location: string, dataStore: string, schema: string): string;
756
+ /**
757
+ * Parse the project from ProjectLocationDataStoreSchema resource.
758
+ *
759
+ * @param {string} projectLocationDataStoreSchemaName
760
+ * A fully-qualified path representing project_location_data_store_schema resource.
761
+ * @returns {string} A string representing the project.
762
+ */
763
+ matchProjectFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName: string): string | number;
764
+ /**
765
+ * Parse the location from ProjectLocationDataStoreSchema resource.
766
+ *
767
+ * @param {string} projectLocationDataStoreSchemaName
768
+ * A fully-qualified path representing project_location_data_store_schema resource.
769
+ * @returns {string} A string representing the location.
770
+ */
771
+ matchLocationFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName: string): string | number;
772
+ /**
773
+ * Parse the data_store from ProjectLocationDataStoreSchema resource.
774
+ *
775
+ * @param {string} projectLocationDataStoreSchemaName
776
+ * A fully-qualified path representing project_location_data_store_schema resource.
777
+ * @returns {string} A string representing the data_store.
778
+ */
779
+ matchDataStoreFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName: string): string | number;
780
+ /**
781
+ * Parse the schema from ProjectLocationDataStoreSchema resource.
782
+ *
783
+ * @param {string} projectLocationDataStoreSchemaName
784
+ * A fully-qualified path representing project_location_data_store_schema resource.
785
+ * @returns {string} A string representing the schema.
786
+ */
787
+ matchSchemaFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName: string): string | number;
788
+ /**
789
+ * Terminate the gRPC channel and close the client.
790
+ *
791
+ * The client will no longer be usable and all future behavior is undefined.
792
+ * @returns {Promise} A promise that resolves when the client is closed.
793
+ */
794
+ close(): Promise<void>;
795
+ }