@google-cloud/discoveryengine 1.1.0 → 1.3.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 (59) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +39 -0
  3. package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +190 -0
  4. package/build/protos/google/cloud/discoveryengine/v1alpha/completion_service.proto +134 -0
  5. package/build/protos/google/cloud/discoveryengine/v1alpha/conversation.proto +138 -0
  6. package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +306 -0
  7. package/build/protos/google/cloud/discoveryengine/v1alpha/data_store.proto +98 -0
  8. package/build/protos/google/cloud/discoveryengine/v1alpha/data_store_service.proto +307 -0
  9. package/build/protos/google/cloud/discoveryengine/v1alpha/document.proto +121 -0
  10. package/build/protos/google/cloud/discoveryengine/v1alpha/document_service.proto +318 -0
  11. package/build/protos/google/cloud/discoveryengine/v1alpha/engine.proto +370 -0
  12. package/build/protos/google/cloud/discoveryengine/v1alpha/engine_service.proto +336 -0
  13. package/build/protos/google/cloud/discoveryengine/v1alpha/import_config.proto +343 -0
  14. package/build/protos/google/cloud/discoveryengine/v1alpha/purge_config.proto +159 -0
  15. package/build/protos/google/cloud/discoveryengine/v1alpha/recommendation_service.proto +227 -0
  16. package/build/protos/google/cloud/discoveryengine/v1alpha/schema.proto +312 -0
  17. package/build/protos/google/cloud/discoveryengine/v1alpha/schema_service.proto +260 -0
  18. package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +874 -0
  19. package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine_service.proto +152 -0
  20. package/build/protos/google/cloud/discoveryengine/v1alpha/user_event.proto +475 -0
  21. package/build/protos/google/cloud/discoveryengine/v1alpha/user_event_service.proto +154 -0
  22. package/build/protos/protos.d.ts +16365 -7
  23. package/build/protos/protos.js +42499 -1945
  24. package/build/protos/protos.json +4455 -5
  25. package/build/src/index.d.ts +3 -1
  26. package/build/src/index.js +4 -1
  27. package/build/src/v1alpha/completion_service_client.d.ts +645 -0
  28. package/build/src/v1alpha/completion_service_client.js +901 -0
  29. package/build/src/v1alpha/completion_service_client_config.json +43 -0
  30. package/build/src/v1alpha/conversational_search_service_client.d.ts +1040 -0
  31. package/build/src/v1alpha/conversational_search_service_client.js +1333 -0
  32. package/build/src/v1alpha/conversational_search_service_client_config.json +68 -0
  33. package/build/src/v1alpha/data_store_service_client.d.ts +1060 -0
  34. package/build/src/v1alpha/data_store_service_client.js +1431 -0
  35. package/build/src/v1alpha/data_store_service_client_config.json +46 -0
  36. package/build/src/v1alpha/document_service_client.d.ts +1257 -0
  37. package/build/src/v1alpha/document_service_client.js +1555 -0
  38. package/build/src/v1alpha/document_service_client_config.json +82 -0
  39. package/build/src/v1alpha/engine_service_client.d.ts +1079 -0
  40. package/build/src/v1alpha/engine_service_client.js +1481 -0
  41. package/build/src/v1alpha/engine_service_client_config.json +58 -0
  42. package/build/src/v1alpha/index.d.ts +10 -0
  43. package/build/src/v1alpha/index.js +41 -0
  44. package/build/src/v1alpha/recommendation_service_client.d.ts +858 -0
  45. package/build/src/v1alpha/recommendation_service_client.js +1100 -0
  46. package/build/src/v1alpha/recommendation_service_client_config.json +43 -0
  47. package/build/src/v1alpha/schema_service_client.d.ts +977 -0
  48. package/build/src/v1alpha/schema_service_client.js +1385 -0
  49. package/build/src/v1alpha/schema_service_client_config.json +63 -0
  50. package/build/src/v1alpha/search_service_client.d.ts +1394 -0
  51. package/build/src/v1alpha/search_service_client.js +1640 -0
  52. package/build/src/v1alpha/search_service_client_config.json +43 -0
  53. package/build/src/v1alpha/site_search_engine_service_client.d.ts +821 -0
  54. package/build/src/v1alpha/site_search_engine_service_client.js +1249 -0
  55. package/build/src/v1alpha/site_search_engine_service_client_config.json +30 -0
  56. package/build/src/v1alpha/user_event_service_client.d.ts +895 -0
  57. package/build/src/v1alpha/user_event_service_client.js +1232 -0
  58. package/build/src/v1alpha/user_event_service_client_config.json +67 -0
  59. package/package.json +5 -5
@@ -0,0 +1,645 @@
1
+ import type * as gax from 'google-gax';
2
+ import type { Callback, CallOptions, Descriptors, ClientOptions, LocationsClient, LocationProtos } from 'google-gax';
3
+ import * as protos from '../../protos/protos';
4
+ /**
5
+ * Service for Auto-Completion.
6
+ * @class
7
+ * @memberof v1alpha
8
+ */
9
+ export declare class CompletionServiceClient {
10
+ private _terminated;
11
+ private _opts;
12
+ private _providedCustomServicePath;
13
+ private _gaxModule;
14
+ private _gaxGrpc;
15
+ private _protos;
16
+ private _defaults;
17
+ auth: gax.GoogleAuth;
18
+ descriptors: Descriptors;
19
+ warn: (code: string, message: string, warnType?: string) => void;
20
+ innerApiCalls: {
21
+ [name: string]: Function;
22
+ };
23
+ locationsClient: LocationsClient;
24
+ pathTemplates: {
25
+ [name: string]: gax.PathTemplate;
26
+ };
27
+ completionServiceStub?: Promise<{
28
+ [name: string]: Function;
29
+ }>;
30
+ /**
31
+ * Construct an instance of CompletionServiceClient.
32
+ *
33
+ * @param {object} [options] - The configuration object.
34
+ * The options accepted by the constructor are described in detail
35
+ * in [this document](https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#creating-the-client-instance).
36
+ * The common options are:
37
+ * @param {object} [options.credentials] - Credentials object.
38
+ * @param {string} [options.credentials.client_email]
39
+ * @param {string} [options.credentials.private_key]
40
+ * @param {string} [options.email] - Account email address. Required when
41
+ * using a .pem or .p12 keyFilename.
42
+ * @param {string} [options.keyFilename] - Full path to the a .json, .pem, or
43
+ * .p12 key downloaded from the Google Developers Console. If you provide
44
+ * a path to a JSON file, the projectId option below is not necessary.
45
+ * NOTE: .pem and .p12 require you to specify options.email as well.
46
+ * @param {number} [options.port] - The port on which to connect to
47
+ * the remote host.
48
+ * @param {string} [options.projectId] - The project ID from the Google
49
+ * Developer's Console, e.g. 'grape-spaceship-123'. We will also check
50
+ * the environment variable GCLOUD_PROJECT for your project ID. If your
51
+ * app is running in an environment which supports
52
+ * {@link https://developers.google.com/identity/protocols/application-default-credentials Application Default Credentials},
53
+ * your project ID will be detected automatically.
54
+ * @param {string} [options.apiEndpoint] - The domain name of the
55
+ * API remote host.
56
+ * @param {gax.ClientConfig} [options.clientConfig] - Client configuration override.
57
+ * Follows the structure of {@link gapicConfig}.
58
+ * @param {boolean} [options.fallback] - Use HTTP/1.1 REST mode.
59
+ * For more information, please check the
60
+ * {@link https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#http11-rest-api-mode documentation}.
61
+ * @param {gax} [gaxInstance]: loaded instance of `google-gax`. Useful if you
62
+ * need to avoid loading the default gRPC version and want to use the fallback
63
+ * HTTP implementation. Load only fallback version and pass it to the constructor:
64
+ * ```
65
+ * const gax = require('google-gax/build/src/fallback'); // avoids loading google-gax with gRPC
66
+ * const client = new CompletionServiceClient({fallback: true}, gax);
67
+ * ```
68
+ */
69
+ constructor(opts?: ClientOptions, gaxInstance?: typeof gax | typeof gax.fallback);
70
+ /**
71
+ * Initialize the client.
72
+ * Performs asynchronous operations (such as authentication) and prepares the client.
73
+ * This function will be called automatically when any class method is called for the
74
+ * first time, but if you need to initialize it before calling an actual method,
75
+ * feel free to call initialize() directly.
76
+ *
77
+ * You can await on this method if you want to make sure the client is initialized.
78
+ *
79
+ * @returns {Promise} A promise that resolves to an authenticated service stub.
80
+ */
81
+ initialize(): Promise<{
82
+ [name: string]: Function;
83
+ }>;
84
+ /**
85
+ * The DNS address for this API service.
86
+ * @returns {string} The DNS address for this service.
87
+ */
88
+ static get servicePath(): string;
89
+ /**
90
+ * The DNS address for this API service - same as servicePath(),
91
+ * exists for compatibility reasons.
92
+ * @returns {string} The DNS address for this service.
93
+ */
94
+ static get apiEndpoint(): string;
95
+ /**
96
+ * The port for this API service.
97
+ * @returns {number} The default port for this service.
98
+ */
99
+ static get port(): number;
100
+ /**
101
+ * The scopes needed to make gRPC calls for every method defined
102
+ * in this service.
103
+ * @returns {string[]} List of default scopes.
104
+ */
105
+ static get scopes(): string[];
106
+ getProjectId(): Promise<string>;
107
+ getProjectId(callback: Callback<string, undefined, undefined>): void;
108
+ /**
109
+ * Completes the specified user input with keyword suggestions.
110
+ *
111
+ * @param {Object} request
112
+ * The request object that will be sent.
113
+ * @param {string} request.dataStore
114
+ * Required. The parent data store resource name for which the completion is
115
+ * performed, such as
116
+ * `projects/* /locations/global/collections/default_collection/dataStores/default_data_store`.
117
+ * @param {string} request.query
118
+ * Required. The typeahead input used to fetch suggestions. Maximum length is
119
+ * 128 characters.
120
+ * @param {string} request.queryModel
121
+ * Selects data model of query suggestions for serving. Currently supported
122
+ * values:
123
+ *
124
+ * * `document` - Using suggestions generated from user-imported documents.
125
+ * * `search-history` - Using suggestions generated from the past history of
126
+ * {@link protos.google.cloud.discoveryengine.v1alpha.SearchService.Search|SearchService.Search}
127
+ * API calls. Do not use it when there is no traffic for Search API.
128
+ * * `user-event` - Using suggestions generated from user-imported search
129
+ * events.
130
+ * * `document-completable` - Using suggestions taken directly from
131
+ * user-imported document fields marked as completable.
132
+ *
133
+ * Default values:
134
+ *
135
+ * * `document` is the default model for regular dataStores.
136
+ * * `search-history` is the default model for site search dataStores.
137
+ * @param {string} request.userPseudoId
138
+ * A unique identifier for tracking visitors. For example, this could be
139
+ * implemented with an HTTP cookie, which should be able to uniquely identify
140
+ * a visitor on a single device. This unique identifier should not change if
141
+ * the visitor logs in or out of the website.
142
+ *
143
+ * This field should NOT have a fixed value such as `unknown_visitor`.
144
+ *
145
+ * This should be the same identifier as
146
+ * {@link protos.google.cloud.discoveryengine.v1alpha.UserEvent.user_pseudo_id|UserEvent.user_pseudo_id}
147
+ * and
148
+ * {@link protos.google.cloud.discoveryengine.v1alpha.SearchRequest.user_pseudo_id|SearchRequest.user_pseudo_id}.
149
+ *
150
+ * The field must be a UTF-8 encoded string with a length limit of 128
151
+ * characters. Otherwise, an `INVALID_ARGUMENT` error is returned.
152
+ * @param {boolean} request.includeTailSuggestions
153
+ * Indicates if tail suggestions should be returned if there are no
154
+ * suggestions that match the full query. Even if set to true, if there are
155
+ * suggestions that match the full query, those are returned and no
156
+ * tail suggestions are returned.
157
+ * @param {object} [options]
158
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
159
+ * @returns {Promise} - The promise which resolves to an array.
160
+ * The first element of the array is an object representing {@link protos.google.cloud.discoveryengine.v1alpha.CompleteQueryResponse|CompleteQueryResponse}.
161
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
162
+ * for more details and examples.
163
+ * @example <caption>include:samples/generated/v1alpha/completion_service.complete_query.js</caption>
164
+ * region_tag:discoveryengine_v1alpha_generated_CompletionService_CompleteQuery_async
165
+ */
166
+ completeQuery(request?: protos.google.cloud.discoveryengine.v1alpha.ICompleteQueryRequest, options?: CallOptions): Promise<[
167
+ protos.google.cloud.discoveryengine.v1alpha.ICompleteQueryResponse,
168
+ (protos.google.cloud.discoveryengine.v1alpha.ICompleteQueryRequest | undefined),
169
+ {} | undefined
170
+ ]>;
171
+ completeQuery(request: protos.google.cloud.discoveryengine.v1alpha.ICompleteQueryRequest, options: CallOptions, callback: Callback<protos.google.cloud.discoveryengine.v1alpha.ICompleteQueryResponse, protos.google.cloud.discoveryengine.v1alpha.ICompleteQueryRequest | null | undefined, {} | null | undefined>): void;
172
+ completeQuery(request: protos.google.cloud.discoveryengine.v1alpha.ICompleteQueryRequest, callback: Callback<protos.google.cloud.discoveryengine.v1alpha.ICompleteQueryResponse, protos.google.cloud.discoveryengine.v1alpha.ICompleteQueryRequest | null | undefined, {} | null | undefined>): void;
173
+ /**
174
+ * Gets information about a location.
175
+ *
176
+ * @param {Object} request
177
+ * The request object that will be sent.
178
+ * @param {string} request.name
179
+ * Resource name for the location.
180
+ * @param {object} [options]
181
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html | CallOptions} for more details.
182
+ * @returns {Promise} - The promise which resolves to an array.
183
+ * The first element of the array is an object representing {@link google.cloud.location.Location | Location}.
184
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
185
+ * for more details and examples.
186
+ * @example
187
+ * ```
188
+ * const [response] = await client.getLocation(request);
189
+ * ```
190
+ */
191
+ getLocation(request: LocationProtos.google.cloud.location.IGetLocationRequest, options?: gax.CallOptions | Callback<LocationProtos.google.cloud.location.ILocation, LocationProtos.google.cloud.location.IGetLocationRequest | null | undefined, {} | null | undefined>, callback?: Callback<LocationProtos.google.cloud.location.ILocation, LocationProtos.google.cloud.location.IGetLocationRequest | null | undefined, {} | null | undefined>): Promise<LocationProtos.google.cloud.location.ILocation>;
192
+ /**
193
+ * Lists information about the supported locations for this service. Returns an iterable object.
194
+ *
195
+ * `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
196
+ * @param {Object} request
197
+ * The request object that will be sent.
198
+ * @param {string} request.name
199
+ * The resource that owns the locations collection, if applicable.
200
+ * @param {string} request.filter
201
+ * The standard list filter.
202
+ * @param {number} request.pageSize
203
+ * The standard list page size.
204
+ * @param {string} request.pageToken
205
+ * The standard list page token.
206
+ * @param {object} [options]
207
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
208
+ * @returns {Object}
209
+ * An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
210
+ * When you iterate the returned iterable, each element will be an object representing
211
+ * {@link google.cloud.location.Location | Location}. The API will be called under the hood as needed, once per the page,
212
+ * so you can stop the iteration when you don't need more results.
213
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
214
+ * for more details and examples.
215
+ * @example
216
+ * ```
217
+ * const iterable = client.listLocationsAsync(request);
218
+ * for await (const response of iterable) {
219
+ * // process response
220
+ * }
221
+ * ```
222
+ */
223
+ listLocationsAsync(request: LocationProtos.google.cloud.location.IListLocationsRequest, options?: CallOptions): AsyncIterable<LocationProtos.google.cloud.location.ILocation>;
224
+ /**
225
+ * Return a fully-qualified engine resource name string.
226
+ *
227
+ * @param {string} project
228
+ * @param {string} location
229
+ * @param {string} collection
230
+ * @param {string} engine
231
+ * @returns {string} Resource name string.
232
+ */
233
+ enginePath(project: string, location: string, collection: string, engine: string): string;
234
+ /**
235
+ * Parse the project from Engine resource.
236
+ *
237
+ * @param {string} engineName
238
+ * A fully-qualified path representing Engine resource.
239
+ * @returns {string} A string representing the project.
240
+ */
241
+ matchProjectFromEngineName(engineName: string): string | number;
242
+ /**
243
+ * Parse the location from Engine resource.
244
+ *
245
+ * @param {string} engineName
246
+ * A fully-qualified path representing Engine resource.
247
+ * @returns {string} A string representing the location.
248
+ */
249
+ matchLocationFromEngineName(engineName: string): string | number;
250
+ /**
251
+ * Parse the collection from Engine resource.
252
+ *
253
+ * @param {string} engineName
254
+ * A fully-qualified path representing Engine resource.
255
+ * @returns {string} A string representing the collection.
256
+ */
257
+ matchCollectionFromEngineName(engineName: string): string | number;
258
+ /**
259
+ * Parse the engine from Engine resource.
260
+ *
261
+ * @param {string} engineName
262
+ * A fully-qualified path representing Engine resource.
263
+ * @returns {string} A string representing the engine.
264
+ */
265
+ matchEngineFromEngineName(engineName: string): string | number;
266
+ /**
267
+ * Return a fully-qualified projectLocationCollectionDataStore resource name string.
268
+ *
269
+ * @param {string} project
270
+ * @param {string} location
271
+ * @param {string} collection
272
+ * @param {string} data_store
273
+ * @returns {string} Resource name string.
274
+ */
275
+ projectLocationCollectionDataStorePath(project: string, location: string, collection: string, dataStore: string): string;
276
+ /**
277
+ * Parse the project from ProjectLocationCollectionDataStore resource.
278
+ *
279
+ * @param {string} projectLocationCollectionDataStoreName
280
+ * A fully-qualified path representing project_location_collection_data_store resource.
281
+ * @returns {string} A string representing the project.
282
+ */
283
+ matchProjectFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName: string): string | number;
284
+ /**
285
+ * Parse the location from ProjectLocationCollectionDataStore resource.
286
+ *
287
+ * @param {string} projectLocationCollectionDataStoreName
288
+ * A fully-qualified path representing project_location_collection_data_store resource.
289
+ * @returns {string} A string representing the location.
290
+ */
291
+ matchLocationFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName: string): string | number;
292
+ /**
293
+ * Parse the collection from ProjectLocationCollectionDataStore resource.
294
+ *
295
+ * @param {string} projectLocationCollectionDataStoreName
296
+ * A fully-qualified path representing project_location_collection_data_store resource.
297
+ * @returns {string} A string representing the collection.
298
+ */
299
+ matchCollectionFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName: string): string | number;
300
+ /**
301
+ * Parse the data_store from ProjectLocationCollectionDataStore resource.
302
+ *
303
+ * @param {string} projectLocationCollectionDataStoreName
304
+ * A fully-qualified path representing project_location_collection_data_store resource.
305
+ * @returns {string} A string representing the data_store.
306
+ */
307
+ matchDataStoreFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName: string): string | number;
308
+ /**
309
+ * Return a fully-qualified projectLocationCollectionDataStoreBranchDocument resource name string.
310
+ *
311
+ * @param {string} project
312
+ * @param {string} location
313
+ * @param {string} collection
314
+ * @param {string} data_store
315
+ * @param {string} branch
316
+ * @param {string} document
317
+ * @returns {string} Resource name string.
318
+ */
319
+ projectLocationCollectionDataStoreBranchDocumentPath(project: string, location: string, collection: string, dataStore: string, branch: string, document: string): string;
320
+ /**
321
+ * Parse the project from ProjectLocationCollectionDataStoreBranchDocument resource.
322
+ *
323
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
324
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
325
+ * @returns {string} A string representing the project.
326
+ */
327
+ matchProjectFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
328
+ /**
329
+ * Parse the location from ProjectLocationCollectionDataStoreBranchDocument resource.
330
+ *
331
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
332
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
333
+ * @returns {string} A string representing the location.
334
+ */
335
+ matchLocationFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
336
+ /**
337
+ * Parse the collection from ProjectLocationCollectionDataStoreBranchDocument resource.
338
+ *
339
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
340
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
341
+ * @returns {string} A string representing the collection.
342
+ */
343
+ matchCollectionFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
344
+ /**
345
+ * Parse the data_store from ProjectLocationCollectionDataStoreBranchDocument resource.
346
+ *
347
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
348
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
349
+ * @returns {string} A string representing the data_store.
350
+ */
351
+ matchDataStoreFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
352
+ /**
353
+ * Parse the branch from ProjectLocationCollectionDataStoreBranchDocument resource.
354
+ *
355
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
356
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
357
+ * @returns {string} A string representing the branch.
358
+ */
359
+ matchBranchFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
360
+ /**
361
+ * Parse the document from ProjectLocationCollectionDataStoreBranchDocument resource.
362
+ *
363
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
364
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
365
+ * @returns {string} A string representing the document.
366
+ */
367
+ matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
368
+ /**
369
+ * Return a fully-qualified projectLocationCollectionDataStoreConversation resource name string.
370
+ *
371
+ * @param {string} project
372
+ * @param {string} location
373
+ * @param {string} collection
374
+ * @param {string} data_store
375
+ * @param {string} conversation
376
+ * @returns {string} Resource name string.
377
+ */
378
+ projectLocationCollectionDataStoreConversationPath(project: string, location: string, collection: string, dataStore: string, conversation: string): string;
379
+ /**
380
+ * Parse the project from ProjectLocationCollectionDataStoreConversation resource.
381
+ *
382
+ * @param {string} projectLocationCollectionDataStoreConversationName
383
+ * A fully-qualified path representing project_location_collection_data_store_conversation resource.
384
+ * @returns {string} A string representing the project.
385
+ */
386
+ matchProjectFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
387
+ /**
388
+ * Parse the location from ProjectLocationCollectionDataStoreConversation resource.
389
+ *
390
+ * @param {string} projectLocationCollectionDataStoreConversationName
391
+ * A fully-qualified path representing project_location_collection_data_store_conversation resource.
392
+ * @returns {string} A string representing the location.
393
+ */
394
+ matchLocationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
395
+ /**
396
+ * Parse the collection from ProjectLocationCollectionDataStoreConversation resource.
397
+ *
398
+ * @param {string} projectLocationCollectionDataStoreConversationName
399
+ * A fully-qualified path representing project_location_collection_data_store_conversation resource.
400
+ * @returns {string} A string representing the collection.
401
+ */
402
+ matchCollectionFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
403
+ /**
404
+ * Parse the data_store from ProjectLocationCollectionDataStoreConversation resource.
405
+ *
406
+ * @param {string} projectLocationCollectionDataStoreConversationName
407
+ * A fully-qualified path representing project_location_collection_data_store_conversation resource.
408
+ * @returns {string} A string representing the data_store.
409
+ */
410
+ matchDataStoreFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
411
+ /**
412
+ * Parse the conversation from ProjectLocationCollectionDataStoreConversation resource.
413
+ *
414
+ * @param {string} projectLocationCollectionDataStoreConversationName
415
+ * A fully-qualified path representing project_location_collection_data_store_conversation resource.
416
+ * @returns {string} A string representing the conversation.
417
+ */
418
+ matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
419
+ /**
420
+ * Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
421
+ *
422
+ * @param {string} project
423
+ * @param {string} location
424
+ * @param {string} collection
425
+ * @param {string} data_store
426
+ * @param {string} schema
427
+ * @returns {string} Resource name string.
428
+ */
429
+ projectLocationCollectionDataStoreSchemaPath(project: string, location: string, collection: string, dataStore: string, schema: string): string;
430
+ /**
431
+ * Parse the project from ProjectLocationCollectionDataStoreSchema resource.
432
+ *
433
+ * @param {string} projectLocationCollectionDataStoreSchemaName
434
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
435
+ * @returns {string} A string representing the project.
436
+ */
437
+ matchProjectFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
438
+ /**
439
+ * Parse the location from ProjectLocationCollectionDataStoreSchema resource.
440
+ *
441
+ * @param {string} projectLocationCollectionDataStoreSchemaName
442
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
443
+ * @returns {string} A string representing the location.
444
+ */
445
+ matchLocationFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
446
+ /**
447
+ * Parse the collection from ProjectLocationCollectionDataStoreSchema resource.
448
+ *
449
+ * @param {string} projectLocationCollectionDataStoreSchemaName
450
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
451
+ * @returns {string} A string representing the collection.
452
+ */
453
+ matchCollectionFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
454
+ /**
455
+ * Parse the data_store from ProjectLocationCollectionDataStoreSchema resource.
456
+ *
457
+ * @param {string} projectLocationCollectionDataStoreSchemaName
458
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
459
+ * @returns {string} A string representing the data_store.
460
+ */
461
+ matchDataStoreFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
462
+ /**
463
+ * Parse the schema from ProjectLocationCollectionDataStoreSchema resource.
464
+ *
465
+ * @param {string} projectLocationCollectionDataStoreSchemaName
466
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
467
+ * @returns {string} A string representing the schema.
468
+ */
469
+ matchSchemaFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
470
+ /**
471
+ * Return a fully-qualified projectLocationDataStore resource name string.
472
+ *
473
+ * @param {string} project
474
+ * @param {string} location
475
+ * @param {string} data_store
476
+ * @returns {string} Resource name string.
477
+ */
478
+ projectLocationDataStorePath(project: string, location: string, dataStore: string): string;
479
+ /**
480
+ * Parse the project from ProjectLocationDataStore resource.
481
+ *
482
+ * @param {string} projectLocationDataStoreName
483
+ * A fully-qualified path representing project_location_data_store resource.
484
+ * @returns {string} A string representing the project.
485
+ */
486
+ matchProjectFromProjectLocationDataStoreName(projectLocationDataStoreName: string): string | number;
487
+ /**
488
+ * Parse the location from ProjectLocationDataStore resource.
489
+ *
490
+ * @param {string} projectLocationDataStoreName
491
+ * A fully-qualified path representing project_location_data_store resource.
492
+ * @returns {string} A string representing the location.
493
+ */
494
+ matchLocationFromProjectLocationDataStoreName(projectLocationDataStoreName: string): string | number;
495
+ /**
496
+ * Parse the data_store from ProjectLocationDataStore resource.
497
+ *
498
+ * @param {string} projectLocationDataStoreName
499
+ * A fully-qualified path representing project_location_data_store resource.
500
+ * @returns {string} A string representing the data_store.
501
+ */
502
+ matchDataStoreFromProjectLocationDataStoreName(projectLocationDataStoreName: string): string | number;
503
+ /**
504
+ * Return a fully-qualified projectLocationDataStoreBranchDocument resource name string.
505
+ *
506
+ * @param {string} project
507
+ * @param {string} location
508
+ * @param {string} data_store
509
+ * @param {string} branch
510
+ * @param {string} document
511
+ * @returns {string} Resource name string.
512
+ */
513
+ projectLocationDataStoreBranchDocumentPath(project: string, location: string, dataStore: string, branch: string, document: string): string;
514
+ /**
515
+ * Parse the project from ProjectLocationDataStoreBranchDocument resource.
516
+ *
517
+ * @param {string} projectLocationDataStoreBranchDocumentName
518
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
519
+ * @returns {string} A string representing the project.
520
+ */
521
+ matchProjectFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
522
+ /**
523
+ * Parse the location from ProjectLocationDataStoreBranchDocument resource.
524
+ *
525
+ * @param {string} projectLocationDataStoreBranchDocumentName
526
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
527
+ * @returns {string} A string representing the location.
528
+ */
529
+ matchLocationFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
530
+ /**
531
+ * Parse the data_store from ProjectLocationDataStoreBranchDocument resource.
532
+ *
533
+ * @param {string} projectLocationDataStoreBranchDocumentName
534
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
535
+ * @returns {string} A string representing the data_store.
536
+ */
537
+ matchDataStoreFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
538
+ /**
539
+ * Parse the branch from ProjectLocationDataStoreBranchDocument resource.
540
+ *
541
+ * @param {string} projectLocationDataStoreBranchDocumentName
542
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
543
+ * @returns {string} A string representing the branch.
544
+ */
545
+ matchBranchFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
546
+ /**
547
+ * Parse the document from ProjectLocationDataStoreBranchDocument resource.
548
+ *
549
+ * @param {string} projectLocationDataStoreBranchDocumentName
550
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
551
+ * @returns {string} A string representing the document.
552
+ */
553
+ matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
554
+ /**
555
+ * Return a fully-qualified projectLocationDataStoreConversation resource name string.
556
+ *
557
+ * @param {string} project
558
+ * @param {string} location
559
+ * @param {string} data_store
560
+ * @param {string} conversation
561
+ * @returns {string} Resource name string.
562
+ */
563
+ projectLocationDataStoreConversationPath(project: string, location: string, dataStore: string, conversation: string): string;
564
+ /**
565
+ * Parse the project from ProjectLocationDataStoreConversation resource.
566
+ *
567
+ * @param {string} projectLocationDataStoreConversationName
568
+ * A fully-qualified path representing project_location_data_store_conversation resource.
569
+ * @returns {string} A string representing the project.
570
+ */
571
+ matchProjectFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
572
+ /**
573
+ * Parse the location from ProjectLocationDataStoreConversation resource.
574
+ *
575
+ * @param {string} projectLocationDataStoreConversationName
576
+ * A fully-qualified path representing project_location_data_store_conversation resource.
577
+ * @returns {string} A string representing the location.
578
+ */
579
+ matchLocationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
580
+ /**
581
+ * Parse the data_store from ProjectLocationDataStoreConversation resource.
582
+ *
583
+ * @param {string} projectLocationDataStoreConversationName
584
+ * A fully-qualified path representing project_location_data_store_conversation resource.
585
+ * @returns {string} A string representing the data_store.
586
+ */
587
+ matchDataStoreFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
588
+ /**
589
+ * Parse the conversation from ProjectLocationDataStoreConversation resource.
590
+ *
591
+ * @param {string} projectLocationDataStoreConversationName
592
+ * A fully-qualified path representing project_location_data_store_conversation resource.
593
+ * @returns {string} A string representing the conversation.
594
+ */
595
+ matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
596
+ /**
597
+ * Return a fully-qualified projectLocationDataStoreSchema resource name string.
598
+ *
599
+ * @param {string} project
600
+ * @param {string} location
601
+ * @param {string} data_store
602
+ * @param {string} schema
603
+ * @returns {string} Resource name string.
604
+ */
605
+ projectLocationDataStoreSchemaPath(project: string, location: string, dataStore: string, schema: string): string;
606
+ /**
607
+ * Parse the project from ProjectLocationDataStoreSchema resource.
608
+ *
609
+ * @param {string} projectLocationDataStoreSchemaName
610
+ * A fully-qualified path representing project_location_data_store_schema resource.
611
+ * @returns {string} A string representing the project.
612
+ */
613
+ matchProjectFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName: string): string | number;
614
+ /**
615
+ * Parse the location from ProjectLocationDataStoreSchema resource.
616
+ *
617
+ * @param {string} projectLocationDataStoreSchemaName
618
+ * A fully-qualified path representing project_location_data_store_schema resource.
619
+ * @returns {string} A string representing the location.
620
+ */
621
+ matchLocationFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName: string): string | number;
622
+ /**
623
+ * Parse the data_store from ProjectLocationDataStoreSchema resource.
624
+ *
625
+ * @param {string} projectLocationDataStoreSchemaName
626
+ * A fully-qualified path representing project_location_data_store_schema resource.
627
+ * @returns {string} A string representing the data_store.
628
+ */
629
+ matchDataStoreFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName: string): string | number;
630
+ /**
631
+ * Parse the schema from ProjectLocationDataStoreSchema resource.
632
+ *
633
+ * @param {string} projectLocationDataStoreSchemaName
634
+ * A fully-qualified path representing project_location_data_store_schema resource.
635
+ * @returns {string} A string representing the schema.
636
+ */
637
+ matchSchemaFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName: string): string | number;
638
+ /**
639
+ * Terminate the gRPC channel and close the client.
640
+ *
641
+ * The client will no longer be usable and all future behavior is undefined.
642
+ * @returns {Promise} A promise that resolves when the client is closed.
643
+ */
644
+ close(): Promise<void>;
645
+ }