@google-cloud/discoveryengine 2.0.1 → 2.2.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 (167) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +7 -2
  3. package/build/protos/google/cloud/discoveryengine/v1/answer.proto +54 -2
  4. package/build/protos/google/cloud/discoveryengine/v1/chunk.proto +2 -1
  5. package/build/protos/google/cloud/discoveryengine/v1/common.proto +35 -6
  6. package/build/protos/google/cloud/discoveryengine/v1/control.proto +113 -2
  7. package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +168 -2
  8. package/build/protos/google/cloud/discoveryengine/v1/data_store.proto +23 -4
  9. package/build/protos/google/cloud/discoveryengine/v1/document.proto +7 -2
  10. package/build/protos/google/cloud/discoveryengine/v1/document_service.proto +1 -1
  11. package/build/protos/google/cloud/discoveryengine/v1/engine.proto +16 -3
  12. package/build/protos/google/cloud/discoveryengine/v1/grounded_generation_service.proto +70 -9
  13. package/build/protos/google/cloud/discoveryengine/v1/import_config.proto +20 -1
  14. package/build/protos/google/cloud/discoveryengine/v1/purge_config.proto +9 -5
  15. package/build/protos/google/cloud/discoveryengine/v1/rank_service.proto +3 -1
  16. package/build/protos/google/cloud/discoveryengine/v1/recommendation_service.proto +2 -2
  17. package/build/protos/google/cloud/discoveryengine/v1/safety.proto +107 -0
  18. package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +96 -8
  19. package/build/protos/google/cloud/discoveryengine/v1/serving_config.proto +271 -0
  20. package/build/protos/google/cloud/discoveryengine/v1/serving_config_service.proto +75 -0
  21. package/build/protos/google/cloud/discoveryengine/v1/session.proto +19 -0
  22. package/build/protos/google/cloud/discoveryengine/v1/site_search_engine.proto +27 -3
  23. package/build/protos/google/cloud/discoveryengine/v1/site_search_engine_service.proto +184 -5
  24. package/build/protos/google/cloud/discoveryengine/v1/user_event.proto +34 -0
  25. package/build/protos/google/cloud/discoveryengine/v1/user_event_service.proto +16 -4
  26. package/build/protos/protos.d.ts +4390 -300
  27. package/build/protos/protos.js +13785 -2922
  28. package/build/protos/protos.json +1355 -14
  29. package/build/src/index.d.ts +4 -1
  30. package/build/src/index.js +4 -21
  31. package/build/src/v1/completion_service_client.d.ts +313 -76
  32. package/build/src/v1/completion_service_client.js +451 -262
  33. package/build/src/v1/completion_service_proto_list.json +3 -0
  34. package/build/src/v1/control_service_client.d.ts +318 -81
  35. package/build/src/v1/control_service_client.js +422 -132
  36. package/build/src/v1/control_service_proto_list.json +3 -0
  37. package/build/src/v1/conversational_search_service_client.d.ts +341 -134
  38. package/build/src/v1/conversational_search_service_client.js +395 -223
  39. package/build/src/v1/conversational_search_service_client_config.json +5 -0
  40. package/build/src/v1/conversational_search_service_proto_list.json +3 -0
  41. package/build/src/v1/data_store_service_client.d.ts +359 -122
  42. package/build/src/v1/data_store_service_client.js +460 -280
  43. package/build/src/v1/data_store_service_proto_list.json +3 -0
  44. package/build/src/v1/document_service_client.d.ts +364 -121
  45. package/build/src/v1/document_service_client.js +469 -300
  46. package/build/src/v1/document_service_proto_list.json +3 -0
  47. package/build/src/v1/engine_service_client.d.ts +340 -103
  48. package/build/src/v1/engine_service_client.js +460 -279
  49. package/build/src/v1/engine_service_proto_list.json +3 -0
  50. package/build/src/v1/gapic_metadata.json +59 -0
  51. package/build/src/v1/grounded_generation_service_client.d.ts +286 -51
  52. package/build/src/v1/grounded_generation_service_client.js +405 -100
  53. package/build/src/v1/grounded_generation_service_proto_list.json +3 -0
  54. package/build/src/v1/index.d.ts +1 -0
  55. package/build/src/v1/index.js +3 -1
  56. package/build/src/v1/project_service_client.d.ts +313 -76
  57. package/build/src/v1/project_service_client.js +434 -222
  58. package/build/src/v1/project_service_proto_list.json +3 -0
  59. package/build/src/v1/rank_service_client.d.ts +285 -48
  60. package/build/src/v1/rank_service_client.js +398 -85
  61. package/build/src/v1/rank_service_proto_list.json +3 -0
  62. package/build/src/v1/recommendation_service_client.d.ts +142 -49
  63. package/build/src/v1/recommendation_service_client.js +198 -82
  64. package/build/src/v1/recommendation_service_proto_list.json +3 -0
  65. package/build/src/v1/schema_service_client.d.ts +348 -111
  66. package/build/src/v1/schema_service_client.js +457 -273
  67. package/build/src/v1/schema_service_proto_list.json +3 -0
  68. package/build/src/v1/search_service_client.d.ts +748 -559
  69. package/build/src/v1/search_service_client.js +302 -133
  70. package/build/src/v1/search_service_proto_list.json +3 -0
  71. package/build/src/v1/search_tuning_service_client.d.ts +314 -77
  72. package/build/src/v1/search_tuning_service_client.js +439 -235
  73. package/build/src/v1/search_tuning_service_proto_list.json +3 -0
  74. package/build/src/v1/serving_config_service_client.d.ts +1851 -0
  75. package/build/src/v1/serving_config_service_client.js +2642 -0
  76. package/build/src/v1/serving_config_service_client_config.json +30 -0
  77. package/build/src/v1/serving_config_service_proto_list.json +39 -0
  78. package/build/src/v1/site_search_engine_service_client.d.ts +504 -151
  79. package/build/src/v1/site_search_engine_service_client.js +625 -351
  80. package/build/src/v1/site_search_engine_service_client_config.json +12 -0
  81. package/build/src/v1/site_search_engine_service_proto_list.json +3 -0
  82. package/build/src/v1/user_event_service_client.d.ts +335 -86
  83. package/build/src/v1/user_event_service_client.js +447 -253
  84. package/build/src/v1/user_event_service_proto_list.json +3 -0
  85. package/build/src/v1alpha/acl_config_service_client.d.ts +49 -49
  86. package/build/src/v1alpha/acl_config_service_client.js +82 -106
  87. package/build/src/v1alpha/chunk_service_client.d.ts +88 -88
  88. package/build/src/v1alpha/chunk_service_client.js +92 -120
  89. package/build/src/v1alpha/completion_service_client.d.ts +77 -77
  90. package/build/src/v1alpha/completion_service_client.js +134 -280
  91. package/build/src/v1alpha/control_service_client.d.ts +85 -85
  92. package/build/src/v1alpha/control_service_client.js +105 -151
  93. package/build/src/v1alpha/conversational_search_service_client.d.ts +143 -143
  94. package/build/src/v1alpha/conversational_search_service_client.js +145 -237
  95. package/build/src/v1alpha/data_store_service_client.d.ts +126 -126
  96. package/build/src/v1alpha/data_store_service_client.js +151 -316
  97. package/build/src/v1alpha/document_service_client.d.ts +126 -126
  98. package/build/src/v1alpha/document_service_client.js +156 -328
  99. package/build/src/v1alpha/engine_service_client.d.ts +106 -106
  100. package/build/src/v1alpha/engine_service_client.js +155 -325
  101. package/build/src/v1alpha/estimate_billing_service_client.d.ts +76 -76
  102. package/build/src/v1alpha/estimate_billing_service_client.js +118 -243
  103. package/build/src/v1alpha/evaluation_service_client.d.ts +161 -161
  104. package/build/src/v1alpha/evaluation_service_client.js +143 -295
  105. package/build/src/v1alpha/grounded_generation_service_client.d.ts +48 -48
  106. package/build/src/v1alpha/grounded_generation_service_client.js +79 -100
  107. package/build/src/v1alpha/project_service_client.d.ts +78 -78
  108. package/build/src/v1alpha/project_service_client.js +126 -262
  109. package/build/src/v1alpha/rank_service_client.d.ts +47 -47
  110. package/build/src/v1alpha/rank_service_client.js +81 -104
  111. package/build/src/v1alpha/recommendation_service_client.d.ts +47 -47
  112. package/build/src/v1alpha/recommendation_service_client.js +79 -100
  113. package/build/src/v1alpha/sample_query_service_client.d.ts +123 -123
  114. package/build/src/v1alpha/sample_query_service_client.js +144 -301
  115. package/build/src/v1alpha/sample_query_set_service_client.d.ts +94 -94
  116. package/build/src/v1alpha/sample_query_set_service_client.js +106 -153
  117. package/build/src/v1alpha/schema_service_client.d.ts +112 -112
  118. package/build/src/v1alpha/schema_service_client.js +140 -292
  119. package/build/src/v1alpha/search_service_client.d.ts +327 -327
  120. package/build/src/v1alpha/search_service_client.js +88 -112
  121. package/build/src/v1alpha/search_tuning_service_client.d.ts +77 -77
  122. package/build/src/v1alpha/search_tuning_service_client.js +122 -253
  123. package/build/src/v1alpha/serving_config_service_client.d.ts +75 -75
  124. package/build/src/v1alpha/serving_config_service_client.js +97 -133
  125. package/build/src/v1alpha/site_search_engine_service_client.d.ts +151 -151
  126. package/build/src/v1alpha/site_search_engine_service_client.js +184 -387
  127. package/build/src/v1alpha/user_event_service_client.d.ts +78 -78
  128. package/build/src/v1alpha/user_event_service_client.js +130 -271
  129. package/build/src/v1beta/completion_service_client.d.ts +78 -78
  130. package/build/src/v1beta/completion_service_client.js +136 -279
  131. package/build/src/v1beta/control_service_client.d.ts +84 -84
  132. package/build/src/v1beta/control_service_client.js +103 -147
  133. package/build/src/v1beta/conversational_search_service_client.d.ts +142 -142
  134. package/build/src/v1beta/conversational_search_service_client.js +143 -233
  135. package/build/src/v1beta/data_store_service_client.d.ts +124 -124
  136. package/build/src/v1beta/data_store_service_client.js +141 -288
  137. package/build/src/v1beta/document_service_client.d.ts +124 -124
  138. package/build/src/v1beta/document_service_client.js +150 -309
  139. package/build/src/v1beta/engine_service_client.d.ts +106 -106
  140. package/build/src/v1beta/engine_service_client.js +153 -315
  141. package/build/src/v1beta/evaluation_service_client.d.ts +161 -161
  142. package/build/src/v1beta/evaluation_service_client.js +141 -285
  143. package/build/src/v1beta/grounded_generation_service_client.d.ts +49 -49
  144. package/build/src/v1beta/grounded_generation_service_client.js +86 -114
  145. package/build/src/v1beta/project_service_client.d.ts +76 -76
  146. package/build/src/v1beta/project_service_client.js +115 -231
  147. package/build/src/v1beta/rank_service_client.d.ts +47 -47
  148. package/build/src/v1beta/rank_service_client.js +79 -99
  149. package/build/src/v1beta/recommendation_service_client.d.ts +47 -47
  150. package/build/src/v1beta/recommendation_service_client.js +77 -96
  151. package/build/src/v1beta/sample_query_service_client.d.ts +123 -123
  152. package/build/src/v1beta/sample_query_service_client.js +142 -291
  153. package/build/src/v1beta/sample_query_set_service_client.d.ts +94 -94
  154. package/build/src/v1beta/sample_query_set_service_client.js +104 -149
  155. package/build/src/v1beta/schema_service_client.d.ts +111 -111
  156. package/build/src/v1beta/schema_service_client.js +138 -282
  157. package/build/src/v1beta/search_service_client.d.ts +665 -665
  158. package/build/src/v1beta/search_service_client.js +97 -128
  159. package/build/src/v1beta/search_tuning_service_client.d.ts +77 -77
  160. package/build/src/v1beta/search_tuning_service_client.js +120 -243
  161. package/build/src/v1beta/serving_config_service_client.d.ts +75 -75
  162. package/build/src/v1beta/serving_config_service_client.js +95 -129
  163. package/build/src/v1beta/site_search_engine_service_client.d.ts +151 -151
  164. package/build/src/v1beta/site_search_engine_service_client.js +186 -386
  165. package/build/src/v1beta/user_event_service_client.d.ts +78 -78
  166. package/build/src/v1beta/user_event_service_client.js +128 -261
  167. package/package.json +4 -4
@@ -24,10 +24,13 @@
24
24
  "../../protos/google/cloud/discoveryengine/v1/purge_config.proto",
25
25
  "../../protos/google/cloud/discoveryengine/v1/rank_service.proto",
26
26
  "../../protos/google/cloud/discoveryengine/v1/recommendation_service.proto",
27
+ "../../protos/google/cloud/discoveryengine/v1/safety.proto",
27
28
  "../../protos/google/cloud/discoveryengine/v1/schema.proto",
28
29
  "../../protos/google/cloud/discoveryengine/v1/schema_service.proto",
29
30
  "../../protos/google/cloud/discoveryengine/v1/search_service.proto",
30
31
  "../../protos/google/cloud/discoveryengine/v1/search_tuning_service.proto",
32
+ "../../protos/google/cloud/discoveryengine/v1/serving_config.proto",
33
+ "../../protos/google/cloud/discoveryengine/v1/serving_config_service.proto",
31
34
  "../../protos/google/cloud/discoveryengine/v1/session.proto",
32
35
  "../../protos/google/cloud/discoveryengine/v1/site_search_engine.proto",
33
36
  "../../protos/google/cloud/discoveryengine/v1/site_search_engine_service.proto",
@@ -11,5 +11,6 @@ export { RecommendationServiceClient } from './recommendation_service_client';
11
11
  export { SchemaServiceClient } from './schema_service_client';
12
12
  export { SearchServiceClient } from './search_service_client';
13
13
  export { SearchTuningServiceClient } from './search_tuning_service_client';
14
+ export { ServingConfigServiceClient } from './serving_config_service_client';
14
15
  export { SiteSearchEngineServiceClient } from './site_search_engine_service_client';
15
16
  export { UserEventServiceClient } from './user_event_service_client';
@@ -17,7 +17,7 @@
17
17
  // ** https://github.com/googleapis/gapic-generator-typescript **
18
18
  // ** All changes to this file may be overwritten. **
19
19
  Object.defineProperty(exports, "__esModule", { value: true });
20
- exports.UserEventServiceClient = exports.SiteSearchEngineServiceClient = exports.SearchTuningServiceClient = exports.SearchServiceClient = exports.SchemaServiceClient = exports.RecommendationServiceClient = exports.RankServiceClient = exports.ProjectServiceClient = exports.GroundedGenerationServiceClient = exports.EngineServiceClient = exports.DocumentServiceClient = exports.DataStoreServiceClient = exports.ConversationalSearchServiceClient = exports.ControlServiceClient = exports.CompletionServiceClient = void 0;
20
+ exports.UserEventServiceClient = exports.SiteSearchEngineServiceClient = exports.ServingConfigServiceClient = exports.SearchTuningServiceClient = exports.SearchServiceClient = exports.SchemaServiceClient = exports.RecommendationServiceClient = exports.RankServiceClient = exports.ProjectServiceClient = exports.GroundedGenerationServiceClient = exports.EngineServiceClient = exports.DocumentServiceClient = exports.DataStoreServiceClient = exports.ConversationalSearchServiceClient = exports.ControlServiceClient = exports.CompletionServiceClient = void 0;
21
21
  var completion_service_client_1 = require("./completion_service_client");
22
22
  Object.defineProperty(exports, "CompletionServiceClient", { enumerable: true, get: function () { return completion_service_client_1.CompletionServiceClient; } });
23
23
  var control_service_client_1 = require("./control_service_client");
@@ -44,6 +44,8 @@ var search_service_client_1 = require("./search_service_client");
44
44
  Object.defineProperty(exports, "SearchServiceClient", { enumerable: true, get: function () { return search_service_client_1.SearchServiceClient; } });
45
45
  var search_tuning_service_client_1 = require("./search_tuning_service_client");
46
46
  Object.defineProperty(exports, "SearchTuningServiceClient", { enumerable: true, get: function () { return search_tuning_service_client_1.SearchTuningServiceClient; } });
47
+ var serving_config_service_client_1 = require("./serving_config_service_client");
48
+ Object.defineProperty(exports, "ServingConfigServiceClient", { enumerable: true, get: function () { return serving_config_service_client_1.ServingConfigServiceClient; } });
47
49
  var site_search_engine_service_client_1 = require("./site_search_engine_service_client");
48
50
  Object.defineProperty(exports, "SiteSearchEngineServiceClient", { enumerable: true, get: function () { return site_search_engine_service_client_1.SiteSearchEngineServiceClient; } });
49
51
  var user_event_service_client_1 = require("./user_event_service_client");
@@ -172,86 +172,86 @@ export declare class ProjectServiceClient {
172
172
  */
173
173
  checkProvisionProjectProgress(name: string): Promise<LROperation<protos.google.cloud.discoveryengine.v1.Project, protos.google.cloud.discoveryengine.v1.ProvisionProjectMetadata>>;
174
174
  /**
175
- * Gets information about a location.
176
- *
177
- * @param {Object} request
178
- * The request object that will be sent.
179
- * @param {string} request.name
180
- * Resource name for the location.
181
- * @param {object} [options]
182
- * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html | CallOptions} for more details.
183
- * @returns {Promise} - The promise which resolves to an array.
184
- * The first element of the array is an object representing {@link google.cloud.location.Location | Location}.
185
- * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
186
- * for more details and examples.
187
- * @example
188
- * ```
189
- * const [response] = await client.getLocation(request);
190
- * ```
191
- */
175
+ * Gets information about a location.
176
+ *
177
+ * @param {Object} request
178
+ * The request object that will be sent.
179
+ * @param {string} request.name
180
+ * Resource name for the location.
181
+ * @param {object} [options]
182
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html | CallOptions} for more details.
183
+ * @returns {Promise} - The promise which resolves to an array.
184
+ * The first element of the array is an object representing {@link google.cloud.location.Location | Location}.
185
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
186
+ * for more details and examples.
187
+ * @example
188
+ * ```
189
+ * const [response] = await client.getLocation(request);
190
+ * ```
191
+ */
192
192
  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>;
193
193
  /**
194
- * Lists information about the supported locations for this service. Returns an iterable object.
195
- *
196
- * `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
197
- * @param {Object} request
198
- * The request object that will be sent.
199
- * @param {string} request.name
200
- * The resource that owns the locations collection, if applicable.
201
- * @param {string} request.filter
202
- * The standard list filter.
203
- * @param {number} request.pageSize
204
- * The standard list page size.
205
- * @param {string} request.pageToken
206
- * The standard list page token.
207
- * @param {object} [options]
208
- * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
209
- * @returns {Object}
210
- * An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
211
- * When you iterate the returned iterable, each element will be an object representing
212
- * {@link google.cloud.location.Location | Location}. The API will be called under the hood as needed, once per the page,
213
- * so you can stop the iteration when you don't need more results.
214
- * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
215
- * for more details and examples.
216
- * @example
217
- * ```
218
- * const iterable = client.listLocationsAsync(request);
219
- * for await (const response of iterable) {
220
- * // process response
221
- * }
222
- * ```
223
- */
194
+ * Lists information about the supported locations for this service. Returns an iterable object.
195
+ *
196
+ * `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
197
+ * @param {Object} request
198
+ * The request object that will be sent.
199
+ * @param {string} request.name
200
+ * The resource that owns the locations collection, if applicable.
201
+ * @param {string} request.filter
202
+ * The standard list filter.
203
+ * @param {number} request.pageSize
204
+ * The standard list page size.
205
+ * @param {string} request.pageToken
206
+ * The standard list page token.
207
+ * @param {object} [options]
208
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
209
+ * @returns {Object}
210
+ * An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
211
+ * When you iterate the returned iterable, each element will be an object representing
212
+ * {@link google.cloud.location.Location | Location}. The API will be called under the hood as needed, once per the page,
213
+ * so you can stop the iteration when you don't need more results.
214
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
215
+ * for more details and examples.
216
+ * @example
217
+ * ```
218
+ * const iterable = client.listLocationsAsync(request);
219
+ * for await (const response of iterable) {
220
+ * // process response
221
+ * }
222
+ * ```
223
+ */
224
224
  listLocationsAsync(request: LocationProtos.google.cloud.location.IListLocationsRequest, options?: CallOptions): AsyncIterable<LocationProtos.google.cloud.location.ILocation>;
225
225
  /**
226
- * Gets the latest state of a long-running operation. Clients can use this
227
- * method to poll the operation result at intervals as recommended by the API
228
- * service.
229
- *
230
- * @param {Object} request - The request object that will be sent.
231
- * @param {string} request.name - The name of the operation resource.
232
- * @param {Object=} options
233
- * Optional parameters. You can override the default settings for this call,
234
- * e.g, timeout, retries, paginations, etc. See {@link
235
- * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions}
236
- * for the details.
237
- * @param {function(?Error, ?Object)=} callback
238
- * The function which will be called with the result of the API call.
239
- *
240
- * The second parameter to the callback is an object representing
241
- * {@link google.longrunning.Operation | google.longrunning.Operation}.
242
- * @return {Promise} - The promise which resolves to an array.
243
- * The first element of the array is an object representing
244
- * {@link google.longrunning.Operation | google.longrunning.Operation}.
245
- * The promise has a method named "cancel" which cancels the ongoing API call.
246
- *
247
- * @example
248
- * ```
249
- * const client = longrunning.operationsClient();
250
- * const name = '';
251
- * const [response] = await client.getOperation({name});
252
- * // doThingsWith(response)
253
- * ```
254
- */
226
+ * Gets the latest state of a long-running operation. Clients can use this
227
+ * method to poll the operation result at intervals as recommended by the API
228
+ * service.
229
+ *
230
+ * @param {Object} request - The request object that will be sent.
231
+ * @param {string} request.name - The name of the operation resource.
232
+ * @param {Object=} options
233
+ * Optional parameters. You can override the default settings for this call,
234
+ * e.g, timeout, retries, paginations, etc. See {@link
235
+ * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions}
236
+ * for the details.
237
+ * @param {function(?Error, ?Object)=} callback
238
+ * The function which will be called with the result of the API call.
239
+ *
240
+ * The second parameter to the callback is an object representing
241
+ * {@link google.longrunning.Operation | google.longrunning.Operation}.
242
+ * @return {Promise} - The promise which resolves to an array.
243
+ * The first element of the array is an object representing
244
+ * {@link google.longrunning.Operation | google.longrunning.Operation}.
245
+ * The promise has a method named "cancel" which cancels the ongoing API call.
246
+ *
247
+ * @example
248
+ * ```
249
+ * const client = longrunning.operationsClient();
250
+ * const name = '';
251
+ * const [response] = await client.getOperation({name});
252
+ * // doThingsWith(response)
253
+ * ```
254
+ */
255
255
  getOperation(request: protos.google.longrunning.GetOperationRequest, optionsOrCallback?: 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]>;
256
256
  /**
257
257
  * Lists operations that match the specified filter in the request. If the
@@ -816,6 +816,57 @@ export declare class ProjectServiceClient {
816
816
  * @returns {string} A string representing the schema.
817
817
  */
818
818
  matchSchemaFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
819
+ /**
820
+ * Return a fully-qualified projectLocationCollectionDataStoreServingConfig resource name string.
821
+ *
822
+ * @param {string} project
823
+ * @param {string} location
824
+ * @param {string} collection
825
+ * @param {string} data_store
826
+ * @param {string} serving_config
827
+ * @returns {string} Resource name string.
828
+ */
829
+ projectLocationCollectionDataStoreServingConfigPath(project: string, location: string, collection: string, dataStore: string, servingConfig: string): string;
830
+ /**
831
+ * Parse the project from ProjectLocationCollectionDataStoreServingConfig resource.
832
+ *
833
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
834
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
835
+ * @returns {string} A string representing the project.
836
+ */
837
+ matchProjectFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName: string): string | number;
838
+ /**
839
+ * Parse the location from ProjectLocationCollectionDataStoreServingConfig resource.
840
+ *
841
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
842
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
843
+ * @returns {string} A string representing the location.
844
+ */
845
+ matchLocationFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName: string): string | number;
846
+ /**
847
+ * Parse the collection from ProjectLocationCollectionDataStoreServingConfig resource.
848
+ *
849
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
850
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
851
+ * @returns {string} A string representing the collection.
852
+ */
853
+ matchCollectionFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName: string): string | number;
854
+ /**
855
+ * Parse the data_store from ProjectLocationCollectionDataStoreServingConfig resource.
856
+ *
857
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
858
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
859
+ * @returns {string} A string representing the data_store.
860
+ */
861
+ matchDataStoreFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName: string): string | number;
862
+ /**
863
+ * Parse the serving_config from ProjectLocationCollectionDataStoreServingConfig resource.
864
+ *
865
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
866
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
867
+ * @returns {string} A string representing the serving_config.
868
+ */
869
+ matchServingConfigFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName: string): string | number;
819
870
  /**
820
871
  * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
821
872
  *
@@ -969,6 +1020,57 @@ export declare class ProjectServiceClient {
969
1020
  * @returns {string} A string representing the data_store.
970
1021
  */
971
1022
  matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
1023
+ /**
1024
+ * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngineSitemap resource name string.
1025
+ *
1026
+ * @param {string} project
1027
+ * @param {string} location
1028
+ * @param {string} collection
1029
+ * @param {string} data_store
1030
+ * @param {string} sitemap
1031
+ * @returns {string} Resource name string.
1032
+ */
1033
+ projectLocationCollectionDataStoreSiteSearchEngineSitemapPath(project: string, location: string, collection: string, dataStore: string, sitemap: string): string;
1034
+ /**
1035
+ * Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngineSitemap resource.
1036
+ *
1037
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineSitemapName
1038
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_sitemap resource.
1039
+ * @returns {string} A string representing the project.
1040
+ */
1041
+ matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineSitemapName(projectLocationCollectionDataStoreSiteSearchEngineSitemapName: string): string | number;
1042
+ /**
1043
+ * Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngineSitemap resource.
1044
+ *
1045
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineSitemapName
1046
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_sitemap resource.
1047
+ * @returns {string} A string representing the location.
1048
+ */
1049
+ matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineSitemapName(projectLocationCollectionDataStoreSiteSearchEngineSitemapName: string): string | number;
1050
+ /**
1051
+ * Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngineSitemap resource.
1052
+ *
1053
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineSitemapName
1054
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_sitemap resource.
1055
+ * @returns {string} A string representing the collection.
1056
+ */
1057
+ matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineSitemapName(projectLocationCollectionDataStoreSiteSearchEngineSitemapName: string): string | number;
1058
+ /**
1059
+ * Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngineSitemap resource.
1060
+ *
1061
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineSitemapName
1062
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_sitemap resource.
1063
+ * @returns {string} A string representing the data_store.
1064
+ */
1065
+ matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineSitemapName(projectLocationCollectionDataStoreSiteSearchEngineSitemapName: string): string | number;
1066
+ /**
1067
+ * Parse the sitemap from ProjectLocationCollectionDataStoreSiteSearchEngineSitemap resource.
1068
+ *
1069
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineSitemapName
1070
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_sitemap resource.
1071
+ * @returns {string} A string representing the sitemap.
1072
+ */
1073
+ matchSitemapFromProjectLocationCollectionDataStoreSiteSearchEngineSitemapName(projectLocationCollectionDataStoreSiteSearchEngineSitemapName: string): string | number;
972
1074
  /**
973
1075
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngineTargetSite resource name string.
974
1076
  *
@@ -1122,6 +1224,57 @@ export declare class ProjectServiceClient {
1122
1224
  * @returns {string} A string representing the conversation.
1123
1225
  */
1124
1226
  matchConversationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
1227
+ /**
1228
+ * Return a fully-qualified projectLocationCollectionEngineServingConfig resource name string.
1229
+ *
1230
+ * @param {string} project
1231
+ * @param {string} location
1232
+ * @param {string} collection
1233
+ * @param {string} engine
1234
+ * @param {string} serving_config
1235
+ * @returns {string} Resource name string.
1236
+ */
1237
+ projectLocationCollectionEngineServingConfigPath(project: string, location: string, collection: string, engine: string, servingConfig: string): string;
1238
+ /**
1239
+ * Parse the project from ProjectLocationCollectionEngineServingConfig resource.
1240
+ *
1241
+ * @param {string} projectLocationCollectionEngineServingConfigName
1242
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1243
+ * @returns {string} A string representing the project.
1244
+ */
1245
+ matchProjectFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName: string): string | number;
1246
+ /**
1247
+ * Parse the location from ProjectLocationCollectionEngineServingConfig resource.
1248
+ *
1249
+ * @param {string} projectLocationCollectionEngineServingConfigName
1250
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1251
+ * @returns {string} A string representing the location.
1252
+ */
1253
+ matchLocationFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName: string): string | number;
1254
+ /**
1255
+ * Parse the collection from ProjectLocationCollectionEngineServingConfig resource.
1256
+ *
1257
+ * @param {string} projectLocationCollectionEngineServingConfigName
1258
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1259
+ * @returns {string} A string representing the collection.
1260
+ */
1261
+ matchCollectionFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName: string): string | number;
1262
+ /**
1263
+ * Parse the engine from ProjectLocationCollectionEngineServingConfig resource.
1264
+ *
1265
+ * @param {string} projectLocationCollectionEngineServingConfigName
1266
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1267
+ * @returns {string} A string representing the engine.
1268
+ */
1269
+ matchEngineFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName: string): string | number;
1270
+ /**
1271
+ * Parse the serving_config from ProjectLocationCollectionEngineServingConfig resource.
1272
+ *
1273
+ * @param {string} projectLocationCollectionEngineServingConfigName
1274
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1275
+ * @returns {string} A string representing the serving_config.
1276
+ */
1277
+ matchServingConfigFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName: string): string | number;
1125
1278
  /**
1126
1279
  * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
1127
1280
  *
@@ -1578,6 +1731,48 @@ export declare class ProjectServiceClient {
1578
1731
  * @returns {string} A string representing the schema.
1579
1732
  */
1580
1733
  matchSchemaFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName: string): string | number;
1734
+ /**
1735
+ * Return a fully-qualified projectLocationDataStoreServingConfig resource name string.
1736
+ *
1737
+ * @param {string} project
1738
+ * @param {string} location
1739
+ * @param {string} data_store
1740
+ * @param {string} serving_config
1741
+ * @returns {string} Resource name string.
1742
+ */
1743
+ projectLocationDataStoreServingConfigPath(project: string, location: string, dataStore: string, servingConfig: string): string;
1744
+ /**
1745
+ * Parse the project from ProjectLocationDataStoreServingConfig resource.
1746
+ *
1747
+ * @param {string} projectLocationDataStoreServingConfigName
1748
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
1749
+ * @returns {string} A string representing the project.
1750
+ */
1751
+ matchProjectFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName: string): string | number;
1752
+ /**
1753
+ * Parse the location from ProjectLocationDataStoreServingConfig resource.
1754
+ *
1755
+ * @param {string} projectLocationDataStoreServingConfigName
1756
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
1757
+ * @returns {string} A string representing the location.
1758
+ */
1759
+ matchLocationFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName: string): string | number;
1760
+ /**
1761
+ * Parse the data_store from ProjectLocationDataStoreServingConfig resource.
1762
+ *
1763
+ * @param {string} projectLocationDataStoreServingConfigName
1764
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
1765
+ * @returns {string} A string representing the data_store.
1766
+ */
1767
+ matchDataStoreFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName: string): string | number;
1768
+ /**
1769
+ * Parse the serving_config from ProjectLocationDataStoreServingConfig resource.
1770
+ *
1771
+ * @param {string} projectLocationDataStoreServingConfigName
1772
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
1773
+ * @returns {string} A string representing the serving_config.
1774
+ */
1775
+ matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName: string): string | number;
1581
1776
  /**
1582
1777
  * Return a fully-qualified projectLocationDataStoreSession resource name string.
1583
1778
  *
@@ -1704,6 +1899,48 @@ export declare class ProjectServiceClient {
1704
1899
  * @returns {string} A string representing the data_store.
1705
1900
  */
1706
1901
  matchDataStoreFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName: string): string | number;
1902
+ /**
1903
+ * Return a fully-qualified projectLocationDataStoreSiteSearchEngineSitemap resource name string.
1904
+ *
1905
+ * @param {string} project
1906
+ * @param {string} location
1907
+ * @param {string} data_store
1908
+ * @param {string} sitemap
1909
+ * @returns {string} Resource name string.
1910
+ */
1911
+ projectLocationDataStoreSiteSearchEngineSitemapPath(project: string, location: string, dataStore: string, sitemap: string): string;
1912
+ /**
1913
+ * Parse the project from ProjectLocationDataStoreSiteSearchEngineSitemap resource.
1914
+ *
1915
+ * @param {string} projectLocationDataStoreSiteSearchEngineSitemapName
1916
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_sitemap resource.
1917
+ * @returns {string} A string representing the project.
1918
+ */
1919
+ matchProjectFromProjectLocationDataStoreSiteSearchEngineSitemapName(projectLocationDataStoreSiteSearchEngineSitemapName: string): string | number;
1920
+ /**
1921
+ * Parse the location from ProjectLocationDataStoreSiteSearchEngineSitemap resource.
1922
+ *
1923
+ * @param {string} projectLocationDataStoreSiteSearchEngineSitemapName
1924
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_sitemap resource.
1925
+ * @returns {string} A string representing the location.
1926
+ */
1927
+ matchLocationFromProjectLocationDataStoreSiteSearchEngineSitemapName(projectLocationDataStoreSiteSearchEngineSitemapName: string): string | number;
1928
+ /**
1929
+ * Parse the data_store from ProjectLocationDataStoreSiteSearchEngineSitemap resource.
1930
+ *
1931
+ * @param {string} projectLocationDataStoreSiteSearchEngineSitemapName
1932
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_sitemap resource.
1933
+ * @returns {string} A string representing the data_store.
1934
+ */
1935
+ matchDataStoreFromProjectLocationDataStoreSiteSearchEngineSitemapName(projectLocationDataStoreSiteSearchEngineSitemapName: string): string | number;
1936
+ /**
1937
+ * Parse the sitemap from ProjectLocationDataStoreSiteSearchEngineSitemap resource.
1938
+ *
1939
+ * @param {string} projectLocationDataStoreSiteSearchEngineSitemapName
1940
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_sitemap resource.
1941
+ * @returns {string} A string representing the sitemap.
1942
+ */
1943
+ matchSitemapFromProjectLocationDataStoreSiteSearchEngineSitemapName(projectLocationDataStoreSiteSearchEngineSitemapName: string): string | number;
1707
1944
  /**
1708
1945
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngineTargetSite resource name string.
1709
1946
  *