@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",
@@ -192,7 +192,7 @@ export declare class ConversationalSearchServiceClient {
192
192
  */
193
193
  converseConversation(request?: protos.google.cloud.discoveryengine.v1.IConverseConversationRequest, options?: CallOptions): Promise<[
194
194
  protos.google.cloud.discoveryengine.v1.IConverseConversationResponse,
195
- (protos.google.cloud.discoveryengine.v1.IConverseConversationRequest | undefined),
195
+ protos.google.cloud.discoveryengine.v1.IConverseConversationRequest | undefined,
196
196
  {} | undefined
197
197
  ]>;
198
198
  converseConversation(request: protos.google.cloud.discoveryengine.v1.IConverseConversationRequest, options: CallOptions, callback: Callback<protos.google.cloud.discoveryengine.v1.IConverseConversationResponse, protos.google.cloud.discoveryengine.v1.IConverseConversationRequest | null | undefined, {} | null | undefined>): void;
@@ -221,7 +221,7 @@ export declare class ConversationalSearchServiceClient {
221
221
  */
222
222
  createConversation(request?: protos.google.cloud.discoveryengine.v1.ICreateConversationRequest, options?: CallOptions): Promise<[
223
223
  protos.google.cloud.discoveryengine.v1.IConversation,
224
- (protos.google.cloud.discoveryengine.v1.ICreateConversationRequest | undefined),
224
+ protos.google.cloud.discoveryengine.v1.ICreateConversationRequest | undefined,
225
225
  {} | undefined
226
226
  ]>;
227
227
  createConversation(request: protos.google.cloud.discoveryengine.v1.ICreateConversationRequest, options: CallOptions, callback: Callback<protos.google.cloud.discoveryengine.v1.IConversation, protos.google.cloud.discoveryengine.v1.ICreateConversationRequest | null | undefined, {} | null | undefined>): void;
@@ -248,7 +248,7 @@ export declare class ConversationalSearchServiceClient {
248
248
  */
249
249
  deleteConversation(request?: protos.google.cloud.discoveryengine.v1.IDeleteConversationRequest, options?: CallOptions): Promise<[
250
250
  protos.google.protobuf.IEmpty,
251
- (protos.google.cloud.discoveryengine.v1.IDeleteConversationRequest | undefined),
251
+ protos.google.cloud.discoveryengine.v1.IDeleteConversationRequest | undefined,
252
252
  {} | undefined
253
253
  ]>;
254
254
  deleteConversation(request: protos.google.cloud.discoveryengine.v1.IDeleteConversationRequest, options: CallOptions, callback: Callback<protos.google.protobuf.IEmpty, protos.google.cloud.discoveryengine.v1.IDeleteConversationRequest | null | undefined, {} | null | undefined>): void;
@@ -284,7 +284,7 @@ export declare class ConversationalSearchServiceClient {
284
284
  */
285
285
  updateConversation(request?: protos.google.cloud.discoveryengine.v1.IUpdateConversationRequest, options?: CallOptions): Promise<[
286
286
  protos.google.cloud.discoveryengine.v1.IConversation,
287
- (protos.google.cloud.discoveryengine.v1.IUpdateConversationRequest | undefined),
287
+ protos.google.cloud.discoveryengine.v1.IUpdateConversationRequest | undefined,
288
288
  {} | undefined
289
289
  ]>;
290
290
  updateConversation(request: protos.google.cloud.discoveryengine.v1.IUpdateConversationRequest, options: CallOptions, callback: Callback<protos.google.cloud.discoveryengine.v1.IConversation, protos.google.cloud.discoveryengine.v1.IUpdateConversationRequest | null | undefined, {} | null | undefined>): void;
@@ -308,7 +308,7 @@ export declare class ConversationalSearchServiceClient {
308
308
  */
309
309
  getConversation(request?: protos.google.cloud.discoveryengine.v1.IGetConversationRequest, options?: CallOptions): Promise<[
310
310
  protos.google.cloud.discoveryengine.v1.IConversation,
311
- (protos.google.cloud.discoveryengine.v1.IGetConversationRequest | undefined),
311
+ protos.google.cloud.discoveryengine.v1.IGetConversationRequest | undefined,
312
312
  {} | undefined
313
313
  ]>;
314
314
  getConversation(request: protos.google.cloud.discoveryengine.v1.IGetConversationRequest, options: CallOptions, callback: Callback<protos.google.cloud.discoveryengine.v1.IConversation, protos.google.cloud.discoveryengine.v1.IGetConversationRequest | null | undefined, {} | null | undefined>): void;
@@ -338,6 +338,8 @@ export declare class ConversationalSearchServiceClient {
338
338
  * Model specification.
339
339
  * @param {google.cloud.discoveryengine.v1.AnswerQueryRequest.RelatedQuestionsSpec} request.relatedQuestionsSpec
340
340
  * Related questions specification.
341
+ * @param {google.cloud.discoveryengine.v1.AnswerQueryRequest.GroundingSpec} [request.groundingSpec]
342
+ * Optional. Grounding specification.
341
343
  * @param {google.cloud.discoveryengine.v1.AnswerQueryRequest.AnswerGenerationSpec} request.answerGenerationSpec
342
344
  * Answer generation specification.
343
345
  * @param {google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec} request.searchSpec
@@ -385,6 +387,8 @@ export declare class ConversationalSearchServiceClient {
385
387
  * See [Google Cloud
386
388
  * Document](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements)
387
389
  * for more details.
390
+ * @param {google.cloud.discoveryengine.v1.AnswerQueryRequest.EndUserSpec} [request.endUserSpec]
391
+ * Optional. End user specification.
388
392
  * @param {object} [options]
389
393
  * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
390
394
  * @returns {Promise} - The promise which resolves to an array.
@@ -524,6 +528,9 @@ export declare class ConversationalSearchServiceClient {
524
528
  * @param {string} request.name
525
529
  * Required. The resource name of the Session to get. Format:
526
530
  * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}`
531
+ * @param {boolean} [request.includeAnswerDetails]
532
+ * Optional. If set to true, the full session including all answer details
533
+ * will be returned.
527
534
  * @param {object} [options]
528
535
  * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
529
536
  * @returns {Promise} - The promise which resolves to an array.
@@ -541,49 +548,141 @@ export declare class ConversationalSearchServiceClient {
541
548
  getSession(request: protos.google.cloud.discoveryengine.v1.IGetSessionRequest, options: CallOptions, callback: Callback<protos.google.cloud.discoveryengine.v1.ISession, protos.google.cloud.discoveryengine.v1.IGetSessionRequest | null | undefined, {} | null | undefined>): void;
542
549
  getSession(request: protos.google.cloud.discoveryengine.v1.IGetSessionRequest, callback: Callback<protos.google.cloud.discoveryengine.v1.ISession, protos.google.cloud.discoveryengine.v1.IGetSessionRequest | null | undefined, {} | null | undefined>): void;
543
550
  /**
544
- * Lists all Conversations by their parent
545
- * {@link protos.google.cloud.discoveryengine.v1.DataStore|DataStore}.
551
+ * Answer query method (streaming).
552
+ *
553
+ * It takes one
554
+ * {@link protos.google.cloud.discoveryengine.v1.AnswerQueryRequest|AnswerQueryRequest}
555
+ * and returns multiple
556
+ * {@link protos.google.cloud.discoveryengine.v1.AnswerQueryResponse|AnswerQueryResponse}
557
+ * messages in a stream.
546
558
  *
547
559
  * @param {Object} request
548
560
  * The request object that will be sent.
549
- * @param {string} request.parent
550
- * Required. The data store resource name. Format:
551
- * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}`
552
- * @param {number} request.pageSize
553
- * Maximum number of results to return. If unspecified, defaults
554
- * to 50. Max allowed value is 1000.
555
- * @param {string} request.pageToken
556
- * A page token, received from a previous `ListConversations` call.
557
- * Provide this to retrieve the subsequent page.
558
- * @param {string} request.filter
559
- * A filter to apply on the list results. The supported features are:
560
- * user_pseudo_id, state.
561
+ * @param {string} request.servingConfig
562
+ * Required. The resource name of the Search serving config, such as
563
+ * `projects/* /locations/global/collections/default_collection/engines/* /servingConfigs/default_serving_config`,
564
+ * or
565
+ * `projects/* /locations/global/collections/default_collection/dataStores/* /servingConfigs/default_serving_config`.
566
+ * This field is used to identify the serving configuration name, set
567
+ * of models used to make the search.
568
+ * @param {google.cloud.discoveryengine.v1.Query} request.query
569
+ * Required. Current user query.
570
+ * @param {string} request.session
571
+ * The session resource name. Not required.
561
572
  *
562
- * Example:
563
- * "user_pseudo_id = some_id"
564
- * @param {string} request.orderBy
565
- * A comma-separated list of fields to order by, sorted in ascending order.
566
- * Use "desc" after a field name for descending.
567
- * Supported fields:
568
- * * `update_time`
569
- * * `create_time`
570
- * * `conversation_name`
573
+ * When session field is not set, the API is in sessionless mode.
571
574
  *
572
- * Example:
573
- * "update_time desc"
574
- * "create_time"
575
+ * We support auto session mode: users can use the wildcard symbol `-` as
576
+ * session ID. A new ID will be automatically generated and assigned.
577
+ * @param {google.cloud.discoveryengine.v1.AnswerQueryRequest.SafetySpec} request.safetySpec
578
+ * Model specification.
579
+ * @param {google.cloud.discoveryengine.v1.AnswerQueryRequest.RelatedQuestionsSpec} request.relatedQuestionsSpec
580
+ * Related questions specification.
581
+ * @param {google.cloud.discoveryengine.v1.AnswerQueryRequest.GroundingSpec} [request.groundingSpec]
582
+ * Optional. Grounding specification.
583
+ * @param {google.cloud.discoveryengine.v1.AnswerQueryRequest.AnswerGenerationSpec} request.answerGenerationSpec
584
+ * Answer generation specification.
585
+ * @param {google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec} request.searchSpec
586
+ * Search specification.
587
+ * @param {google.cloud.discoveryengine.v1.AnswerQueryRequest.QueryUnderstandingSpec} request.queryUnderstandingSpec
588
+ * Query understanding specification.
589
+ * @param {boolean} request.asynchronousMode
590
+ * Deprecated: This field is deprecated. Streaming Answer API will be
591
+ * supported.
592
+ *
593
+ * Asynchronous mode control.
594
+ *
595
+ * If enabled, the response will be returned with answer/session resource
596
+ * name without final answer. The API users need to do the polling to get
597
+ * the latest status of answer/session by calling
598
+ * {@link protos.google.cloud.discoveryengine.v1.ConversationalSearchService.GetAnswer|ConversationalSearchService.GetAnswer}
599
+ * or
600
+ * {@link protos.google.cloud.discoveryengine.v1.ConversationalSearchService.GetSession|ConversationalSearchService.GetSession}
601
+ * method.
602
+ * @param {string} request.userPseudoId
603
+ * A unique identifier for tracking visitors. For example, this could be
604
+ * implemented with an HTTP cookie, which should be able to uniquely identify
605
+ * a visitor on a single device. This unique identifier should not change if
606
+ * the visitor logs in or out of the website.
607
+ *
608
+ * This field should NOT have a fixed value such as `unknown_visitor`.
609
+ *
610
+ * The field must be a UTF-8 encoded string with a length limit of 128
611
+ * characters. Otherwise, an `INVALID_ARGUMENT` error is returned.
612
+ * @param {number[]} request.userLabels
613
+ * The user labels applied to a resource must meet the following requirements:
614
+ *
615
+ * * Each resource can have multiple labels, up to a maximum of 64.
616
+ * * Each label must be a key-value pair.
617
+ * * Keys have a minimum length of 1 character and a maximum length of 63
618
+ * characters and cannot be empty. Values can be empty and have a maximum
619
+ * length of 63 characters.
620
+ * * Keys and values can contain only lowercase letters, numeric characters,
621
+ * underscores, and dashes. All characters must use UTF-8 encoding, and
622
+ * international characters are allowed.
623
+ * * The key portion of a label must be unique. However, you can use the same
624
+ * key with multiple resources.
625
+ * * Keys must start with a lowercase letter or international character.
626
+ *
627
+ * See [Google Cloud
628
+ * Document](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements)
629
+ * for more details.
630
+ * @param {google.cloud.discoveryengine.v1.AnswerQueryRequest.EndUserSpec} [request.endUserSpec]
631
+ * Optional. End user specification.
575
632
  * @param {object} [options]
576
633
  * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
577
- * @returns {Promise} - The promise which resolves to an array.
578
- * The first element of the array is Array of {@link protos.google.cloud.discoveryengine.v1.Conversation|Conversation}.
579
- * The client library will perform auto-pagination by default: it will call the API as many
580
- * times as needed and will merge results from all the pages into this array.
581
- * Note that it can affect your quota.
582
- * We recommend using `listConversationsAsync()`
583
- * method described below for async iteration which you can stop as needed.
584
- * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
634
+ * @returns {Stream}
635
+ * An object stream which emits {@link protos.google.cloud.discoveryengine.v1.AnswerQueryResponse|AnswerQueryResponse} on 'data' event.
636
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#server-streaming | documentation }
585
637
  * for more details and examples.
586
- */
638
+ * @example <caption>include:samples/generated/v1/conversational_search_service.stream_answer_query.js</caption>
639
+ * region_tag:discoveryengine_v1_generated_ConversationalSearchService_StreamAnswerQuery_async
640
+ */
641
+ streamAnswerQuery(request?: protos.google.cloud.discoveryengine.v1.IAnswerQueryRequest, options?: CallOptions): gax.CancellableStream;
642
+ /**
643
+ * Lists all Conversations by their parent
644
+ * {@link protos.google.cloud.discoveryengine.v1.DataStore|DataStore}.
645
+ *
646
+ * @param {Object} request
647
+ * The request object that will be sent.
648
+ * @param {string} request.parent
649
+ * Required. The data store resource name. Format:
650
+ * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}`
651
+ * @param {number} request.pageSize
652
+ * Maximum number of results to return. If unspecified, defaults
653
+ * to 50. Max allowed value is 1000.
654
+ * @param {string} request.pageToken
655
+ * A page token, received from a previous `ListConversations` call.
656
+ * Provide this to retrieve the subsequent page.
657
+ * @param {string} request.filter
658
+ * A filter to apply on the list results. The supported features are:
659
+ * user_pseudo_id, state.
660
+ *
661
+ * Example:
662
+ * "user_pseudo_id = some_id"
663
+ * @param {string} request.orderBy
664
+ * A comma-separated list of fields to order by, sorted in ascending order.
665
+ * Use "desc" after a field name for descending.
666
+ * Supported fields:
667
+ * * `update_time`
668
+ * * `create_time`
669
+ * * `conversation_name`
670
+ *
671
+ * Example:
672
+ * "update_time desc"
673
+ * "create_time"
674
+ * @param {object} [options]
675
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
676
+ * @returns {Promise} - The promise which resolves to an array.
677
+ * The first element of the array is Array of {@link protos.google.cloud.discoveryengine.v1.Conversation|Conversation}.
678
+ * The client library will perform auto-pagination by default: it will call the API as many
679
+ * times as needed and will merge results from all the pages into this array.
680
+ * Note that it can affect your quota.
681
+ * We recommend using `listConversationsAsync()`
682
+ * method described below for async iteration which you can stop as needed.
683
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
684
+ * for more details and examples.
685
+ */
587
686
  listConversations(request?: protos.google.cloud.discoveryengine.v1.IListConversationsRequest, options?: CallOptions): Promise<[
588
687
  protos.google.cloud.discoveryengine.v1.IConversation[],
589
688
  protos.google.cloud.discoveryengine.v1.IListConversationsRequest | null,
@@ -679,49 +778,54 @@ export declare class ConversationalSearchServiceClient {
679
778
  */
680
779
  listConversationsAsync(request?: protos.google.cloud.discoveryengine.v1.IListConversationsRequest, options?: CallOptions): AsyncIterable<protos.google.cloud.discoveryengine.v1.IConversation>;
681
780
  /**
682
- * Lists all Sessions by their parent
683
- * {@link protos.google.cloud.discoveryengine.v1.DataStore|DataStore}.
684
- *
685
- * @param {Object} request
686
- * The request object that will be sent.
687
- * @param {string} request.parent
688
- * Required. The data store resource name. Format:
689
- * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}`
690
- * @param {number} request.pageSize
691
- * Maximum number of results to return. If unspecified, defaults
692
- * to 50. Max allowed value is 1000.
693
- * @param {string} request.pageToken
694
- * A page token, received from a previous `ListSessions` call.
695
- * Provide this to retrieve the subsequent page.
696
- * @param {string} request.filter
697
- * A filter to apply on the list results. The supported features are:
698
- * user_pseudo_id, state.
699
- *
700
- * Example:
701
- * "user_pseudo_id = some_id"
702
- * @param {string} request.orderBy
703
- * A comma-separated list of fields to order by, sorted in ascending order.
704
- * Use "desc" after a field name for descending.
705
- * Supported fields:
706
- * * `update_time`
707
- * * `create_time`
708
- * * `session_name`
709
- *
710
- * Example:
711
- * "update_time desc"
712
- * "create_time"
713
- * @param {object} [options]
714
- * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
715
- * @returns {Promise} - The promise which resolves to an array.
716
- * The first element of the array is Array of {@link protos.google.cloud.discoveryengine.v1.Session|Session}.
717
- * The client library will perform auto-pagination by default: it will call the API as many
718
- * times as needed and will merge results from all the pages into this array.
719
- * Note that it can affect your quota.
720
- * We recommend using `listSessionsAsync()`
721
- * method described below for async iteration which you can stop as needed.
722
- * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
723
- * for more details and examples.
724
- */
781
+ * Lists all Sessions by their parent
782
+ * {@link protos.google.cloud.discoveryengine.v1.DataStore|DataStore}.
783
+ *
784
+ * @param {Object} request
785
+ * The request object that will be sent.
786
+ * @param {string} request.parent
787
+ * Required. The data store resource name. Format:
788
+ * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}`
789
+ * @param {number} request.pageSize
790
+ * Maximum number of results to return. If unspecified, defaults
791
+ * to 50. Max allowed value is 1000.
792
+ * @param {string} request.pageToken
793
+ * A page token, received from a previous `ListSessions` call.
794
+ * Provide this to retrieve the subsequent page.
795
+ * @param {string} request.filter
796
+ * A filter to apply on the list results. The supported features are:
797
+ * user_pseudo_id, state.
798
+ *
799
+ * Example:
800
+ * "user_pseudo_id = some_id"
801
+ * @param {string} request.orderBy
802
+ * A comma-separated list of fields to order by, sorted in ascending order.
803
+ * Use "desc" after a field name for descending.
804
+ * Supported fields:
805
+ *
806
+ * * `update_time`
807
+ * * `create_time`
808
+ * * `session_name`
809
+ * * `is_pinned`
810
+ *
811
+ * Example:
812
+ *
813
+ * * "update_time desc"
814
+ * * "create_time"
815
+ * * "is_pinned desc,update_time desc": list sessions by is_pinned first, then
816
+ * by update_time.
817
+ * @param {object} [options]
818
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
819
+ * @returns {Promise} - The promise which resolves to an array.
820
+ * The first element of the array is Array of {@link protos.google.cloud.discoveryengine.v1.Session|Session}.
821
+ * The client library will perform auto-pagination by default: it will call the API as many
822
+ * times as needed and will merge results from all the pages into this array.
823
+ * Note that it can affect your quota.
824
+ * We recommend using `listSessionsAsync()`
825
+ * method described below for async iteration which you can stop as needed.
826
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
827
+ * for more details and examples.
828
+ */
725
829
  listSessions(request?: protos.google.cloud.discoveryengine.v1.IListSessionsRequest, options?: CallOptions): Promise<[
726
830
  protos.google.cloud.discoveryengine.v1.ISession[],
727
831
  protos.google.cloud.discoveryengine.v1.IListSessionsRequest | null,
@@ -752,13 +856,18 @@ export declare class ConversationalSearchServiceClient {
752
856
  * A comma-separated list of fields to order by, sorted in ascending order.
753
857
  * Use "desc" after a field name for descending.
754
858
  * Supported fields:
859
+ *
755
860
  * * `update_time`
756
861
  * * `create_time`
757
862
  * * `session_name`
863
+ * * `is_pinned`
758
864
  *
759
865
  * Example:
760
- * "update_time desc"
761
- * "create_time"
866
+ *
867
+ * * "update_time desc"
868
+ * * "create_time"
869
+ * * "is_pinned desc,update_time desc": list sessions by is_pinned first, then
870
+ * by update_time.
762
871
  * @param {object} [options]
763
872
  * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
764
873
  * @returns {Stream}
@@ -796,13 +905,18 @@ export declare class ConversationalSearchServiceClient {
796
905
  * A comma-separated list of fields to order by, sorted in ascending order.
797
906
  * Use "desc" after a field name for descending.
798
907
  * Supported fields:
908
+ *
799
909
  * * `update_time`
800
910
  * * `create_time`
801
911
  * * `session_name`
912
+ * * `is_pinned`
802
913
  *
803
914
  * Example:
804
- * "update_time desc"
805
- * "create_time"
915
+ *
916
+ * * "update_time desc"
917
+ * * "create_time"
918
+ * * "is_pinned desc,update_time desc": list sessions by is_pinned first, then
919
+ * by update_time.
806
920
  * @param {object} [options]
807
921
  * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
808
922
  * @returns {Object}
@@ -817,55 +931,55 @@ export declare class ConversationalSearchServiceClient {
817
931
  */
818
932
  listSessionsAsync(request?: protos.google.cloud.discoveryengine.v1.IListSessionsRequest, options?: CallOptions): AsyncIterable<protos.google.cloud.discoveryengine.v1.ISession>;
819
933
  /**
820
- * Gets information about a location.
821
- *
822
- * @param {Object} request
823
- * The request object that will be sent.
824
- * @param {string} request.name
825
- * Resource name for the location.
826
- * @param {object} [options]
827
- * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html | CallOptions} for more details.
828
- * @returns {Promise} - The promise which resolves to an array.
829
- * The first element of the array is an object representing {@link google.cloud.location.Location | Location}.
830
- * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
831
- * for more details and examples.
832
- * @example
833
- * ```
834
- * const [response] = await client.getLocation(request);
835
- * ```
836
- */
934
+ * Gets information about a location.
935
+ *
936
+ * @param {Object} request
937
+ * The request object that will be sent.
938
+ * @param {string} request.name
939
+ * Resource name for the location.
940
+ * @param {object} [options]
941
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html | CallOptions} for more details.
942
+ * @returns {Promise} - The promise which resolves to an array.
943
+ * The first element of the array is an object representing {@link google.cloud.location.Location | Location}.
944
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
945
+ * for more details and examples.
946
+ * @example
947
+ * ```
948
+ * const [response] = await client.getLocation(request);
949
+ * ```
950
+ */
837
951
  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>;
838
952
  /**
839
- * Lists information about the supported locations for this service. Returns an iterable object.
840
- *
841
- * `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
842
- * @param {Object} request
843
- * The request object that will be sent.
844
- * @param {string} request.name
845
- * The resource that owns the locations collection, if applicable.
846
- * @param {string} request.filter
847
- * The standard list filter.
848
- * @param {number} request.pageSize
849
- * The standard list page size.
850
- * @param {string} request.pageToken
851
- * The standard list page token.
852
- * @param {object} [options]
853
- * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
854
- * @returns {Object}
855
- * An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
856
- * When you iterate the returned iterable, each element will be an object representing
857
- * {@link google.cloud.location.Location | Location}. The API will be called under the hood as needed, once per the page,
858
- * so you can stop the iteration when you don't need more results.
859
- * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
860
- * for more details and examples.
861
- * @example
862
- * ```
863
- * const iterable = client.listLocationsAsync(request);
864
- * for await (const response of iterable) {
865
- * // process response
866
- * }
867
- * ```
868
- */
953
+ * Lists information about the supported locations for this service. Returns an iterable object.
954
+ *
955
+ * `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
956
+ * @param {Object} request
957
+ * The request object that will be sent.
958
+ * @param {string} request.name
959
+ * The resource that owns the locations collection, if applicable.
960
+ * @param {string} request.filter
961
+ * The standard list filter.
962
+ * @param {number} request.pageSize
963
+ * The standard list page size.
964
+ * @param {string} request.pageToken
965
+ * The standard list page token.
966
+ * @param {object} [options]
967
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
968
+ * @returns {Object}
969
+ * An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
970
+ * When you iterate the returned iterable, each element will be an object representing
971
+ * {@link google.cloud.location.Location | Location}. The API will be called under the hood as needed, once per the page,
972
+ * so you can stop the iteration when you don't need more results.
973
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
974
+ * for more details and examples.
975
+ * @example
976
+ * ```
977
+ * const iterable = client.listLocationsAsync(request);
978
+ * for await (const response of iterable) {
979
+ * // process response
980
+ * }
981
+ * ```
982
+ */
869
983
  listLocationsAsync(request: LocationProtos.google.cloud.location.IListLocationsRequest, options?: CallOptions): AsyncIterable<LocationProtos.google.cloud.location.ILocation>;
870
984
  /**
871
985
  * Return a fully-qualified engine resource name string.
@@ -1545,6 +1659,57 @@ export declare class ConversationalSearchServiceClient {
1545
1659
  * @returns {string} A string representing the data_store.
1546
1660
  */
1547
1661
  matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
1662
+ /**
1663
+ * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngineSitemap resource name string.
1664
+ *
1665
+ * @param {string} project
1666
+ * @param {string} location
1667
+ * @param {string} collection
1668
+ * @param {string} data_store
1669
+ * @param {string} sitemap
1670
+ * @returns {string} Resource name string.
1671
+ */
1672
+ projectLocationCollectionDataStoreSiteSearchEngineSitemapPath(project: string, location: string, collection: string, dataStore: string, sitemap: string): string;
1673
+ /**
1674
+ * Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngineSitemap resource.
1675
+ *
1676
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineSitemapName
1677
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_sitemap resource.
1678
+ * @returns {string} A string representing the project.
1679
+ */
1680
+ matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineSitemapName(projectLocationCollectionDataStoreSiteSearchEngineSitemapName: string): string | number;
1681
+ /**
1682
+ * Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngineSitemap resource.
1683
+ *
1684
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineSitemapName
1685
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_sitemap resource.
1686
+ * @returns {string} A string representing the location.
1687
+ */
1688
+ matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineSitemapName(projectLocationCollectionDataStoreSiteSearchEngineSitemapName: string): string | number;
1689
+ /**
1690
+ * Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngineSitemap resource.
1691
+ *
1692
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineSitemapName
1693
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_sitemap resource.
1694
+ * @returns {string} A string representing the collection.
1695
+ */
1696
+ matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineSitemapName(projectLocationCollectionDataStoreSiteSearchEngineSitemapName: string): string | number;
1697
+ /**
1698
+ * Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngineSitemap resource.
1699
+ *
1700
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineSitemapName
1701
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_sitemap resource.
1702
+ * @returns {string} A string representing the data_store.
1703
+ */
1704
+ matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineSitemapName(projectLocationCollectionDataStoreSiteSearchEngineSitemapName: string): string | number;
1705
+ /**
1706
+ * Parse the sitemap from ProjectLocationCollectionDataStoreSiteSearchEngineSitemap resource.
1707
+ *
1708
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineSitemapName
1709
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_sitemap resource.
1710
+ * @returns {string} A string representing the sitemap.
1711
+ */
1712
+ matchSitemapFromProjectLocationCollectionDataStoreSiteSearchEngineSitemapName(projectLocationCollectionDataStoreSiteSearchEngineSitemapName: string): string | number;
1548
1713
  /**
1549
1714
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngineTargetSite resource name string.
1550
1715
  *
@@ -2373,6 +2538,48 @@ export declare class ConversationalSearchServiceClient {
2373
2538
  * @returns {string} A string representing the data_store.
2374
2539
  */
2375
2540
  matchDataStoreFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName: string): string | number;
2541
+ /**
2542
+ * Return a fully-qualified projectLocationDataStoreSiteSearchEngineSitemap resource name string.
2543
+ *
2544
+ * @param {string} project
2545
+ * @param {string} location
2546
+ * @param {string} data_store
2547
+ * @param {string} sitemap
2548
+ * @returns {string} Resource name string.
2549
+ */
2550
+ projectLocationDataStoreSiteSearchEngineSitemapPath(project: string, location: string, dataStore: string, sitemap: string): string;
2551
+ /**
2552
+ * Parse the project from ProjectLocationDataStoreSiteSearchEngineSitemap resource.
2553
+ *
2554
+ * @param {string} projectLocationDataStoreSiteSearchEngineSitemapName
2555
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_sitemap resource.
2556
+ * @returns {string} A string representing the project.
2557
+ */
2558
+ matchProjectFromProjectLocationDataStoreSiteSearchEngineSitemapName(projectLocationDataStoreSiteSearchEngineSitemapName: string): string | number;
2559
+ /**
2560
+ * Parse the location from ProjectLocationDataStoreSiteSearchEngineSitemap resource.
2561
+ *
2562
+ * @param {string} projectLocationDataStoreSiteSearchEngineSitemapName
2563
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_sitemap resource.
2564
+ * @returns {string} A string representing the location.
2565
+ */
2566
+ matchLocationFromProjectLocationDataStoreSiteSearchEngineSitemapName(projectLocationDataStoreSiteSearchEngineSitemapName: string): string | number;
2567
+ /**
2568
+ * Parse the data_store from ProjectLocationDataStoreSiteSearchEngineSitemap resource.
2569
+ *
2570
+ * @param {string} projectLocationDataStoreSiteSearchEngineSitemapName
2571
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_sitemap resource.
2572
+ * @returns {string} A string representing the data_store.
2573
+ */
2574
+ matchDataStoreFromProjectLocationDataStoreSiteSearchEngineSitemapName(projectLocationDataStoreSiteSearchEngineSitemapName: string): string | number;
2575
+ /**
2576
+ * Parse the sitemap from ProjectLocationDataStoreSiteSearchEngineSitemap resource.
2577
+ *
2578
+ * @param {string} projectLocationDataStoreSiteSearchEngineSitemapName
2579
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_sitemap resource.
2580
+ * @returns {string} A string representing the sitemap.
2581
+ */
2582
+ matchSitemapFromProjectLocationDataStoreSiteSearchEngineSitemapName(projectLocationDataStoreSiteSearchEngineSitemapName: string): string | number;
2376
2583
  /**
2377
2584
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngineTargetSite resource name string.
2378
2585
  *