@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,895 @@
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 ingesting end user actions on a website to Discovery Engine API.
6
+ * @class
7
+ * @memberof v1alpha
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
+ locationsClient: LocationsClient;
24
+ pathTemplates: {
25
+ [name: string]: gax.PathTemplate;
26
+ };
27
+ operationsClient: gax.OperationsClient;
28
+ userEventServiceStub?: Promise<{
29
+ [name: string]: Function;
30
+ }>;
31
+ /**
32
+ * Construct an instance of UserEventServiceClient.
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 UserEventServiceClient({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
+ * 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.v1alpha.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 protos.google.cloud.discoveryengine.v1alpha.UserEvent|UserEvent}.
123
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
124
+ * for more details and examples.
125
+ * @example <caption>include:samples/generated/v1alpha/user_event_service.write_user_event.js</caption>
126
+ * region_tag:discoveryengine_v1alpha_generated_UserEventService_WriteUserEvent_async
127
+ */
128
+ writeUserEvent(request?: protos.google.cloud.discoveryengine.v1alpha.IWriteUserEventRequest, options?: CallOptions): Promise<[
129
+ protos.google.cloud.discoveryengine.v1alpha.IUserEvent,
130
+ (protos.google.cloud.discoveryengine.v1alpha.IWriteUserEventRequest | undefined),
131
+ {} | undefined
132
+ ]>;
133
+ writeUserEvent(request: protos.google.cloud.discoveryengine.v1alpha.IWriteUserEventRequest, options: CallOptions, callback: Callback<protos.google.cloud.discoveryengine.v1alpha.IUserEvent, protos.google.cloud.discoveryengine.v1alpha.IWriteUserEventRequest | null | undefined, {} | null | undefined>): void;
134
+ writeUserEvent(request: protos.google.cloud.discoveryengine.v1alpha.IWriteUserEventRequest, callback: Callback<protos.google.cloud.discoveryengine.v1alpha.IUserEvent, protos.google.cloud.discoveryengine.v1alpha.IWriteUserEventRequest | null | undefined, {} | null | undefined>): void;
135
+ /**
136
+ * Writes a single user event from the browser. This uses a GET request to
137
+ * due to browser restriction of POST-ing to a third-party domain.
138
+ *
139
+ * This method is used only by the Discovery Engine API JavaScript pixel and
140
+ * Google Tag Manager. Users should not call this method directly.
141
+ *
142
+ * @param {Object} request
143
+ * The request object that will be sent.
144
+ * @param {string} request.parent
145
+ * Required. The parent DataStore resource name, such as
146
+ * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`.
147
+ * @param {string} request.userEvent
148
+ * Required. URL encoded UserEvent proto with a length limit of 2,000,000
149
+ * characters.
150
+ * @param {string} request.uri
151
+ * The URL including cgi-parameters but excluding the hash fragment with a
152
+ * length limit of 5,000 characters. This is often more useful than the
153
+ * referer URL, because many browsers only send the domain for third-party
154
+ * requests.
155
+ * @param {number} request.ets
156
+ * The event timestamp in milliseconds. This prevents browser caching of
157
+ * otherwise identical get requests. The name is abbreviated to reduce the
158
+ * payload bytes.
159
+ * @param {object} [options]
160
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
161
+ * @returns {Promise} - The promise which resolves to an array.
162
+ * The first element of the array is an object representing {@link protos.google.api.HttpBody|HttpBody}.
163
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
164
+ * for more details and examples.
165
+ * @example <caption>include:samples/generated/v1alpha/user_event_service.collect_user_event.js</caption>
166
+ * region_tag:discoveryengine_v1alpha_generated_UserEventService_CollectUserEvent_async
167
+ */
168
+ collectUserEvent(request?: protos.google.cloud.discoveryengine.v1alpha.ICollectUserEventRequest, options?: CallOptions): Promise<[
169
+ protos.google.api.IHttpBody,
170
+ (protos.google.cloud.discoveryengine.v1alpha.ICollectUserEventRequest | undefined),
171
+ {} | undefined
172
+ ]>;
173
+ collectUserEvent(request: protos.google.cloud.discoveryengine.v1alpha.ICollectUserEventRequest, options: CallOptions, callback: Callback<protos.google.api.IHttpBody, protos.google.cloud.discoveryengine.v1alpha.ICollectUserEventRequest | null | undefined, {} | null | undefined>): void;
174
+ collectUserEvent(request: protos.google.cloud.discoveryengine.v1alpha.ICollectUserEventRequest, callback: Callback<protos.google.api.IHttpBody, protos.google.cloud.discoveryengine.v1alpha.ICollectUserEventRequest | null | undefined, {} | null | undefined>): void;
175
+ /**
176
+ * Deletes permanently all user events specified by the filter provided.
177
+ * Depending on the number of events specified by the filter, this operation
178
+ * could take hours or days to complete. To test a filter, use the list
179
+ * command first.
180
+ *
181
+ * @param {Object} request
182
+ * The request object that will be sent.
183
+ * @param {string} request.parent
184
+ * Required. The resource name of the catalog under which the events are
185
+ * created. The format is
186
+ * `projects/${projectId}/locations/global/collections/{$collectionId}/dataStores/${dataStoreId}`
187
+ * @param {string} request.filter
188
+ * Required. The filter string to specify the events to be deleted with a
189
+ * length limit of 5,000 characters. The eligible fields for filtering are:
190
+ *
191
+ * * `eventType`: Double quoted
192
+ * {@link protos.google.cloud.discoveryengine.v1alpha.UserEvent.event_type|UserEvent.event_type}
193
+ * string.
194
+ * * `eventTime`: in ISO 8601 "zulu" format.
195
+ * * `userPseudoId`: Double quoted string. Specifying this will delete all
196
+ * events associated with a visitor.
197
+ * * `userId`: Double quoted string. Specifying this will delete all events
198
+ * associated with a user.
199
+ *
200
+ * Examples:
201
+ *
202
+ * * Deleting all events in a time range:
203
+ * `eventTime > "2012-04-23T18:25:43.511Z"
204
+ * eventTime < "2012-04-23T18:30:43.511Z"`
205
+ * * Deleting specific eventType:
206
+ * `eventType = "search"`
207
+ * * Deleting all events for a specific visitor:
208
+ * `userPseudoId = "visitor1024"`
209
+ * * Deleting all events inside a DataStore:
210
+ * `*`
211
+ *
212
+ * The filtering fields are assumed to have an implicit AND.
213
+ * @param {boolean} request.force
214
+ * The `force` field is currently not supported. Purge user event requests
215
+ * will permanently delete all purgeable events. Once the development is
216
+ * complete:
217
+ * If `force` is set to false, the method will return the expected
218
+ * purge count without deleting any user events. This field will default to
219
+ * false if not included in the request.
220
+ * @param {object} [options]
221
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
222
+ * @returns {Promise} - The promise which resolves to an array.
223
+ * The first element of the array is an object representing
224
+ * a long running operation. Its `promise()` method returns a promise
225
+ * you can `await` for.
226
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
227
+ * for more details and examples.
228
+ * @example <caption>include:samples/generated/v1alpha/user_event_service.purge_user_events.js</caption>
229
+ * region_tag:discoveryengine_v1alpha_generated_UserEventService_PurgeUserEvents_async
230
+ */
231
+ purgeUserEvents(request?: protos.google.cloud.discoveryengine.v1alpha.IPurgeUserEventsRequest, options?: CallOptions): Promise<[
232
+ LROperation<protos.google.cloud.discoveryengine.v1alpha.IPurgeUserEventsResponse, protos.google.cloud.discoveryengine.v1alpha.IPurgeUserEventsMetadata>,
233
+ protos.google.longrunning.IOperation | undefined,
234
+ {} | undefined
235
+ ]>;
236
+ purgeUserEvents(request: protos.google.cloud.discoveryengine.v1alpha.IPurgeUserEventsRequest, options: CallOptions, callback: Callback<LROperation<protos.google.cloud.discoveryengine.v1alpha.IPurgeUserEventsResponse, protos.google.cloud.discoveryengine.v1alpha.IPurgeUserEventsMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
237
+ purgeUserEvents(request: protos.google.cloud.discoveryengine.v1alpha.IPurgeUserEventsRequest, callback: Callback<LROperation<protos.google.cloud.discoveryengine.v1alpha.IPurgeUserEventsResponse, protos.google.cloud.discoveryengine.v1alpha.IPurgeUserEventsMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
238
+ /**
239
+ * Check the status of the long running operation returned by `purgeUserEvents()`.
240
+ * @param {String} name
241
+ * The operation name that will be passed.
242
+ * @returns {Promise} - The promise which resolves to an object.
243
+ * The decoded operation object has result and metadata field to get information from.
244
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
245
+ * for more details and examples.
246
+ * @example <caption>include:samples/generated/v1alpha/user_event_service.purge_user_events.js</caption>
247
+ * region_tag:discoveryengine_v1alpha_generated_UserEventService_PurgeUserEvents_async
248
+ */
249
+ checkPurgeUserEventsProgress(name: string): Promise<LROperation<protos.google.cloud.discoveryengine.v1alpha.PurgeUserEventsResponse, protos.google.cloud.discoveryengine.v1alpha.PurgeUserEventsMetadata>>;
250
+ /**
251
+ * Bulk import of User events. Request processing might be
252
+ * synchronous. Events that already exist are skipped.
253
+ * Use this method for backfilling historical user events.
254
+ *
255
+ * Operation.response is of type ImportResponse. Note that it is
256
+ * possible for a subset of the items to be successfully inserted.
257
+ * Operation.metadata is of type ImportMetadata.
258
+ *
259
+ * @param {Object} request
260
+ * The request object that will be sent.
261
+ * @param {google.cloud.discoveryengine.v1alpha.ImportUserEventsRequest.InlineSource} request.inlineSource
262
+ * The Inline source for the input content for UserEvents.
263
+ * @param {google.cloud.discoveryengine.v1alpha.GcsSource} request.gcsSource
264
+ * Cloud Storage location for the input content.
265
+ * @param {google.cloud.discoveryengine.v1alpha.BigQuerySource} request.bigquerySource
266
+ * BigQuery input source.
267
+ * @param {string} request.parent
268
+ * Required. Parent DataStore resource name, of the form
269
+ * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`
270
+ * @param {google.cloud.discoveryengine.v1alpha.ImportErrorConfig} request.errorConfig
271
+ * The desired location of errors incurred during the Import. Cannot be set
272
+ * for inline user event imports.
273
+ * @param {object} [options]
274
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
275
+ * @returns {Promise} - The promise which resolves to an array.
276
+ * The first element of the array is an object representing
277
+ * a long running operation. Its `promise()` method returns a promise
278
+ * you can `await` for.
279
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
280
+ * for more details and examples.
281
+ * @example <caption>include:samples/generated/v1alpha/user_event_service.import_user_events.js</caption>
282
+ * region_tag:discoveryengine_v1alpha_generated_UserEventService_ImportUserEvents_async
283
+ */
284
+ importUserEvents(request?: protos.google.cloud.discoveryengine.v1alpha.IImportUserEventsRequest, options?: CallOptions): Promise<[
285
+ LROperation<protos.google.cloud.discoveryengine.v1alpha.IImportUserEventsResponse, protos.google.cloud.discoveryengine.v1alpha.IImportUserEventsMetadata>,
286
+ protos.google.longrunning.IOperation | undefined,
287
+ {} | undefined
288
+ ]>;
289
+ importUserEvents(request: protos.google.cloud.discoveryengine.v1alpha.IImportUserEventsRequest, options: CallOptions, callback: Callback<LROperation<protos.google.cloud.discoveryengine.v1alpha.IImportUserEventsResponse, protos.google.cloud.discoveryengine.v1alpha.IImportUserEventsMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
290
+ importUserEvents(request: protos.google.cloud.discoveryengine.v1alpha.IImportUserEventsRequest, callback: Callback<LROperation<protos.google.cloud.discoveryengine.v1alpha.IImportUserEventsResponse, protos.google.cloud.discoveryengine.v1alpha.IImportUserEventsMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
291
+ /**
292
+ * Check the status of the long running operation returned by `importUserEvents()`.
293
+ * @param {String} name
294
+ * The operation name that will be passed.
295
+ * @returns {Promise} - The promise which resolves to an object.
296
+ * The decoded operation object has result and metadata field to get information from.
297
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
298
+ * for more details and examples.
299
+ * @example <caption>include:samples/generated/v1alpha/user_event_service.import_user_events.js</caption>
300
+ * region_tag:discoveryengine_v1alpha_generated_UserEventService_ImportUserEvents_async
301
+ */
302
+ checkImportUserEventsProgress(name: string): Promise<LROperation<protos.google.cloud.discoveryengine.v1alpha.ImportUserEventsResponse, protos.google.cloud.discoveryengine.v1alpha.ImportUserEventsMetadata>>;
303
+ /**
304
+ * Gets information about a location.
305
+ *
306
+ * @param {Object} request
307
+ * The request object that will be sent.
308
+ * @param {string} request.name
309
+ * Resource name for the location.
310
+ * @param {object} [options]
311
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html | CallOptions} for more details.
312
+ * @returns {Promise} - The promise which resolves to an array.
313
+ * The first element of the array is an object representing {@link google.cloud.location.Location | Location}.
314
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
315
+ * for more details and examples.
316
+ * @example
317
+ * ```
318
+ * const [response] = await client.getLocation(request);
319
+ * ```
320
+ */
321
+ 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>;
322
+ /**
323
+ * Lists information about the supported locations for this service. Returns an iterable object.
324
+ *
325
+ * `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
326
+ * @param {Object} request
327
+ * The request object that will be sent.
328
+ * @param {string} request.name
329
+ * The resource that owns the locations collection, if applicable.
330
+ * @param {string} request.filter
331
+ * The standard list filter.
332
+ * @param {number} request.pageSize
333
+ * The standard list page size.
334
+ * @param {string} request.pageToken
335
+ * The standard list page token.
336
+ * @param {object} [options]
337
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
338
+ * @returns {Object}
339
+ * An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
340
+ * When you iterate the returned iterable, each element will be an object representing
341
+ * {@link google.cloud.location.Location | Location}. The API will be called under the hood as needed, once per the page,
342
+ * so you can stop the iteration when you don't need more results.
343
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
344
+ * for more details and examples.
345
+ * @example
346
+ * ```
347
+ * const iterable = client.listLocationsAsync(request);
348
+ * for await (const response of iterable) {
349
+ * // process response
350
+ * }
351
+ * ```
352
+ */
353
+ listLocationsAsync(request: LocationProtos.google.cloud.location.IListLocationsRequest, options?: CallOptions): AsyncIterable<LocationProtos.google.cloud.location.ILocation>;
354
+ /**
355
+ * Gets the latest state of a long-running operation. Clients can use this
356
+ * method to poll the operation result at intervals as recommended by the API
357
+ * service.
358
+ *
359
+ * @param {Object} request - The request object that will be sent.
360
+ * @param {string} request.name - The name of the operation resource.
361
+ * @param {Object=} options
362
+ * Optional parameters. You can override the default settings for this call,
363
+ * e.g, timeout, retries, paginations, etc. See {@link
364
+ * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions}
365
+ * for the details.
366
+ * @param {function(?Error, ?Object)=} callback
367
+ * The function which will be called with the result of the API call.
368
+ *
369
+ * The second parameter to the callback is an object representing
370
+ * {@link google.longrunning.Operation | google.longrunning.Operation}.
371
+ * @return {Promise} - The promise which resolves to an array.
372
+ * The first element of the array is an object representing
373
+ * {@link google.longrunning.Operation | google.longrunning.Operation}.
374
+ * The promise has a method named "cancel" which cancels the ongoing API call.
375
+ *
376
+ * @example
377
+ * ```
378
+ * const client = longrunning.operationsClient();
379
+ * const name = '';
380
+ * const [response] = await client.getOperation({name});
381
+ * // doThingsWith(response)
382
+ * ```
383
+ */
384
+ 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]>;
385
+ /**
386
+ * Lists operations that match the specified filter in the request. If the
387
+ * server doesn't support this method, it returns `UNIMPLEMENTED`. Returns an iterable object.
388
+ *
389
+ * For-await-of syntax is used with the iterable to recursively get response element on-demand.
390
+ *
391
+ * @param {Object} request - The request object that will be sent.
392
+ * @param {string} request.name - The name of the operation collection.
393
+ * @param {string} request.filter - The standard list filter.
394
+ * @param {number=} request.pageSize -
395
+ * The maximum number of resources contained in the underlying API
396
+ * response. If page streaming is performed per-resource, this
397
+ * parameter does not affect the return value. If page streaming is
398
+ * performed per-page, this determines the maximum number of
399
+ * resources in a page.
400
+ * @param {Object=} options
401
+ * Optional parameters. You can override the default settings for this call,
402
+ * e.g, timeout, retries, paginations, etc. See {@link
403
+ * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions} for the
404
+ * details.
405
+ * @returns {Object}
406
+ * An iterable Object that conforms to {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | iteration protocols}.
407
+ *
408
+ * @example
409
+ * ```
410
+ * const client = longrunning.operationsClient();
411
+ * for await (const response of client.listOperationsAsync(request));
412
+ * // doThingsWith(response)
413
+ * ```
414
+ */
415
+ listOperationsAsync(request: protos.google.longrunning.ListOperationsRequest, options?: gax.CallOptions): AsyncIterable<protos.google.longrunning.ListOperationsResponse>;
416
+ /**
417
+ * Starts asynchronous cancellation on a long-running operation. The server
418
+ * makes a best effort to cancel the operation, but success is not
419
+ * guaranteed. If the server doesn't support this method, it returns
420
+ * `google.rpc.Code.UNIMPLEMENTED`. Clients can use
421
+ * {@link Operations.GetOperation} or
422
+ * other methods to check whether the cancellation succeeded or whether the
423
+ * operation completed despite cancellation. On successful cancellation,
424
+ * the operation is not deleted; instead, it becomes an operation with
425
+ * an {@link Operation.error} value with a {@link google.rpc.Status.code} of
426
+ * 1, corresponding to `Code.CANCELLED`.
427
+ *
428
+ * @param {Object} request - The request object that will be sent.
429
+ * @param {string} request.name - The name of the operation resource to be cancelled.
430
+ * @param {Object=} options
431
+ * Optional parameters. You can override the default settings for this call,
432
+ * e.g, timeout, retries, paginations, etc. See {@link
433
+ * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions} for the
434
+ * details.
435
+ * @param {function(?Error)=} callback
436
+ * The function which will be called with the result of the API call.
437
+ * @return {Promise} - The promise which resolves when API call finishes.
438
+ * The promise has a method named "cancel" which cancels the ongoing API
439
+ * call.
440
+ *
441
+ * @example
442
+ * ```
443
+ * const client = longrunning.operationsClient();
444
+ * await client.cancelOperation({name: ''});
445
+ * ```
446
+ */
447
+ 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>;
448
+ /**
449
+ * Deletes a long-running operation. This method indicates that the client is
450
+ * no longer interested in the operation result. It does not cancel the
451
+ * operation. If the server doesn't support this method, it returns
452
+ * `google.rpc.Code.UNIMPLEMENTED`.
453
+ *
454
+ * @param {Object} request - The request object that will be sent.
455
+ * @param {string} request.name - The name of the operation resource to be deleted.
456
+ * @param {Object=} options
457
+ * Optional parameters. You can override the default settings for this call,
458
+ * e.g, timeout, retries, paginations, etc. See {@link
459
+ * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions}
460
+ * for the details.
461
+ * @param {function(?Error)=} callback
462
+ * The function which will be called with the result of the API call.
463
+ * @return {Promise} - The promise which resolves when API call finishes.
464
+ * The promise has a method named "cancel" which cancels the ongoing API
465
+ * call.
466
+ *
467
+ * @example
468
+ * ```
469
+ * const client = longrunning.operationsClient();
470
+ * await client.deleteOperation({name: ''});
471
+ * ```
472
+ */
473
+ 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>;
474
+ /**
475
+ * Return a fully-qualified engine resource name string.
476
+ *
477
+ * @param {string} project
478
+ * @param {string} location
479
+ * @param {string} collection
480
+ * @param {string} engine
481
+ * @returns {string} Resource name string.
482
+ */
483
+ enginePath(project: string, location: string, collection: string, engine: string): string;
484
+ /**
485
+ * Parse the project from Engine resource.
486
+ *
487
+ * @param {string} engineName
488
+ * A fully-qualified path representing Engine resource.
489
+ * @returns {string} A string representing the project.
490
+ */
491
+ matchProjectFromEngineName(engineName: string): string | number;
492
+ /**
493
+ * Parse the location from Engine resource.
494
+ *
495
+ * @param {string} engineName
496
+ * A fully-qualified path representing Engine resource.
497
+ * @returns {string} A string representing the location.
498
+ */
499
+ matchLocationFromEngineName(engineName: string): string | number;
500
+ /**
501
+ * Parse the collection from Engine resource.
502
+ *
503
+ * @param {string} engineName
504
+ * A fully-qualified path representing Engine resource.
505
+ * @returns {string} A string representing the collection.
506
+ */
507
+ matchCollectionFromEngineName(engineName: string): string | number;
508
+ /**
509
+ * Parse the engine from Engine resource.
510
+ *
511
+ * @param {string} engineName
512
+ * A fully-qualified path representing Engine resource.
513
+ * @returns {string} A string representing the engine.
514
+ */
515
+ matchEngineFromEngineName(engineName: string): string | number;
516
+ /**
517
+ * Return a fully-qualified projectLocationCollectionDataStore resource name string.
518
+ *
519
+ * @param {string} project
520
+ * @param {string} location
521
+ * @param {string} collection
522
+ * @param {string} data_store
523
+ * @returns {string} Resource name string.
524
+ */
525
+ projectLocationCollectionDataStorePath(project: string, location: string, collection: string, dataStore: string): string;
526
+ /**
527
+ * Parse the project from ProjectLocationCollectionDataStore resource.
528
+ *
529
+ * @param {string} projectLocationCollectionDataStoreName
530
+ * A fully-qualified path representing project_location_collection_data_store resource.
531
+ * @returns {string} A string representing the project.
532
+ */
533
+ matchProjectFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName: string): string | number;
534
+ /**
535
+ * Parse the location from ProjectLocationCollectionDataStore resource.
536
+ *
537
+ * @param {string} projectLocationCollectionDataStoreName
538
+ * A fully-qualified path representing project_location_collection_data_store resource.
539
+ * @returns {string} A string representing the location.
540
+ */
541
+ matchLocationFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName: string): string | number;
542
+ /**
543
+ * Parse the collection from ProjectLocationCollectionDataStore resource.
544
+ *
545
+ * @param {string} projectLocationCollectionDataStoreName
546
+ * A fully-qualified path representing project_location_collection_data_store resource.
547
+ * @returns {string} A string representing the collection.
548
+ */
549
+ matchCollectionFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName: string): string | number;
550
+ /**
551
+ * Parse the data_store from ProjectLocationCollectionDataStore resource.
552
+ *
553
+ * @param {string} projectLocationCollectionDataStoreName
554
+ * A fully-qualified path representing project_location_collection_data_store resource.
555
+ * @returns {string} A string representing the data_store.
556
+ */
557
+ matchDataStoreFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName: string): string | number;
558
+ /**
559
+ * Return a fully-qualified projectLocationCollectionDataStoreBranchDocument resource name string.
560
+ *
561
+ * @param {string} project
562
+ * @param {string} location
563
+ * @param {string} collection
564
+ * @param {string} data_store
565
+ * @param {string} branch
566
+ * @param {string} document
567
+ * @returns {string} Resource name string.
568
+ */
569
+ projectLocationCollectionDataStoreBranchDocumentPath(project: string, location: string, collection: string, dataStore: string, branch: string, document: string): string;
570
+ /**
571
+ * Parse the project from ProjectLocationCollectionDataStoreBranchDocument resource.
572
+ *
573
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
574
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
575
+ * @returns {string} A string representing the project.
576
+ */
577
+ matchProjectFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
578
+ /**
579
+ * Parse the location from ProjectLocationCollectionDataStoreBranchDocument resource.
580
+ *
581
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
582
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
583
+ * @returns {string} A string representing the location.
584
+ */
585
+ matchLocationFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
586
+ /**
587
+ * Parse the collection from ProjectLocationCollectionDataStoreBranchDocument resource.
588
+ *
589
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
590
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
591
+ * @returns {string} A string representing the collection.
592
+ */
593
+ matchCollectionFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
594
+ /**
595
+ * Parse the data_store from ProjectLocationCollectionDataStoreBranchDocument resource.
596
+ *
597
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
598
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
599
+ * @returns {string} A string representing the data_store.
600
+ */
601
+ matchDataStoreFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
602
+ /**
603
+ * Parse the branch from ProjectLocationCollectionDataStoreBranchDocument resource.
604
+ *
605
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
606
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
607
+ * @returns {string} A string representing the branch.
608
+ */
609
+ matchBranchFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
610
+ /**
611
+ * Parse the document from ProjectLocationCollectionDataStoreBranchDocument resource.
612
+ *
613
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
614
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
615
+ * @returns {string} A string representing the document.
616
+ */
617
+ matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
618
+ /**
619
+ * Return a fully-qualified projectLocationCollectionDataStoreConversation resource name string.
620
+ *
621
+ * @param {string} project
622
+ * @param {string} location
623
+ * @param {string} collection
624
+ * @param {string} data_store
625
+ * @param {string} conversation
626
+ * @returns {string} Resource name string.
627
+ */
628
+ projectLocationCollectionDataStoreConversationPath(project: string, location: string, collection: string, dataStore: string, conversation: string): string;
629
+ /**
630
+ * Parse the project from ProjectLocationCollectionDataStoreConversation resource.
631
+ *
632
+ * @param {string} projectLocationCollectionDataStoreConversationName
633
+ * A fully-qualified path representing project_location_collection_data_store_conversation resource.
634
+ * @returns {string} A string representing the project.
635
+ */
636
+ matchProjectFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
637
+ /**
638
+ * Parse the location from ProjectLocationCollectionDataStoreConversation resource.
639
+ *
640
+ * @param {string} projectLocationCollectionDataStoreConversationName
641
+ * A fully-qualified path representing project_location_collection_data_store_conversation resource.
642
+ * @returns {string} A string representing the location.
643
+ */
644
+ matchLocationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
645
+ /**
646
+ * Parse the collection from ProjectLocationCollectionDataStoreConversation resource.
647
+ *
648
+ * @param {string} projectLocationCollectionDataStoreConversationName
649
+ * A fully-qualified path representing project_location_collection_data_store_conversation resource.
650
+ * @returns {string} A string representing the collection.
651
+ */
652
+ matchCollectionFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
653
+ /**
654
+ * Parse the data_store from ProjectLocationCollectionDataStoreConversation resource.
655
+ *
656
+ * @param {string} projectLocationCollectionDataStoreConversationName
657
+ * A fully-qualified path representing project_location_collection_data_store_conversation resource.
658
+ * @returns {string} A string representing the data_store.
659
+ */
660
+ matchDataStoreFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
661
+ /**
662
+ * Parse the conversation from ProjectLocationCollectionDataStoreConversation resource.
663
+ *
664
+ * @param {string} projectLocationCollectionDataStoreConversationName
665
+ * A fully-qualified path representing project_location_collection_data_store_conversation resource.
666
+ * @returns {string} A string representing the conversation.
667
+ */
668
+ matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
669
+ /**
670
+ * Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
671
+ *
672
+ * @param {string} project
673
+ * @param {string} location
674
+ * @param {string} collection
675
+ * @param {string} data_store
676
+ * @param {string} schema
677
+ * @returns {string} Resource name string.
678
+ */
679
+ projectLocationCollectionDataStoreSchemaPath(project: string, location: string, collection: string, dataStore: string, schema: string): string;
680
+ /**
681
+ * Parse the project from ProjectLocationCollectionDataStoreSchema resource.
682
+ *
683
+ * @param {string} projectLocationCollectionDataStoreSchemaName
684
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
685
+ * @returns {string} A string representing the project.
686
+ */
687
+ matchProjectFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
688
+ /**
689
+ * Parse the location from ProjectLocationCollectionDataStoreSchema resource.
690
+ *
691
+ * @param {string} projectLocationCollectionDataStoreSchemaName
692
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
693
+ * @returns {string} A string representing the location.
694
+ */
695
+ matchLocationFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
696
+ /**
697
+ * Parse the collection from ProjectLocationCollectionDataStoreSchema resource.
698
+ *
699
+ * @param {string} projectLocationCollectionDataStoreSchemaName
700
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
701
+ * @returns {string} A string representing the collection.
702
+ */
703
+ matchCollectionFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
704
+ /**
705
+ * Parse the data_store from ProjectLocationCollectionDataStoreSchema resource.
706
+ *
707
+ * @param {string} projectLocationCollectionDataStoreSchemaName
708
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
709
+ * @returns {string} A string representing the data_store.
710
+ */
711
+ matchDataStoreFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
712
+ /**
713
+ * Parse the schema from ProjectLocationCollectionDataStoreSchema resource.
714
+ *
715
+ * @param {string} projectLocationCollectionDataStoreSchemaName
716
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
717
+ * @returns {string} A string representing the schema.
718
+ */
719
+ matchSchemaFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
720
+ /**
721
+ * Return a fully-qualified projectLocationDataStore resource name string.
722
+ *
723
+ * @param {string} project
724
+ * @param {string} location
725
+ * @param {string} data_store
726
+ * @returns {string} Resource name string.
727
+ */
728
+ projectLocationDataStorePath(project: string, location: string, dataStore: string): string;
729
+ /**
730
+ * Parse the project from ProjectLocationDataStore resource.
731
+ *
732
+ * @param {string} projectLocationDataStoreName
733
+ * A fully-qualified path representing project_location_data_store resource.
734
+ * @returns {string} A string representing the project.
735
+ */
736
+ matchProjectFromProjectLocationDataStoreName(projectLocationDataStoreName: string): string | number;
737
+ /**
738
+ * Parse the location from ProjectLocationDataStore resource.
739
+ *
740
+ * @param {string} projectLocationDataStoreName
741
+ * A fully-qualified path representing project_location_data_store resource.
742
+ * @returns {string} A string representing the location.
743
+ */
744
+ matchLocationFromProjectLocationDataStoreName(projectLocationDataStoreName: string): string | number;
745
+ /**
746
+ * Parse the data_store from ProjectLocationDataStore resource.
747
+ *
748
+ * @param {string} projectLocationDataStoreName
749
+ * A fully-qualified path representing project_location_data_store resource.
750
+ * @returns {string} A string representing the data_store.
751
+ */
752
+ matchDataStoreFromProjectLocationDataStoreName(projectLocationDataStoreName: string): string | number;
753
+ /**
754
+ * Return a fully-qualified projectLocationDataStoreBranchDocument resource name string.
755
+ *
756
+ * @param {string} project
757
+ * @param {string} location
758
+ * @param {string} data_store
759
+ * @param {string} branch
760
+ * @param {string} document
761
+ * @returns {string} Resource name string.
762
+ */
763
+ projectLocationDataStoreBranchDocumentPath(project: string, location: string, dataStore: string, branch: string, document: string): string;
764
+ /**
765
+ * Parse the project from ProjectLocationDataStoreBranchDocument resource.
766
+ *
767
+ * @param {string} projectLocationDataStoreBranchDocumentName
768
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
769
+ * @returns {string} A string representing the project.
770
+ */
771
+ matchProjectFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
772
+ /**
773
+ * Parse the location from ProjectLocationDataStoreBranchDocument resource.
774
+ *
775
+ * @param {string} projectLocationDataStoreBranchDocumentName
776
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
777
+ * @returns {string} A string representing the location.
778
+ */
779
+ matchLocationFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
780
+ /**
781
+ * Parse the data_store from ProjectLocationDataStoreBranchDocument resource.
782
+ *
783
+ * @param {string} projectLocationDataStoreBranchDocumentName
784
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
785
+ * @returns {string} A string representing the data_store.
786
+ */
787
+ matchDataStoreFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
788
+ /**
789
+ * Parse the branch from ProjectLocationDataStoreBranchDocument resource.
790
+ *
791
+ * @param {string} projectLocationDataStoreBranchDocumentName
792
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
793
+ * @returns {string} A string representing the branch.
794
+ */
795
+ matchBranchFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
796
+ /**
797
+ * Parse the document from ProjectLocationDataStoreBranchDocument resource.
798
+ *
799
+ * @param {string} projectLocationDataStoreBranchDocumentName
800
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
801
+ * @returns {string} A string representing the document.
802
+ */
803
+ matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
804
+ /**
805
+ * Return a fully-qualified projectLocationDataStoreConversation resource name string.
806
+ *
807
+ * @param {string} project
808
+ * @param {string} location
809
+ * @param {string} data_store
810
+ * @param {string} conversation
811
+ * @returns {string} Resource name string.
812
+ */
813
+ projectLocationDataStoreConversationPath(project: string, location: string, dataStore: string, conversation: string): string;
814
+ /**
815
+ * Parse the project from ProjectLocationDataStoreConversation resource.
816
+ *
817
+ * @param {string} projectLocationDataStoreConversationName
818
+ * A fully-qualified path representing project_location_data_store_conversation resource.
819
+ * @returns {string} A string representing the project.
820
+ */
821
+ matchProjectFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
822
+ /**
823
+ * Parse the location from ProjectLocationDataStoreConversation resource.
824
+ *
825
+ * @param {string} projectLocationDataStoreConversationName
826
+ * A fully-qualified path representing project_location_data_store_conversation resource.
827
+ * @returns {string} A string representing the location.
828
+ */
829
+ matchLocationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
830
+ /**
831
+ * Parse the data_store from ProjectLocationDataStoreConversation resource.
832
+ *
833
+ * @param {string} projectLocationDataStoreConversationName
834
+ * A fully-qualified path representing project_location_data_store_conversation resource.
835
+ * @returns {string} A string representing the data_store.
836
+ */
837
+ matchDataStoreFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
838
+ /**
839
+ * Parse the conversation from ProjectLocationDataStoreConversation resource.
840
+ *
841
+ * @param {string} projectLocationDataStoreConversationName
842
+ * A fully-qualified path representing project_location_data_store_conversation resource.
843
+ * @returns {string} A string representing the conversation.
844
+ */
845
+ matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
846
+ /**
847
+ * Return a fully-qualified projectLocationDataStoreSchema resource name string.
848
+ *
849
+ * @param {string} project
850
+ * @param {string} location
851
+ * @param {string} data_store
852
+ * @param {string} schema
853
+ * @returns {string} Resource name string.
854
+ */
855
+ projectLocationDataStoreSchemaPath(project: string, location: string, dataStore: string, schema: string): string;
856
+ /**
857
+ * Parse the project from ProjectLocationDataStoreSchema resource.
858
+ *
859
+ * @param {string} projectLocationDataStoreSchemaName
860
+ * A fully-qualified path representing project_location_data_store_schema resource.
861
+ * @returns {string} A string representing the project.
862
+ */
863
+ matchProjectFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName: string): string | number;
864
+ /**
865
+ * Parse the location from ProjectLocationDataStoreSchema resource.
866
+ *
867
+ * @param {string} projectLocationDataStoreSchemaName
868
+ * A fully-qualified path representing project_location_data_store_schema resource.
869
+ * @returns {string} A string representing the location.
870
+ */
871
+ matchLocationFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName: string): string | number;
872
+ /**
873
+ * Parse the data_store from ProjectLocationDataStoreSchema resource.
874
+ *
875
+ * @param {string} projectLocationDataStoreSchemaName
876
+ * A fully-qualified path representing project_location_data_store_schema resource.
877
+ * @returns {string} A string representing the data_store.
878
+ */
879
+ matchDataStoreFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName: string): string | number;
880
+ /**
881
+ * Parse the schema from ProjectLocationDataStoreSchema resource.
882
+ *
883
+ * @param {string} projectLocationDataStoreSchemaName
884
+ * A fully-qualified path representing project_location_data_store_schema resource.
885
+ * @returns {string} A string representing the schema.
886
+ */
887
+ matchSchemaFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName: string): string | number;
888
+ /**
889
+ * Terminate the gRPC channel and close the client.
890
+ *
891
+ * The client will no longer be usable and all future behavior is undefined.
892
+ * @returns {Promise} A promise that resolves when the client is closed.
893
+ */
894
+ close(): Promise<void>;
895
+ }