@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,1394 @@
1
+ /// <reference types="node" />
2
+ import type * as gax from 'google-gax';
3
+ import type { Callback, CallOptions, Descriptors, ClientOptions, PaginationCallback, LocationsClient, LocationProtos } from 'google-gax';
4
+ import { Transform } from 'stream';
5
+ import * as protos from '../../protos/protos';
6
+ /**
7
+ * Service for search.
8
+ * @class
9
+ * @memberof v1alpha
10
+ */
11
+ export declare class SearchServiceClient {
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
+ locationsClient: LocationsClient;
26
+ pathTemplates: {
27
+ [name: string]: gax.PathTemplate;
28
+ };
29
+ searchServiceStub?: Promise<{
30
+ [name: string]: Function;
31
+ }>;
32
+ /**
33
+ * Construct an instance of SearchServiceClient.
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} [options.fallback] - Use HTTP/1.1 REST mode.
61
+ * For more information, please check the
62
+ * {@link https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#http11-rest-api-mode documentation}.
63
+ * @param {gax} [gaxInstance]: loaded instance of `google-gax`. Useful if you
64
+ * need to avoid loading the default gRPC version and want to use the fallback
65
+ * HTTP implementation. Load only fallback version and pass it to the constructor:
66
+ * ```
67
+ * const gax = require('google-gax/build/src/fallback'); // avoids loading google-gax with gRPC
68
+ * const client = new SearchServiceClient({fallback: true}, gax);
69
+ * ```
70
+ */
71
+ constructor(opts?: ClientOptions, gaxInstance?: typeof gax | typeof gax.fallback);
72
+ /**
73
+ * Initialize the client.
74
+ * Performs asynchronous operations (such as authentication) and prepares the client.
75
+ * This function will be called automatically when any class method is called for the
76
+ * first time, but if you need to initialize it before calling an actual method,
77
+ * feel free to call initialize() directly.
78
+ *
79
+ * You can await on this method if you want to make sure the client is initialized.
80
+ *
81
+ * @returns {Promise} A promise that resolves to an authenticated service stub.
82
+ */
83
+ initialize(): Promise<{
84
+ [name: string]: Function;
85
+ }>;
86
+ /**
87
+ * The DNS address for this API service.
88
+ * @returns {string} The DNS address for this service.
89
+ */
90
+ static get servicePath(): string;
91
+ /**
92
+ * The DNS address for this API service - same as servicePath(),
93
+ * exists for compatibility reasons.
94
+ * @returns {string} The DNS address for this service.
95
+ */
96
+ static get apiEndpoint(): string;
97
+ /**
98
+ * The port for this API service.
99
+ * @returns {number} The default port for this service.
100
+ */
101
+ static get port(): number;
102
+ /**
103
+ * The scopes needed to make gRPC calls for every method defined
104
+ * in this service.
105
+ * @returns {string[]} List of default scopes.
106
+ */
107
+ static get scopes(): string[];
108
+ getProjectId(): Promise<string>;
109
+ getProjectId(callback: Callback<string, undefined, undefined>): void;
110
+ /**
111
+ * Performs a search.
112
+ *
113
+ * @param {Object} request
114
+ * The request object that will be sent.
115
+ * @param {string} request.servingConfig
116
+ * Required. The resource name of the Search serving config, such as
117
+ * `projects/* /locations/global/collections/default_collection/engines/* /servingConfigs/default_serving_config`,
118
+ * or
119
+ * `projects/* /locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`.
120
+ * This field is used to identify the serving configuration name, set
121
+ * of models used to make the search.
122
+ * @param {string} request.branch
123
+ * The branch resource name, such as
124
+ * `projects/* /locations/global/collections/default_collection/dataStores/default_data_store/branches/0`.
125
+ *
126
+ * Use `default_branch` as the branch ID or leave this field empty, to search
127
+ * documents under the default branch.
128
+ * @param {string} request.query
129
+ * Raw search query.
130
+ * @param {google.cloud.discoveryengine.v1alpha.SearchRequest.ImageQuery} request.imageQuery
131
+ * Raw image query.
132
+ * @param {number} request.pageSize
133
+ * Maximum number of
134
+ * {@link protos.google.cloud.discoveryengine.v1alpha.Document|Document}s to return. If
135
+ * unspecified, defaults to a reasonable value. The maximum allowed value is
136
+ * 100. Values above 100 are coerced to 100.
137
+ *
138
+ * If this field is negative, an `INVALID_ARGUMENT` is returned.
139
+ * @param {string} request.pageToken
140
+ * A page token received from a previous
141
+ * {@link protos.google.cloud.discoveryengine.v1alpha.SearchService.Search|SearchService.Search}
142
+ * call. Provide this to retrieve the subsequent page.
143
+ *
144
+ * When paginating, all other parameters provided to
145
+ * {@link protos.google.cloud.discoveryengine.v1alpha.SearchService.Search|SearchService.Search}
146
+ * must match the call that provided the page token. Otherwise, an
147
+ * `INVALID_ARGUMENT` error is returned.
148
+ * @param {number} request.offset
149
+ * A 0-indexed integer that specifies the current offset (that is, starting
150
+ * result location, amongst the
151
+ * {@link protos.google.cloud.discoveryengine.v1alpha.Document|Document}s deemed by the
152
+ * API as relevant) in search results. This field is only considered if
153
+ * {@link protos.google.cloud.discoveryengine.v1alpha.SearchRequest.page_token|page_token}
154
+ * is unset.
155
+ *
156
+ * If this field is negative, an `INVALID_ARGUMENT` is returned.
157
+ * @param {string} request.filter
158
+ * The filter syntax consists of an expression language for constructing a
159
+ * predicate from one or more fields of the documents being filtered. Filter
160
+ * expression is case-sensitive.
161
+ *
162
+ * If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
163
+ *
164
+ * Filtering in Vertex AI Search is done by mapping the LHS filter key to a
165
+ * key property defined in the Vertex AI Search backend -- this mapping is
166
+ * defined by the customer in their schema. For example a media customer might
167
+ * have a field 'name' in their schema. In this case the filter would look
168
+ * like this: filter --> name:'ANY("king kong")'
169
+ *
170
+ * For more information about filtering including syntax and filter
171
+ * operators, see
172
+ * [Filter](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata)
173
+ * @param {string} request.orderBy
174
+ * The order in which documents are returned. Documents can be ordered by
175
+ * a field in an {@link protos.google.cloud.discoveryengine.v1alpha.Document|Document}
176
+ * object. Leave it unset if ordered by relevance. `order_by` expression is
177
+ * case-sensitive. For more information on ordering, see
178
+ * [Ordering](https://cloud.google.com/retail/docs/filter-and-order#order)
179
+ *
180
+ * If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
181
+ * @param {google.cloud.discoveryengine.v1alpha.UserInfo} request.userInfo
182
+ * Information about the end user.
183
+ * Highly recommended for analytics.
184
+ * {@link protos.google.cloud.discoveryengine.v1alpha.UserInfo.user_agent|UserInfo.user_agent}
185
+ * is used to deduce `device_type` for analytics.
186
+ * @param {number[]} request.facetSpecs
187
+ * Facet specifications for faceted search. If empty, no facets are returned.
188
+ *
189
+ * A maximum of 100 values are allowed. Otherwise, an `INVALID_ARGUMENT`
190
+ * error is returned.
191
+ * @param {google.cloud.discoveryengine.v1alpha.SearchRequest.BoostSpec} request.boostSpec
192
+ * Boost specification to boost certain documents.
193
+ * For more information on boosting, see
194
+ * [Boosting](https://cloud.google.com/retail/docs/boosting#boost)
195
+ * @param {number[]} request.params
196
+ * Additional search parameters.
197
+ *
198
+ * For public website search only, supported values are:
199
+ *
200
+ * * `user_country_code`: string. Default empty. If set to non-empty, results
201
+ * are restricted or boosted based on the location provided.
202
+ * Example:
203
+ * user_country_code: "au"
204
+ *
205
+ * For available codes see [Country
206
+ * Codes](https://developers.google.com/custom-search/docs/json_api_reference#countryCodes)
207
+ *
208
+ * * `search_type`: double. Default empty. Enables non-webpage searching
209
+ * depending on the value. The only valid non-default value is 1,
210
+ * which enables image searching.
211
+ * Example:
212
+ * search_type: 1
213
+ * @param {google.cloud.discoveryengine.v1alpha.SearchRequest.QueryExpansionSpec} request.queryExpansionSpec
214
+ * The query expansion specification that specifies the conditions under which
215
+ * query expansion occurs.
216
+ * @param {google.cloud.discoveryengine.v1alpha.SearchRequest.SpellCorrectionSpec} request.spellCorrectionSpec
217
+ * The spell correction specification that specifies the mode under
218
+ * which spell correction takes effect.
219
+ * @param {string} request.userPseudoId
220
+ * A unique identifier for tracking visitors. For example, this could be
221
+ * implemented with an HTTP cookie, which should be able to uniquely identify
222
+ * a visitor on a single device. This unique identifier should not change if
223
+ * the visitor logs in or out of the website.
224
+ *
225
+ * This field should NOT have a fixed value such as `unknown_visitor`.
226
+ *
227
+ * This should be the same identifier as
228
+ * {@link protos.google.cloud.discoveryengine.v1alpha.UserEvent.user_pseudo_id|UserEvent.user_pseudo_id}
229
+ * and
230
+ * {@link protos.google.cloud.discoveryengine.v1alpha.CompleteQueryRequest.user_pseudo_id|CompleteQueryRequest.user_pseudo_id}
231
+ *
232
+ * The field must be a UTF-8 encoded string with a length limit of 128
233
+ * characters. Otherwise, an `INVALID_ARGUMENT` error is returned.
234
+ * @param {google.cloud.discoveryengine.v1alpha.SearchRequest.ContentSearchSpec} request.contentSearchSpec
235
+ * A specification for configuring the behavior of content search.
236
+ * @param {google.cloud.discoveryengine.v1alpha.SearchRequest.EmbeddingSpec} request.embeddingSpec
237
+ * Uses the provided embedding to do additional semantic document retrieval.
238
+ * The retrieval is based on the dot product of
239
+ * {@link protos.|SearchRequest.embedding_spec.embedding_vectors.vector} and the document
240
+ * embedding that is provided in
241
+ * {@link protos.|SearchRequest.embedding_spec.embedding_vectors.field_path}.
242
+ *
243
+ * If {@link protos.|SearchRequest.embedding_spec.embedding_vectors.field_path} is not
244
+ * provided, it will use {@link protos.|ServingConfig.embedding_config.field_paths}.
245
+ * @param {string} request.rankingExpression
246
+ * The ranking expression controls the customized ranking on retrieval
247
+ * documents. This overrides
248
+ * {@link protos.google.cloud.discoveryengine.v1alpha.ServingConfig.ranking_expression|ServingConfig.ranking_expression}.
249
+ * The ranking expression is a single function or multiple functions that are
250
+ * joint by "+".
251
+ * * ranking_expression = function, { " + ", function };
252
+ * Supported functions:
253
+ * * double * relevance_score
254
+ * * double * dotProduct(embedding_field_path)
255
+ * Function variables:
256
+ * `relevance_score`: pre-defined keywords, used for measure relevance
257
+ * between query and document.
258
+ * `embedding_field_path`: the document embedding field
259
+ * used with query embedding vector.
260
+ * `dotProduct`: embedding function between embedding_field_path and query
261
+ * embedding vector.
262
+ *
263
+ * Example ranking expression:
264
+ * If document has an embedding field doc_embedding, the ranking expression
265
+ * could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`.
266
+ * @param {boolean} request.safeSearch
267
+ * Whether to turn on safe search. This is only supported for
268
+ * website search.
269
+ * @param {number[]} request.userLabels
270
+ * The user labels applied to a resource must meet the following requirements:
271
+ *
272
+ * * Each resource can have multiple labels, up to a maximum of 64.
273
+ * * Each label must be a key-value pair.
274
+ * * Keys have a minimum length of 1 character and a maximum length of 63
275
+ * characters and cannot be empty. Values can be empty and have a maximum
276
+ * length of 63 characters.
277
+ * * Keys and values can contain only lowercase letters, numeric characters,
278
+ * underscores, and dashes. All characters must use UTF-8 encoding, and
279
+ * international characters are allowed.
280
+ * * The key portion of a label must be unique. However, you can use the same
281
+ * key with multiple resources.
282
+ * * Keys must start with a lowercase letter or international character.
283
+ *
284
+ * See [Google Cloud
285
+ * Document](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements)
286
+ * for more details.
287
+ * @param {object} [options]
288
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
289
+ * @returns {Promise} - The promise which resolves to an array.
290
+ * The first element of the array is Array of {@link protos.google.cloud.discoveryengine.v1alpha.SearchResponse.SearchResult|SearchResult}.
291
+ * The client library will perform auto-pagination by default: it will call the API as many
292
+ * times as needed and will merge results from all the pages into this array.
293
+ * Note that it can affect your quota.
294
+ * We recommend using `searchAsync()`
295
+ * method described below for async iteration which you can stop as needed.
296
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
297
+ * for more details and examples.
298
+ */
299
+ search(request?: protos.google.cloud.discoveryengine.v1alpha.ISearchRequest, options?: CallOptions): Promise<[
300
+ protos.google.cloud.discoveryengine.v1alpha.SearchResponse.ISearchResult[],
301
+ protos.google.cloud.discoveryengine.v1alpha.ISearchRequest | null,
302
+ protos.google.cloud.discoveryengine.v1alpha.ISearchResponse
303
+ ]>;
304
+ search(request: protos.google.cloud.discoveryengine.v1alpha.ISearchRequest, options: CallOptions, callback: PaginationCallback<protos.google.cloud.discoveryengine.v1alpha.ISearchRequest, protos.google.cloud.discoveryengine.v1alpha.ISearchResponse | null | undefined, protos.google.cloud.discoveryengine.v1alpha.SearchResponse.ISearchResult>): void;
305
+ search(request: protos.google.cloud.discoveryengine.v1alpha.ISearchRequest, callback: PaginationCallback<protos.google.cloud.discoveryengine.v1alpha.ISearchRequest, protos.google.cloud.discoveryengine.v1alpha.ISearchResponse | null | undefined, protos.google.cloud.discoveryengine.v1alpha.SearchResponse.ISearchResult>): void;
306
+ /**
307
+ * Equivalent to `method.name.toCamelCase()`, but returns a NodeJS Stream object.
308
+ * @param {Object} request
309
+ * The request object that will be sent.
310
+ * @param {string} request.servingConfig
311
+ * Required. The resource name of the Search serving config, such as
312
+ * `projects/* /locations/global/collections/default_collection/engines/* /servingConfigs/default_serving_config`,
313
+ * or
314
+ * `projects/* /locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`.
315
+ * This field is used to identify the serving configuration name, set
316
+ * of models used to make the search.
317
+ * @param {string} request.branch
318
+ * The branch resource name, such as
319
+ * `projects/* /locations/global/collections/default_collection/dataStores/default_data_store/branches/0`.
320
+ *
321
+ * Use `default_branch` as the branch ID or leave this field empty, to search
322
+ * documents under the default branch.
323
+ * @param {string} request.query
324
+ * Raw search query.
325
+ * @param {google.cloud.discoveryengine.v1alpha.SearchRequest.ImageQuery} request.imageQuery
326
+ * Raw image query.
327
+ * @param {number} request.pageSize
328
+ * Maximum number of
329
+ * {@link protos.google.cloud.discoveryengine.v1alpha.Document|Document}s to return. If
330
+ * unspecified, defaults to a reasonable value. The maximum allowed value is
331
+ * 100. Values above 100 are coerced to 100.
332
+ *
333
+ * If this field is negative, an `INVALID_ARGUMENT` is returned.
334
+ * @param {string} request.pageToken
335
+ * A page token received from a previous
336
+ * {@link protos.google.cloud.discoveryengine.v1alpha.SearchService.Search|SearchService.Search}
337
+ * call. Provide this to retrieve the subsequent page.
338
+ *
339
+ * When paginating, all other parameters provided to
340
+ * {@link protos.google.cloud.discoveryengine.v1alpha.SearchService.Search|SearchService.Search}
341
+ * must match the call that provided the page token. Otherwise, an
342
+ * `INVALID_ARGUMENT` error is returned.
343
+ * @param {number} request.offset
344
+ * A 0-indexed integer that specifies the current offset (that is, starting
345
+ * result location, amongst the
346
+ * {@link protos.google.cloud.discoveryengine.v1alpha.Document|Document}s deemed by the
347
+ * API as relevant) in search results. This field is only considered if
348
+ * {@link protos.google.cloud.discoveryengine.v1alpha.SearchRequest.page_token|page_token}
349
+ * is unset.
350
+ *
351
+ * If this field is negative, an `INVALID_ARGUMENT` is returned.
352
+ * @param {string} request.filter
353
+ * The filter syntax consists of an expression language for constructing a
354
+ * predicate from one or more fields of the documents being filtered. Filter
355
+ * expression is case-sensitive.
356
+ *
357
+ * If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
358
+ *
359
+ * Filtering in Vertex AI Search is done by mapping the LHS filter key to a
360
+ * key property defined in the Vertex AI Search backend -- this mapping is
361
+ * defined by the customer in their schema. For example a media customer might
362
+ * have a field 'name' in their schema. In this case the filter would look
363
+ * like this: filter --> name:'ANY("king kong")'
364
+ *
365
+ * For more information about filtering including syntax and filter
366
+ * operators, see
367
+ * [Filter](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata)
368
+ * @param {string} request.orderBy
369
+ * The order in which documents are returned. Documents can be ordered by
370
+ * a field in an {@link protos.google.cloud.discoveryengine.v1alpha.Document|Document}
371
+ * object. Leave it unset if ordered by relevance. `order_by` expression is
372
+ * case-sensitive. For more information on ordering, see
373
+ * [Ordering](https://cloud.google.com/retail/docs/filter-and-order#order)
374
+ *
375
+ * If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
376
+ * @param {google.cloud.discoveryengine.v1alpha.UserInfo} request.userInfo
377
+ * Information about the end user.
378
+ * Highly recommended for analytics.
379
+ * {@link protos.google.cloud.discoveryengine.v1alpha.UserInfo.user_agent|UserInfo.user_agent}
380
+ * is used to deduce `device_type` for analytics.
381
+ * @param {number[]} request.facetSpecs
382
+ * Facet specifications for faceted search. If empty, no facets are returned.
383
+ *
384
+ * A maximum of 100 values are allowed. Otherwise, an `INVALID_ARGUMENT`
385
+ * error is returned.
386
+ * @param {google.cloud.discoveryengine.v1alpha.SearchRequest.BoostSpec} request.boostSpec
387
+ * Boost specification to boost certain documents.
388
+ * For more information on boosting, see
389
+ * [Boosting](https://cloud.google.com/retail/docs/boosting#boost)
390
+ * @param {number[]} request.params
391
+ * Additional search parameters.
392
+ *
393
+ * For public website search only, supported values are:
394
+ *
395
+ * * `user_country_code`: string. Default empty. If set to non-empty, results
396
+ * are restricted or boosted based on the location provided.
397
+ * Example:
398
+ * user_country_code: "au"
399
+ *
400
+ * For available codes see [Country
401
+ * Codes](https://developers.google.com/custom-search/docs/json_api_reference#countryCodes)
402
+ *
403
+ * * `search_type`: double. Default empty. Enables non-webpage searching
404
+ * depending on the value. The only valid non-default value is 1,
405
+ * which enables image searching.
406
+ * Example:
407
+ * search_type: 1
408
+ * @param {google.cloud.discoveryengine.v1alpha.SearchRequest.QueryExpansionSpec} request.queryExpansionSpec
409
+ * The query expansion specification that specifies the conditions under which
410
+ * query expansion occurs.
411
+ * @param {google.cloud.discoveryengine.v1alpha.SearchRequest.SpellCorrectionSpec} request.spellCorrectionSpec
412
+ * The spell correction specification that specifies the mode under
413
+ * which spell correction takes effect.
414
+ * @param {string} request.userPseudoId
415
+ * A unique identifier for tracking visitors. For example, this could be
416
+ * implemented with an HTTP cookie, which should be able to uniquely identify
417
+ * a visitor on a single device. This unique identifier should not change if
418
+ * the visitor logs in or out of the website.
419
+ *
420
+ * This field should NOT have a fixed value such as `unknown_visitor`.
421
+ *
422
+ * This should be the same identifier as
423
+ * {@link protos.google.cloud.discoveryengine.v1alpha.UserEvent.user_pseudo_id|UserEvent.user_pseudo_id}
424
+ * and
425
+ * {@link protos.google.cloud.discoveryengine.v1alpha.CompleteQueryRequest.user_pseudo_id|CompleteQueryRequest.user_pseudo_id}
426
+ *
427
+ * The field must be a UTF-8 encoded string with a length limit of 128
428
+ * characters. Otherwise, an `INVALID_ARGUMENT` error is returned.
429
+ * @param {google.cloud.discoveryengine.v1alpha.SearchRequest.ContentSearchSpec} request.contentSearchSpec
430
+ * A specification for configuring the behavior of content search.
431
+ * @param {google.cloud.discoveryengine.v1alpha.SearchRequest.EmbeddingSpec} request.embeddingSpec
432
+ * Uses the provided embedding to do additional semantic document retrieval.
433
+ * The retrieval is based on the dot product of
434
+ * {@link protos.|SearchRequest.embedding_spec.embedding_vectors.vector} and the document
435
+ * embedding that is provided in
436
+ * {@link protos.|SearchRequest.embedding_spec.embedding_vectors.field_path}.
437
+ *
438
+ * If {@link protos.|SearchRequest.embedding_spec.embedding_vectors.field_path} is not
439
+ * provided, it will use {@link protos.|ServingConfig.embedding_config.field_paths}.
440
+ * @param {string} request.rankingExpression
441
+ * The ranking expression controls the customized ranking on retrieval
442
+ * documents. This overrides
443
+ * {@link protos.google.cloud.discoveryengine.v1alpha.ServingConfig.ranking_expression|ServingConfig.ranking_expression}.
444
+ * The ranking expression is a single function or multiple functions that are
445
+ * joint by "+".
446
+ * * ranking_expression = function, { " + ", function };
447
+ * Supported functions:
448
+ * * double * relevance_score
449
+ * * double * dotProduct(embedding_field_path)
450
+ * Function variables:
451
+ * `relevance_score`: pre-defined keywords, used for measure relevance
452
+ * between query and document.
453
+ * `embedding_field_path`: the document embedding field
454
+ * used with query embedding vector.
455
+ * `dotProduct`: embedding function between embedding_field_path and query
456
+ * embedding vector.
457
+ *
458
+ * Example ranking expression:
459
+ * If document has an embedding field doc_embedding, the ranking expression
460
+ * could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`.
461
+ * @param {boolean} request.safeSearch
462
+ * Whether to turn on safe search. This is only supported for
463
+ * website search.
464
+ * @param {number[]} request.userLabels
465
+ * The user labels applied to a resource must meet the following requirements:
466
+ *
467
+ * * Each resource can have multiple labels, up to a maximum of 64.
468
+ * * Each label must be a key-value pair.
469
+ * * Keys have a minimum length of 1 character and a maximum length of 63
470
+ * characters and cannot be empty. Values can be empty and have a maximum
471
+ * length of 63 characters.
472
+ * * Keys and values can contain only lowercase letters, numeric characters,
473
+ * underscores, and dashes. All characters must use UTF-8 encoding, and
474
+ * international characters are allowed.
475
+ * * The key portion of a label must be unique. However, you can use the same
476
+ * key with multiple resources.
477
+ * * Keys must start with a lowercase letter or international character.
478
+ *
479
+ * See [Google Cloud
480
+ * Document](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements)
481
+ * for more details.
482
+ * @param {object} [options]
483
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
484
+ * @returns {Stream}
485
+ * An object stream which emits an object representing {@link protos.google.cloud.discoveryengine.v1alpha.SearchResponse.SearchResult|SearchResult} on 'data' event.
486
+ * The client library will perform auto-pagination by default: it will call the API as many
487
+ * times as needed. Note that it can affect your quota.
488
+ * We recommend using `searchAsync()`
489
+ * method described below for async iteration which you can stop as needed.
490
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
491
+ * for more details and examples.
492
+ */
493
+ searchStream(request?: protos.google.cloud.discoveryengine.v1alpha.ISearchRequest, options?: CallOptions): Transform;
494
+ /**
495
+ * Equivalent to `search`, but returns an iterable object.
496
+ *
497
+ * `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
498
+ * @param {Object} request
499
+ * The request object that will be sent.
500
+ * @param {string} request.servingConfig
501
+ * Required. The resource name of the Search serving config, such as
502
+ * `projects/* /locations/global/collections/default_collection/engines/* /servingConfigs/default_serving_config`,
503
+ * or
504
+ * `projects/* /locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`.
505
+ * This field is used to identify the serving configuration name, set
506
+ * of models used to make the search.
507
+ * @param {string} request.branch
508
+ * The branch resource name, such as
509
+ * `projects/* /locations/global/collections/default_collection/dataStores/default_data_store/branches/0`.
510
+ *
511
+ * Use `default_branch` as the branch ID or leave this field empty, to search
512
+ * documents under the default branch.
513
+ * @param {string} request.query
514
+ * Raw search query.
515
+ * @param {google.cloud.discoveryengine.v1alpha.SearchRequest.ImageQuery} request.imageQuery
516
+ * Raw image query.
517
+ * @param {number} request.pageSize
518
+ * Maximum number of
519
+ * {@link protos.google.cloud.discoveryengine.v1alpha.Document|Document}s to return. If
520
+ * unspecified, defaults to a reasonable value. The maximum allowed value is
521
+ * 100. Values above 100 are coerced to 100.
522
+ *
523
+ * If this field is negative, an `INVALID_ARGUMENT` is returned.
524
+ * @param {string} request.pageToken
525
+ * A page token received from a previous
526
+ * {@link protos.google.cloud.discoveryengine.v1alpha.SearchService.Search|SearchService.Search}
527
+ * call. Provide this to retrieve the subsequent page.
528
+ *
529
+ * When paginating, all other parameters provided to
530
+ * {@link protos.google.cloud.discoveryengine.v1alpha.SearchService.Search|SearchService.Search}
531
+ * must match the call that provided the page token. Otherwise, an
532
+ * `INVALID_ARGUMENT` error is returned.
533
+ * @param {number} request.offset
534
+ * A 0-indexed integer that specifies the current offset (that is, starting
535
+ * result location, amongst the
536
+ * {@link protos.google.cloud.discoveryengine.v1alpha.Document|Document}s deemed by the
537
+ * API as relevant) in search results. This field is only considered if
538
+ * {@link protos.google.cloud.discoveryengine.v1alpha.SearchRequest.page_token|page_token}
539
+ * is unset.
540
+ *
541
+ * If this field is negative, an `INVALID_ARGUMENT` is returned.
542
+ * @param {string} request.filter
543
+ * The filter syntax consists of an expression language for constructing a
544
+ * predicate from one or more fields of the documents being filtered. Filter
545
+ * expression is case-sensitive.
546
+ *
547
+ * If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
548
+ *
549
+ * Filtering in Vertex AI Search is done by mapping the LHS filter key to a
550
+ * key property defined in the Vertex AI Search backend -- this mapping is
551
+ * defined by the customer in their schema. For example a media customer might
552
+ * have a field 'name' in their schema. In this case the filter would look
553
+ * like this: filter --> name:'ANY("king kong")'
554
+ *
555
+ * For more information about filtering including syntax and filter
556
+ * operators, see
557
+ * [Filter](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata)
558
+ * @param {string} request.orderBy
559
+ * The order in which documents are returned. Documents can be ordered by
560
+ * a field in an {@link protos.google.cloud.discoveryengine.v1alpha.Document|Document}
561
+ * object. Leave it unset if ordered by relevance. `order_by` expression is
562
+ * case-sensitive. For more information on ordering, see
563
+ * [Ordering](https://cloud.google.com/retail/docs/filter-and-order#order)
564
+ *
565
+ * If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
566
+ * @param {google.cloud.discoveryengine.v1alpha.UserInfo} request.userInfo
567
+ * Information about the end user.
568
+ * Highly recommended for analytics.
569
+ * {@link protos.google.cloud.discoveryengine.v1alpha.UserInfo.user_agent|UserInfo.user_agent}
570
+ * is used to deduce `device_type` for analytics.
571
+ * @param {number[]} request.facetSpecs
572
+ * Facet specifications for faceted search. If empty, no facets are returned.
573
+ *
574
+ * A maximum of 100 values are allowed. Otherwise, an `INVALID_ARGUMENT`
575
+ * error is returned.
576
+ * @param {google.cloud.discoveryengine.v1alpha.SearchRequest.BoostSpec} request.boostSpec
577
+ * Boost specification to boost certain documents.
578
+ * For more information on boosting, see
579
+ * [Boosting](https://cloud.google.com/retail/docs/boosting#boost)
580
+ * @param {number[]} request.params
581
+ * Additional search parameters.
582
+ *
583
+ * For public website search only, supported values are:
584
+ *
585
+ * * `user_country_code`: string. Default empty. If set to non-empty, results
586
+ * are restricted or boosted based on the location provided.
587
+ * Example:
588
+ * user_country_code: "au"
589
+ *
590
+ * For available codes see [Country
591
+ * Codes](https://developers.google.com/custom-search/docs/json_api_reference#countryCodes)
592
+ *
593
+ * * `search_type`: double. Default empty. Enables non-webpage searching
594
+ * depending on the value. The only valid non-default value is 1,
595
+ * which enables image searching.
596
+ * Example:
597
+ * search_type: 1
598
+ * @param {google.cloud.discoveryengine.v1alpha.SearchRequest.QueryExpansionSpec} request.queryExpansionSpec
599
+ * The query expansion specification that specifies the conditions under which
600
+ * query expansion occurs.
601
+ * @param {google.cloud.discoveryengine.v1alpha.SearchRequest.SpellCorrectionSpec} request.spellCorrectionSpec
602
+ * The spell correction specification that specifies the mode under
603
+ * which spell correction takes effect.
604
+ * @param {string} request.userPseudoId
605
+ * A unique identifier for tracking visitors. For example, this could be
606
+ * implemented with an HTTP cookie, which should be able to uniquely identify
607
+ * a visitor on a single device. This unique identifier should not change if
608
+ * the visitor logs in or out of the website.
609
+ *
610
+ * This field should NOT have a fixed value such as `unknown_visitor`.
611
+ *
612
+ * This should be the same identifier as
613
+ * {@link protos.google.cloud.discoveryengine.v1alpha.UserEvent.user_pseudo_id|UserEvent.user_pseudo_id}
614
+ * and
615
+ * {@link protos.google.cloud.discoveryengine.v1alpha.CompleteQueryRequest.user_pseudo_id|CompleteQueryRequest.user_pseudo_id}
616
+ *
617
+ * The field must be a UTF-8 encoded string with a length limit of 128
618
+ * characters. Otherwise, an `INVALID_ARGUMENT` error is returned.
619
+ * @param {google.cloud.discoveryengine.v1alpha.SearchRequest.ContentSearchSpec} request.contentSearchSpec
620
+ * A specification for configuring the behavior of content search.
621
+ * @param {google.cloud.discoveryengine.v1alpha.SearchRequest.EmbeddingSpec} request.embeddingSpec
622
+ * Uses the provided embedding to do additional semantic document retrieval.
623
+ * The retrieval is based on the dot product of
624
+ * {@link protos.|SearchRequest.embedding_spec.embedding_vectors.vector} and the document
625
+ * embedding that is provided in
626
+ * {@link protos.|SearchRequest.embedding_spec.embedding_vectors.field_path}.
627
+ *
628
+ * If {@link protos.|SearchRequest.embedding_spec.embedding_vectors.field_path} is not
629
+ * provided, it will use {@link protos.|ServingConfig.embedding_config.field_paths}.
630
+ * @param {string} request.rankingExpression
631
+ * The ranking expression controls the customized ranking on retrieval
632
+ * documents. This overrides
633
+ * {@link protos.google.cloud.discoveryengine.v1alpha.ServingConfig.ranking_expression|ServingConfig.ranking_expression}.
634
+ * The ranking expression is a single function or multiple functions that are
635
+ * joint by "+".
636
+ * * ranking_expression = function, { " + ", function };
637
+ * Supported functions:
638
+ * * double * relevance_score
639
+ * * double * dotProduct(embedding_field_path)
640
+ * Function variables:
641
+ * `relevance_score`: pre-defined keywords, used for measure relevance
642
+ * between query and document.
643
+ * `embedding_field_path`: the document embedding field
644
+ * used with query embedding vector.
645
+ * `dotProduct`: embedding function between embedding_field_path and query
646
+ * embedding vector.
647
+ *
648
+ * Example ranking expression:
649
+ * If document has an embedding field doc_embedding, the ranking expression
650
+ * could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`.
651
+ * @param {boolean} request.safeSearch
652
+ * Whether to turn on safe search. This is only supported for
653
+ * website search.
654
+ * @param {number[]} request.userLabels
655
+ * The user labels applied to a resource must meet the following requirements:
656
+ *
657
+ * * Each resource can have multiple labels, up to a maximum of 64.
658
+ * * Each label must be a key-value pair.
659
+ * * Keys have a minimum length of 1 character and a maximum length of 63
660
+ * characters and cannot be empty. Values can be empty and have a maximum
661
+ * length of 63 characters.
662
+ * * Keys and values can contain only lowercase letters, numeric characters,
663
+ * underscores, and dashes. All characters must use UTF-8 encoding, and
664
+ * international characters are allowed.
665
+ * * The key portion of a label must be unique. However, you can use the same
666
+ * key with multiple resources.
667
+ * * Keys must start with a lowercase letter or international character.
668
+ *
669
+ * See [Google Cloud
670
+ * Document](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements)
671
+ * for more details.
672
+ * @param {object} [options]
673
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
674
+ * @returns {Object}
675
+ * An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
676
+ * When you iterate the returned iterable, each element will be an object representing
677
+ * {@link protos.google.cloud.discoveryengine.v1alpha.SearchResponse.SearchResult|SearchResult}. The API will be called under the hood as needed, once per the page,
678
+ * so you can stop the iteration when you don't need more results.
679
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
680
+ * for more details and examples.
681
+ * @example <caption>include:samples/generated/v1alpha/search_service.search.js</caption>
682
+ * region_tag:discoveryengine_v1alpha_generated_SearchService_Search_async
683
+ */
684
+ searchAsync(request?: protos.google.cloud.discoveryengine.v1alpha.ISearchRequest, options?: CallOptions): AsyncIterable<protos.google.cloud.discoveryengine.v1alpha.SearchResponse.ISearchResult>;
685
+ /**
686
+ * Gets information about a location.
687
+ *
688
+ * @param {Object} request
689
+ * The request object that will be sent.
690
+ * @param {string} request.name
691
+ * Resource name for the location.
692
+ * @param {object} [options]
693
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html | CallOptions} for more details.
694
+ * @returns {Promise} - The promise which resolves to an array.
695
+ * The first element of the array is an object representing {@link google.cloud.location.Location | Location}.
696
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
697
+ * for more details and examples.
698
+ * @example
699
+ * ```
700
+ * const [response] = await client.getLocation(request);
701
+ * ```
702
+ */
703
+ 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>;
704
+ /**
705
+ * Lists information about the supported locations for this service. Returns an iterable object.
706
+ *
707
+ * `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
708
+ * @param {Object} request
709
+ * The request object that will be sent.
710
+ * @param {string} request.name
711
+ * The resource that owns the locations collection, if applicable.
712
+ * @param {string} request.filter
713
+ * The standard list filter.
714
+ * @param {number} request.pageSize
715
+ * The standard list page size.
716
+ * @param {string} request.pageToken
717
+ * The standard list page token.
718
+ * @param {object} [options]
719
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
720
+ * @returns {Object}
721
+ * An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
722
+ * When you iterate the returned iterable, each element will be an object representing
723
+ * {@link google.cloud.location.Location | Location}. The API will be called under the hood as needed, once per the page,
724
+ * so you can stop the iteration when you don't need more results.
725
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
726
+ * for more details and examples.
727
+ * @example
728
+ * ```
729
+ * const iterable = client.listLocationsAsync(request);
730
+ * for await (const response of iterable) {
731
+ * // process response
732
+ * }
733
+ * ```
734
+ */
735
+ listLocationsAsync(request: LocationProtos.google.cloud.location.IListLocationsRequest, options?: CallOptions): AsyncIterable<LocationProtos.google.cloud.location.ILocation>;
736
+ /**
737
+ * Return a fully-qualified engine resource name string.
738
+ *
739
+ * @param {string} project
740
+ * @param {string} location
741
+ * @param {string} collection
742
+ * @param {string} engine
743
+ * @returns {string} Resource name string.
744
+ */
745
+ enginePath(project: string, location: string, collection: string, engine: string): string;
746
+ /**
747
+ * Parse the project from Engine resource.
748
+ *
749
+ * @param {string} engineName
750
+ * A fully-qualified path representing Engine resource.
751
+ * @returns {string} A string representing the project.
752
+ */
753
+ matchProjectFromEngineName(engineName: string): string | number;
754
+ /**
755
+ * Parse the location from Engine resource.
756
+ *
757
+ * @param {string} engineName
758
+ * A fully-qualified path representing Engine resource.
759
+ * @returns {string} A string representing the location.
760
+ */
761
+ matchLocationFromEngineName(engineName: string): string | number;
762
+ /**
763
+ * Parse the collection from Engine resource.
764
+ *
765
+ * @param {string} engineName
766
+ * A fully-qualified path representing Engine resource.
767
+ * @returns {string} A string representing the collection.
768
+ */
769
+ matchCollectionFromEngineName(engineName: string): string | number;
770
+ /**
771
+ * Parse the engine from Engine resource.
772
+ *
773
+ * @param {string} engineName
774
+ * A fully-qualified path representing Engine resource.
775
+ * @returns {string} A string representing the engine.
776
+ */
777
+ matchEngineFromEngineName(engineName: string): string | number;
778
+ /**
779
+ * Return a fully-qualified projectLocationCollectionDataStore resource name string.
780
+ *
781
+ * @param {string} project
782
+ * @param {string} location
783
+ * @param {string} collection
784
+ * @param {string} data_store
785
+ * @returns {string} Resource name string.
786
+ */
787
+ projectLocationCollectionDataStorePath(project: string, location: string, collection: string, dataStore: string): string;
788
+ /**
789
+ * Parse the project from ProjectLocationCollectionDataStore resource.
790
+ *
791
+ * @param {string} projectLocationCollectionDataStoreName
792
+ * A fully-qualified path representing project_location_collection_data_store resource.
793
+ * @returns {string} A string representing the project.
794
+ */
795
+ matchProjectFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName: string): string | number;
796
+ /**
797
+ * Parse the location from ProjectLocationCollectionDataStore resource.
798
+ *
799
+ * @param {string} projectLocationCollectionDataStoreName
800
+ * A fully-qualified path representing project_location_collection_data_store resource.
801
+ * @returns {string} A string representing the location.
802
+ */
803
+ matchLocationFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName: string): string | number;
804
+ /**
805
+ * Parse the collection from ProjectLocationCollectionDataStore resource.
806
+ *
807
+ * @param {string} projectLocationCollectionDataStoreName
808
+ * A fully-qualified path representing project_location_collection_data_store resource.
809
+ * @returns {string} A string representing the collection.
810
+ */
811
+ matchCollectionFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName: string): string | number;
812
+ /**
813
+ * Parse the data_store from ProjectLocationCollectionDataStore resource.
814
+ *
815
+ * @param {string} projectLocationCollectionDataStoreName
816
+ * A fully-qualified path representing project_location_collection_data_store resource.
817
+ * @returns {string} A string representing the data_store.
818
+ */
819
+ matchDataStoreFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName: string): string | number;
820
+ /**
821
+ * Return a fully-qualified projectLocationCollectionDataStoreBranch resource name string.
822
+ *
823
+ * @param {string} project
824
+ * @param {string} location
825
+ * @param {string} collection
826
+ * @param {string} data_store
827
+ * @param {string} branch
828
+ * @returns {string} Resource name string.
829
+ */
830
+ projectLocationCollectionDataStoreBranchPath(project: string, location: string, collection: string, dataStore: string, branch: string): string;
831
+ /**
832
+ * Parse the project from ProjectLocationCollectionDataStoreBranch resource.
833
+ *
834
+ * @param {string} projectLocationCollectionDataStoreBranchName
835
+ * A fully-qualified path representing project_location_collection_data_store_branch resource.
836
+ * @returns {string} A string representing the project.
837
+ */
838
+ matchProjectFromProjectLocationCollectionDataStoreBranchName(projectLocationCollectionDataStoreBranchName: string): string | number;
839
+ /**
840
+ * Parse the location from ProjectLocationCollectionDataStoreBranch resource.
841
+ *
842
+ * @param {string} projectLocationCollectionDataStoreBranchName
843
+ * A fully-qualified path representing project_location_collection_data_store_branch resource.
844
+ * @returns {string} A string representing the location.
845
+ */
846
+ matchLocationFromProjectLocationCollectionDataStoreBranchName(projectLocationCollectionDataStoreBranchName: string): string | number;
847
+ /**
848
+ * Parse the collection from ProjectLocationCollectionDataStoreBranch resource.
849
+ *
850
+ * @param {string} projectLocationCollectionDataStoreBranchName
851
+ * A fully-qualified path representing project_location_collection_data_store_branch resource.
852
+ * @returns {string} A string representing the collection.
853
+ */
854
+ matchCollectionFromProjectLocationCollectionDataStoreBranchName(projectLocationCollectionDataStoreBranchName: string): string | number;
855
+ /**
856
+ * Parse the data_store from ProjectLocationCollectionDataStoreBranch resource.
857
+ *
858
+ * @param {string} projectLocationCollectionDataStoreBranchName
859
+ * A fully-qualified path representing project_location_collection_data_store_branch resource.
860
+ * @returns {string} A string representing the data_store.
861
+ */
862
+ matchDataStoreFromProjectLocationCollectionDataStoreBranchName(projectLocationCollectionDataStoreBranchName: string): string | number;
863
+ /**
864
+ * Parse the branch from ProjectLocationCollectionDataStoreBranch resource.
865
+ *
866
+ * @param {string} projectLocationCollectionDataStoreBranchName
867
+ * A fully-qualified path representing project_location_collection_data_store_branch resource.
868
+ * @returns {string} A string representing the branch.
869
+ */
870
+ matchBranchFromProjectLocationCollectionDataStoreBranchName(projectLocationCollectionDataStoreBranchName: string): string | number;
871
+ /**
872
+ * Return a fully-qualified projectLocationCollectionDataStoreBranchDocument resource name string.
873
+ *
874
+ * @param {string} project
875
+ * @param {string} location
876
+ * @param {string} collection
877
+ * @param {string} data_store
878
+ * @param {string} branch
879
+ * @param {string} document
880
+ * @returns {string} Resource name string.
881
+ */
882
+ projectLocationCollectionDataStoreBranchDocumentPath(project: string, location: string, collection: string, dataStore: string, branch: string, document: string): string;
883
+ /**
884
+ * Parse the project from ProjectLocationCollectionDataStoreBranchDocument resource.
885
+ *
886
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
887
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
888
+ * @returns {string} A string representing the project.
889
+ */
890
+ matchProjectFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
891
+ /**
892
+ * Parse the location from ProjectLocationCollectionDataStoreBranchDocument resource.
893
+ *
894
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
895
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
896
+ * @returns {string} A string representing the location.
897
+ */
898
+ matchLocationFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
899
+ /**
900
+ * Parse the collection from ProjectLocationCollectionDataStoreBranchDocument resource.
901
+ *
902
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
903
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
904
+ * @returns {string} A string representing the collection.
905
+ */
906
+ matchCollectionFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
907
+ /**
908
+ * Parse the data_store from ProjectLocationCollectionDataStoreBranchDocument resource.
909
+ *
910
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
911
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
912
+ * @returns {string} A string representing the data_store.
913
+ */
914
+ matchDataStoreFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
915
+ /**
916
+ * Parse the branch from ProjectLocationCollectionDataStoreBranchDocument resource.
917
+ *
918
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
919
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
920
+ * @returns {string} A string representing the branch.
921
+ */
922
+ matchBranchFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
923
+ /**
924
+ * Parse the document from ProjectLocationCollectionDataStoreBranchDocument resource.
925
+ *
926
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
927
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
928
+ * @returns {string} A string representing the document.
929
+ */
930
+ matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
931
+ /**
932
+ * Return a fully-qualified projectLocationCollectionDataStoreConversation resource name string.
933
+ *
934
+ * @param {string} project
935
+ * @param {string} location
936
+ * @param {string} collection
937
+ * @param {string} data_store
938
+ * @param {string} conversation
939
+ * @returns {string} Resource name string.
940
+ */
941
+ projectLocationCollectionDataStoreConversationPath(project: string, location: string, collection: string, dataStore: string, conversation: string): string;
942
+ /**
943
+ * Parse the project from ProjectLocationCollectionDataStoreConversation resource.
944
+ *
945
+ * @param {string} projectLocationCollectionDataStoreConversationName
946
+ * A fully-qualified path representing project_location_collection_data_store_conversation resource.
947
+ * @returns {string} A string representing the project.
948
+ */
949
+ matchProjectFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
950
+ /**
951
+ * Parse the location from ProjectLocationCollectionDataStoreConversation resource.
952
+ *
953
+ * @param {string} projectLocationCollectionDataStoreConversationName
954
+ * A fully-qualified path representing project_location_collection_data_store_conversation resource.
955
+ * @returns {string} A string representing the location.
956
+ */
957
+ matchLocationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
958
+ /**
959
+ * Parse the collection from ProjectLocationCollectionDataStoreConversation resource.
960
+ *
961
+ * @param {string} projectLocationCollectionDataStoreConversationName
962
+ * A fully-qualified path representing project_location_collection_data_store_conversation resource.
963
+ * @returns {string} A string representing the collection.
964
+ */
965
+ matchCollectionFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
966
+ /**
967
+ * Parse the data_store from ProjectLocationCollectionDataStoreConversation resource.
968
+ *
969
+ * @param {string} projectLocationCollectionDataStoreConversationName
970
+ * A fully-qualified path representing project_location_collection_data_store_conversation resource.
971
+ * @returns {string} A string representing the data_store.
972
+ */
973
+ matchDataStoreFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
974
+ /**
975
+ * Parse the conversation from ProjectLocationCollectionDataStoreConversation resource.
976
+ *
977
+ * @param {string} projectLocationCollectionDataStoreConversationName
978
+ * A fully-qualified path representing project_location_collection_data_store_conversation resource.
979
+ * @returns {string} A string representing the conversation.
980
+ */
981
+ matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
982
+ /**
983
+ * Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
984
+ *
985
+ * @param {string} project
986
+ * @param {string} location
987
+ * @param {string} collection
988
+ * @param {string} data_store
989
+ * @param {string} schema
990
+ * @returns {string} Resource name string.
991
+ */
992
+ projectLocationCollectionDataStoreSchemaPath(project: string, location: string, collection: string, dataStore: string, schema: string): string;
993
+ /**
994
+ * Parse the project from ProjectLocationCollectionDataStoreSchema resource.
995
+ *
996
+ * @param {string} projectLocationCollectionDataStoreSchemaName
997
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
998
+ * @returns {string} A string representing the project.
999
+ */
1000
+ matchProjectFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
1001
+ /**
1002
+ * Parse the location from ProjectLocationCollectionDataStoreSchema resource.
1003
+ *
1004
+ * @param {string} projectLocationCollectionDataStoreSchemaName
1005
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
1006
+ * @returns {string} A string representing the location.
1007
+ */
1008
+ matchLocationFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
1009
+ /**
1010
+ * Parse the collection from ProjectLocationCollectionDataStoreSchema resource.
1011
+ *
1012
+ * @param {string} projectLocationCollectionDataStoreSchemaName
1013
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
1014
+ * @returns {string} A string representing the collection.
1015
+ */
1016
+ matchCollectionFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
1017
+ /**
1018
+ * Parse the data_store from ProjectLocationCollectionDataStoreSchema resource.
1019
+ *
1020
+ * @param {string} projectLocationCollectionDataStoreSchemaName
1021
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
1022
+ * @returns {string} A string representing the data_store.
1023
+ */
1024
+ matchDataStoreFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
1025
+ /**
1026
+ * Parse the schema from ProjectLocationCollectionDataStoreSchema resource.
1027
+ *
1028
+ * @param {string} projectLocationCollectionDataStoreSchemaName
1029
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
1030
+ * @returns {string} A string representing the schema.
1031
+ */
1032
+ matchSchemaFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
1033
+ /**
1034
+ * Return a fully-qualified projectLocationCollectionDataStoreServingConfig resource name string.
1035
+ *
1036
+ * @param {string} project
1037
+ * @param {string} location
1038
+ * @param {string} collection
1039
+ * @param {string} data_store
1040
+ * @param {string} serving_config
1041
+ * @returns {string} Resource name string.
1042
+ */
1043
+ projectLocationCollectionDataStoreServingConfigPath(project: string, location: string, collection: string, dataStore: string, servingConfig: string): string;
1044
+ /**
1045
+ * Parse the project from ProjectLocationCollectionDataStoreServingConfig resource.
1046
+ *
1047
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1048
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1049
+ * @returns {string} A string representing the project.
1050
+ */
1051
+ matchProjectFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName: string): string | number;
1052
+ /**
1053
+ * Parse the location from ProjectLocationCollectionDataStoreServingConfig resource.
1054
+ *
1055
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1056
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1057
+ * @returns {string} A string representing the location.
1058
+ */
1059
+ matchLocationFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName: string): string | number;
1060
+ /**
1061
+ * Parse the collection from ProjectLocationCollectionDataStoreServingConfig resource.
1062
+ *
1063
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1064
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1065
+ * @returns {string} A string representing the collection.
1066
+ */
1067
+ matchCollectionFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName: string): string | number;
1068
+ /**
1069
+ * Parse the data_store from ProjectLocationCollectionDataStoreServingConfig resource.
1070
+ *
1071
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1072
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1073
+ * @returns {string} A string representing the data_store.
1074
+ */
1075
+ matchDataStoreFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName: string): string | number;
1076
+ /**
1077
+ * Parse the serving_config from ProjectLocationCollectionDataStoreServingConfig resource.
1078
+ *
1079
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1080
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1081
+ * @returns {string} A string representing the serving_config.
1082
+ */
1083
+ matchServingConfigFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName: string): string | number;
1084
+ /**
1085
+ * Return a fully-qualified projectLocationCollectionEngineServingConfig resource name string.
1086
+ *
1087
+ * @param {string} project
1088
+ * @param {string} location
1089
+ * @param {string} collection
1090
+ * @param {string} engine
1091
+ * @param {string} serving_config
1092
+ * @returns {string} Resource name string.
1093
+ */
1094
+ projectLocationCollectionEngineServingConfigPath(project: string, location: string, collection: string, engine: string, servingConfig: string): string;
1095
+ /**
1096
+ * Parse the project from ProjectLocationCollectionEngineServingConfig resource.
1097
+ *
1098
+ * @param {string} projectLocationCollectionEngineServingConfigName
1099
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1100
+ * @returns {string} A string representing the project.
1101
+ */
1102
+ matchProjectFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName: string): string | number;
1103
+ /**
1104
+ * Parse the location from ProjectLocationCollectionEngineServingConfig resource.
1105
+ *
1106
+ * @param {string} projectLocationCollectionEngineServingConfigName
1107
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1108
+ * @returns {string} A string representing the location.
1109
+ */
1110
+ matchLocationFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName: string): string | number;
1111
+ /**
1112
+ * Parse the collection from ProjectLocationCollectionEngineServingConfig resource.
1113
+ *
1114
+ * @param {string} projectLocationCollectionEngineServingConfigName
1115
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1116
+ * @returns {string} A string representing the collection.
1117
+ */
1118
+ matchCollectionFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName: string): string | number;
1119
+ /**
1120
+ * Parse the engine from ProjectLocationCollectionEngineServingConfig resource.
1121
+ *
1122
+ * @param {string} projectLocationCollectionEngineServingConfigName
1123
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1124
+ * @returns {string} A string representing the engine.
1125
+ */
1126
+ matchEngineFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName: string): string | number;
1127
+ /**
1128
+ * Parse the serving_config from ProjectLocationCollectionEngineServingConfig resource.
1129
+ *
1130
+ * @param {string} projectLocationCollectionEngineServingConfigName
1131
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1132
+ * @returns {string} A string representing the serving_config.
1133
+ */
1134
+ matchServingConfigFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName: string): string | number;
1135
+ /**
1136
+ * Return a fully-qualified projectLocationDataStore resource name string.
1137
+ *
1138
+ * @param {string} project
1139
+ * @param {string} location
1140
+ * @param {string} data_store
1141
+ * @returns {string} Resource name string.
1142
+ */
1143
+ projectLocationDataStorePath(project: string, location: string, dataStore: string): string;
1144
+ /**
1145
+ * Parse the project from ProjectLocationDataStore resource.
1146
+ *
1147
+ * @param {string} projectLocationDataStoreName
1148
+ * A fully-qualified path representing project_location_data_store resource.
1149
+ * @returns {string} A string representing the project.
1150
+ */
1151
+ matchProjectFromProjectLocationDataStoreName(projectLocationDataStoreName: string): string | number;
1152
+ /**
1153
+ * Parse the location from ProjectLocationDataStore resource.
1154
+ *
1155
+ * @param {string} projectLocationDataStoreName
1156
+ * A fully-qualified path representing project_location_data_store resource.
1157
+ * @returns {string} A string representing the location.
1158
+ */
1159
+ matchLocationFromProjectLocationDataStoreName(projectLocationDataStoreName: string): string | number;
1160
+ /**
1161
+ * Parse the data_store from ProjectLocationDataStore resource.
1162
+ *
1163
+ * @param {string} projectLocationDataStoreName
1164
+ * A fully-qualified path representing project_location_data_store resource.
1165
+ * @returns {string} A string representing the data_store.
1166
+ */
1167
+ matchDataStoreFromProjectLocationDataStoreName(projectLocationDataStoreName: string): string | number;
1168
+ /**
1169
+ * Return a fully-qualified projectLocationDataStoreBranch resource name string.
1170
+ *
1171
+ * @param {string} project
1172
+ * @param {string} location
1173
+ * @param {string} data_store
1174
+ * @param {string} branch
1175
+ * @returns {string} Resource name string.
1176
+ */
1177
+ projectLocationDataStoreBranchPath(project: string, location: string, dataStore: string, branch: string): string;
1178
+ /**
1179
+ * Parse the project from ProjectLocationDataStoreBranch resource.
1180
+ *
1181
+ * @param {string} projectLocationDataStoreBranchName
1182
+ * A fully-qualified path representing project_location_data_store_branch resource.
1183
+ * @returns {string} A string representing the project.
1184
+ */
1185
+ matchProjectFromProjectLocationDataStoreBranchName(projectLocationDataStoreBranchName: string): string | number;
1186
+ /**
1187
+ * Parse the location from ProjectLocationDataStoreBranch resource.
1188
+ *
1189
+ * @param {string} projectLocationDataStoreBranchName
1190
+ * A fully-qualified path representing project_location_data_store_branch resource.
1191
+ * @returns {string} A string representing the location.
1192
+ */
1193
+ matchLocationFromProjectLocationDataStoreBranchName(projectLocationDataStoreBranchName: string): string | number;
1194
+ /**
1195
+ * Parse the data_store from ProjectLocationDataStoreBranch resource.
1196
+ *
1197
+ * @param {string} projectLocationDataStoreBranchName
1198
+ * A fully-qualified path representing project_location_data_store_branch resource.
1199
+ * @returns {string} A string representing the data_store.
1200
+ */
1201
+ matchDataStoreFromProjectLocationDataStoreBranchName(projectLocationDataStoreBranchName: string): string | number;
1202
+ /**
1203
+ * Parse the branch from ProjectLocationDataStoreBranch resource.
1204
+ *
1205
+ * @param {string} projectLocationDataStoreBranchName
1206
+ * A fully-qualified path representing project_location_data_store_branch resource.
1207
+ * @returns {string} A string representing the branch.
1208
+ */
1209
+ matchBranchFromProjectLocationDataStoreBranchName(projectLocationDataStoreBranchName: string): string | number;
1210
+ /**
1211
+ * Return a fully-qualified projectLocationDataStoreBranchDocument resource name string.
1212
+ *
1213
+ * @param {string} project
1214
+ * @param {string} location
1215
+ * @param {string} data_store
1216
+ * @param {string} branch
1217
+ * @param {string} document
1218
+ * @returns {string} Resource name string.
1219
+ */
1220
+ projectLocationDataStoreBranchDocumentPath(project: string, location: string, dataStore: string, branch: string, document: string): string;
1221
+ /**
1222
+ * Parse the project from ProjectLocationDataStoreBranchDocument resource.
1223
+ *
1224
+ * @param {string} projectLocationDataStoreBranchDocumentName
1225
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
1226
+ * @returns {string} A string representing the project.
1227
+ */
1228
+ matchProjectFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
1229
+ /**
1230
+ * Parse the location from ProjectLocationDataStoreBranchDocument resource.
1231
+ *
1232
+ * @param {string} projectLocationDataStoreBranchDocumentName
1233
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
1234
+ * @returns {string} A string representing the location.
1235
+ */
1236
+ matchLocationFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
1237
+ /**
1238
+ * Parse the data_store from ProjectLocationDataStoreBranchDocument resource.
1239
+ *
1240
+ * @param {string} projectLocationDataStoreBranchDocumentName
1241
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
1242
+ * @returns {string} A string representing the data_store.
1243
+ */
1244
+ matchDataStoreFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
1245
+ /**
1246
+ * Parse the branch from ProjectLocationDataStoreBranchDocument resource.
1247
+ *
1248
+ * @param {string} projectLocationDataStoreBranchDocumentName
1249
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
1250
+ * @returns {string} A string representing the branch.
1251
+ */
1252
+ matchBranchFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
1253
+ /**
1254
+ * Parse the document from ProjectLocationDataStoreBranchDocument resource.
1255
+ *
1256
+ * @param {string} projectLocationDataStoreBranchDocumentName
1257
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
1258
+ * @returns {string} A string representing the document.
1259
+ */
1260
+ matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
1261
+ /**
1262
+ * Return a fully-qualified projectLocationDataStoreConversation resource name string.
1263
+ *
1264
+ * @param {string} project
1265
+ * @param {string} location
1266
+ * @param {string} data_store
1267
+ * @param {string} conversation
1268
+ * @returns {string} Resource name string.
1269
+ */
1270
+ projectLocationDataStoreConversationPath(project: string, location: string, dataStore: string, conversation: string): string;
1271
+ /**
1272
+ * Parse the project from ProjectLocationDataStoreConversation resource.
1273
+ *
1274
+ * @param {string} projectLocationDataStoreConversationName
1275
+ * A fully-qualified path representing project_location_data_store_conversation resource.
1276
+ * @returns {string} A string representing the project.
1277
+ */
1278
+ matchProjectFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
1279
+ /**
1280
+ * Parse the location from ProjectLocationDataStoreConversation resource.
1281
+ *
1282
+ * @param {string} projectLocationDataStoreConversationName
1283
+ * A fully-qualified path representing project_location_data_store_conversation resource.
1284
+ * @returns {string} A string representing the location.
1285
+ */
1286
+ matchLocationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
1287
+ /**
1288
+ * Parse the data_store from ProjectLocationDataStoreConversation resource.
1289
+ *
1290
+ * @param {string} projectLocationDataStoreConversationName
1291
+ * A fully-qualified path representing project_location_data_store_conversation resource.
1292
+ * @returns {string} A string representing the data_store.
1293
+ */
1294
+ matchDataStoreFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
1295
+ /**
1296
+ * Parse the conversation from ProjectLocationDataStoreConversation resource.
1297
+ *
1298
+ * @param {string} projectLocationDataStoreConversationName
1299
+ * A fully-qualified path representing project_location_data_store_conversation resource.
1300
+ * @returns {string} A string representing the conversation.
1301
+ */
1302
+ matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
1303
+ /**
1304
+ * Return a fully-qualified projectLocationDataStoreSchema resource name string.
1305
+ *
1306
+ * @param {string} project
1307
+ * @param {string} location
1308
+ * @param {string} data_store
1309
+ * @param {string} schema
1310
+ * @returns {string} Resource name string.
1311
+ */
1312
+ projectLocationDataStoreSchemaPath(project: string, location: string, dataStore: string, schema: string): string;
1313
+ /**
1314
+ * Parse the project from ProjectLocationDataStoreSchema resource.
1315
+ *
1316
+ * @param {string} projectLocationDataStoreSchemaName
1317
+ * A fully-qualified path representing project_location_data_store_schema resource.
1318
+ * @returns {string} A string representing the project.
1319
+ */
1320
+ matchProjectFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName: string): string | number;
1321
+ /**
1322
+ * Parse the location from ProjectLocationDataStoreSchema resource.
1323
+ *
1324
+ * @param {string} projectLocationDataStoreSchemaName
1325
+ * A fully-qualified path representing project_location_data_store_schema resource.
1326
+ * @returns {string} A string representing the location.
1327
+ */
1328
+ matchLocationFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName: string): string | number;
1329
+ /**
1330
+ * Parse the data_store from ProjectLocationDataStoreSchema resource.
1331
+ *
1332
+ * @param {string} projectLocationDataStoreSchemaName
1333
+ * A fully-qualified path representing project_location_data_store_schema resource.
1334
+ * @returns {string} A string representing the data_store.
1335
+ */
1336
+ matchDataStoreFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName: string): string | number;
1337
+ /**
1338
+ * Parse the schema from ProjectLocationDataStoreSchema resource.
1339
+ *
1340
+ * @param {string} projectLocationDataStoreSchemaName
1341
+ * A fully-qualified path representing project_location_data_store_schema resource.
1342
+ * @returns {string} A string representing the schema.
1343
+ */
1344
+ matchSchemaFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName: string): string | number;
1345
+ /**
1346
+ * Return a fully-qualified projectLocationDataStoreServingConfig resource name string.
1347
+ *
1348
+ * @param {string} project
1349
+ * @param {string} location
1350
+ * @param {string} data_store
1351
+ * @param {string} serving_config
1352
+ * @returns {string} Resource name string.
1353
+ */
1354
+ projectLocationDataStoreServingConfigPath(project: string, location: string, dataStore: string, servingConfig: string): string;
1355
+ /**
1356
+ * Parse the project from ProjectLocationDataStoreServingConfig resource.
1357
+ *
1358
+ * @param {string} projectLocationDataStoreServingConfigName
1359
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
1360
+ * @returns {string} A string representing the project.
1361
+ */
1362
+ matchProjectFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName: string): string | number;
1363
+ /**
1364
+ * Parse the location from ProjectLocationDataStoreServingConfig resource.
1365
+ *
1366
+ * @param {string} projectLocationDataStoreServingConfigName
1367
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
1368
+ * @returns {string} A string representing the location.
1369
+ */
1370
+ matchLocationFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName: string): string | number;
1371
+ /**
1372
+ * Parse the data_store from ProjectLocationDataStoreServingConfig resource.
1373
+ *
1374
+ * @param {string} projectLocationDataStoreServingConfigName
1375
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
1376
+ * @returns {string} A string representing the data_store.
1377
+ */
1378
+ matchDataStoreFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName: string): string | number;
1379
+ /**
1380
+ * Parse the serving_config from ProjectLocationDataStoreServingConfig resource.
1381
+ *
1382
+ * @param {string} projectLocationDataStoreServingConfigName
1383
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
1384
+ * @returns {string} A string representing the serving_config.
1385
+ */
1386
+ matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName: string): string | number;
1387
+ /**
1388
+ * Terminate the gRPC channel and close the client.
1389
+ *
1390
+ * The client will no longer be usable and all future behavior is undefined.
1391
+ * @returns {Promise} A promise that resolves when the client is closed.
1392
+ */
1393
+ close(): Promise<void>;
1394
+ }