@google-cloud/discoveryengine 1.3.0 → 1.4.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 (131) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +63 -0
  3. package/build/protos/google/cloud/discoveryengine/v1/common.proto +54 -3
  4. package/build/protos/google/cloud/discoveryengine/v1/completion.proto +52 -0
  5. package/build/protos/google/cloud/discoveryengine/v1/completion_service.proto +51 -4
  6. package/build/protos/google/cloud/discoveryengine/v1/conversation.proto +3 -0
  7. package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +40 -1
  8. package/build/protos/google/cloud/discoveryengine/v1/data_store.proto +98 -0
  9. package/build/protos/google/cloud/discoveryengine/v1/data_store_service.proto +304 -0
  10. package/build/protos/google/cloud/discoveryengine/v1/document.proto +1 -1
  11. package/build/protos/google/cloud/discoveryengine/v1/engine.proto +215 -0
  12. package/build/protos/google/cloud/discoveryengine/v1/engine_service.proto +242 -0
  13. package/build/protos/google/cloud/discoveryengine/v1/import_config.proto +64 -0
  14. package/build/protos/google/cloud/discoveryengine/v1/purge_config.proto +38 -0
  15. package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +137 -4
  16. package/build/protos/google/cloud/discoveryengine/v1/site_search_engine.proto +170 -0
  17. package/build/protos/google/cloud/discoveryengine/v1/site_search_engine_service.proto +691 -0
  18. package/build/protos/google/cloud/discoveryengine/v1/user_event.proto +3 -3
  19. package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +0 -5
  20. package/build/protos/google/cloud/discoveryengine/v1alpha/conversation.proto +3 -0
  21. package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +39 -0
  22. package/build/protos/google/cloud/discoveryengine/v1alpha/document.proto +1 -1
  23. package/build/protos/google/cloud/discoveryengine/v1alpha/engine_service.proto +1 -1
  24. package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +97 -0
  25. package/build/protos/google/cloud/discoveryengine/v1alpha/search_tuning_service.proto +147 -0
  26. package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine.proto +164 -0
  27. package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine_service.proto +540 -0
  28. package/build/protos/google/cloud/discoveryengine/v1beta/common.proto +59 -8
  29. package/build/protos/google/cloud/discoveryengine/v1beta/completion.proto +52 -0
  30. package/build/protos/google/cloud/discoveryengine/v1beta/completion_service.proto +51 -4
  31. package/build/protos/google/cloud/discoveryengine/v1beta/conversation.proto +3 -0
  32. package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +40 -1
  33. package/build/protos/google/cloud/discoveryengine/v1beta/data_store.proto +98 -0
  34. package/build/protos/google/cloud/discoveryengine/v1beta/data_store_service.proto +306 -0
  35. package/build/protos/google/cloud/discoveryengine/v1beta/document.proto +1 -1
  36. package/build/protos/google/cloud/discoveryengine/v1beta/engine.proto +220 -0
  37. package/build/protos/google/cloud/discoveryengine/v1beta/engine_service.proto +244 -0
  38. package/build/protos/google/cloud/discoveryengine/v1beta/import_config.proto +64 -0
  39. package/build/protos/google/cloud/discoveryengine/v1beta/purge_config.proto +38 -0
  40. package/build/protos/google/cloud/discoveryengine/v1beta/recommendation_service.proto +26 -3
  41. package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +150 -11
  42. package/build/protos/google/cloud/discoveryengine/v1beta/serving_config.proto +264 -0
  43. package/build/protos/google/cloud/discoveryengine/v1beta/serving_config_service.proto +147 -0
  44. package/build/protos/google/cloud/discoveryengine/v1beta/site_search_engine.proto +170 -0
  45. package/build/protos/google/cloud/discoveryengine/v1beta/site_search_engine_service.proto +695 -0
  46. package/build/protos/google/cloud/discoveryengine/v1beta/user_event.proto +4 -3
  47. package/build/protos/protos.d.ts +42822 -21397
  48. package/build/protos/protos.js +110509 -61572
  49. package/build/protos/protos.json +11779 -6752
  50. package/build/src/index.d.ts +10 -1
  51. package/build/src/index.js +11 -2
  52. package/build/src/v1/completion_service_client.d.ts +489 -7
  53. package/build/src/v1/completion_service_client.js +716 -12
  54. package/build/src/v1/completion_service_client_config.json +10 -0
  55. package/build/src/v1/conversational_search_service_client.d.ts +341 -3
  56. package/build/src/v1/conversational_search_service_client.js +467 -10
  57. package/build/src/v1/data_store_service_client.d.ts +1286 -0
  58. package/build/src/v1/data_store_service_client.js +1768 -0
  59. package/build/src/v1/data_store_service_client_config.json +46 -0
  60. package/build/src/v1/document_service_client.d.ts +347 -2
  61. package/build/src/v1/document_service_client.js +507 -10
  62. package/build/src/v1/engine_service_client.d.ts +1211 -0
  63. package/build/src/v1/engine_service_client.js +1731 -0
  64. package/build/src/v1/engine_service_client_config.json +46 -0
  65. package/build/src/v1/index.d.ts +3 -0
  66. package/build/src/v1/index.js +8 -2
  67. package/build/src/v1/schema_service_client.d.ts +272 -2
  68. package/build/src/v1/schema_service_client.js +403 -10
  69. package/build/src/v1/search_service_client.d.ts +515 -11
  70. package/build/src/v1/search_service_client.js +649 -16
  71. package/build/src/v1/site_search_engine_service_client.d.ts +1564 -0
  72. package/build/src/v1/site_search_engine_service_client.js +2075 -0
  73. package/build/src/v1/site_search_engine_service_client_config.json +74 -0
  74. package/build/src/v1/user_event_service_client.d.ts +272 -2
  75. package/build/src/v1/user_event_service_client.js +403 -10
  76. package/build/src/v1alpha/completion_service_client.d.ts +230 -2
  77. package/build/src/v1alpha/completion_service_client.js +339 -10
  78. package/build/src/v1alpha/conversational_search_service_client.d.ts +247 -2
  79. package/build/src/v1alpha/conversational_search_service_client.js +339 -10
  80. package/build/src/v1alpha/data_store_service_client.d.ts +230 -2
  81. package/build/src/v1alpha/data_store_service_client.js +347 -12
  82. package/build/src/v1alpha/document_service_client.d.ts +230 -2
  83. package/build/src/v1alpha/document_service_client.js +347 -12
  84. package/build/src/v1alpha/engine_service_client.d.ts +231 -3
  85. package/build/src/v1alpha/engine_service_client.js +347 -12
  86. package/build/src/v1alpha/index.d.ts +1 -0
  87. package/build/src/v1alpha/index.js +4 -2
  88. package/build/src/v1alpha/recommendation_service_client.d.ts +230 -2
  89. package/build/src/v1alpha/recommendation_service_client.js +339 -10
  90. package/build/src/v1alpha/schema_service_client.d.ts +230 -2
  91. package/build/src/v1alpha/schema_service_client.js +347 -12
  92. package/build/src/v1alpha/search_service_client.d.ts +269 -2
  93. package/build/src/v1alpha/search_service_client.js +365 -10
  94. package/build/src/v1alpha/search_tuning_service_client.d.ts +977 -0
  95. package/build/src/v1alpha/search_tuning_service_client.js +1479 -0
  96. package/build/src/v1alpha/search_tuning_service_client_config.json +30 -0
  97. package/build/src/v1alpha/site_search_engine_service_client.d.ts +750 -3
  98. package/build/src/v1alpha/site_search_engine_service_client.js +838 -14
  99. package/build/src/v1alpha/site_search_engine_service_client_config.json +44 -0
  100. package/build/src/v1alpha/user_event_service_client.d.ts +230 -2
  101. package/build/src/v1alpha/user_event_service_client.js +347 -12
  102. package/build/src/v1beta/completion_service_client.d.ts +633 -7
  103. package/build/src/v1beta/completion_service_client.js +912 -12
  104. package/build/src/v1beta/completion_service_client_config.json +10 -0
  105. package/build/src/v1beta/conversational_search_service_client.d.ts +341 -3
  106. package/build/src/v1beta/conversational_search_service_client.js +467 -10
  107. package/build/src/v1beta/data_store_service_client.d.ts +1433 -0
  108. package/build/src/v1beta/data_store_service_client.js +1966 -0
  109. package/build/src/v1beta/data_store_service_client_config.json +46 -0
  110. package/build/src/v1beta/document_service_client.d.ts +491 -2
  111. package/build/src/v1beta/document_service_client.js +707 -12
  112. package/build/src/v1beta/engine_service_client.d.ts +1357 -0
  113. package/build/src/v1beta/engine_service_client.js +1928 -0
  114. package/build/src/v1beta/engine_service_client_config.json +46 -0
  115. package/build/src/v1beta/index.d.ts +4 -0
  116. package/build/src/v1beta/index.js +10 -2
  117. package/build/src/v1beta/recommendation_service_client.d.ts +420 -5
  118. package/build/src/v1beta/recommendation_service_client.js +571 -10
  119. package/build/src/v1beta/schema_service_client.d.ts +416 -2
  120. package/build/src/v1beta/schema_service_client.js +603 -12
  121. package/build/src/v1beta/search_service_client.d.ts +539 -29
  122. package/build/src/v1beta/search_service_client.js +665 -28
  123. package/build/src/v1beta/serving_config_service_client.d.ts +1102 -0
  124. package/build/src/v1beta/serving_config_service_client.js +1563 -0
  125. package/build/src/v1beta/serving_config_service_client_config.json +38 -0
  126. package/build/src/v1beta/site_search_engine_service_client.d.ts +1712 -0
  127. package/build/src/v1beta/site_search_engine_service_client.js +2271 -0
  128. package/build/src/v1beta/site_search_engine_service_client_config.json +74 -0
  129. package/build/src/v1beta/user_event_service_client.d.ts +416 -2
  130. package/build/src/v1beta/user_event_service_client.js +603 -12
  131. package/package.json +3 -3
@@ -1,5 +1,5 @@
1
1
  import type * as gax from 'google-gax';
2
- import type { Callback, CallOptions, Descriptors, ClientOptions, LocationsClient, LocationProtos } from 'google-gax';
2
+ import type { Callback, CallOptions, Descriptors, ClientOptions, LROperation, LocationsClient, LocationProtos } from 'google-gax';
3
3
  import * as protos from '../../protos/protos';
4
4
  /**
5
5
  * Service for Auto-Completion.
@@ -14,6 +14,8 @@ export declare class CompletionServiceClient {
14
14
  private _gaxGrpc;
15
15
  private _protos;
16
16
  private _defaults;
17
+ private _universeDomain;
18
+ private _servicePath;
17
19
  auth: gax.GoogleAuth;
18
20
  descriptors: Descriptors;
19
21
  warn: (code: string, message: string, warnType?: string) => void;
@@ -24,6 +26,7 @@ export declare class CompletionServiceClient {
24
26
  pathTemplates: {
25
27
  [name: string]: gax.PathTemplate;
26
28
  };
29
+ operationsClient: gax.OperationsClient;
27
30
  completionServiceStub?: Promise<{
28
31
  [name: string]: Function;
29
32
  }>;
@@ -83,15 +86,22 @@ export declare class CompletionServiceClient {
83
86
  }>;
84
87
  /**
85
88
  * The DNS address for this API service.
89
+ * @deprecated Use the apiEndpoint method of the client instance.
86
90
  * @returns {string} The DNS address for this service.
87
91
  */
88
92
  static get servicePath(): string;
89
93
  /**
90
- * The DNS address for this API service - same as servicePath(),
91
- * exists for compatibility reasons.
94
+ * The DNS address for this API service - same as servicePath.
95
+ * @deprecated Use the apiEndpoint method of the client instance.
92
96
  * @returns {string} The DNS address for this service.
93
97
  */
94
98
  static get apiEndpoint(): string;
99
+ /**
100
+ * The DNS address for this API service.
101
+ * @returns {string} The DNS address for this service.
102
+ */
103
+ get apiEndpoint(): string;
104
+ get universeDomain(): string;
95
105
  /**
96
106
  * The port for this API service.
97
107
  * @returns {number} The default port for this service.
@@ -118,8 +128,9 @@ export declare class CompletionServiceClient {
118
128
  * Required. The typeahead input used to fetch suggestions. Maximum length is
119
129
  * 128 characters.
120
130
  * @param {string} request.queryModel
121
- * Selects data model of query suggestions for serving. Currently supported
122
- * values:
131
+ * Specifies the autocomplete data model. This overrides any model specified
132
+ * in the Configuration > Autocomplete section of the Cloud console. Currently
133
+ * supported values:
123
134
  *
124
135
  * * `document` - Using suggestions generated from user-imported documents.
125
136
  * * `search-history` - Using suggestions generated from the past history of
@@ -133,8 +144,7 @@ export declare class CompletionServiceClient {
133
144
  * Default values:
134
145
  *
135
146
  * * `document` is the default model for regular dataStores.
136
- * * `search-history` is the default model for
137
- * {@link protos.|IndustryVertical.SITE_SEARCH} dataStores.
147
+ * * `search-history` is the default model for site search dataStores.
138
148
  * @param {string} request.userPseudoId
139
149
  * A unique identifier for tracking visitors. For example, this could be
140
150
  * implemented with an HTTP cookie, which should be able to uniquely identify
@@ -171,6 +181,97 @@ export declare class CompletionServiceClient {
171
181
  ]>;
172
182
  completeQuery(request: protos.google.cloud.discoveryengine.v1beta.ICompleteQueryRequest, options: CallOptions, callback: Callback<protos.google.cloud.discoveryengine.v1beta.ICompleteQueryResponse, protos.google.cloud.discoveryengine.v1beta.ICompleteQueryRequest | null | undefined, {} | null | undefined>): void;
173
183
  completeQuery(request: protos.google.cloud.discoveryengine.v1beta.ICompleteQueryRequest, callback: Callback<protos.google.cloud.discoveryengine.v1beta.ICompleteQueryResponse, protos.google.cloud.discoveryengine.v1beta.ICompleteQueryRequest | null | undefined, {} | null | undefined>): void;
184
+ /**
185
+ * Imports all
186
+ * {@link protos.google.cloud.discoveryengine.v1beta.SuggestionDenyListEntry|SuggestionDenyListEntry}
187
+ * for a DataStore.
188
+ *
189
+ * @param {Object} request
190
+ * The request object that will be sent.
191
+ * @param {google.cloud.discoveryengine.v1beta.ImportSuggestionDenyListEntriesRequest.InlineSource} request.inlineSource
192
+ * The Inline source for the input content for suggestion deny list entries.
193
+ * @param {google.cloud.discoveryengine.v1beta.GcsSource} request.gcsSource
194
+ * Cloud Storage location for the input content.
195
+ *
196
+ * Only 1 file can be specified that contains all entries to import.
197
+ * Supported values `gcs_source.schema` for autocomplete suggestion deny
198
+ * list entry imports:
199
+ *
200
+ * * `suggestion_deny_list` (default): One JSON [SuggestionDenyListEntry]
201
+ * per line.
202
+ * @param {string} request.parent
203
+ * Required. The parent data store resource name for which to import denylist
204
+ * entries. Follows pattern projects/* /locations/* /collections/* /dataStores/*.
205
+ * @param {object} [options]
206
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
207
+ * @returns {Promise} - The promise which resolves to an array.
208
+ * The first element of the array is an object representing
209
+ * a long running operation. Its `promise()` method returns a promise
210
+ * you can `await` for.
211
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
212
+ * for more details and examples.
213
+ * @example <caption>include:samples/generated/v1beta/completion_service.import_suggestion_deny_list_entries.js</caption>
214
+ * region_tag:discoveryengine_v1beta_generated_CompletionService_ImportSuggestionDenyListEntries_async
215
+ */
216
+ importSuggestionDenyListEntries(request?: protos.google.cloud.discoveryengine.v1beta.IImportSuggestionDenyListEntriesRequest, options?: CallOptions): Promise<[
217
+ LROperation<protos.google.cloud.discoveryengine.v1beta.IImportSuggestionDenyListEntriesResponse, protos.google.cloud.discoveryengine.v1beta.IImportSuggestionDenyListEntriesMetadata>,
218
+ protos.google.longrunning.IOperation | undefined,
219
+ {} | undefined
220
+ ]>;
221
+ importSuggestionDenyListEntries(request: protos.google.cloud.discoveryengine.v1beta.IImportSuggestionDenyListEntriesRequest, options: CallOptions, callback: Callback<LROperation<protos.google.cloud.discoveryengine.v1beta.IImportSuggestionDenyListEntriesResponse, protos.google.cloud.discoveryengine.v1beta.IImportSuggestionDenyListEntriesMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
222
+ importSuggestionDenyListEntries(request: protos.google.cloud.discoveryengine.v1beta.IImportSuggestionDenyListEntriesRequest, callback: Callback<LROperation<protos.google.cloud.discoveryengine.v1beta.IImportSuggestionDenyListEntriesResponse, protos.google.cloud.discoveryengine.v1beta.IImportSuggestionDenyListEntriesMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
223
+ /**
224
+ * Check the status of the long running operation returned by `importSuggestionDenyListEntries()`.
225
+ * @param {String} name
226
+ * The operation name that will be passed.
227
+ * @returns {Promise} - The promise which resolves to an object.
228
+ * The decoded operation object has result and metadata field to get information from.
229
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
230
+ * for more details and examples.
231
+ * @example <caption>include:samples/generated/v1beta/completion_service.import_suggestion_deny_list_entries.js</caption>
232
+ * region_tag:discoveryengine_v1beta_generated_CompletionService_ImportSuggestionDenyListEntries_async
233
+ */
234
+ checkImportSuggestionDenyListEntriesProgress(name: string): Promise<LROperation<protos.google.cloud.discoveryengine.v1beta.ImportSuggestionDenyListEntriesResponse, protos.google.cloud.discoveryengine.v1beta.ImportSuggestionDenyListEntriesMetadata>>;
235
+ /**
236
+ * Permanently deletes all
237
+ * {@link protos.google.cloud.discoveryengine.v1beta.SuggestionDenyListEntry|SuggestionDenyListEntry}
238
+ * for a DataStore.
239
+ *
240
+ * @param {Object} request
241
+ * The request object that will be sent.
242
+ * @param {string} request.parent
243
+ * Required. The parent data store resource name for which to import denylist
244
+ * entries. Follows pattern projects/* /locations/* /collections/* /dataStores/*.
245
+ * @param {object} [options]
246
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
247
+ * @returns {Promise} - The promise which resolves to an array.
248
+ * The first element of the array is an object representing
249
+ * a long running operation. Its `promise()` method returns a promise
250
+ * you can `await` for.
251
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
252
+ * for more details and examples.
253
+ * @example <caption>include:samples/generated/v1beta/completion_service.purge_suggestion_deny_list_entries.js</caption>
254
+ * region_tag:discoveryengine_v1beta_generated_CompletionService_PurgeSuggestionDenyListEntries_async
255
+ */
256
+ purgeSuggestionDenyListEntries(request?: protos.google.cloud.discoveryengine.v1beta.IPurgeSuggestionDenyListEntriesRequest, options?: CallOptions): Promise<[
257
+ LROperation<protos.google.cloud.discoveryengine.v1beta.IPurgeSuggestionDenyListEntriesResponse, protos.google.cloud.discoveryengine.v1beta.IPurgeSuggestionDenyListEntriesMetadata>,
258
+ protos.google.longrunning.IOperation | undefined,
259
+ {} | undefined
260
+ ]>;
261
+ purgeSuggestionDenyListEntries(request: protos.google.cloud.discoveryengine.v1beta.IPurgeSuggestionDenyListEntriesRequest, options: CallOptions, callback: Callback<LROperation<protos.google.cloud.discoveryengine.v1beta.IPurgeSuggestionDenyListEntriesResponse, protos.google.cloud.discoveryengine.v1beta.IPurgeSuggestionDenyListEntriesMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
262
+ purgeSuggestionDenyListEntries(request: protos.google.cloud.discoveryengine.v1beta.IPurgeSuggestionDenyListEntriesRequest, callback: Callback<LROperation<protos.google.cloud.discoveryengine.v1beta.IPurgeSuggestionDenyListEntriesResponse, protos.google.cloud.discoveryengine.v1beta.IPurgeSuggestionDenyListEntriesMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
263
+ /**
264
+ * Check the status of the long running operation returned by `purgeSuggestionDenyListEntries()`.
265
+ * @param {String} name
266
+ * The operation name that will be passed.
267
+ * @returns {Promise} - The promise which resolves to an object.
268
+ * The decoded operation object has result and metadata field to get information from.
269
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
270
+ * for more details and examples.
271
+ * @example <caption>include:samples/generated/v1beta/completion_service.purge_suggestion_deny_list_entries.js</caption>
272
+ * region_tag:discoveryengine_v1beta_generated_CompletionService_PurgeSuggestionDenyListEntries_async
273
+ */
274
+ checkPurgeSuggestionDenyListEntriesProgress(name: string): Promise<LROperation<protos.google.cloud.discoveryengine.v1beta.PurgeSuggestionDenyListEntriesResponse, protos.google.cloud.discoveryengine.v1beta.PurgeSuggestionDenyListEntriesMetadata>>;
174
275
  /**
175
276
  * Gets information about a location.
176
277
  *
@@ -222,6 +323,168 @@ export declare class CompletionServiceClient {
222
323
  * ```
223
324
  */
224
325
  listLocationsAsync(request: LocationProtos.google.cloud.location.IListLocationsRequest, options?: CallOptions): AsyncIterable<LocationProtos.google.cloud.location.ILocation>;
326
+ /**
327
+ * Gets the latest state of a long-running operation. Clients can use this
328
+ * method to poll the operation result at intervals as recommended by the API
329
+ * service.
330
+ *
331
+ * @param {Object} request - The request object that will be sent.
332
+ * @param {string} request.name - The name of the operation resource.
333
+ * @param {Object=} options
334
+ * Optional parameters. You can override the default settings for this call,
335
+ * e.g, timeout, retries, paginations, etc. See {@link
336
+ * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions}
337
+ * for the details.
338
+ * @param {function(?Error, ?Object)=} callback
339
+ * The function which will be called with the result of the API call.
340
+ *
341
+ * The second parameter to the callback is an object representing
342
+ * {@link google.longrunning.Operation | google.longrunning.Operation}.
343
+ * @return {Promise} - The promise which resolves to an array.
344
+ * The first element of the array is an object representing
345
+ * {@link google.longrunning.Operation | google.longrunning.Operation}.
346
+ * The promise has a method named "cancel" which cancels the ongoing API call.
347
+ *
348
+ * @example
349
+ * ```
350
+ * const client = longrunning.operationsClient();
351
+ * const name = '';
352
+ * const [response] = await client.getOperation({name});
353
+ * // doThingsWith(response)
354
+ * ```
355
+ */
356
+ 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]>;
357
+ /**
358
+ * Lists operations that match the specified filter in the request. If the
359
+ * server doesn't support this method, it returns `UNIMPLEMENTED`. Returns an iterable object.
360
+ *
361
+ * For-await-of syntax is used with the iterable to recursively get response element on-demand.
362
+ *
363
+ * @param {Object} request - The request object that will be sent.
364
+ * @param {string} request.name - The name of the operation collection.
365
+ * @param {string} request.filter - The standard list filter.
366
+ * @param {number=} request.pageSize -
367
+ * The maximum number of resources contained in the underlying API
368
+ * response. If page streaming is performed per-resource, this
369
+ * parameter does not affect the return value. If page streaming is
370
+ * performed per-page, this determines the maximum number of
371
+ * resources in a page.
372
+ * @param {Object=} options
373
+ * Optional parameters. You can override the default settings for this call,
374
+ * e.g, timeout, retries, paginations, etc. See {@link
375
+ * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions} for the
376
+ * details.
377
+ * @returns {Object}
378
+ * An iterable Object that conforms to {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | iteration protocols}.
379
+ *
380
+ * @example
381
+ * ```
382
+ * const client = longrunning.operationsClient();
383
+ * for await (const response of client.listOperationsAsync(request));
384
+ * // doThingsWith(response)
385
+ * ```
386
+ */
387
+ listOperationsAsync(request: protos.google.longrunning.ListOperationsRequest, options?: gax.CallOptions): AsyncIterable<protos.google.longrunning.ListOperationsResponse>;
388
+ /**
389
+ * Starts asynchronous cancellation on a long-running operation. The server
390
+ * makes a best effort to cancel the operation, but success is not
391
+ * guaranteed. If the server doesn't support this method, it returns
392
+ * `google.rpc.Code.UNIMPLEMENTED`. Clients can use
393
+ * {@link Operations.GetOperation} or
394
+ * other methods to check whether the cancellation succeeded or whether the
395
+ * operation completed despite cancellation. On successful cancellation,
396
+ * the operation is not deleted; instead, it becomes an operation with
397
+ * an {@link Operation.error} value with a {@link google.rpc.Status.code} of
398
+ * 1, corresponding to `Code.CANCELLED`.
399
+ *
400
+ * @param {Object} request - The request object that will be sent.
401
+ * @param {string} request.name - The name of the operation resource to be cancelled.
402
+ * @param {Object=} options
403
+ * Optional parameters. You can override the default settings for this call,
404
+ * e.g, timeout, retries, paginations, etc. See {@link
405
+ * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions} for the
406
+ * details.
407
+ * @param {function(?Error)=} callback
408
+ * The function which will be called with the result of the API call.
409
+ * @return {Promise} - The promise which resolves when API call finishes.
410
+ * The promise has a method named "cancel" which cancels the ongoing API
411
+ * call.
412
+ *
413
+ * @example
414
+ * ```
415
+ * const client = longrunning.operationsClient();
416
+ * await client.cancelOperation({name: ''});
417
+ * ```
418
+ */
419
+ 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>;
420
+ /**
421
+ * Deletes a long-running operation. This method indicates that the client is
422
+ * no longer interested in the operation result. It does not cancel the
423
+ * operation. If the server doesn't support this method, it returns
424
+ * `google.rpc.Code.UNIMPLEMENTED`.
425
+ *
426
+ * @param {Object} request - The request object that will be sent.
427
+ * @param {string} request.name - The name of the operation resource to be deleted.
428
+ * @param {Object=} options
429
+ * Optional parameters. You can override the default settings for this call,
430
+ * e.g, timeout, retries, paginations, etc. See {@link
431
+ * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions}
432
+ * for the details.
433
+ * @param {function(?Error)=} callback
434
+ * The function which will be called with the result of the API call.
435
+ * @return {Promise} - The promise which resolves when API call finishes.
436
+ * The promise has a method named "cancel" which cancels the ongoing API
437
+ * call.
438
+ *
439
+ * @example
440
+ * ```
441
+ * const client = longrunning.operationsClient();
442
+ * await client.deleteOperation({name: ''});
443
+ * ```
444
+ */
445
+ 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>;
446
+ /**
447
+ * Return a fully-qualified engine resource name string.
448
+ *
449
+ * @param {string} project
450
+ * @param {string} location
451
+ * @param {string} collection
452
+ * @param {string} engine
453
+ * @returns {string} Resource name string.
454
+ */
455
+ enginePath(project: string, location: string, collection: string, engine: string): string;
456
+ /**
457
+ * Parse the project from Engine resource.
458
+ *
459
+ * @param {string} engineName
460
+ * A fully-qualified path representing Engine resource.
461
+ * @returns {string} A string representing the project.
462
+ */
463
+ matchProjectFromEngineName(engineName: string): string | number;
464
+ /**
465
+ * Parse the location from Engine resource.
466
+ *
467
+ * @param {string} engineName
468
+ * A fully-qualified path representing Engine resource.
469
+ * @returns {string} A string representing the location.
470
+ */
471
+ matchLocationFromEngineName(engineName: string): string | number;
472
+ /**
473
+ * Parse the collection from Engine resource.
474
+ *
475
+ * @param {string} engineName
476
+ * A fully-qualified path representing Engine resource.
477
+ * @returns {string} A string representing the collection.
478
+ */
479
+ matchCollectionFromEngineName(engineName: string): string | number;
480
+ /**
481
+ * Parse the engine from Engine resource.
482
+ *
483
+ * @param {string} engineName
484
+ * A fully-qualified path representing Engine resource.
485
+ * @returns {string} A string representing the engine.
486
+ */
487
+ matchEngineFromEngineName(engineName: string): string | number;
225
488
  /**
226
489
  * Return a fully-qualified projectLocationCollectionDataStore resource name string.
227
490
  *
@@ -426,6 +689,252 @@ export declare class CompletionServiceClient {
426
689
  * @returns {string} A string representing the schema.
427
690
  */
428
691
  matchSchemaFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
692
+ /**
693
+ * Return a fully-qualified projectLocationCollectionDataStoreServingConfig resource name string.
694
+ *
695
+ * @param {string} project
696
+ * @param {string} location
697
+ * @param {string} collection
698
+ * @param {string} data_store
699
+ * @param {string} serving_config
700
+ * @returns {string} Resource name string.
701
+ */
702
+ projectLocationCollectionDataStoreServingConfigPath(project: string, location: string, collection: string, dataStore: string, servingConfig: string): string;
703
+ /**
704
+ * Parse the project from ProjectLocationCollectionDataStoreServingConfig resource.
705
+ *
706
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
707
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
708
+ * @returns {string} A string representing the project.
709
+ */
710
+ matchProjectFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName: string): string | number;
711
+ /**
712
+ * Parse the location from ProjectLocationCollectionDataStoreServingConfig resource.
713
+ *
714
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
715
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
716
+ * @returns {string} A string representing the location.
717
+ */
718
+ matchLocationFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName: string): string | number;
719
+ /**
720
+ * Parse the collection from ProjectLocationCollectionDataStoreServingConfig resource.
721
+ *
722
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
723
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
724
+ * @returns {string} A string representing the collection.
725
+ */
726
+ matchCollectionFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName: string): string | number;
727
+ /**
728
+ * Parse the data_store from ProjectLocationCollectionDataStoreServingConfig resource.
729
+ *
730
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
731
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
732
+ * @returns {string} A string representing the data_store.
733
+ */
734
+ matchDataStoreFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName: string): string | number;
735
+ /**
736
+ * Parse the serving_config from ProjectLocationCollectionDataStoreServingConfig resource.
737
+ *
738
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
739
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
740
+ * @returns {string} A string representing the serving_config.
741
+ */
742
+ matchServingConfigFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName: string): string | number;
743
+ /**
744
+ * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
745
+ *
746
+ * @param {string} project
747
+ * @param {string} location
748
+ * @param {string} collection
749
+ * @param {string} data_store
750
+ * @returns {string} Resource name string.
751
+ */
752
+ projectLocationCollectionDataStoreSiteSearchEnginePath(project: string, location: string, collection: string, dataStore: string): string;
753
+ /**
754
+ * Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
755
+ *
756
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
757
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
758
+ * @returns {string} A string representing the project.
759
+ */
760
+ matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
761
+ /**
762
+ * Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
763
+ *
764
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
765
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
766
+ * @returns {string} A string representing the location.
767
+ */
768
+ matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
769
+ /**
770
+ * Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
771
+ *
772
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
773
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
774
+ * @returns {string} A string representing the collection.
775
+ */
776
+ matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
777
+ /**
778
+ * Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
779
+ *
780
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
781
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
782
+ * @returns {string} A string representing the data_store.
783
+ */
784
+ matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
785
+ /**
786
+ * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngineTargetSite resource name string.
787
+ *
788
+ * @param {string} project
789
+ * @param {string} location
790
+ * @param {string} collection
791
+ * @param {string} data_store
792
+ * @param {string} target_site
793
+ * @returns {string} Resource name string.
794
+ */
795
+ projectLocationCollectionDataStoreSiteSearchEngineTargetSitePath(project: string, location: string, collection: string, dataStore: string, targetSite: string): string;
796
+ /**
797
+ * Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
798
+ *
799
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
800
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
801
+ * @returns {string} A string representing the project.
802
+ */
803
+ matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
804
+ /**
805
+ * Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
806
+ *
807
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
808
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
809
+ * @returns {string} A string representing the location.
810
+ */
811
+ matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
812
+ /**
813
+ * Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
814
+ *
815
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
816
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
817
+ * @returns {string} A string representing the collection.
818
+ */
819
+ matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
820
+ /**
821
+ * Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
822
+ *
823
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
824
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
825
+ * @returns {string} A string representing the data_store.
826
+ */
827
+ matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
828
+ /**
829
+ * Parse the target_site from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
830
+ *
831
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
832
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
833
+ * @returns {string} A string representing the target_site.
834
+ */
835
+ matchTargetSiteFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
836
+ /**
837
+ * Return a fully-qualified projectLocationCollectionEngineConversation resource name string.
838
+ *
839
+ * @param {string} project
840
+ * @param {string} location
841
+ * @param {string} collection
842
+ * @param {string} engine
843
+ * @param {string} conversation
844
+ * @returns {string} Resource name string.
845
+ */
846
+ projectLocationCollectionEngineConversationPath(project: string, location: string, collection: string, engine: string, conversation: string): string;
847
+ /**
848
+ * Parse the project from ProjectLocationCollectionEngineConversation resource.
849
+ *
850
+ * @param {string} projectLocationCollectionEngineConversationName
851
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
852
+ * @returns {string} A string representing the project.
853
+ */
854
+ matchProjectFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
855
+ /**
856
+ * Parse the location from ProjectLocationCollectionEngineConversation resource.
857
+ *
858
+ * @param {string} projectLocationCollectionEngineConversationName
859
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
860
+ * @returns {string} A string representing the location.
861
+ */
862
+ matchLocationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
863
+ /**
864
+ * Parse the collection from ProjectLocationCollectionEngineConversation resource.
865
+ *
866
+ * @param {string} projectLocationCollectionEngineConversationName
867
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
868
+ * @returns {string} A string representing the collection.
869
+ */
870
+ matchCollectionFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
871
+ /**
872
+ * Parse the engine from ProjectLocationCollectionEngineConversation resource.
873
+ *
874
+ * @param {string} projectLocationCollectionEngineConversationName
875
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
876
+ * @returns {string} A string representing the engine.
877
+ */
878
+ matchEngineFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
879
+ /**
880
+ * Parse the conversation from ProjectLocationCollectionEngineConversation resource.
881
+ *
882
+ * @param {string} projectLocationCollectionEngineConversationName
883
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
884
+ * @returns {string} A string representing the conversation.
885
+ */
886
+ matchConversationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
887
+ /**
888
+ * Return a fully-qualified projectLocationCollectionEngineServingConfig resource name string.
889
+ *
890
+ * @param {string} project
891
+ * @param {string} location
892
+ * @param {string} collection
893
+ * @param {string} engine
894
+ * @param {string} serving_config
895
+ * @returns {string} Resource name string.
896
+ */
897
+ projectLocationCollectionEngineServingConfigPath(project: string, location: string, collection: string, engine: string, servingConfig: string): string;
898
+ /**
899
+ * Parse the project from ProjectLocationCollectionEngineServingConfig resource.
900
+ *
901
+ * @param {string} projectLocationCollectionEngineServingConfigName
902
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
903
+ * @returns {string} A string representing the project.
904
+ */
905
+ matchProjectFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName: string): string | number;
906
+ /**
907
+ * Parse the location from ProjectLocationCollectionEngineServingConfig resource.
908
+ *
909
+ * @param {string} projectLocationCollectionEngineServingConfigName
910
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
911
+ * @returns {string} A string representing the location.
912
+ */
913
+ matchLocationFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName: string): string | number;
914
+ /**
915
+ * Parse the collection from ProjectLocationCollectionEngineServingConfig resource.
916
+ *
917
+ * @param {string} projectLocationCollectionEngineServingConfigName
918
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
919
+ * @returns {string} A string representing the collection.
920
+ */
921
+ matchCollectionFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName: string): string | number;
922
+ /**
923
+ * Parse the engine from ProjectLocationCollectionEngineServingConfig resource.
924
+ *
925
+ * @param {string} projectLocationCollectionEngineServingConfigName
926
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
927
+ * @returns {string} A string representing the engine.
928
+ */
929
+ matchEngineFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName: string): string | number;
930
+ /**
931
+ * Parse the serving_config from ProjectLocationCollectionEngineServingConfig resource.
932
+ *
933
+ * @param {string} projectLocationCollectionEngineServingConfigName
934
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
935
+ * @returns {string} A string representing the serving_config.
936
+ */
937
+ matchServingConfigFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName: string): string | number;
429
938
  /**
430
939
  * Return a fully-qualified projectLocationDataStore resource name string.
431
940
  *
@@ -594,6 +1103,123 @@ export declare class CompletionServiceClient {
594
1103
  * @returns {string} A string representing the schema.
595
1104
  */
596
1105
  matchSchemaFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName: string): string | number;
1106
+ /**
1107
+ * Return a fully-qualified projectLocationDataStoreServingConfig resource name string.
1108
+ *
1109
+ * @param {string} project
1110
+ * @param {string} location
1111
+ * @param {string} data_store
1112
+ * @param {string} serving_config
1113
+ * @returns {string} Resource name string.
1114
+ */
1115
+ projectLocationDataStoreServingConfigPath(project: string, location: string, dataStore: string, servingConfig: string): string;
1116
+ /**
1117
+ * Parse the project from ProjectLocationDataStoreServingConfig resource.
1118
+ *
1119
+ * @param {string} projectLocationDataStoreServingConfigName
1120
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
1121
+ * @returns {string} A string representing the project.
1122
+ */
1123
+ matchProjectFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName: string): string | number;
1124
+ /**
1125
+ * Parse the location from ProjectLocationDataStoreServingConfig resource.
1126
+ *
1127
+ * @param {string} projectLocationDataStoreServingConfigName
1128
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
1129
+ * @returns {string} A string representing the location.
1130
+ */
1131
+ matchLocationFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName: string): string | number;
1132
+ /**
1133
+ * Parse the data_store from ProjectLocationDataStoreServingConfig resource.
1134
+ *
1135
+ * @param {string} projectLocationDataStoreServingConfigName
1136
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
1137
+ * @returns {string} A string representing the data_store.
1138
+ */
1139
+ matchDataStoreFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName: string): string | number;
1140
+ /**
1141
+ * Parse the serving_config from ProjectLocationDataStoreServingConfig resource.
1142
+ *
1143
+ * @param {string} projectLocationDataStoreServingConfigName
1144
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
1145
+ * @returns {string} A string representing the serving_config.
1146
+ */
1147
+ matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName: string): string | number;
1148
+ /**
1149
+ * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
1150
+ *
1151
+ * @param {string} project
1152
+ * @param {string} location
1153
+ * @param {string} data_store
1154
+ * @returns {string} Resource name string.
1155
+ */
1156
+ projectLocationDataStoreSiteSearchEnginePath(project: string, location: string, dataStore: string): string;
1157
+ /**
1158
+ * Parse the project from ProjectLocationDataStoreSiteSearchEngine resource.
1159
+ *
1160
+ * @param {string} projectLocationDataStoreSiteSearchEngineName
1161
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
1162
+ * @returns {string} A string representing the project.
1163
+ */
1164
+ matchProjectFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName: string): string | number;
1165
+ /**
1166
+ * Parse the location from ProjectLocationDataStoreSiteSearchEngine resource.
1167
+ *
1168
+ * @param {string} projectLocationDataStoreSiteSearchEngineName
1169
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
1170
+ * @returns {string} A string representing the location.
1171
+ */
1172
+ matchLocationFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName: string): string | number;
1173
+ /**
1174
+ * Parse the data_store from ProjectLocationDataStoreSiteSearchEngine resource.
1175
+ *
1176
+ * @param {string} projectLocationDataStoreSiteSearchEngineName
1177
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
1178
+ * @returns {string} A string representing the data_store.
1179
+ */
1180
+ matchDataStoreFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName: string): string | number;
1181
+ /**
1182
+ * Return a fully-qualified projectLocationDataStoreSiteSearchEngineTargetSite resource name string.
1183
+ *
1184
+ * @param {string} project
1185
+ * @param {string} location
1186
+ * @param {string} data_store
1187
+ * @param {string} target_site
1188
+ * @returns {string} Resource name string.
1189
+ */
1190
+ projectLocationDataStoreSiteSearchEngineTargetSitePath(project: string, location: string, dataStore: string, targetSite: string): string;
1191
+ /**
1192
+ * Parse the project from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1193
+ *
1194
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1195
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1196
+ * @returns {string} A string representing the project.
1197
+ */
1198
+ matchProjectFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName: string): string | number;
1199
+ /**
1200
+ * Parse the location from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1201
+ *
1202
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1203
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1204
+ * @returns {string} A string representing the location.
1205
+ */
1206
+ matchLocationFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName: string): string | number;
1207
+ /**
1208
+ * Parse the data_store from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1209
+ *
1210
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1211
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1212
+ * @returns {string} A string representing the data_store.
1213
+ */
1214
+ matchDataStoreFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName: string): string | number;
1215
+ /**
1216
+ * Parse the target_site from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1217
+ *
1218
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1219
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1220
+ * @returns {string} A string representing the target_site.
1221
+ */
1222
+ matchTargetSiteFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName: string): string | number;
597
1223
  /**
598
1224
  * Terminate the gRPC channel and close the client.
599
1225
  *