@google-cloud/discoveryengine 0.6.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/README.md +38 -22
  3. package/build/protos/google/cloud/discoveryengine/v1/common.proto +100 -0
  4. package/build/protos/google/cloud/discoveryengine/v1/completion_service.proto +116 -0
  5. package/build/protos/google/cloud/discoveryengine/v1/document.proto +118 -0
  6. package/build/protos/google/cloud/discoveryengine/v1/document_service.proto +313 -0
  7. package/build/protos/google/cloud/discoveryengine/v1/import_config.proto +334 -0
  8. package/build/protos/google/cloud/discoveryengine/v1/purge_config.proto +86 -0
  9. package/build/protos/google/cloud/discoveryengine/v1/schema.proto +58 -0
  10. package/build/protos/google/cloud/discoveryengine/v1/schema_service.proto +256 -0
  11. package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +289 -0
  12. package/build/protos/google/cloud/discoveryengine/v1/user_event.proto +458 -0
  13. package/build/protos/google/cloud/discoveryengine/v1/user_event_service.proto +133 -0
  14. package/build/protos/google/cloud/discoveryengine/v1beta/import_config.proto +54 -0
  15. package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +29 -4
  16. package/build/protos/protos.d.ts +6589 -0
  17. package/build/protos/protos.js +16050 -1
  18. package/build/protos/protos.json +1807 -0
  19. package/build/src/index.d.ts +18 -19
  20. package/build/src/index.js +9 -9
  21. package/build/src/v1/completion_service_client.d.ts +455 -0
  22. package/build/src/v1/completion_service_client.js +659 -0
  23. package/build/src/v1/completion_service_client_config.json +43 -0
  24. package/build/src/v1/document_service_client.d.ts +995 -0
  25. package/build/src/v1/document_service_client.js +1191 -0
  26. package/build/src/v1/document_service_client_config.json +82 -0
  27. package/build/src/v1/index.d.ts +5 -0
  28. package/build/src/v1/index.js +31 -0
  29. package/build/src/v1/schema_service_client.d.ts +795 -0
  30. package/build/src/v1/schema_service_client.js +1129 -0
  31. package/build/src/v1/schema_service_client_config.json +63 -0
  32. package/build/src/v1/search_service_client.d.ts +857 -0
  33. package/build/src/v1/search_service_client.js +1073 -0
  34. package/build/src/v1/search_service_client_config.json +43 -0
  35. package/build/src/v1/user_event_service_client.d.ts +638 -0
  36. package/build/src/v1/user_event_service_client.js +933 -0
  37. package/build/src/v1/user_event_service_client_config.json +62 -0
  38. package/build/src/v1beta/document_service_client.d.ts +52 -0
  39. package/build/src/v1beta/document_service_client.js +6 -0
  40. package/build/src/v1beta/schema_service_client.js +6 -0
  41. package/build/src/v1beta/search_service_client.d.ts +78 -12
  42. package/build/src/v1beta/search_service_client.js +52 -8
  43. package/build/src/v1beta/user_event_service_client.js +6 -0
  44. package/package.json +2 -2
@@ -0,0 +1,638 @@
1
+ import type * as gax from 'google-gax';
2
+ import type { Callback, CallOptions, Descriptors, ClientOptions, LROperation } from 'google-gax';
3
+ import * as protos from '../../protos/protos';
4
+ /**
5
+ * Service for ingesting end user actions on a website to Discovery Engine API.
6
+ * @class
7
+ * @memberof v1
8
+ */
9
+ export declare class UserEventServiceClient {
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
+ pathTemplates: {
24
+ [name: string]: gax.PathTemplate;
25
+ };
26
+ operationsClient: gax.OperationsClient;
27
+ userEventServiceStub?: Promise<{
28
+ [name: string]: Function;
29
+ }>;
30
+ /**
31
+ * Construct an instance of UserEventServiceClient.
32
+ *
33
+ * @param {object} [options] - The configuration object.
34
+ * The options accepted by the constructor are described in detail
35
+ * in [this document](https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#creating-the-client-instance).
36
+ * The common options are:
37
+ * @param {object} [options.credentials] - Credentials object.
38
+ * @param {string} [options.credentials.client_email]
39
+ * @param {string} [options.credentials.private_key]
40
+ * @param {string} [options.email] - Account email address. Required when
41
+ * using a .pem or .p12 keyFilename.
42
+ * @param {string} [options.keyFilename] - Full path to the a .json, .pem, or
43
+ * .p12 key downloaded from the Google Developers Console. If you provide
44
+ * a path to a JSON file, the projectId option below is not necessary.
45
+ * NOTE: .pem and .p12 require you to specify options.email as well.
46
+ * @param {number} [options.port] - The port on which to connect to
47
+ * the remote host.
48
+ * @param {string} [options.projectId] - The project ID from the Google
49
+ * Developer's Console, e.g. 'grape-spaceship-123'. We will also check
50
+ * the environment variable GCLOUD_PROJECT for your project ID. If your
51
+ * app is running in an environment which supports
52
+ * {@link https://developers.google.com/identity/protocols/application-default-credentials Application Default Credentials},
53
+ * your project ID will be detected automatically.
54
+ * @param {string} [options.apiEndpoint] - The domain name of the
55
+ * API remote host.
56
+ * @param {gax.ClientConfig} [options.clientConfig] - Client configuration override.
57
+ * Follows the structure of {@link gapicConfig}.
58
+ * @param {boolean | "rest"} [options.fallback] - Use HTTP fallback mode.
59
+ * Pass "rest" to use HTTP/1.1 REST API instead of gRPC.
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 UserEventServiceClient({fallback: 'rest'}, 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
+ * Writes a single user event.
111
+ *
112
+ * @param {Object} request
113
+ * The request object that will be sent.
114
+ * @param {string} request.parent
115
+ * Required. The parent DataStore resource name, such as
116
+ * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`.
117
+ * @param {google.cloud.discoveryengine.v1.UserEvent} request.userEvent
118
+ * Required. User event to write.
119
+ * @param {object} [options]
120
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
121
+ * @returns {Promise} - The promise which resolves to an array.
122
+ * The first element of the array is an object representing {@link google.cloud.discoveryengine.v1.UserEvent | UserEvent}.
123
+ * Please see the
124
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
125
+ * for more details and examples.
126
+ * @example <caption>include:samples/generated/v1/user_event_service.write_user_event.js</caption>
127
+ * region_tag:discoveryengine_v1_generated_UserEventService_WriteUserEvent_async
128
+ */
129
+ writeUserEvent(request?: protos.google.cloud.discoveryengine.v1.IWriteUserEventRequest, options?: CallOptions): Promise<[
130
+ protos.google.cloud.discoveryengine.v1.IUserEvent,
131
+ protos.google.cloud.discoveryengine.v1.IWriteUserEventRequest | undefined,
132
+ {} | undefined
133
+ ]>;
134
+ writeUserEvent(request: protos.google.cloud.discoveryengine.v1.IWriteUserEventRequest, options: CallOptions, callback: Callback<protos.google.cloud.discoveryengine.v1.IUserEvent, protos.google.cloud.discoveryengine.v1.IWriteUserEventRequest | null | undefined, {} | null | undefined>): void;
135
+ writeUserEvent(request: protos.google.cloud.discoveryengine.v1.IWriteUserEventRequest, callback: Callback<protos.google.cloud.discoveryengine.v1.IUserEvent, protos.google.cloud.discoveryengine.v1.IWriteUserEventRequest | null | undefined, {} | null | undefined>): void;
136
+ /**
137
+ * Writes a single user event from the browser. This uses a GET request to
138
+ * due to browser restriction of POST-ing to a 3rd party domain.
139
+ *
140
+ * This method is used only by the Discovery Engine API JavaScript pixel and
141
+ * Google Tag Manager. Users should not call this method directly.
142
+ *
143
+ * @param {Object} request
144
+ * The request object that will be sent.
145
+ * @param {string} request.parent
146
+ * Required. The parent DataStore resource name, such as
147
+ * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`.
148
+ * @param {string} request.userEvent
149
+ * Required. URL encoded UserEvent proto with a length limit of 2,000,000
150
+ * characters.
151
+ * @param {string} request.uri
152
+ * The URL including cgi-parameters but excluding the hash fragment with a
153
+ * length limit of 5,000 characters. This is often more useful than the
154
+ * referer URL, because many browsers only send the domain for 3rd party
155
+ * requests.
156
+ * @param {number} request.ets
157
+ * The event timestamp in milliseconds. This prevents browser caching of
158
+ * otherwise identical get requests. The name is abbreviated to reduce the
159
+ * payload bytes.
160
+ * @param {object} [options]
161
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
162
+ * @returns {Promise} - The promise which resolves to an array.
163
+ * The first element of the array is an object representing {@link google.api.HttpBody | HttpBody}.
164
+ * Please see the
165
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
166
+ * for more details and examples.
167
+ * @example <caption>include:samples/generated/v1/user_event_service.collect_user_event.js</caption>
168
+ * region_tag:discoveryengine_v1_generated_UserEventService_CollectUserEvent_async
169
+ */
170
+ collectUserEvent(request?: protos.google.cloud.discoveryengine.v1.ICollectUserEventRequest, options?: CallOptions): Promise<[
171
+ protos.google.api.IHttpBody,
172
+ (protos.google.cloud.discoveryengine.v1.ICollectUserEventRequest | undefined),
173
+ {} | undefined
174
+ ]>;
175
+ collectUserEvent(request: protos.google.cloud.discoveryengine.v1.ICollectUserEventRequest, options: CallOptions, callback: Callback<protos.google.api.IHttpBody, protos.google.cloud.discoveryengine.v1.ICollectUserEventRequest | null | undefined, {} | null | undefined>): void;
176
+ collectUserEvent(request: protos.google.cloud.discoveryengine.v1.ICollectUserEventRequest, callback: Callback<protos.google.api.IHttpBody, protos.google.cloud.discoveryengine.v1.ICollectUserEventRequest | null | undefined, {} | null | undefined>): void;
177
+ /**
178
+ * Bulk import of User events. Request processing might be
179
+ * synchronous. Events that already exist are skipped.
180
+ * Use this method for backfilling historical user events.
181
+ *
182
+ * Operation.response is of type ImportResponse. Note that it is
183
+ * possible for a subset of the items to be successfully inserted.
184
+ * Operation.metadata is of type ImportMetadata.
185
+ *
186
+ * @param {Object} request
187
+ * The request object that will be sent.
188
+ * @param {google.cloud.discoveryengine.v1.ImportUserEventsRequest.InlineSource} request.inlineSource
189
+ * Required. The Inline source for the input content for UserEvents.
190
+ * @param {google.cloud.discoveryengine.v1.GcsSource} request.gcsSource
191
+ * Required. Cloud Storage location for the input content.
192
+ * @param {google.cloud.discoveryengine.v1.BigQuerySource} request.bigquerySource
193
+ * Required. BigQuery input source.
194
+ * @param {string} request.parent
195
+ * Required. Parent DataStore resource name, of the form
196
+ * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`
197
+ * @param {google.cloud.discoveryengine.v1.ImportErrorConfig} request.errorConfig
198
+ * The desired location of errors incurred during the Import. Cannot be set
199
+ * for inline user event imports.
200
+ * @param {object} [options]
201
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
202
+ * @returns {Promise} - The promise which resolves to an array.
203
+ * The first element of the array is an object representing
204
+ * a long running operation. Its `promise()` method returns a promise
205
+ * you can `await` for.
206
+ * Please see the
207
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations)
208
+ * for more details and examples.
209
+ * @example <caption>include:samples/generated/v1/user_event_service.import_user_events.js</caption>
210
+ * region_tag:discoveryengine_v1_generated_UserEventService_ImportUserEvents_async
211
+ */
212
+ importUserEvents(request?: protos.google.cloud.discoveryengine.v1.IImportUserEventsRequest, options?: CallOptions): Promise<[
213
+ LROperation<protos.google.cloud.discoveryengine.v1.IImportUserEventsResponse, protos.google.cloud.discoveryengine.v1.IImportUserEventsMetadata>,
214
+ protos.google.longrunning.IOperation | undefined,
215
+ {} | undefined
216
+ ]>;
217
+ importUserEvents(request: protos.google.cloud.discoveryengine.v1.IImportUserEventsRequest, options: CallOptions, callback: Callback<LROperation<protos.google.cloud.discoveryengine.v1.IImportUserEventsResponse, protos.google.cloud.discoveryengine.v1.IImportUserEventsMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
218
+ importUserEvents(request: protos.google.cloud.discoveryengine.v1.IImportUserEventsRequest, callback: Callback<LROperation<protos.google.cloud.discoveryengine.v1.IImportUserEventsResponse, protos.google.cloud.discoveryengine.v1.IImportUserEventsMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
219
+ /**
220
+ * Check the status of the long running operation returned by `importUserEvents()`.
221
+ * @param {String} name
222
+ * The operation name that will be passed.
223
+ * @returns {Promise} - The promise which resolves to an object.
224
+ * The decoded operation object has result and metadata field to get information from.
225
+ * Please see the
226
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations)
227
+ * for more details and examples.
228
+ * @example <caption>include:samples/generated/v1/user_event_service.import_user_events.js</caption>
229
+ * region_tag:discoveryengine_v1_generated_UserEventService_ImportUserEvents_async
230
+ */
231
+ checkImportUserEventsProgress(name: string): Promise<LROperation<protos.google.cloud.discoveryengine.v1.ImportUserEventsResponse, protos.google.cloud.discoveryengine.v1.ImportUserEventsMetadata>>;
232
+ /**
233
+ * Gets the latest state of a long-running operation. Clients can use this
234
+ * method to poll the operation result at intervals as recommended by the API
235
+ * service.
236
+ *
237
+ * @param {Object} request - The request object that will be sent.
238
+ * @param {string} request.name - The name of the operation resource.
239
+ * @param {Object=} options
240
+ * Optional parameters. You can override the default settings for this call,
241
+ * e.g, timeout, retries, paginations, etc. See {@link
242
+ * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions}
243
+ * for the details.
244
+ * @param {function(?Error, ?Object)=} callback
245
+ * The function which will be called with the result of the API call.
246
+ *
247
+ * The second parameter to the callback is an object representing
248
+ * {@link google.longrunning.Operation | google.longrunning.Operation}.
249
+ * @return {Promise} - The promise which resolves to an array.
250
+ * The first element of the array is an object representing
251
+ * {@link google.longrunning.Operation | google.longrunning.Operation}.
252
+ * The promise has a method named "cancel" which cancels the ongoing API call.
253
+ *
254
+ * @example
255
+ * ```
256
+ * const client = longrunning.operationsClient();
257
+ * const name = '';
258
+ * const [response] = await client.getOperation({name});
259
+ * // doThingsWith(response)
260
+ * ```
261
+ */
262
+ 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]>;
263
+ /**
264
+ * Lists operations that match the specified filter in the request. If the
265
+ * server doesn't support this method, it returns `UNIMPLEMENTED`. Returns an iterable object.
266
+ *
267
+ * For-await-of syntax is used with the iterable to recursively get response element on-demand.
268
+ *
269
+ * @param {Object} request - The request object that will be sent.
270
+ * @param {string} request.name - The name of the operation collection.
271
+ * @param {string} request.filter - The standard list filter.
272
+ * @param {number=} request.pageSize -
273
+ * The maximum number of resources contained in the underlying API
274
+ * response. If page streaming is performed per-resource, this
275
+ * parameter does not affect the return value. If page streaming is
276
+ * performed per-page, this determines the maximum number of
277
+ * resources in a page.
278
+ * @param {Object=} options
279
+ * Optional parameters. You can override the default settings for this call,
280
+ * e.g, timeout, retries, paginations, etc. See {@link
281
+ * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions} for the
282
+ * details.
283
+ * @returns {Object}
284
+ * An iterable Object that conforms to {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | iteration protocols}.
285
+ *
286
+ * @example
287
+ * ```
288
+ * const client = longrunning.operationsClient();
289
+ * for await (const response of client.listOperationsAsync(request));
290
+ * // doThingsWith(response)
291
+ * ```
292
+ */
293
+ listOperationsAsync(request: protos.google.longrunning.ListOperationsRequest, options?: gax.CallOptions): AsyncIterable<protos.google.longrunning.ListOperationsResponse>;
294
+ /**
295
+ * Starts asynchronous cancellation on a long-running operation. The server
296
+ * makes a best effort to cancel the operation, but success is not
297
+ * guaranteed. If the server doesn't support this method, it returns
298
+ * `google.rpc.Code.UNIMPLEMENTED`. Clients can use
299
+ * {@link Operations.GetOperation} or
300
+ * other methods to check whether the cancellation succeeded or whether the
301
+ * operation completed despite cancellation. On successful cancellation,
302
+ * the operation is not deleted; instead, it becomes an operation with
303
+ * an {@link Operation.error} value with a {@link google.rpc.Status.code} of
304
+ * 1, corresponding to `Code.CANCELLED`.
305
+ *
306
+ * @param {Object} request - The request object that will be sent.
307
+ * @param {string} request.name - The name of the operation resource to be cancelled.
308
+ * @param {Object=} options
309
+ * Optional parameters. You can override the default settings for this call,
310
+ * e.g, timeout, retries, paginations, etc. See {@link
311
+ * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions} for the
312
+ * details.
313
+ * @param {function(?Error)=} callback
314
+ * The function which will be called with the result of the API call.
315
+ * @return {Promise} - The promise which resolves when API call finishes.
316
+ * The promise has a method named "cancel" which cancels the ongoing API
317
+ * call.
318
+ *
319
+ * @example
320
+ * ```
321
+ * const client = longrunning.operationsClient();
322
+ * await client.cancelOperation({name: ''});
323
+ * ```
324
+ */
325
+ 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>;
326
+ /**
327
+ * Deletes a long-running operation. This method indicates that the client is
328
+ * no longer interested in the operation result. It does not cancel the
329
+ * operation. If the server doesn't support this method, it returns
330
+ * `google.rpc.Code.UNIMPLEMENTED`.
331
+ *
332
+ * @param {Object} request - The request object that will be sent.
333
+ * @param {string} request.name - The name of the operation resource to be deleted.
334
+ * @param {Object=} options
335
+ * Optional parameters. You can override the default settings for this call,
336
+ * e.g, timeout, retries, paginations, etc. See {@link
337
+ * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions}
338
+ * for the details.
339
+ * @param {function(?Error)=} callback
340
+ * The function which will be called with the result of the API call.
341
+ * @return {Promise} - The promise which resolves when API call finishes.
342
+ * The promise has a method named "cancel" which cancels the ongoing API
343
+ * call.
344
+ *
345
+ * @example
346
+ * ```
347
+ * const client = longrunning.operationsClient();
348
+ * await client.deleteOperation({name: ''});
349
+ * ```
350
+ */
351
+ 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>;
352
+ /**
353
+ * Return a fully-qualified projectLocationCollectionDataStore resource name string.
354
+ *
355
+ * @param {string} project
356
+ * @param {string} location
357
+ * @param {string} collection
358
+ * @param {string} data_store
359
+ * @returns {string} Resource name string.
360
+ */
361
+ projectLocationCollectionDataStorePath(project: string, location: string, collection: string, dataStore: string): string;
362
+ /**
363
+ * Parse the project from ProjectLocationCollectionDataStore resource.
364
+ *
365
+ * @param {string} projectLocationCollectionDataStoreName
366
+ * A fully-qualified path representing project_location_collection_data_store resource.
367
+ * @returns {string} A string representing the project.
368
+ */
369
+ matchProjectFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName: string): string | number;
370
+ /**
371
+ * Parse the location from ProjectLocationCollectionDataStore resource.
372
+ *
373
+ * @param {string} projectLocationCollectionDataStoreName
374
+ * A fully-qualified path representing project_location_collection_data_store resource.
375
+ * @returns {string} A string representing the location.
376
+ */
377
+ matchLocationFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName: string): string | number;
378
+ /**
379
+ * Parse the collection from ProjectLocationCollectionDataStore resource.
380
+ *
381
+ * @param {string} projectLocationCollectionDataStoreName
382
+ * A fully-qualified path representing project_location_collection_data_store resource.
383
+ * @returns {string} A string representing the collection.
384
+ */
385
+ matchCollectionFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName: string): string | number;
386
+ /**
387
+ * Parse the data_store from ProjectLocationCollectionDataStore resource.
388
+ *
389
+ * @param {string} projectLocationCollectionDataStoreName
390
+ * A fully-qualified path representing project_location_collection_data_store resource.
391
+ * @returns {string} A string representing the data_store.
392
+ */
393
+ matchDataStoreFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName: string): string | number;
394
+ /**
395
+ * Return a fully-qualified projectLocationCollectionDataStoreBranchDocument resource name string.
396
+ *
397
+ * @param {string} project
398
+ * @param {string} location
399
+ * @param {string} collection
400
+ * @param {string} data_store
401
+ * @param {string} branch
402
+ * @param {string} document
403
+ * @returns {string} Resource name string.
404
+ */
405
+ projectLocationCollectionDataStoreBranchDocumentPath(project: string, location: string, collection: string, dataStore: string, branch: string, document: string): string;
406
+ /**
407
+ * Parse the project from ProjectLocationCollectionDataStoreBranchDocument resource.
408
+ *
409
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
410
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
411
+ * @returns {string} A string representing the project.
412
+ */
413
+ matchProjectFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
414
+ /**
415
+ * Parse the location from ProjectLocationCollectionDataStoreBranchDocument resource.
416
+ *
417
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
418
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
419
+ * @returns {string} A string representing the location.
420
+ */
421
+ matchLocationFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
422
+ /**
423
+ * Parse the collection from ProjectLocationCollectionDataStoreBranchDocument resource.
424
+ *
425
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
426
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
427
+ * @returns {string} A string representing the collection.
428
+ */
429
+ matchCollectionFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
430
+ /**
431
+ * Parse the data_store from ProjectLocationCollectionDataStoreBranchDocument resource.
432
+ *
433
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
434
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
435
+ * @returns {string} A string representing the data_store.
436
+ */
437
+ matchDataStoreFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
438
+ /**
439
+ * Parse the branch from ProjectLocationCollectionDataStoreBranchDocument resource.
440
+ *
441
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
442
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
443
+ * @returns {string} A string representing the branch.
444
+ */
445
+ matchBranchFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
446
+ /**
447
+ * Parse the document from ProjectLocationCollectionDataStoreBranchDocument resource.
448
+ *
449
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
450
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
451
+ * @returns {string} A string representing the document.
452
+ */
453
+ matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
454
+ /**
455
+ * Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
456
+ *
457
+ * @param {string} project
458
+ * @param {string} location
459
+ * @param {string} collection
460
+ * @param {string} data_store
461
+ * @param {string} schema
462
+ * @returns {string} Resource name string.
463
+ */
464
+ projectLocationCollectionDataStoreSchemaPath(project: string, location: string, collection: string, dataStore: string, schema: string): string;
465
+ /**
466
+ * Parse the project from ProjectLocationCollectionDataStoreSchema resource.
467
+ *
468
+ * @param {string} projectLocationCollectionDataStoreSchemaName
469
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
470
+ * @returns {string} A string representing the project.
471
+ */
472
+ matchProjectFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
473
+ /**
474
+ * Parse the location from ProjectLocationCollectionDataStoreSchema resource.
475
+ *
476
+ * @param {string} projectLocationCollectionDataStoreSchemaName
477
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
478
+ * @returns {string} A string representing the location.
479
+ */
480
+ matchLocationFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
481
+ /**
482
+ * Parse the collection from ProjectLocationCollectionDataStoreSchema resource.
483
+ *
484
+ * @param {string} projectLocationCollectionDataStoreSchemaName
485
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
486
+ * @returns {string} A string representing the collection.
487
+ */
488
+ matchCollectionFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
489
+ /**
490
+ * Parse the data_store from ProjectLocationCollectionDataStoreSchema resource.
491
+ *
492
+ * @param {string} projectLocationCollectionDataStoreSchemaName
493
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
494
+ * @returns {string} A string representing the data_store.
495
+ */
496
+ matchDataStoreFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
497
+ /**
498
+ * Parse the schema from ProjectLocationCollectionDataStoreSchema resource.
499
+ *
500
+ * @param {string} projectLocationCollectionDataStoreSchemaName
501
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
502
+ * @returns {string} A string representing the schema.
503
+ */
504
+ matchSchemaFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
505
+ /**
506
+ * Return a fully-qualified projectLocationDataStore resource name string.
507
+ *
508
+ * @param {string} project
509
+ * @param {string} location
510
+ * @param {string} data_store
511
+ * @returns {string} Resource name string.
512
+ */
513
+ projectLocationDataStorePath(project: string, location: string, dataStore: string): string;
514
+ /**
515
+ * Parse the project from ProjectLocationDataStore resource.
516
+ *
517
+ * @param {string} projectLocationDataStoreName
518
+ * A fully-qualified path representing project_location_data_store resource.
519
+ * @returns {string} A string representing the project.
520
+ */
521
+ matchProjectFromProjectLocationDataStoreName(projectLocationDataStoreName: string): string | number;
522
+ /**
523
+ * Parse the location from ProjectLocationDataStore resource.
524
+ *
525
+ * @param {string} projectLocationDataStoreName
526
+ * A fully-qualified path representing project_location_data_store resource.
527
+ * @returns {string} A string representing the location.
528
+ */
529
+ matchLocationFromProjectLocationDataStoreName(projectLocationDataStoreName: string): string | number;
530
+ /**
531
+ * Parse the data_store from ProjectLocationDataStore resource.
532
+ *
533
+ * @param {string} projectLocationDataStoreName
534
+ * A fully-qualified path representing project_location_data_store resource.
535
+ * @returns {string} A string representing the data_store.
536
+ */
537
+ matchDataStoreFromProjectLocationDataStoreName(projectLocationDataStoreName: string): string | number;
538
+ /**
539
+ * Return a fully-qualified projectLocationDataStoreBranchDocument resource name string.
540
+ *
541
+ * @param {string} project
542
+ * @param {string} location
543
+ * @param {string} data_store
544
+ * @param {string} branch
545
+ * @param {string} document
546
+ * @returns {string} Resource name string.
547
+ */
548
+ projectLocationDataStoreBranchDocumentPath(project: string, location: string, dataStore: string, branch: string, document: string): string;
549
+ /**
550
+ * Parse the project from ProjectLocationDataStoreBranchDocument resource.
551
+ *
552
+ * @param {string} projectLocationDataStoreBranchDocumentName
553
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
554
+ * @returns {string} A string representing the project.
555
+ */
556
+ matchProjectFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
557
+ /**
558
+ * Parse the location from ProjectLocationDataStoreBranchDocument resource.
559
+ *
560
+ * @param {string} projectLocationDataStoreBranchDocumentName
561
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
562
+ * @returns {string} A string representing the location.
563
+ */
564
+ matchLocationFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
565
+ /**
566
+ * Parse the data_store from ProjectLocationDataStoreBranchDocument resource.
567
+ *
568
+ * @param {string} projectLocationDataStoreBranchDocumentName
569
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
570
+ * @returns {string} A string representing the data_store.
571
+ */
572
+ matchDataStoreFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
573
+ /**
574
+ * Parse the branch from ProjectLocationDataStoreBranchDocument resource.
575
+ *
576
+ * @param {string} projectLocationDataStoreBranchDocumentName
577
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
578
+ * @returns {string} A string representing the branch.
579
+ */
580
+ matchBranchFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
581
+ /**
582
+ * Parse the document from ProjectLocationDataStoreBranchDocument resource.
583
+ *
584
+ * @param {string} projectLocationDataStoreBranchDocumentName
585
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
586
+ * @returns {string} A string representing the document.
587
+ */
588
+ matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
589
+ /**
590
+ * Return a fully-qualified projectLocationDataStoreSchema resource name string.
591
+ *
592
+ * @param {string} project
593
+ * @param {string} location
594
+ * @param {string} data_store
595
+ * @param {string} schema
596
+ * @returns {string} Resource name string.
597
+ */
598
+ projectLocationDataStoreSchemaPath(project: string, location: string, dataStore: string, schema: string): string;
599
+ /**
600
+ * Parse the project from ProjectLocationDataStoreSchema resource.
601
+ *
602
+ * @param {string} projectLocationDataStoreSchemaName
603
+ * A fully-qualified path representing project_location_data_store_schema resource.
604
+ * @returns {string} A string representing the project.
605
+ */
606
+ matchProjectFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName: string): string | number;
607
+ /**
608
+ * Parse the location from ProjectLocationDataStoreSchema resource.
609
+ *
610
+ * @param {string} projectLocationDataStoreSchemaName
611
+ * A fully-qualified path representing project_location_data_store_schema resource.
612
+ * @returns {string} A string representing the location.
613
+ */
614
+ matchLocationFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName: string): string | number;
615
+ /**
616
+ * Parse the data_store from ProjectLocationDataStoreSchema resource.
617
+ *
618
+ * @param {string} projectLocationDataStoreSchemaName
619
+ * A fully-qualified path representing project_location_data_store_schema resource.
620
+ * @returns {string} A string representing the data_store.
621
+ */
622
+ matchDataStoreFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName: string): string | number;
623
+ /**
624
+ * Parse the schema from ProjectLocationDataStoreSchema resource.
625
+ *
626
+ * @param {string} projectLocationDataStoreSchemaName
627
+ * A fully-qualified path representing project_location_data_store_schema resource.
628
+ * @returns {string} A string representing the schema.
629
+ */
630
+ matchSchemaFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName: string): string | number;
631
+ /**
632
+ * Terminate the gRPC channel and close the client.
633
+ *
634
+ * The client will no longer be usable and all future behavior is undefined.
635
+ * @returns {Promise} A promise that resolves when the client is closed.
636
+ */
637
+ close(): Promise<void>;
638
+ }