@google-cloud/discoveryengine 1.1.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/README.md +26 -0
  3. package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +155 -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/document.proto +121 -0
  8. package/build/protos/google/cloud/discoveryengine/v1alpha/document_service.proto +318 -0
  9. package/build/protos/google/cloud/discoveryengine/v1alpha/import_config.proto +343 -0
  10. package/build/protos/google/cloud/discoveryengine/v1alpha/purge_config.proto +159 -0
  11. package/build/protos/google/cloud/discoveryengine/v1alpha/recommendation_service.proto +221 -0
  12. package/build/protos/google/cloud/discoveryengine/v1alpha/schema.proto +312 -0
  13. package/build/protos/google/cloud/discoveryengine/v1alpha/schema_service.proto +260 -0
  14. package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +851 -0
  15. package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine_service.proto +152 -0
  16. package/build/protos/google/cloud/discoveryengine/v1alpha/user_event.proto +475 -0
  17. package/build/protos/google/cloud/discoveryengine/v1alpha/user_event_service.proto +154 -0
  18. package/build/protos/protos.d.ts +12587 -7
  19. package/build/protos/protos.js +34918 -3126
  20. package/build/protos/protos.json +3458 -5
  21. package/build/src/index.d.ts +3 -1
  22. package/build/src/index.js +4 -1
  23. package/build/src/v1alpha/completion_service_client.d.ts +603 -0
  24. package/build/src/v1alpha/completion_service_client.js +843 -0
  25. package/build/src/v1alpha/completion_service_client_config.json +43 -0
  26. package/build/src/v1alpha/conversational_search_service_client.d.ts +998 -0
  27. package/build/src/v1alpha/conversational_search_service_client.js +1275 -0
  28. package/build/src/v1alpha/conversational_search_service_client_config.json +68 -0
  29. package/build/src/v1alpha/document_service_client.d.ts +1140 -0
  30. package/build/src/v1alpha/document_service_client.js +1393 -0
  31. package/build/src/v1alpha/document_service_client_config.json +82 -0
  32. package/build/src/v1alpha/index.d.ts +8 -0
  33. package/build/src/v1alpha/index.js +37 -0
  34. package/build/src/v1alpha/recommendation_service_client.d.ts +735 -0
  35. package/build/src/v1alpha/recommendation_service_client.js +938 -0
  36. package/build/src/v1alpha/recommendation_service_client_config.json +43 -0
  37. package/build/src/v1alpha/schema_service_client.d.ts +935 -0
  38. package/build/src/v1alpha/schema_service_client.js +1327 -0
  39. package/build/src/v1alpha/schema_service_client_config.json +63 -0
  40. package/build/src/v1alpha/search_service_client.d.ts +1208 -0
  41. package/build/src/v1alpha/search_service_client.js +1432 -0
  42. package/build/src/v1alpha/search_service_client_config.json +43 -0
  43. package/build/src/v1alpha/site_search_engine_service_client.d.ts +704 -0
  44. package/build/src/v1alpha/site_search_engine_service_client.js +1087 -0
  45. package/build/src/v1alpha/site_search_engine_service_client_config.json +30 -0
  46. package/build/src/v1alpha/user_event_service_client.d.ts +853 -0
  47. package/build/src/v1alpha/user_event_service_client.js +1174 -0
  48. package/build/src/v1alpha/user_event_service_client_config.json +67 -0
  49. package/package.json +3 -3
@@ -0,0 +1,704 @@
1
+ import type * as gax from 'google-gax';
2
+ import type { Callback, CallOptions, Descriptors, ClientOptions, LROperation, LocationsClient, LocationProtos } from 'google-gax';
3
+ import * as protos from '../../protos/protos';
4
+ /**
5
+ * Service for managing site search related resources.
6
+ * @class
7
+ * @memberof v1alpha
8
+ */
9
+ export declare class SiteSearchEngineServiceClient {
10
+ private _terminated;
11
+ private _opts;
12
+ private _providedCustomServicePath;
13
+ private _gaxModule;
14
+ private _gaxGrpc;
15
+ private _protos;
16
+ private _defaults;
17
+ auth: gax.GoogleAuth;
18
+ descriptors: Descriptors;
19
+ warn: (code: string, message: string, warnType?: string) => void;
20
+ innerApiCalls: {
21
+ [name: string]: Function;
22
+ };
23
+ locationsClient: LocationsClient;
24
+ pathTemplates: {
25
+ [name: string]: gax.PathTemplate;
26
+ };
27
+ operationsClient: gax.OperationsClient;
28
+ siteSearchEngineServiceStub?: Promise<{
29
+ [name: string]: Function;
30
+ }>;
31
+ /**
32
+ * Construct an instance of SiteSearchEngineServiceClient.
33
+ *
34
+ * @param {object} [options] - The configuration object.
35
+ * The options accepted by the constructor are described in detail
36
+ * in [this document](https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#creating-the-client-instance).
37
+ * The common options are:
38
+ * @param {object} [options.credentials] - Credentials object.
39
+ * @param {string} [options.credentials.client_email]
40
+ * @param {string} [options.credentials.private_key]
41
+ * @param {string} [options.email] - Account email address. Required when
42
+ * using a .pem or .p12 keyFilename.
43
+ * @param {string} [options.keyFilename] - Full path to the a .json, .pem, or
44
+ * .p12 key downloaded from the Google Developers Console. If you provide
45
+ * a path to a JSON file, the projectId option below is not necessary.
46
+ * NOTE: .pem and .p12 require you to specify options.email as well.
47
+ * @param {number} [options.port] - The port on which to connect to
48
+ * the remote host.
49
+ * @param {string} [options.projectId] - The project ID from the Google
50
+ * Developer's Console, e.g. 'grape-spaceship-123'. We will also check
51
+ * the environment variable GCLOUD_PROJECT for your project ID. If your
52
+ * app is running in an environment which supports
53
+ * {@link https://developers.google.com/identity/protocols/application-default-credentials Application Default Credentials},
54
+ * your project ID will be detected automatically.
55
+ * @param {string} [options.apiEndpoint] - The domain name of the
56
+ * API remote host.
57
+ * @param {gax.ClientConfig} [options.clientConfig] - Client configuration override.
58
+ * Follows the structure of {@link gapicConfig}.
59
+ * @param {boolean} [options.fallback] - Use HTTP/1.1 REST mode.
60
+ * For more information, please check the
61
+ * {@link https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#http11-rest-api-mode documentation}.
62
+ * @param {gax} [gaxInstance]: loaded instance of `google-gax`. Useful if you
63
+ * need to avoid loading the default gRPC version and want to use the fallback
64
+ * HTTP implementation. Load only fallback version and pass it to the constructor:
65
+ * ```
66
+ * const gax = require('google-gax/build/src/fallback'); // avoids loading google-gax with gRPC
67
+ * const client = new SiteSearchEngineServiceClient({fallback: true}, gax);
68
+ * ```
69
+ */
70
+ constructor(opts?: ClientOptions, gaxInstance?: typeof gax | typeof gax.fallback);
71
+ /**
72
+ * Initialize the client.
73
+ * Performs asynchronous operations (such as authentication) and prepares the client.
74
+ * This function will be called automatically when any class method is called for the
75
+ * first time, but if you need to initialize it before calling an actual method,
76
+ * feel free to call initialize() directly.
77
+ *
78
+ * You can await on this method if you want to make sure the client is initialized.
79
+ *
80
+ * @returns {Promise} A promise that resolves to an authenticated service stub.
81
+ */
82
+ initialize(): Promise<{
83
+ [name: string]: Function;
84
+ }>;
85
+ /**
86
+ * The DNS address for this API service.
87
+ * @returns {string} The DNS address for this service.
88
+ */
89
+ static get servicePath(): string;
90
+ /**
91
+ * The DNS address for this API service - same as servicePath(),
92
+ * exists for compatibility reasons.
93
+ * @returns {string} The DNS address for this service.
94
+ */
95
+ static get apiEndpoint(): string;
96
+ /**
97
+ * The port for this API service.
98
+ * @returns {number} The default port for this service.
99
+ */
100
+ static get port(): number;
101
+ /**
102
+ * The scopes needed to make gRPC calls for every method defined
103
+ * in this service.
104
+ * @returns {string[]} List of default scopes.
105
+ */
106
+ static get scopes(): string[];
107
+ getProjectId(): Promise<string>;
108
+ getProjectId(callback: Callback<string, undefined, undefined>): void;
109
+ /**
110
+ * Request on-demand recrawl for a list of URIs.
111
+ *
112
+ * @param {Object} request
113
+ * The request object that will be sent.
114
+ * @param {string} request.siteSearchEngine
115
+ * Required. Full resource name of the
116
+ * {@link protos.google.cloud.discoveryengine.v1alpha.SiteSearchEngine|SiteSearchEngine},
117
+ * such as
118
+ * `projects/* /locations/* /collections/* /dataStores/* /siteSearchEngine`.
119
+ * @param {string[]} request.uris
120
+ * Required. List of URIs to crawl. At most 10K URIs are supported, otherwise
121
+ * an INVALID_ARGUMENT error is thrown. Each URI should match at least one
122
+ * {@link protos.google.cloud.discoveryengine.v1alpha.TargetSite|TargetSite} in
123
+ * `site_search_engine`.
124
+ * @param {object} [options]
125
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
126
+ * @returns {Promise} - The promise which resolves to an array.
127
+ * The first element of the array is an object representing
128
+ * a long running operation. Its `promise()` method returns a promise
129
+ * you can `await` for.
130
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
131
+ * for more details and examples.
132
+ * @example <caption>include:samples/generated/v1alpha/site_search_engine_service.recrawl_uris.js</caption>
133
+ * region_tag:discoveryengine_v1alpha_generated_SiteSearchEngineService_RecrawlUris_async
134
+ */
135
+ recrawlUris(request?: protos.google.cloud.discoveryengine.v1alpha.IRecrawlUrisRequest, options?: CallOptions): Promise<[
136
+ LROperation<protos.google.cloud.discoveryengine.v1alpha.IRecrawlUrisResponse, protos.google.cloud.discoveryengine.v1alpha.IRecrawlUrisMetadata>,
137
+ protos.google.longrunning.IOperation | undefined,
138
+ {} | undefined
139
+ ]>;
140
+ recrawlUris(request: protos.google.cloud.discoveryengine.v1alpha.IRecrawlUrisRequest, options: CallOptions, callback: Callback<LROperation<protos.google.cloud.discoveryengine.v1alpha.IRecrawlUrisResponse, protos.google.cloud.discoveryengine.v1alpha.IRecrawlUrisMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
141
+ recrawlUris(request: protos.google.cloud.discoveryengine.v1alpha.IRecrawlUrisRequest, callback: Callback<LROperation<protos.google.cloud.discoveryengine.v1alpha.IRecrawlUrisResponse, protos.google.cloud.discoveryengine.v1alpha.IRecrawlUrisMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
142
+ /**
143
+ * Check the status of the long running operation returned by `recrawlUris()`.
144
+ * @param {String} name
145
+ * The operation name that will be passed.
146
+ * @returns {Promise} - The promise which resolves to an object.
147
+ * The decoded operation object has result and metadata field to get information from.
148
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
149
+ * for more details and examples.
150
+ * @example <caption>include:samples/generated/v1alpha/site_search_engine_service.recrawl_uris.js</caption>
151
+ * region_tag:discoveryengine_v1alpha_generated_SiteSearchEngineService_RecrawlUris_async
152
+ */
153
+ checkRecrawlUrisProgress(name: string): Promise<LROperation<protos.google.cloud.discoveryengine.v1alpha.RecrawlUrisResponse, protos.google.cloud.discoveryengine.v1alpha.RecrawlUrisMetadata>>;
154
+ /**
155
+ * Gets information about a location.
156
+ *
157
+ * @param {Object} request
158
+ * The request object that will be sent.
159
+ * @param {string} request.name
160
+ * Resource name for the location.
161
+ * @param {object} [options]
162
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html | CallOptions} for more details.
163
+ * @returns {Promise} - The promise which resolves to an array.
164
+ * The first element of the array is an object representing {@link google.cloud.location.Location | Location}.
165
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
166
+ * for more details and examples.
167
+ * @example
168
+ * ```
169
+ * const [response] = await client.getLocation(request);
170
+ * ```
171
+ */
172
+ 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>;
173
+ /**
174
+ * Lists information about the supported locations for this service. Returns an iterable object.
175
+ *
176
+ * `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
177
+ * @param {Object} request
178
+ * The request object that will be sent.
179
+ * @param {string} request.name
180
+ * The resource that owns the locations collection, if applicable.
181
+ * @param {string} request.filter
182
+ * The standard list filter.
183
+ * @param {number} request.pageSize
184
+ * The standard list page size.
185
+ * @param {string} request.pageToken
186
+ * The standard list page token.
187
+ * @param {object} [options]
188
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
189
+ * @returns {Object}
190
+ * An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
191
+ * When you iterate the returned iterable, each element will be an object representing
192
+ * {@link google.cloud.location.Location | Location}. The API will be called under the hood as needed, once per the page,
193
+ * so you can stop the iteration when you don't need more results.
194
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
195
+ * for more details and examples.
196
+ * @example
197
+ * ```
198
+ * const iterable = client.listLocationsAsync(request);
199
+ * for await (const response of iterable) {
200
+ * // process response
201
+ * }
202
+ * ```
203
+ */
204
+ listLocationsAsync(request: LocationProtos.google.cloud.location.IListLocationsRequest, options?: CallOptions): AsyncIterable<LocationProtos.google.cloud.location.ILocation>;
205
+ /**
206
+ * Gets the latest state of a long-running operation. Clients can use this
207
+ * method to poll the operation result at intervals as recommended by the API
208
+ * service.
209
+ *
210
+ * @param {Object} request - The request object that will be sent.
211
+ * @param {string} request.name - The name of the operation resource.
212
+ * @param {Object=} options
213
+ * Optional parameters. You can override the default settings for this call,
214
+ * e.g, timeout, retries, paginations, etc. See {@link
215
+ * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions}
216
+ * for the details.
217
+ * @param {function(?Error, ?Object)=} callback
218
+ * The function which will be called with the result of the API call.
219
+ *
220
+ * The second parameter to the callback is an object representing
221
+ * {@link google.longrunning.Operation | google.longrunning.Operation}.
222
+ * @return {Promise} - The promise which resolves to an array.
223
+ * The first element of the array is an object representing
224
+ * {@link google.longrunning.Operation | google.longrunning.Operation}.
225
+ * The promise has a method named "cancel" which cancels the ongoing API call.
226
+ *
227
+ * @example
228
+ * ```
229
+ * const client = longrunning.operationsClient();
230
+ * const name = '';
231
+ * const [response] = await client.getOperation({name});
232
+ * // doThingsWith(response)
233
+ * ```
234
+ */
235
+ getOperation(request: protos.google.longrunning.GetOperationRequest, options?: gax.CallOptions | Callback<protos.google.longrunning.Operation, protos.google.longrunning.GetOperationRequest, {} | null | undefined>, callback?: Callback<protos.google.longrunning.Operation, protos.google.longrunning.GetOperationRequest, {} | null | undefined>): Promise<[protos.google.longrunning.Operation]>;
236
+ /**
237
+ * Lists operations that match the specified filter in the request. If the
238
+ * server doesn't support this method, it returns `UNIMPLEMENTED`. Returns an iterable object.
239
+ *
240
+ * For-await-of syntax is used with the iterable to recursively get response element on-demand.
241
+ *
242
+ * @param {Object} request - The request object that will be sent.
243
+ * @param {string} request.name - The name of the operation collection.
244
+ * @param {string} request.filter - The standard list filter.
245
+ * @param {number=} request.pageSize -
246
+ * The maximum number of resources contained in the underlying API
247
+ * response. If page streaming is performed per-resource, this
248
+ * parameter does not affect the return value. If page streaming is
249
+ * performed per-page, this determines the maximum number of
250
+ * resources in a page.
251
+ * @param {Object=} options
252
+ * Optional parameters. You can override the default settings for this call,
253
+ * e.g, timeout, retries, paginations, etc. See {@link
254
+ * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions} for the
255
+ * details.
256
+ * @returns {Object}
257
+ * An iterable Object that conforms to {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | iteration protocols}.
258
+ *
259
+ * @example
260
+ * ```
261
+ * const client = longrunning.operationsClient();
262
+ * for await (const response of client.listOperationsAsync(request));
263
+ * // doThingsWith(response)
264
+ * ```
265
+ */
266
+ listOperationsAsync(request: protos.google.longrunning.ListOperationsRequest, options?: gax.CallOptions): AsyncIterable<protos.google.longrunning.ListOperationsResponse>;
267
+ /**
268
+ * Starts asynchronous cancellation on a long-running operation. The server
269
+ * makes a best effort to cancel the operation, but success is not
270
+ * guaranteed. If the server doesn't support this method, it returns
271
+ * `google.rpc.Code.UNIMPLEMENTED`. Clients can use
272
+ * {@link Operations.GetOperation} or
273
+ * other methods to check whether the cancellation succeeded or whether the
274
+ * operation completed despite cancellation. On successful cancellation,
275
+ * the operation is not deleted; instead, it becomes an operation with
276
+ * an {@link Operation.error} value with a {@link google.rpc.Status.code} of
277
+ * 1, corresponding to `Code.CANCELLED`.
278
+ *
279
+ * @param {Object} request - The request object that will be sent.
280
+ * @param {string} request.name - The name of the operation resource to be cancelled.
281
+ * @param {Object=} options
282
+ * Optional parameters. You can override the default settings for this call,
283
+ * e.g, timeout, retries, paginations, etc. See {@link
284
+ * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions} for the
285
+ * details.
286
+ * @param {function(?Error)=} callback
287
+ * The function which will be called with the result of the API call.
288
+ * @return {Promise} - The promise which resolves when API call finishes.
289
+ * The promise has a method named "cancel" which cancels the ongoing API
290
+ * call.
291
+ *
292
+ * @example
293
+ * ```
294
+ * const client = longrunning.operationsClient();
295
+ * await client.cancelOperation({name: ''});
296
+ * ```
297
+ */
298
+ cancelOperation(request: protos.google.longrunning.CancelOperationRequest, options?: gax.CallOptions | Callback<protos.google.protobuf.Empty, protos.google.longrunning.CancelOperationRequest, {} | undefined | null>, callback?: Callback<protos.google.longrunning.CancelOperationRequest, protos.google.protobuf.Empty, {} | undefined | null>): Promise<protos.google.protobuf.Empty>;
299
+ /**
300
+ * Deletes a long-running operation. This method indicates that the client is
301
+ * no longer interested in the operation result. It does not cancel the
302
+ * operation. If the server doesn't support this method, it returns
303
+ * `google.rpc.Code.UNIMPLEMENTED`.
304
+ *
305
+ * @param {Object} request - The request object that will be sent.
306
+ * @param {string} request.name - The name of the operation resource to be deleted.
307
+ * @param {Object=} options
308
+ * Optional parameters. You can override the default settings for this call,
309
+ * e.g, timeout, retries, paginations, etc. See {@link
310
+ * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions}
311
+ * for the details.
312
+ * @param {function(?Error)=} callback
313
+ * The function which will be called with the result of the API call.
314
+ * @return {Promise} - The promise which resolves when API call finishes.
315
+ * The promise has a method named "cancel" which cancels the ongoing API
316
+ * call.
317
+ *
318
+ * @example
319
+ * ```
320
+ * const client = longrunning.operationsClient();
321
+ * await client.deleteOperation({name: ''});
322
+ * ```
323
+ */
324
+ deleteOperation(request: protos.google.longrunning.DeleteOperationRequest, options?: gax.CallOptions | Callback<protos.google.protobuf.Empty, protos.google.longrunning.DeleteOperationRequest, {} | null | undefined>, callback?: Callback<protos.google.protobuf.Empty, protos.google.longrunning.DeleteOperationRequest, {} | null | undefined>): Promise<protos.google.protobuf.Empty>;
325
+ /**
326
+ * Return a fully-qualified projectLocationCollectionDataStoreBranchDocument resource name string.
327
+ *
328
+ * @param {string} project
329
+ * @param {string} location
330
+ * @param {string} collection
331
+ * @param {string} data_store
332
+ * @param {string} branch
333
+ * @param {string} document
334
+ * @returns {string} Resource name string.
335
+ */
336
+ projectLocationCollectionDataStoreBranchDocumentPath(project: string, location: string, collection: string, dataStore: string, branch: string, document: string): string;
337
+ /**
338
+ * Parse the project from ProjectLocationCollectionDataStoreBranchDocument resource.
339
+ *
340
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
341
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
342
+ * @returns {string} A string representing the project.
343
+ */
344
+ matchProjectFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
345
+ /**
346
+ * Parse the location from ProjectLocationCollectionDataStoreBranchDocument resource.
347
+ *
348
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
349
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
350
+ * @returns {string} A string representing the location.
351
+ */
352
+ matchLocationFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
353
+ /**
354
+ * Parse the collection from ProjectLocationCollectionDataStoreBranchDocument resource.
355
+ *
356
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
357
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
358
+ * @returns {string} A string representing the collection.
359
+ */
360
+ matchCollectionFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
361
+ /**
362
+ * Parse the data_store from ProjectLocationCollectionDataStoreBranchDocument resource.
363
+ *
364
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
365
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
366
+ * @returns {string} A string representing the data_store.
367
+ */
368
+ matchDataStoreFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
369
+ /**
370
+ * Parse the branch from ProjectLocationCollectionDataStoreBranchDocument resource.
371
+ *
372
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
373
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
374
+ * @returns {string} A string representing the branch.
375
+ */
376
+ matchBranchFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
377
+ /**
378
+ * Parse the document from ProjectLocationCollectionDataStoreBranchDocument resource.
379
+ *
380
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
381
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
382
+ * @returns {string} A string representing the document.
383
+ */
384
+ matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
385
+ /**
386
+ * Return a fully-qualified projectLocationCollectionDataStoreConversation resource name string.
387
+ *
388
+ * @param {string} project
389
+ * @param {string} location
390
+ * @param {string} collection
391
+ * @param {string} data_store
392
+ * @param {string} conversation
393
+ * @returns {string} Resource name string.
394
+ */
395
+ projectLocationCollectionDataStoreConversationPath(project: string, location: string, collection: string, dataStore: string, conversation: string): string;
396
+ /**
397
+ * Parse the project from ProjectLocationCollectionDataStoreConversation resource.
398
+ *
399
+ * @param {string} projectLocationCollectionDataStoreConversationName
400
+ * A fully-qualified path representing project_location_collection_data_store_conversation resource.
401
+ * @returns {string} A string representing the project.
402
+ */
403
+ matchProjectFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
404
+ /**
405
+ * Parse the location from ProjectLocationCollectionDataStoreConversation resource.
406
+ *
407
+ * @param {string} projectLocationCollectionDataStoreConversationName
408
+ * A fully-qualified path representing project_location_collection_data_store_conversation resource.
409
+ * @returns {string} A string representing the location.
410
+ */
411
+ matchLocationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
412
+ /**
413
+ * Parse the collection from ProjectLocationCollectionDataStoreConversation resource.
414
+ *
415
+ * @param {string} projectLocationCollectionDataStoreConversationName
416
+ * A fully-qualified path representing project_location_collection_data_store_conversation resource.
417
+ * @returns {string} A string representing the collection.
418
+ */
419
+ matchCollectionFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
420
+ /**
421
+ * Parse the data_store from ProjectLocationCollectionDataStoreConversation resource.
422
+ *
423
+ * @param {string} projectLocationCollectionDataStoreConversationName
424
+ * A fully-qualified path representing project_location_collection_data_store_conversation resource.
425
+ * @returns {string} A string representing the data_store.
426
+ */
427
+ matchDataStoreFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
428
+ /**
429
+ * Parse the conversation from ProjectLocationCollectionDataStoreConversation resource.
430
+ *
431
+ * @param {string} projectLocationCollectionDataStoreConversationName
432
+ * A fully-qualified path representing project_location_collection_data_store_conversation resource.
433
+ * @returns {string} A string representing the conversation.
434
+ */
435
+ matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
436
+ /**
437
+ * Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
438
+ *
439
+ * @param {string} project
440
+ * @param {string} location
441
+ * @param {string} collection
442
+ * @param {string} data_store
443
+ * @param {string} schema
444
+ * @returns {string} Resource name string.
445
+ */
446
+ projectLocationCollectionDataStoreSchemaPath(project: string, location: string, collection: string, dataStore: string, schema: string): string;
447
+ /**
448
+ * Parse the project from ProjectLocationCollectionDataStoreSchema resource.
449
+ *
450
+ * @param {string} projectLocationCollectionDataStoreSchemaName
451
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
452
+ * @returns {string} A string representing the project.
453
+ */
454
+ matchProjectFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
455
+ /**
456
+ * Parse the location from ProjectLocationCollectionDataStoreSchema resource.
457
+ *
458
+ * @param {string} projectLocationCollectionDataStoreSchemaName
459
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
460
+ * @returns {string} A string representing the location.
461
+ */
462
+ matchLocationFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
463
+ /**
464
+ * Parse the collection from ProjectLocationCollectionDataStoreSchema resource.
465
+ *
466
+ * @param {string} projectLocationCollectionDataStoreSchemaName
467
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
468
+ * @returns {string} A string representing the collection.
469
+ */
470
+ matchCollectionFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
471
+ /**
472
+ * Parse the data_store from ProjectLocationCollectionDataStoreSchema resource.
473
+ *
474
+ * @param {string} projectLocationCollectionDataStoreSchemaName
475
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
476
+ * @returns {string} A string representing the data_store.
477
+ */
478
+ matchDataStoreFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
479
+ /**
480
+ * Parse the schema from ProjectLocationCollectionDataStoreSchema resource.
481
+ *
482
+ * @param {string} projectLocationCollectionDataStoreSchemaName
483
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
484
+ * @returns {string} A string representing the schema.
485
+ */
486
+ matchSchemaFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
487
+ /**
488
+ * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
489
+ *
490
+ * @param {string} project
491
+ * @param {string} location
492
+ * @param {string} collection
493
+ * @param {string} data_store
494
+ * @returns {string} Resource name string.
495
+ */
496
+ projectLocationCollectionDataStoreSiteSearchEnginePath(project: string, location: string, collection: string, dataStore: string): string;
497
+ /**
498
+ * Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
499
+ *
500
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
501
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
502
+ * @returns {string} A string representing the project.
503
+ */
504
+ matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
505
+ /**
506
+ * Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
507
+ *
508
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
509
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
510
+ * @returns {string} A string representing the location.
511
+ */
512
+ matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
513
+ /**
514
+ * Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
515
+ *
516
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
517
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
518
+ * @returns {string} A string representing the collection.
519
+ */
520
+ matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
521
+ /**
522
+ * Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
523
+ *
524
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
525
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
526
+ * @returns {string} A string representing the data_store.
527
+ */
528
+ matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
529
+ /**
530
+ * Return a fully-qualified projectLocationDataStoreBranchDocument resource name string.
531
+ *
532
+ * @param {string} project
533
+ * @param {string} location
534
+ * @param {string} data_store
535
+ * @param {string} branch
536
+ * @param {string} document
537
+ * @returns {string} Resource name string.
538
+ */
539
+ projectLocationDataStoreBranchDocumentPath(project: string, location: string, dataStore: string, branch: string, document: string): string;
540
+ /**
541
+ * Parse the project from ProjectLocationDataStoreBranchDocument resource.
542
+ *
543
+ * @param {string} projectLocationDataStoreBranchDocumentName
544
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
545
+ * @returns {string} A string representing the project.
546
+ */
547
+ matchProjectFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
548
+ /**
549
+ * Parse the location from ProjectLocationDataStoreBranchDocument resource.
550
+ *
551
+ * @param {string} projectLocationDataStoreBranchDocumentName
552
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
553
+ * @returns {string} A string representing the location.
554
+ */
555
+ matchLocationFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
556
+ /**
557
+ * Parse the data_store from ProjectLocationDataStoreBranchDocument resource.
558
+ *
559
+ * @param {string} projectLocationDataStoreBranchDocumentName
560
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
561
+ * @returns {string} A string representing the data_store.
562
+ */
563
+ matchDataStoreFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
564
+ /**
565
+ * Parse the branch from ProjectLocationDataStoreBranchDocument resource.
566
+ *
567
+ * @param {string} projectLocationDataStoreBranchDocumentName
568
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
569
+ * @returns {string} A string representing the branch.
570
+ */
571
+ matchBranchFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
572
+ /**
573
+ * Parse the document from ProjectLocationDataStoreBranchDocument resource.
574
+ *
575
+ * @param {string} projectLocationDataStoreBranchDocumentName
576
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
577
+ * @returns {string} A string representing the document.
578
+ */
579
+ matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
580
+ /**
581
+ * Return a fully-qualified projectLocationDataStoreConversation resource name string.
582
+ *
583
+ * @param {string} project
584
+ * @param {string} location
585
+ * @param {string} data_store
586
+ * @param {string} conversation
587
+ * @returns {string} Resource name string.
588
+ */
589
+ projectLocationDataStoreConversationPath(project: string, location: string, dataStore: string, conversation: string): string;
590
+ /**
591
+ * Parse the project from ProjectLocationDataStoreConversation resource.
592
+ *
593
+ * @param {string} projectLocationDataStoreConversationName
594
+ * A fully-qualified path representing project_location_data_store_conversation resource.
595
+ * @returns {string} A string representing the project.
596
+ */
597
+ matchProjectFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
598
+ /**
599
+ * Parse the location from ProjectLocationDataStoreConversation resource.
600
+ *
601
+ * @param {string} projectLocationDataStoreConversationName
602
+ * A fully-qualified path representing project_location_data_store_conversation resource.
603
+ * @returns {string} A string representing the location.
604
+ */
605
+ matchLocationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
606
+ /**
607
+ * Parse the data_store from ProjectLocationDataStoreConversation resource.
608
+ *
609
+ * @param {string} projectLocationDataStoreConversationName
610
+ * A fully-qualified path representing project_location_data_store_conversation resource.
611
+ * @returns {string} A string representing the data_store.
612
+ */
613
+ matchDataStoreFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
614
+ /**
615
+ * Parse the conversation from ProjectLocationDataStoreConversation resource.
616
+ *
617
+ * @param {string} projectLocationDataStoreConversationName
618
+ * A fully-qualified path representing project_location_data_store_conversation resource.
619
+ * @returns {string} A string representing the conversation.
620
+ */
621
+ matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
622
+ /**
623
+ * Return a fully-qualified projectLocationDataStoreSchema resource name string.
624
+ *
625
+ * @param {string} project
626
+ * @param {string} location
627
+ * @param {string} data_store
628
+ * @param {string} schema
629
+ * @returns {string} Resource name string.
630
+ */
631
+ projectLocationDataStoreSchemaPath(project: string, location: string, dataStore: string, schema: string): string;
632
+ /**
633
+ * Parse the project from ProjectLocationDataStoreSchema resource.
634
+ *
635
+ * @param {string} projectLocationDataStoreSchemaName
636
+ * A fully-qualified path representing project_location_data_store_schema resource.
637
+ * @returns {string} A string representing the project.
638
+ */
639
+ matchProjectFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName: string): string | number;
640
+ /**
641
+ * Parse the location from ProjectLocationDataStoreSchema resource.
642
+ *
643
+ * @param {string} projectLocationDataStoreSchemaName
644
+ * A fully-qualified path representing project_location_data_store_schema resource.
645
+ * @returns {string} A string representing the location.
646
+ */
647
+ matchLocationFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName: string): string | number;
648
+ /**
649
+ * Parse the data_store from ProjectLocationDataStoreSchema resource.
650
+ *
651
+ * @param {string} projectLocationDataStoreSchemaName
652
+ * A fully-qualified path representing project_location_data_store_schema resource.
653
+ * @returns {string} A string representing the data_store.
654
+ */
655
+ matchDataStoreFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName: string): string | number;
656
+ /**
657
+ * Parse the schema from ProjectLocationDataStoreSchema resource.
658
+ *
659
+ * @param {string} projectLocationDataStoreSchemaName
660
+ * A fully-qualified path representing project_location_data_store_schema resource.
661
+ * @returns {string} A string representing the schema.
662
+ */
663
+ matchSchemaFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName: string): string | number;
664
+ /**
665
+ * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
666
+ *
667
+ * @param {string} project
668
+ * @param {string} location
669
+ * @param {string} data_store
670
+ * @returns {string} Resource name string.
671
+ */
672
+ projectLocationDataStoreSiteSearchEnginePath(project: string, location: string, dataStore: string): string;
673
+ /**
674
+ * Parse the project from ProjectLocationDataStoreSiteSearchEngine resource.
675
+ *
676
+ * @param {string} projectLocationDataStoreSiteSearchEngineName
677
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
678
+ * @returns {string} A string representing the project.
679
+ */
680
+ matchProjectFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName: string): string | number;
681
+ /**
682
+ * Parse the location from ProjectLocationDataStoreSiteSearchEngine resource.
683
+ *
684
+ * @param {string} projectLocationDataStoreSiteSearchEngineName
685
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
686
+ * @returns {string} A string representing the location.
687
+ */
688
+ matchLocationFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName: string): string | number;
689
+ /**
690
+ * Parse the data_store from ProjectLocationDataStoreSiteSearchEngine resource.
691
+ *
692
+ * @param {string} projectLocationDataStoreSiteSearchEngineName
693
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
694
+ * @returns {string} A string representing the data_store.
695
+ */
696
+ matchDataStoreFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName: string): string | number;
697
+ /**
698
+ * Terminate the gRPC channel and close the client.
699
+ *
700
+ * The client will no longer be usable and all future behavior is undefined.
701
+ * @returns {Promise} A promise that resolves when the client is closed.
702
+ */
703
+ close(): Promise<void>;
704
+ }