@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,1040 @@
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 conversational search.
8
+ * @class
9
+ * @memberof v1alpha
10
+ */
11
+ export declare class ConversationalSearchServiceClient {
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
+ conversationalSearchServiceStub?: Promise<{
30
+ [name: string]: Function;
31
+ }>;
32
+ /**
33
+ * Construct an instance of ConversationalSearchServiceClient.
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 ConversationalSearchServiceClient({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
+ * Converses a conversation.
112
+ *
113
+ * @param {Object} request
114
+ * The request object that will be sent.
115
+ * @param {string} request.name
116
+ * Required. The resource name of the Conversation to get. Format:
117
+ * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`.
118
+ * Use
119
+ * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/-`
120
+ * to activate auto session mode, which automatically creates a new
121
+ * conversation inside a ConverseConversation session.
122
+ * @param {google.cloud.discoveryengine.v1alpha.TextInput} request.query
123
+ * Required. Current user input.
124
+ * @param {string} request.servingConfig
125
+ * The resource name of the Serving Config to use. Format:
126
+ * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/servingConfigs/{serving_config_id}`
127
+ * If this is not set, the default serving config will be used.
128
+ * @param {google.cloud.discoveryengine.v1alpha.Conversation} request.conversation
129
+ * The conversation to be used by auto session only. The name field will be
130
+ * ignored as we automatically assign new name for the conversation in auto
131
+ * session.
132
+ * @param {boolean} request.safeSearch
133
+ * Whether to turn on safe search.
134
+ * @param {number[]} request.userLabels
135
+ * The user labels applied to a resource must meet the following requirements:
136
+ *
137
+ * * Each resource can have multiple labels, up to a maximum of 64.
138
+ * * Each label must be a key-value pair.
139
+ * * Keys have a minimum length of 1 character and a maximum length of 63
140
+ * characters and cannot be empty. Values can be empty and have a maximum
141
+ * length of 63 characters.
142
+ * * Keys and values can contain only lowercase letters, numeric characters,
143
+ * underscores, and dashes. All characters must use UTF-8 encoding, and
144
+ * international characters are allowed.
145
+ * * The key portion of a label must be unique. However, you can use the same
146
+ * key with multiple resources.
147
+ * * Keys must start with a lowercase letter or international character.
148
+ *
149
+ * See [Google Cloud
150
+ * Document](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements)
151
+ * for more details.
152
+ * @param {google.cloud.discoveryengine.v1alpha.SearchRequest.ContentSearchSpec.SummarySpec} request.summarySpec
153
+ * A specification for configuring the summary returned in the response.
154
+ * @param {object} [options]
155
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
156
+ * @returns {Promise} - The promise which resolves to an array.
157
+ * The first element of the array is an object representing {@link protos.google.cloud.discoveryengine.v1alpha.ConverseConversationResponse|ConverseConversationResponse}.
158
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
159
+ * for more details and examples.
160
+ * @example <caption>include:samples/generated/v1alpha/conversational_search_service.converse_conversation.js</caption>
161
+ * region_tag:discoveryengine_v1alpha_generated_ConversationalSearchService_ConverseConversation_async
162
+ */
163
+ converseConversation(request?: protos.google.cloud.discoveryengine.v1alpha.IConverseConversationRequest, options?: CallOptions): Promise<[
164
+ protos.google.cloud.discoveryengine.v1alpha.IConverseConversationResponse,
165
+ (protos.google.cloud.discoveryengine.v1alpha.IConverseConversationRequest | undefined),
166
+ {} | undefined
167
+ ]>;
168
+ converseConversation(request: protos.google.cloud.discoveryengine.v1alpha.IConverseConversationRequest, options: CallOptions, callback: Callback<protos.google.cloud.discoveryengine.v1alpha.IConverseConversationResponse, protos.google.cloud.discoveryengine.v1alpha.IConverseConversationRequest | null | undefined, {} | null | undefined>): void;
169
+ converseConversation(request: protos.google.cloud.discoveryengine.v1alpha.IConverseConversationRequest, callback: Callback<protos.google.cloud.discoveryengine.v1alpha.IConverseConversationResponse, protos.google.cloud.discoveryengine.v1alpha.IConverseConversationRequest | null | undefined, {} | null | undefined>): void;
170
+ /**
171
+ * Creates a Conversation.
172
+ *
173
+ * If the {@link protos.google.cloud.discoveryengine.v1alpha.Conversation|Conversation} to
174
+ * create already exists, an ALREADY_EXISTS error is returned.
175
+ *
176
+ * @param {Object} request
177
+ * The request object that will be sent.
178
+ * @param {string} request.parent
179
+ * Required. Full resource name of parent data store. Format:
180
+ * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}`
181
+ * @param {google.cloud.discoveryengine.v1alpha.Conversation} request.conversation
182
+ * Required. The conversation to create.
183
+ * @param {object} [options]
184
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
185
+ * @returns {Promise} - The promise which resolves to an array.
186
+ * The first element of the array is an object representing {@link protos.google.cloud.discoveryengine.v1alpha.Conversation|Conversation}.
187
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
188
+ * for more details and examples.
189
+ * @example <caption>include:samples/generated/v1alpha/conversational_search_service.create_conversation.js</caption>
190
+ * region_tag:discoveryengine_v1alpha_generated_ConversationalSearchService_CreateConversation_async
191
+ */
192
+ createConversation(request?: protos.google.cloud.discoveryengine.v1alpha.ICreateConversationRequest, options?: CallOptions): Promise<[
193
+ protos.google.cloud.discoveryengine.v1alpha.IConversation,
194
+ (protos.google.cloud.discoveryengine.v1alpha.ICreateConversationRequest | undefined),
195
+ {} | undefined
196
+ ]>;
197
+ createConversation(request: protos.google.cloud.discoveryengine.v1alpha.ICreateConversationRequest, options: CallOptions, callback: Callback<protos.google.cloud.discoveryengine.v1alpha.IConversation, protos.google.cloud.discoveryengine.v1alpha.ICreateConversationRequest | null | undefined, {} | null | undefined>): void;
198
+ createConversation(request: protos.google.cloud.discoveryengine.v1alpha.ICreateConversationRequest, callback: Callback<protos.google.cloud.discoveryengine.v1alpha.IConversation, protos.google.cloud.discoveryengine.v1alpha.ICreateConversationRequest | null | undefined, {} | null | undefined>): void;
199
+ /**
200
+ * Deletes a Conversation.
201
+ *
202
+ * If the {@link protos.google.cloud.discoveryengine.v1alpha.Conversation|Conversation} to
203
+ * delete does not exist, a NOT_FOUND error is returned.
204
+ *
205
+ * @param {Object} request
206
+ * The request object that will be sent.
207
+ * @param {string} request.name
208
+ * Required. The resource name of the Conversation to delete. Format:
209
+ * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`
210
+ * @param {object} [options]
211
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
212
+ * @returns {Promise} - The promise which resolves to an array.
213
+ * The first element of the array is an object representing {@link protos.google.protobuf.Empty|Empty}.
214
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
215
+ * for more details and examples.
216
+ * @example <caption>include:samples/generated/v1alpha/conversational_search_service.delete_conversation.js</caption>
217
+ * region_tag:discoveryengine_v1alpha_generated_ConversationalSearchService_DeleteConversation_async
218
+ */
219
+ deleteConversation(request?: protos.google.cloud.discoveryengine.v1alpha.IDeleteConversationRequest, options?: CallOptions): Promise<[
220
+ protos.google.protobuf.IEmpty,
221
+ (protos.google.cloud.discoveryengine.v1alpha.IDeleteConversationRequest | undefined),
222
+ {} | undefined
223
+ ]>;
224
+ deleteConversation(request: protos.google.cloud.discoveryengine.v1alpha.IDeleteConversationRequest, options: CallOptions, callback: Callback<protos.google.protobuf.IEmpty, protos.google.cloud.discoveryengine.v1alpha.IDeleteConversationRequest | null | undefined, {} | null | undefined>): void;
225
+ deleteConversation(request: protos.google.cloud.discoveryengine.v1alpha.IDeleteConversationRequest, callback: Callback<protos.google.protobuf.IEmpty, protos.google.cloud.discoveryengine.v1alpha.IDeleteConversationRequest | null | undefined, {} | null | undefined>): void;
226
+ /**
227
+ * Updates a Conversation.
228
+ *
229
+ * {@link protos.google.cloud.discoveryengine.v1alpha.Conversation|Conversation} action
230
+ * type cannot be changed. If the
231
+ * {@link protos.google.cloud.discoveryengine.v1alpha.Conversation|Conversation} to update
232
+ * does not exist, a NOT_FOUND error is returned.
233
+ *
234
+ * @param {Object} request
235
+ * The request object that will be sent.
236
+ * @param {google.cloud.discoveryengine.v1alpha.Conversation} request.conversation
237
+ * Required. The Conversation to update.
238
+ * @param {google.protobuf.FieldMask} request.updateMask
239
+ * Indicates which fields in the provided
240
+ * {@link protos.google.cloud.discoveryengine.v1alpha.Conversation|Conversation} to
241
+ * update. The following are NOT supported:
242
+ *
243
+ * * {@link protos.|conversation.name}
244
+ *
245
+ * If not set or empty, all supported fields are updated.
246
+ * @param {object} [options]
247
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
248
+ * @returns {Promise} - The promise which resolves to an array.
249
+ * The first element of the array is an object representing {@link protos.google.cloud.discoveryengine.v1alpha.Conversation|Conversation}.
250
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
251
+ * for more details and examples.
252
+ * @example <caption>include:samples/generated/v1alpha/conversational_search_service.update_conversation.js</caption>
253
+ * region_tag:discoveryengine_v1alpha_generated_ConversationalSearchService_UpdateConversation_async
254
+ */
255
+ updateConversation(request?: protos.google.cloud.discoveryengine.v1alpha.IUpdateConversationRequest, options?: CallOptions): Promise<[
256
+ protos.google.cloud.discoveryengine.v1alpha.IConversation,
257
+ (protos.google.cloud.discoveryengine.v1alpha.IUpdateConversationRequest | undefined),
258
+ {} | undefined
259
+ ]>;
260
+ updateConversation(request: protos.google.cloud.discoveryengine.v1alpha.IUpdateConversationRequest, options: CallOptions, callback: Callback<protos.google.cloud.discoveryengine.v1alpha.IConversation, protos.google.cloud.discoveryengine.v1alpha.IUpdateConversationRequest | null | undefined, {} | null | undefined>): void;
261
+ updateConversation(request: protos.google.cloud.discoveryengine.v1alpha.IUpdateConversationRequest, callback: Callback<protos.google.cloud.discoveryengine.v1alpha.IConversation, protos.google.cloud.discoveryengine.v1alpha.IUpdateConversationRequest | null | undefined, {} | null | undefined>): void;
262
+ /**
263
+ * Gets a Conversation.
264
+ *
265
+ * @param {Object} request
266
+ * The request object that will be sent.
267
+ * @param {string} request.name
268
+ * Required. The resource name of the Conversation to get. Format:
269
+ * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`
270
+ * @param {object} [options]
271
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
272
+ * @returns {Promise} - The promise which resolves to an array.
273
+ * The first element of the array is an object representing {@link protos.google.cloud.discoveryengine.v1alpha.Conversation|Conversation}.
274
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
275
+ * for more details and examples.
276
+ * @example <caption>include:samples/generated/v1alpha/conversational_search_service.get_conversation.js</caption>
277
+ * region_tag:discoveryengine_v1alpha_generated_ConversationalSearchService_GetConversation_async
278
+ */
279
+ getConversation(request?: protos.google.cloud.discoveryengine.v1alpha.IGetConversationRequest, options?: CallOptions): Promise<[
280
+ protos.google.cloud.discoveryengine.v1alpha.IConversation,
281
+ (protos.google.cloud.discoveryengine.v1alpha.IGetConversationRequest | undefined),
282
+ {} | undefined
283
+ ]>;
284
+ getConversation(request: protos.google.cloud.discoveryengine.v1alpha.IGetConversationRequest, options: CallOptions, callback: Callback<protos.google.cloud.discoveryengine.v1alpha.IConversation, protos.google.cloud.discoveryengine.v1alpha.IGetConversationRequest | null | undefined, {} | null | undefined>): void;
285
+ getConversation(request: protos.google.cloud.discoveryengine.v1alpha.IGetConversationRequest, callback: Callback<protos.google.cloud.discoveryengine.v1alpha.IConversation, protos.google.cloud.discoveryengine.v1alpha.IGetConversationRequest | null | undefined, {} | null | undefined>): void;
286
+ /**
287
+ * Lists all Conversations by their parent
288
+ * {@link protos.google.cloud.discoveryengine.v1alpha.DataStore|DataStore}.
289
+ *
290
+ * @param {Object} request
291
+ * The request object that will be sent.
292
+ * @param {string} request.parent
293
+ * Required. The data store resource name. Format:
294
+ * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}`
295
+ * @param {number} request.pageSize
296
+ * Maximum number of results to return. If unspecified, defaults
297
+ * to 50. Max allowed value is 1000.
298
+ * @param {string} request.pageToken
299
+ * A page token, received from a previous `ListConversations` call.
300
+ * Provide this to retrieve the subsequent page.
301
+ * @param {string} request.filter
302
+ * A filter to apply on the list results. The supported features are:
303
+ * user_pseudo_id, state.
304
+ *
305
+ * Example:
306
+ * "user_pseudo_id = some_id"
307
+ * @param {string} request.orderBy
308
+ * A comma-separated list of fields to order by, sorted in ascending order.
309
+ * Use "desc" after a field name for descending.
310
+ * Supported fields:
311
+ * * `update_time`
312
+ * * `create_time`
313
+ * * `conversation_name`
314
+ *
315
+ * Example:
316
+ * "update_time desc"
317
+ * "create_time"
318
+ * @param {object} [options]
319
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
320
+ * @returns {Promise} - The promise which resolves to an array.
321
+ * The first element of the array is Array of {@link protos.google.cloud.discoveryengine.v1alpha.Conversation|Conversation}.
322
+ * The client library will perform auto-pagination by default: it will call the API as many
323
+ * times as needed and will merge results from all the pages into this array.
324
+ * Note that it can affect your quota.
325
+ * We recommend using `listConversationsAsync()`
326
+ * method described below for async iteration which you can stop as needed.
327
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
328
+ * for more details and examples.
329
+ */
330
+ listConversations(request?: protos.google.cloud.discoveryengine.v1alpha.IListConversationsRequest, options?: CallOptions): Promise<[
331
+ protos.google.cloud.discoveryengine.v1alpha.IConversation[],
332
+ protos.google.cloud.discoveryengine.v1alpha.IListConversationsRequest | null,
333
+ protos.google.cloud.discoveryengine.v1alpha.IListConversationsResponse
334
+ ]>;
335
+ listConversations(request: protos.google.cloud.discoveryengine.v1alpha.IListConversationsRequest, options: CallOptions, callback: PaginationCallback<protos.google.cloud.discoveryengine.v1alpha.IListConversationsRequest, protos.google.cloud.discoveryengine.v1alpha.IListConversationsResponse | null | undefined, protos.google.cloud.discoveryengine.v1alpha.IConversation>): void;
336
+ listConversations(request: protos.google.cloud.discoveryengine.v1alpha.IListConversationsRequest, callback: PaginationCallback<protos.google.cloud.discoveryengine.v1alpha.IListConversationsRequest, protos.google.cloud.discoveryengine.v1alpha.IListConversationsResponse | null | undefined, protos.google.cloud.discoveryengine.v1alpha.IConversation>): void;
337
+ /**
338
+ * Equivalent to `method.name.toCamelCase()`, but returns a NodeJS Stream object.
339
+ * @param {Object} request
340
+ * The request object that will be sent.
341
+ * @param {string} request.parent
342
+ * Required. The data store resource name. Format:
343
+ * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}`
344
+ * @param {number} request.pageSize
345
+ * Maximum number of results to return. If unspecified, defaults
346
+ * to 50. Max allowed value is 1000.
347
+ * @param {string} request.pageToken
348
+ * A page token, received from a previous `ListConversations` call.
349
+ * Provide this to retrieve the subsequent page.
350
+ * @param {string} request.filter
351
+ * A filter to apply on the list results. The supported features are:
352
+ * user_pseudo_id, state.
353
+ *
354
+ * Example:
355
+ * "user_pseudo_id = some_id"
356
+ * @param {string} request.orderBy
357
+ * A comma-separated list of fields to order by, sorted in ascending order.
358
+ * Use "desc" after a field name for descending.
359
+ * Supported fields:
360
+ * * `update_time`
361
+ * * `create_time`
362
+ * * `conversation_name`
363
+ *
364
+ * Example:
365
+ * "update_time desc"
366
+ * "create_time"
367
+ * @param {object} [options]
368
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
369
+ * @returns {Stream}
370
+ * An object stream which emits an object representing {@link protos.google.cloud.discoveryengine.v1alpha.Conversation|Conversation} on 'data' event.
371
+ * The client library will perform auto-pagination by default: it will call the API as many
372
+ * times as needed. Note that it can affect your quota.
373
+ * We recommend using `listConversationsAsync()`
374
+ * method described below for async iteration which you can stop as needed.
375
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
376
+ * for more details and examples.
377
+ */
378
+ listConversationsStream(request?: protos.google.cloud.discoveryengine.v1alpha.IListConversationsRequest, options?: CallOptions): Transform;
379
+ /**
380
+ * Equivalent to `listConversations`, but returns an iterable object.
381
+ *
382
+ * `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
383
+ * @param {Object} request
384
+ * The request object that will be sent.
385
+ * @param {string} request.parent
386
+ * Required. The data store resource name. Format:
387
+ * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}`
388
+ * @param {number} request.pageSize
389
+ * Maximum number of results to return. If unspecified, defaults
390
+ * to 50. Max allowed value is 1000.
391
+ * @param {string} request.pageToken
392
+ * A page token, received from a previous `ListConversations` call.
393
+ * Provide this to retrieve the subsequent page.
394
+ * @param {string} request.filter
395
+ * A filter to apply on the list results. The supported features are:
396
+ * user_pseudo_id, state.
397
+ *
398
+ * Example:
399
+ * "user_pseudo_id = some_id"
400
+ * @param {string} request.orderBy
401
+ * A comma-separated list of fields to order by, sorted in ascending order.
402
+ * Use "desc" after a field name for descending.
403
+ * Supported fields:
404
+ * * `update_time`
405
+ * * `create_time`
406
+ * * `conversation_name`
407
+ *
408
+ * Example:
409
+ * "update_time desc"
410
+ * "create_time"
411
+ * @param {object} [options]
412
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
413
+ * @returns {Object}
414
+ * An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
415
+ * When you iterate the returned iterable, each element will be an object representing
416
+ * {@link protos.google.cloud.discoveryengine.v1alpha.Conversation|Conversation}. The API will be called under the hood as needed, once per the page,
417
+ * so you can stop the iteration when you don't need more results.
418
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
419
+ * for more details and examples.
420
+ * @example <caption>include:samples/generated/v1alpha/conversational_search_service.list_conversations.js</caption>
421
+ * region_tag:discoveryengine_v1alpha_generated_ConversationalSearchService_ListConversations_async
422
+ */
423
+ listConversationsAsync(request?: protos.google.cloud.discoveryengine.v1alpha.IListConversationsRequest, options?: CallOptions): AsyncIterable<protos.google.cloud.discoveryengine.v1alpha.IConversation>;
424
+ /**
425
+ * Gets information about a location.
426
+ *
427
+ * @param {Object} request
428
+ * The request object that will be sent.
429
+ * @param {string} request.name
430
+ * Resource name for the location.
431
+ * @param {object} [options]
432
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html | CallOptions} for more details.
433
+ * @returns {Promise} - The promise which resolves to an array.
434
+ * The first element of the array is an object representing {@link google.cloud.location.Location | Location}.
435
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
436
+ * for more details and examples.
437
+ * @example
438
+ * ```
439
+ * const [response] = await client.getLocation(request);
440
+ * ```
441
+ */
442
+ 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>;
443
+ /**
444
+ * Lists information about the supported locations for this service. Returns an iterable object.
445
+ *
446
+ * `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
447
+ * @param {Object} request
448
+ * The request object that will be sent.
449
+ * @param {string} request.name
450
+ * The resource that owns the locations collection, if applicable.
451
+ * @param {string} request.filter
452
+ * The standard list filter.
453
+ * @param {number} request.pageSize
454
+ * The standard list page size.
455
+ * @param {string} request.pageToken
456
+ * The standard list page token.
457
+ * @param {object} [options]
458
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
459
+ * @returns {Object}
460
+ * An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
461
+ * When you iterate the returned iterable, each element will be an object representing
462
+ * {@link google.cloud.location.Location | Location}. The API will be called under the hood as needed, once per the page,
463
+ * so you can stop the iteration when you don't need more results.
464
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
465
+ * for more details and examples.
466
+ * @example
467
+ * ```
468
+ * const iterable = client.listLocationsAsync(request);
469
+ * for await (const response of iterable) {
470
+ * // process response
471
+ * }
472
+ * ```
473
+ */
474
+ listLocationsAsync(request: LocationProtos.google.cloud.location.IListLocationsRequest, options?: CallOptions): AsyncIterable<LocationProtos.google.cloud.location.ILocation>;
475
+ /**
476
+ * Return a fully-qualified engine resource name string.
477
+ *
478
+ * @param {string} project
479
+ * @param {string} location
480
+ * @param {string} collection
481
+ * @param {string} engine
482
+ * @returns {string} Resource name string.
483
+ */
484
+ enginePath(project: string, location: string, collection: string, engine: string): string;
485
+ /**
486
+ * Parse the project from Engine resource.
487
+ *
488
+ * @param {string} engineName
489
+ * A fully-qualified path representing Engine resource.
490
+ * @returns {string} A string representing the project.
491
+ */
492
+ matchProjectFromEngineName(engineName: string): string | number;
493
+ /**
494
+ * Parse the location from Engine resource.
495
+ *
496
+ * @param {string} engineName
497
+ * A fully-qualified path representing Engine resource.
498
+ * @returns {string} A string representing the location.
499
+ */
500
+ matchLocationFromEngineName(engineName: string): string | number;
501
+ /**
502
+ * Parse the collection from Engine resource.
503
+ *
504
+ * @param {string} engineName
505
+ * A fully-qualified path representing Engine resource.
506
+ * @returns {string} A string representing the collection.
507
+ */
508
+ matchCollectionFromEngineName(engineName: string): string | number;
509
+ /**
510
+ * Parse the engine from Engine resource.
511
+ *
512
+ * @param {string} engineName
513
+ * A fully-qualified path representing Engine resource.
514
+ * @returns {string} A string representing the engine.
515
+ */
516
+ matchEngineFromEngineName(engineName: string): string | number;
517
+ /**
518
+ * Return a fully-qualified projectLocationCollectionDataStore resource name string.
519
+ *
520
+ * @param {string} project
521
+ * @param {string} location
522
+ * @param {string} collection
523
+ * @param {string} data_store
524
+ * @returns {string} Resource name string.
525
+ */
526
+ projectLocationCollectionDataStorePath(project: string, location: string, collection: string, dataStore: string): string;
527
+ /**
528
+ * Parse the project from ProjectLocationCollectionDataStore resource.
529
+ *
530
+ * @param {string} projectLocationCollectionDataStoreName
531
+ * A fully-qualified path representing project_location_collection_data_store resource.
532
+ * @returns {string} A string representing the project.
533
+ */
534
+ matchProjectFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName: string): string | number;
535
+ /**
536
+ * Parse the location from ProjectLocationCollectionDataStore resource.
537
+ *
538
+ * @param {string} projectLocationCollectionDataStoreName
539
+ * A fully-qualified path representing project_location_collection_data_store resource.
540
+ * @returns {string} A string representing the location.
541
+ */
542
+ matchLocationFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName: string): string | number;
543
+ /**
544
+ * Parse the collection from ProjectLocationCollectionDataStore resource.
545
+ *
546
+ * @param {string} projectLocationCollectionDataStoreName
547
+ * A fully-qualified path representing project_location_collection_data_store resource.
548
+ * @returns {string} A string representing the collection.
549
+ */
550
+ matchCollectionFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName: string): string | number;
551
+ /**
552
+ * Parse the data_store from ProjectLocationCollectionDataStore resource.
553
+ *
554
+ * @param {string} projectLocationCollectionDataStoreName
555
+ * A fully-qualified path representing project_location_collection_data_store resource.
556
+ * @returns {string} A string representing the data_store.
557
+ */
558
+ matchDataStoreFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName: string): string | number;
559
+ /**
560
+ * Return a fully-qualified projectLocationCollectionDataStoreBranchDocument resource name string.
561
+ *
562
+ * @param {string} project
563
+ * @param {string} location
564
+ * @param {string} collection
565
+ * @param {string} data_store
566
+ * @param {string} branch
567
+ * @param {string} document
568
+ * @returns {string} Resource name string.
569
+ */
570
+ projectLocationCollectionDataStoreBranchDocumentPath(project: string, location: string, collection: string, dataStore: string, branch: string, document: string): string;
571
+ /**
572
+ * Parse the project from ProjectLocationCollectionDataStoreBranchDocument resource.
573
+ *
574
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
575
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
576
+ * @returns {string} A string representing the project.
577
+ */
578
+ matchProjectFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
579
+ /**
580
+ * Parse the location from ProjectLocationCollectionDataStoreBranchDocument resource.
581
+ *
582
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
583
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
584
+ * @returns {string} A string representing the location.
585
+ */
586
+ matchLocationFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
587
+ /**
588
+ * Parse the collection from ProjectLocationCollectionDataStoreBranchDocument resource.
589
+ *
590
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
591
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
592
+ * @returns {string} A string representing the collection.
593
+ */
594
+ matchCollectionFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
595
+ /**
596
+ * Parse the data_store from ProjectLocationCollectionDataStoreBranchDocument resource.
597
+ *
598
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
599
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
600
+ * @returns {string} A string representing the data_store.
601
+ */
602
+ matchDataStoreFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
603
+ /**
604
+ * Parse the branch from ProjectLocationCollectionDataStoreBranchDocument resource.
605
+ *
606
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
607
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
608
+ * @returns {string} A string representing the branch.
609
+ */
610
+ matchBranchFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
611
+ /**
612
+ * Parse the document from ProjectLocationCollectionDataStoreBranchDocument resource.
613
+ *
614
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
615
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
616
+ * @returns {string} A string representing the document.
617
+ */
618
+ matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
619
+ /**
620
+ * Return a fully-qualified projectLocationCollectionDataStoreConversation resource name string.
621
+ *
622
+ * @param {string} project
623
+ * @param {string} location
624
+ * @param {string} collection
625
+ * @param {string} data_store
626
+ * @param {string} conversation
627
+ * @returns {string} Resource name string.
628
+ */
629
+ projectLocationCollectionDataStoreConversationPath(project: string, location: string, collection: string, dataStore: string, conversation: string): string;
630
+ /**
631
+ * Parse the project from ProjectLocationCollectionDataStoreConversation resource.
632
+ *
633
+ * @param {string} projectLocationCollectionDataStoreConversationName
634
+ * A fully-qualified path representing project_location_collection_data_store_conversation resource.
635
+ * @returns {string} A string representing the project.
636
+ */
637
+ matchProjectFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
638
+ /**
639
+ * Parse the location from ProjectLocationCollectionDataStoreConversation resource.
640
+ *
641
+ * @param {string} projectLocationCollectionDataStoreConversationName
642
+ * A fully-qualified path representing project_location_collection_data_store_conversation resource.
643
+ * @returns {string} A string representing the location.
644
+ */
645
+ matchLocationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
646
+ /**
647
+ * Parse the collection from ProjectLocationCollectionDataStoreConversation resource.
648
+ *
649
+ * @param {string} projectLocationCollectionDataStoreConversationName
650
+ * A fully-qualified path representing project_location_collection_data_store_conversation resource.
651
+ * @returns {string} A string representing the collection.
652
+ */
653
+ matchCollectionFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
654
+ /**
655
+ * Parse the data_store from ProjectLocationCollectionDataStoreConversation resource.
656
+ *
657
+ * @param {string} projectLocationCollectionDataStoreConversationName
658
+ * A fully-qualified path representing project_location_collection_data_store_conversation resource.
659
+ * @returns {string} A string representing the data_store.
660
+ */
661
+ matchDataStoreFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
662
+ /**
663
+ * Parse the conversation from ProjectLocationCollectionDataStoreConversation resource.
664
+ *
665
+ * @param {string} projectLocationCollectionDataStoreConversationName
666
+ * A fully-qualified path representing project_location_collection_data_store_conversation resource.
667
+ * @returns {string} A string representing the conversation.
668
+ */
669
+ matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
670
+ /**
671
+ * Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
672
+ *
673
+ * @param {string} project
674
+ * @param {string} location
675
+ * @param {string} collection
676
+ * @param {string} data_store
677
+ * @param {string} schema
678
+ * @returns {string} Resource name string.
679
+ */
680
+ projectLocationCollectionDataStoreSchemaPath(project: string, location: string, collection: string, dataStore: string, schema: string): string;
681
+ /**
682
+ * Parse the project from ProjectLocationCollectionDataStoreSchema resource.
683
+ *
684
+ * @param {string} projectLocationCollectionDataStoreSchemaName
685
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
686
+ * @returns {string} A string representing the project.
687
+ */
688
+ matchProjectFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
689
+ /**
690
+ * Parse the location from ProjectLocationCollectionDataStoreSchema resource.
691
+ *
692
+ * @param {string} projectLocationCollectionDataStoreSchemaName
693
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
694
+ * @returns {string} A string representing the location.
695
+ */
696
+ matchLocationFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
697
+ /**
698
+ * Parse the collection from ProjectLocationCollectionDataStoreSchema resource.
699
+ *
700
+ * @param {string} projectLocationCollectionDataStoreSchemaName
701
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
702
+ * @returns {string} A string representing the collection.
703
+ */
704
+ matchCollectionFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
705
+ /**
706
+ * Parse the data_store from ProjectLocationCollectionDataStoreSchema resource.
707
+ *
708
+ * @param {string} projectLocationCollectionDataStoreSchemaName
709
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
710
+ * @returns {string} A string representing the data_store.
711
+ */
712
+ matchDataStoreFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
713
+ /**
714
+ * Parse the schema from ProjectLocationCollectionDataStoreSchema resource.
715
+ *
716
+ * @param {string} projectLocationCollectionDataStoreSchemaName
717
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
718
+ * @returns {string} A string representing the schema.
719
+ */
720
+ matchSchemaFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
721
+ /**
722
+ * Return a fully-qualified projectLocationCollectionDataStoreServingConfig resource name string.
723
+ *
724
+ * @param {string} project
725
+ * @param {string} location
726
+ * @param {string} collection
727
+ * @param {string} data_store
728
+ * @param {string} serving_config
729
+ * @returns {string} Resource name string.
730
+ */
731
+ projectLocationCollectionDataStoreServingConfigPath(project: string, location: string, collection: string, dataStore: string, servingConfig: string): string;
732
+ /**
733
+ * Parse the project from ProjectLocationCollectionDataStoreServingConfig resource.
734
+ *
735
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
736
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
737
+ * @returns {string} A string representing the project.
738
+ */
739
+ matchProjectFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName: string): string | number;
740
+ /**
741
+ * Parse the location from ProjectLocationCollectionDataStoreServingConfig resource.
742
+ *
743
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
744
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
745
+ * @returns {string} A string representing the location.
746
+ */
747
+ matchLocationFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName: string): string | number;
748
+ /**
749
+ * Parse the collection from ProjectLocationCollectionDataStoreServingConfig resource.
750
+ *
751
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
752
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
753
+ * @returns {string} A string representing the collection.
754
+ */
755
+ matchCollectionFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName: string): string | number;
756
+ /**
757
+ * Parse the data_store from ProjectLocationCollectionDataStoreServingConfig resource.
758
+ *
759
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
760
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
761
+ * @returns {string} A string representing the data_store.
762
+ */
763
+ matchDataStoreFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName: string): string | number;
764
+ /**
765
+ * Parse the serving_config from ProjectLocationCollectionDataStoreServingConfig resource.
766
+ *
767
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
768
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
769
+ * @returns {string} A string representing the serving_config.
770
+ */
771
+ matchServingConfigFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName: string): string | number;
772
+ /**
773
+ * Return a fully-qualified projectLocationCollectionEngineServingConfig resource name string.
774
+ *
775
+ * @param {string} project
776
+ * @param {string} location
777
+ * @param {string} collection
778
+ * @param {string} engine
779
+ * @param {string} serving_config
780
+ * @returns {string} Resource name string.
781
+ */
782
+ projectLocationCollectionEngineServingConfigPath(project: string, location: string, collection: string, engine: string, servingConfig: string): string;
783
+ /**
784
+ * Parse the project from ProjectLocationCollectionEngineServingConfig resource.
785
+ *
786
+ * @param {string} projectLocationCollectionEngineServingConfigName
787
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
788
+ * @returns {string} A string representing the project.
789
+ */
790
+ matchProjectFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName: string): string | number;
791
+ /**
792
+ * Parse the location from ProjectLocationCollectionEngineServingConfig resource.
793
+ *
794
+ * @param {string} projectLocationCollectionEngineServingConfigName
795
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
796
+ * @returns {string} A string representing the location.
797
+ */
798
+ matchLocationFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName: string): string | number;
799
+ /**
800
+ * Parse the collection from ProjectLocationCollectionEngineServingConfig resource.
801
+ *
802
+ * @param {string} projectLocationCollectionEngineServingConfigName
803
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
804
+ * @returns {string} A string representing the collection.
805
+ */
806
+ matchCollectionFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName: string): string | number;
807
+ /**
808
+ * Parse the engine from ProjectLocationCollectionEngineServingConfig resource.
809
+ *
810
+ * @param {string} projectLocationCollectionEngineServingConfigName
811
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
812
+ * @returns {string} A string representing the engine.
813
+ */
814
+ matchEngineFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName: string): string | number;
815
+ /**
816
+ * Parse the serving_config from ProjectLocationCollectionEngineServingConfig resource.
817
+ *
818
+ * @param {string} projectLocationCollectionEngineServingConfigName
819
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
820
+ * @returns {string} A string representing the serving_config.
821
+ */
822
+ matchServingConfigFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName: string): string | number;
823
+ /**
824
+ * Return a fully-qualified projectLocationDataStore resource name string.
825
+ *
826
+ * @param {string} project
827
+ * @param {string} location
828
+ * @param {string} data_store
829
+ * @returns {string} Resource name string.
830
+ */
831
+ projectLocationDataStorePath(project: string, location: string, dataStore: string): string;
832
+ /**
833
+ * Parse the project from ProjectLocationDataStore resource.
834
+ *
835
+ * @param {string} projectLocationDataStoreName
836
+ * A fully-qualified path representing project_location_data_store resource.
837
+ * @returns {string} A string representing the project.
838
+ */
839
+ matchProjectFromProjectLocationDataStoreName(projectLocationDataStoreName: string): string | number;
840
+ /**
841
+ * Parse the location from ProjectLocationDataStore resource.
842
+ *
843
+ * @param {string} projectLocationDataStoreName
844
+ * A fully-qualified path representing project_location_data_store resource.
845
+ * @returns {string} A string representing the location.
846
+ */
847
+ matchLocationFromProjectLocationDataStoreName(projectLocationDataStoreName: string): string | number;
848
+ /**
849
+ * Parse the data_store from ProjectLocationDataStore resource.
850
+ *
851
+ * @param {string} projectLocationDataStoreName
852
+ * A fully-qualified path representing project_location_data_store resource.
853
+ * @returns {string} A string representing the data_store.
854
+ */
855
+ matchDataStoreFromProjectLocationDataStoreName(projectLocationDataStoreName: string): string | number;
856
+ /**
857
+ * Return a fully-qualified projectLocationDataStoreBranchDocument resource name string.
858
+ *
859
+ * @param {string} project
860
+ * @param {string} location
861
+ * @param {string} data_store
862
+ * @param {string} branch
863
+ * @param {string} document
864
+ * @returns {string} Resource name string.
865
+ */
866
+ projectLocationDataStoreBranchDocumentPath(project: string, location: string, dataStore: string, branch: string, document: string): string;
867
+ /**
868
+ * Parse the project from ProjectLocationDataStoreBranchDocument resource.
869
+ *
870
+ * @param {string} projectLocationDataStoreBranchDocumentName
871
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
872
+ * @returns {string} A string representing the project.
873
+ */
874
+ matchProjectFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
875
+ /**
876
+ * Parse the location from ProjectLocationDataStoreBranchDocument resource.
877
+ *
878
+ * @param {string} projectLocationDataStoreBranchDocumentName
879
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
880
+ * @returns {string} A string representing the location.
881
+ */
882
+ matchLocationFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
883
+ /**
884
+ * Parse the data_store from ProjectLocationDataStoreBranchDocument resource.
885
+ *
886
+ * @param {string} projectLocationDataStoreBranchDocumentName
887
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
888
+ * @returns {string} A string representing the data_store.
889
+ */
890
+ matchDataStoreFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
891
+ /**
892
+ * Parse the branch from ProjectLocationDataStoreBranchDocument resource.
893
+ *
894
+ * @param {string} projectLocationDataStoreBranchDocumentName
895
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
896
+ * @returns {string} A string representing the branch.
897
+ */
898
+ matchBranchFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
899
+ /**
900
+ * Parse the document from ProjectLocationDataStoreBranchDocument resource.
901
+ *
902
+ * @param {string} projectLocationDataStoreBranchDocumentName
903
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
904
+ * @returns {string} A string representing the document.
905
+ */
906
+ matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
907
+ /**
908
+ * Return a fully-qualified projectLocationDataStoreConversation resource name string.
909
+ *
910
+ * @param {string} project
911
+ * @param {string} location
912
+ * @param {string} data_store
913
+ * @param {string} conversation
914
+ * @returns {string} Resource name string.
915
+ */
916
+ projectLocationDataStoreConversationPath(project: string, location: string, dataStore: string, conversation: string): string;
917
+ /**
918
+ * Parse the project from ProjectLocationDataStoreConversation resource.
919
+ *
920
+ * @param {string} projectLocationDataStoreConversationName
921
+ * A fully-qualified path representing project_location_data_store_conversation resource.
922
+ * @returns {string} A string representing the project.
923
+ */
924
+ matchProjectFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
925
+ /**
926
+ * Parse the location from ProjectLocationDataStoreConversation resource.
927
+ *
928
+ * @param {string} projectLocationDataStoreConversationName
929
+ * A fully-qualified path representing project_location_data_store_conversation resource.
930
+ * @returns {string} A string representing the location.
931
+ */
932
+ matchLocationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
933
+ /**
934
+ * Parse the data_store from ProjectLocationDataStoreConversation resource.
935
+ *
936
+ * @param {string} projectLocationDataStoreConversationName
937
+ * A fully-qualified path representing project_location_data_store_conversation resource.
938
+ * @returns {string} A string representing the data_store.
939
+ */
940
+ matchDataStoreFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
941
+ /**
942
+ * Parse the conversation from ProjectLocationDataStoreConversation resource.
943
+ *
944
+ * @param {string} projectLocationDataStoreConversationName
945
+ * A fully-qualified path representing project_location_data_store_conversation resource.
946
+ * @returns {string} A string representing the conversation.
947
+ */
948
+ matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
949
+ /**
950
+ * Return a fully-qualified projectLocationDataStoreSchema resource name string.
951
+ *
952
+ * @param {string} project
953
+ * @param {string} location
954
+ * @param {string} data_store
955
+ * @param {string} schema
956
+ * @returns {string} Resource name string.
957
+ */
958
+ projectLocationDataStoreSchemaPath(project: string, location: string, dataStore: string, schema: string): string;
959
+ /**
960
+ * Parse the project from ProjectLocationDataStoreSchema resource.
961
+ *
962
+ * @param {string} projectLocationDataStoreSchemaName
963
+ * A fully-qualified path representing project_location_data_store_schema resource.
964
+ * @returns {string} A string representing the project.
965
+ */
966
+ matchProjectFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName: string): string | number;
967
+ /**
968
+ * Parse the location from ProjectLocationDataStoreSchema resource.
969
+ *
970
+ * @param {string} projectLocationDataStoreSchemaName
971
+ * A fully-qualified path representing project_location_data_store_schema resource.
972
+ * @returns {string} A string representing the location.
973
+ */
974
+ matchLocationFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName: string): string | number;
975
+ /**
976
+ * Parse the data_store from ProjectLocationDataStoreSchema resource.
977
+ *
978
+ * @param {string} projectLocationDataStoreSchemaName
979
+ * A fully-qualified path representing project_location_data_store_schema resource.
980
+ * @returns {string} A string representing the data_store.
981
+ */
982
+ matchDataStoreFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName: string): string | number;
983
+ /**
984
+ * Parse the schema from ProjectLocationDataStoreSchema resource.
985
+ *
986
+ * @param {string} projectLocationDataStoreSchemaName
987
+ * A fully-qualified path representing project_location_data_store_schema resource.
988
+ * @returns {string} A string representing the schema.
989
+ */
990
+ matchSchemaFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName: string): string | number;
991
+ /**
992
+ * Return a fully-qualified projectLocationDataStoreServingConfig resource name string.
993
+ *
994
+ * @param {string} project
995
+ * @param {string} location
996
+ * @param {string} data_store
997
+ * @param {string} serving_config
998
+ * @returns {string} Resource name string.
999
+ */
1000
+ projectLocationDataStoreServingConfigPath(project: string, location: string, dataStore: string, servingConfig: string): string;
1001
+ /**
1002
+ * Parse the project from ProjectLocationDataStoreServingConfig resource.
1003
+ *
1004
+ * @param {string} projectLocationDataStoreServingConfigName
1005
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
1006
+ * @returns {string} A string representing the project.
1007
+ */
1008
+ matchProjectFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName: string): string | number;
1009
+ /**
1010
+ * Parse the location from ProjectLocationDataStoreServingConfig resource.
1011
+ *
1012
+ * @param {string} projectLocationDataStoreServingConfigName
1013
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
1014
+ * @returns {string} A string representing the location.
1015
+ */
1016
+ matchLocationFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName: string): string | number;
1017
+ /**
1018
+ * Parse the data_store from ProjectLocationDataStoreServingConfig resource.
1019
+ *
1020
+ * @param {string} projectLocationDataStoreServingConfigName
1021
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
1022
+ * @returns {string} A string representing the data_store.
1023
+ */
1024
+ matchDataStoreFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName: string): string | number;
1025
+ /**
1026
+ * Parse the serving_config from ProjectLocationDataStoreServingConfig resource.
1027
+ *
1028
+ * @param {string} projectLocationDataStoreServingConfigName
1029
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
1030
+ * @returns {string} A string representing the serving_config.
1031
+ */
1032
+ matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName: string): string | number;
1033
+ /**
1034
+ * Terminate the gRPC channel and close the client.
1035
+ *
1036
+ * The client will no longer be usable and all future behavior is undefined.
1037
+ * @returns {Promise} A promise that resolves when the client is closed.
1038
+ */
1039
+ close(): Promise<void>;
1040
+ }