@google-cloud/discoveryengine 1.5.0 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (138) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +24 -0
  3. package/build/protos/google/cloud/discoveryengine/v1/common.proto +13 -1
  4. package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +5 -0
  5. package/build/protos/google/cloud/discoveryengine/v1/data_store.proto +17 -0
  6. package/build/protos/google/cloud/discoveryengine/v1/document.proto +9 -0
  7. package/build/protos/google/cloud/discoveryengine/v1/document_service.proto +6 -0
  8. package/build/protos/google/cloud/discoveryengine/v1/engine.proto +2 -2
  9. package/build/protos/google/cloud/discoveryengine/v1/import_config.proto +284 -22
  10. package/build/protos/google/cloud/discoveryengine/v1/purge_config.proto +3 -0
  11. package/build/protos/google/cloud/discoveryengine/v1/recommendation_service.proto +228 -0
  12. package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +125 -21
  13. package/build/protos/google/cloud/discoveryengine/v1/user_event.proto +16 -11
  14. package/build/protos/google/cloud/discoveryengine/v1alpha/answer.proto +328 -0
  15. package/build/protos/google/cloud/discoveryengine/v1alpha/chunk.proto +6 -0
  16. package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +1 -1
  17. package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +574 -0
  18. package/build/protos/google/cloud/discoveryengine/v1alpha/document_processing_config.proto +3 -6
  19. package/build/protos/google/cloud/discoveryengine/v1alpha/engine.proto +2 -2
  20. package/build/protos/google/cloud/discoveryengine/v1alpha/grounded_generation_service.proto +120 -0
  21. package/build/protos/google/cloud/discoveryengine/v1alpha/grounding.proto +55 -0
  22. package/build/protos/google/cloud/discoveryengine/v1alpha/import_config.proto +7 -39
  23. package/build/protos/google/cloud/discoveryengine/v1alpha/project.proto +102 -0
  24. package/build/protos/google/cloud/discoveryengine/v1alpha/project_service.proto +171 -0
  25. package/build/protos/google/cloud/discoveryengine/v1alpha/schema.proto +21 -0
  26. package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +7 -3
  27. package/build/protos/google/cloud/discoveryengine/v1alpha/search_tuning_service.proto +4 -1
  28. package/build/protos/google/cloud/discoveryengine/v1alpha/session.proto +94 -0
  29. package/build/protos/google/cloud/discoveryengine/v1alpha/user_event.proto +1 -1
  30. package/build/protos/google/cloud/discoveryengine/v1beta/answer.proto +328 -0
  31. package/build/protos/google/cloud/discoveryengine/v1beta/common.proto +30 -1
  32. package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +559 -0
  33. package/build/protos/google/cloud/discoveryengine/v1beta/document_processing_config.proto +3 -6
  34. package/build/protos/google/cloud/discoveryengine/v1beta/document_service.proto +6 -0
  35. package/build/protos/google/cloud/discoveryengine/v1beta/engine.proto +2 -2
  36. package/build/protos/google/cloud/discoveryengine/v1beta/engine_service.proto +93 -0
  37. package/build/protos/google/cloud/discoveryengine/v1beta/grounded_generation_service.proto +120 -0
  38. package/build/protos/google/cloud/discoveryengine/v1beta/grounding.proto +55 -0
  39. package/build/protos/google/cloud/discoveryengine/v1beta/import_config.proto +283 -24
  40. package/build/protos/google/cloud/discoveryengine/v1beta/rank_service.proto +115 -0
  41. package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +142 -22
  42. package/build/protos/google/cloud/discoveryengine/v1beta/search_tuning_service.proto +7 -1
  43. package/build/protos/google/cloud/discoveryengine/v1beta/session.proto +94 -0
  44. package/build/protos/google/cloud/discoveryengine/v1beta/user_event.proto +1 -1
  45. package/build/protos/protos.d.ts +41126 -24558
  46. package/build/protos/protos.js +134286 -93661
  47. package/build/protos/protos.json +7598 -3744
  48. package/build/src/index.d.ts +4 -1
  49. package/build/src/index.js +4 -1
  50. package/build/src/v1/conversational_search_service_client.d.ts +4 -0
  51. package/build/src/v1/document_service_client.d.ts +47 -19
  52. package/build/src/v1/index.d.ts +1 -0
  53. package/build/src/v1/index.js +3 -1
  54. package/build/src/v1/recommendation_service_client.d.ts +1087 -0
  55. package/build/src/v1/recommendation_service_client.js +1432 -0
  56. package/build/src/v1/recommendation_service_client_config.json +43 -0
  57. package/build/src/v1/search_service_client.d.ts +27 -9
  58. package/build/src/v1/search_service_client.js +18 -6
  59. package/build/src/v1/search_service_client_config.json +5 -5
  60. package/build/src/v1alpha/acl_config_service_client.d.ts +330 -0
  61. package/build/src/v1alpha/acl_config_service_client.js +454 -0
  62. package/build/src/v1alpha/chunk_service_client.d.ts +330 -0
  63. package/build/src/v1alpha/chunk_service_client.js +454 -0
  64. package/build/src/v1alpha/completion_service_client.d.ts +330 -0
  65. package/build/src/v1alpha/completion_service_client.js +454 -0
  66. package/build/src/v1alpha/conversational_search_service_client.d.ts +674 -0
  67. package/build/src/v1alpha/conversational_search_service_client.js +724 -0
  68. package/build/src/v1alpha/conversational_search_service_client_config.json +35 -0
  69. package/build/src/v1alpha/data_store_service_client.d.ts +330 -0
  70. package/build/src/v1alpha/data_store_service_client.js +454 -0
  71. package/build/src/v1alpha/document_service_client.d.ts +330 -0
  72. package/build/src/v1alpha/document_service_client.js +454 -0
  73. package/build/src/v1alpha/engine_service_client.d.ts +330 -0
  74. package/build/src/v1alpha/engine_service_client.js +454 -0
  75. package/build/src/v1alpha/estimate_billing_service_client.d.ts +330 -0
  76. package/build/src/v1alpha/estimate_billing_service_client.js +454 -0
  77. package/build/src/v1alpha/grounded_generation_service_client.d.ts +1574 -0
  78. package/build/src/v1alpha/grounded_generation_service_client.js +2248 -0
  79. package/build/src/v1alpha/grounded_generation_service_client_config.json +43 -0
  80. package/build/src/v1alpha/index.d.ts +2 -0
  81. package/build/src/v1alpha/index.js +5 -1
  82. package/build/src/v1alpha/project_service_client.d.ts +1756 -0
  83. package/build/src/v1alpha/project_service_client.js +2500 -0
  84. package/build/src/v1alpha/project_service_client_config.json +38 -0
  85. package/build/src/v1alpha/rank_service_client.d.ts +330 -0
  86. package/build/src/v1alpha/rank_service_client.js +454 -0
  87. package/build/src/v1alpha/rank_service_client_config.json +15 -2
  88. package/build/src/v1alpha/recommendation_service_client.d.ts +330 -0
  89. package/build/src/v1alpha/recommendation_service_client.js +454 -0
  90. package/build/src/v1alpha/schema_service_client.d.ts +330 -0
  91. package/build/src/v1alpha/schema_service_client.js +454 -0
  92. package/build/src/v1alpha/search_service_client.d.ts +330 -0
  93. package/build/src/v1alpha/search_service_client.js +454 -0
  94. package/build/src/v1alpha/search_service_client_config.json +5 -5
  95. package/build/src/v1alpha/search_tuning_service_client.d.ts +330 -0
  96. package/build/src/v1alpha/search_tuning_service_client.js +454 -0
  97. package/build/src/v1alpha/serving_config_service_client.d.ts +315 -0
  98. package/build/src/v1alpha/serving_config_service_client.js +432 -0
  99. package/build/src/v1alpha/site_search_engine_service_client.d.ts +330 -0
  100. package/build/src/v1alpha/site_search_engine_service_client.js +454 -0
  101. package/build/src/v1alpha/user_event_service_client.d.ts +330 -0
  102. package/build/src/v1alpha/user_event_service_client.js +454 -0
  103. package/build/src/v1beta/completion_service_client.d.ts +315 -0
  104. package/build/src/v1beta/completion_service_client.js +432 -0
  105. package/build/src/v1beta/conversational_search_service_client.d.ts +659 -0
  106. package/build/src/v1beta/conversational_search_service_client.js +702 -0
  107. package/build/src/v1beta/conversational_search_service_client_config.json +35 -0
  108. package/build/src/v1beta/data_store_service_client.d.ts +315 -0
  109. package/build/src/v1beta/data_store_service_client.js +432 -0
  110. package/build/src/v1beta/document_service_client.d.ts +361 -21
  111. package/build/src/v1beta/document_service_client.js +432 -0
  112. package/build/src/v1beta/engine_service_client.d.ts +410 -0
  113. package/build/src/v1beta/engine_service_client.js +518 -0
  114. package/build/src/v1beta/engine_service_client_config.json +12 -0
  115. package/build/src/v1beta/grounded_generation_service_client.d.ts +1406 -0
  116. package/build/src/v1beta/grounded_generation_service_client.js +2014 -0
  117. package/build/src/v1beta/grounded_generation_service_client_config.json +43 -0
  118. package/build/src/v1beta/index.d.ts +2 -0
  119. package/build/src/v1beta/index.js +5 -1
  120. package/build/src/v1beta/rank_service_client.d.ts +1416 -0
  121. package/build/src/v1beta/rank_service_client.js +2015 -0
  122. package/build/src/v1beta/rank_service_client_config.json +43 -0
  123. package/build/src/v1beta/recommendation_service_client.d.ts +315 -0
  124. package/build/src/v1beta/recommendation_service_client.js +432 -0
  125. package/build/src/v1beta/schema_service_client.d.ts +315 -0
  126. package/build/src/v1beta/schema_service_client.js +432 -0
  127. package/build/src/v1beta/search_service_client.d.ts +342 -12
  128. package/build/src/v1beta/search_service_client.js +450 -8
  129. package/build/src/v1beta/search_service_client_config.json +5 -5
  130. package/build/src/v1beta/search_tuning_service_client.d.ts +315 -0
  131. package/build/src/v1beta/search_tuning_service_client.js +432 -0
  132. package/build/src/v1beta/serving_config_service_client.d.ts +315 -0
  133. package/build/src/v1beta/serving_config_service_client.js +432 -0
  134. package/build/src/v1beta/site_search_engine_service_client.d.ts +315 -0
  135. package/build/src/v1beta/site_search_engine_service_client.js +432 -0
  136. package/build/src/v1beta/user_event_service_client.d.ts +315 -0
  137. package/build/src/v1beta/user_event_service_client.js +432 -0
  138. package/package.json +1 -1
@@ -157,10 +157,14 @@ class SearchServiceClient {
157
157
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
158
158
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
159
159
  projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
160
+ projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
161
+ projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
160
162
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
161
163
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
162
164
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
163
165
  projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
166
+ projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
167
+ projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
164
168
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
165
169
  projectLocationDataStoreBranchPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}'),
166
170
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
@@ -168,6 +172,8 @@ class SearchServiceClient {
168
172
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
169
173
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
170
174
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
175
+ projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
176
+ projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
171
177
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
172
178
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
173
179
  };
@@ -332,10 +338,14 @@ class SearchServiceClient {
332
338
  * Raw image query.
333
339
  * @param {number} request.pageSize
334
340
  * Maximum number of {@link protos.google.cloud.discoveryengine.v1beta.Document|Document}s
335
- * to return. If unspecified, defaults to a reasonable value. The maximum
336
- * allowed value is 100. Values above 100 are coerced to 100.
341
+ * to return. The maximum allowed value depends on the data type. Values above
342
+ * the maximum value are coerced to the maximum value.
337
343
  *
338
- * If this field is negative, an `INVALID_ARGUMENT` is returned.
344
+ * * Websites with basic indexing: Default `10`, Maximum `25`.
345
+ * * Websites with advanced indexing: Default `25`, Maximum `50`.
346
+ * * Other: Default `50`, Maximum `100`.
347
+ *
348
+ * If this field is negative, an `INVALID_ARGUMENT` is returned.
339
349
  * @param {string} request.pageToken
340
350
  * A page token received from a previous
341
351
  * {@link protos.google.cloud.discoveryengine.v1beta.SearchService.Search|SearchService.Search}
@@ -457,7 +467,8 @@ class SearchServiceClient {
457
467
  *
458
468
  * If
459
469
  * {@link protos.google.cloud.discoveryengine.v1beta.SearchRequest.EmbeddingSpec.EmbeddingVector.field_path|SearchRequest.EmbeddingSpec.EmbeddingVector.field_path}
460
- * is not provided, it will use {@link protos.|ServingConfig.EmbeddingConfig.field_path}.
470
+ * is not provided, it will use
471
+ * {@link protos.google.cloud.discoveryengine.v1beta.ServingConfig.embedding_config|ServingConfig.EmbeddingConfig.field_path}.
461
472
  * @param {string} request.rankingExpression
462
473
  * The ranking expression controls the customized ranking on retrieval
463
474
  * documents. This overrides
@@ -551,10 +562,14 @@ class SearchServiceClient {
551
562
  * Raw image query.
552
563
  * @param {number} request.pageSize
553
564
  * Maximum number of {@link protos.google.cloud.discoveryengine.v1beta.Document|Document}s
554
- * to return. If unspecified, defaults to a reasonable value. The maximum
555
- * allowed value is 100. Values above 100 are coerced to 100.
565
+ * to return. The maximum allowed value depends on the data type. Values above
566
+ * the maximum value are coerced to the maximum value.
556
567
  *
557
- * If this field is negative, an `INVALID_ARGUMENT` is returned.
568
+ * * Websites with basic indexing: Default `10`, Maximum `25`.
569
+ * * Websites with advanced indexing: Default `25`, Maximum `50`.
570
+ * * Other: Default `50`, Maximum `100`.
571
+ *
572
+ * If this field is negative, an `INVALID_ARGUMENT` is returned.
558
573
  * @param {string} request.pageToken
559
574
  * A page token received from a previous
560
575
  * {@link protos.google.cloud.discoveryengine.v1beta.SearchService.Search|SearchService.Search}
@@ -676,7 +691,8 @@ class SearchServiceClient {
676
691
  *
677
692
  * If
678
693
  * {@link protos.google.cloud.discoveryengine.v1beta.SearchRequest.EmbeddingSpec.EmbeddingVector.field_path|SearchRequest.EmbeddingSpec.EmbeddingVector.field_path}
679
- * is not provided, it will use {@link protos.|ServingConfig.EmbeddingConfig.field_path}.
694
+ * is not provided, it will use
695
+ * {@link protos.google.cloud.discoveryengine.v1beta.ServingConfig.embedding_config|ServingConfig.EmbeddingConfig.field_path}.
680
696
  * @param {string} request.rankingExpression
681
697
  * The ranking expression controls the customized ranking on retrieval
682
698
  * documents. This overrides
@@ -1332,6 +1348,156 @@ class SearchServiceClient {
1332
1348
  matchServingConfigFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
1333
1349
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1334
1350
  }
1351
+ /**
1352
+ * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1353
+ *
1354
+ * @param {string} project
1355
+ * @param {string} location
1356
+ * @param {string} collection
1357
+ * @param {string} data_store
1358
+ * @param {string} session
1359
+ * @returns {string} Resource name string.
1360
+ */
1361
+ projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1362
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
1363
+ project: project,
1364
+ location: location,
1365
+ collection: collection,
1366
+ data_store: dataStore,
1367
+ session: session,
1368
+ });
1369
+ }
1370
+ /**
1371
+ * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1372
+ *
1373
+ * @param {string} projectLocationCollectionDataStoreSessionName
1374
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1375
+ * @returns {string} A string representing the project.
1376
+ */
1377
+ matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1378
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
1379
+ }
1380
+ /**
1381
+ * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1382
+ *
1383
+ * @param {string} projectLocationCollectionDataStoreSessionName
1384
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1385
+ * @returns {string} A string representing the location.
1386
+ */
1387
+ matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1388
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
1389
+ }
1390
+ /**
1391
+ * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1392
+ *
1393
+ * @param {string} projectLocationCollectionDataStoreSessionName
1394
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1395
+ * @returns {string} A string representing the collection.
1396
+ */
1397
+ matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1398
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
1399
+ }
1400
+ /**
1401
+ * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1402
+ *
1403
+ * @param {string} projectLocationCollectionDataStoreSessionName
1404
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1405
+ * @returns {string} A string representing the data_store.
1406
+ */
1407
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1408
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
1409
+ }
1410
+ /**
1411
+ * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1412
+ *
1413
+ * @param {string} projectLocationCollectionDataStoreSessionName
1414
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1415
+ * @returns {string} A string representing the session.
1416
+ */
1417
+ matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1418
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
1419
+ }
1420
+ /**
1421
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1422
+ *
1423
+ * @param {string} project
1424
+ * @param {string} location
1425
+ * @param {string} collection
1426
+ * @param {string} data_store
1427
+ * @param {string} session
1428
+ * @param {string} answer
1429
+ * @returns {string} Resource name string.
1430
+ */
1431
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1432
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1433
+ project: project,
1434
+ location: location,
1435
+ collection: collection,
1436
+ data_store: dataStore,
1437
+ session: session,
1438
+ answer: answer,
1439
+ });
1440
+ }
1441
+ /**
1442
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1443
+ *
1444
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1445
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1446
+ * @returns {string} A string representing the project.
1447
+ */
1448
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1449
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1450
+ }
1451
+ /**
1452
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1453
+ *
1454
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1455
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1456
+ * @returns {string} A string representing the location.
1457
+ */
1458
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1459
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1460
+ }
1461
+ /**
1462
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1463
+ *
1464
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1465
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1466
+ * @returns {string} A string representing the collection.
1467
+ */
1468
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1469
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1470
+ }
1471
+ /**
1472
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1473
+ *
1474
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1475
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1476
+ * @returns {string} A string representing the data_store.
1477
+ */
1478
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1479
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1480
+ }
1481
+ /**
1482
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1483
+ *
1484
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1485
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1486
+ * @returns {string} A string representing the session.
1487
+ */
1488
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1489
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1490
+ }
1491
+ /**
1492
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1493
+ *
1494
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1495
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1496
+ * @returns {string} A string representing the answer.
1497
+ */
1498
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1499
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1500
+ }
1335
1501
  /**
1336
1502
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
1337
1503
  *
@@ -1596,6 +1762,156 @@ class SearchServiceClient {
1596
1762
  matchServingConfigFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1597
1763
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
1598
1764
  }
1765
+ /**
1766
+ * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
1767
+ *
1768
+ * @param {string} project
1769
+ * @param {string} location
1770
+ * @param {string} collection
1771
+ * @param {string} engine
1772
+ * @param {string} session
1773
+ * @returns {string} Resource name string.
1774
+ */
1775
+ projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
1776
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
1777
+ project: project,
1778
+ location: location,
1779
+ collection: collection,
1780
+ engine: engine,
1781
+ session: session,
1782
+ });
1783
+ }
1784
+ /**
1785
+ * Parse the project from ProjectLocationCollectionEngineSession resource.
1786
+ *
1787
+ * @param {string} projectLocationCollectionEngineSessionName
1788
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1789
+ * @returns {string} A string representing the project.
1790
+ */
1791
+ matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1792
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
1793
+ }
1794
+ /**
1795
+ * Parse the location from ProjectLocationCollectionEngineSession resource.
1796
+ *
1797
+ * @param {string} projectLocationCollectionEngineSessionName
1798
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1799
+ * @returns {string} A string representing the location.
1800
+ */
1801
+ matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1802
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
1803
+ }
1804
+ /**
1805
+ * Parse the collection from ProjectLocationCollectionEngineSession resource.
1806
+ *
1807
+ * @param {string} projectLocationCollectionEngineSessionName
1808
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1809
+ * @returns {string} A string representing the collection.
1810
+ */
1811
+ matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1812
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
1813
+ }
1814
+ /**
1815
+ * Parse the engine from ProjectLocationCollectionEngineSession resource.
1816
+ *
1817
+ * @param {string} projectLocationCollectionEngineSessionName
1818
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1819
+ * @returns {string} A string representing the engine.
1820
+ */
1821
+ matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1822
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
1823
+ }
1824
+ /**
1825
+ * Parse the session from ProjectLocationCollectionEngineSession resource.
1826
+ *
1827
+ * @param {string} projectLocationCollectionEngineSessionName
1828
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1829
+ * @returns {string} A string representing the session.
1830
+ */
1831
+ matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1832
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
1833
+ }
1834
+ /**
1835
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
1836
+ *
1837
+ * @param {string} project
1838
+ * @param {string} location
1839
+ * @param {string} collection
1840
+ * @param {string} engine
1841
+ * @param {string} session
1842
+ * @param {string} answer
1843
+ * @returns {string} Resource name string.
1844
+ */
1845
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
1846
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
1847
+ project: project,
1848
+ location: location,
1849
+ collection: collection,
1850
+ engine: engine,
1851
+ session: session,
1852
+ answer: answer,
1853
+ });
1854
+ }
1855
+ /**
1856
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
1857
+ *
1858
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1859
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1860
+ * @returns {string} A string representing the project.
1861
+ */
1862
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1863
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
1864
+ }
1865
+ /**
1866
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
1867
+ *
1868
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1869
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1870
+ * @returns {string} A string representing the location.
1871
+ */
1872
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1873
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
1874
+ }
1875
+ /**
1876
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
1877
+ *
1878
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1879
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1880
+ * @returns {string} A string representing the collection.
1881
+ */
1882
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1883
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
1884
+ }
1885
+ /**
1886
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
1887
+ *
1888
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1889
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1890
+ * @returns {string} A string representing the engine.
1891
+ */
1892
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1893
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
1894
+ }
1895
+ /**
1896
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
1897
+ *
1898
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1899
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1900
+ * @returns {string} A string representing the session.
1901
+ */
1902
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1903
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
1904
+ }
1905
+ /**
1906
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
1907
+ *
1908
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1909
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1910
+ * @returns {string} A string representing the answer.
1911
+ */
1912
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1913
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
1914
+ }
1599
1915
  /**
1600
1916
  * Return a fully-qualified projectLocationDataStore resource name string.
1601
1917
  *
@@ -1983,6 +2299,132 @@ class SearchServiceClient {
1983
2299
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
1984
2300
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
1985
2301
  }
2302
+ /**
2303
+ * Return a fully-qualified projectLocationDataStoreSession resource name string.
2304
+ *
2305
+ * @param {string} project
2306
+ * @param {string} location
2307
+ * @param {string} data_store
2308
+ * @param {string} session
2309
+ * @returns {string} Resource name string.
2310
+ */
2311
+ projectLocationDataStoreSessionPath(project, location, dataStore, session) {
2312
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
2313
+ project: project,
2314
+ location: location,
2315
+ data_store: dataStore,
2316
+ session: session,
2317
+ });
2318
+ }
2319
+ /**
2320
+ * Parse the project from ProjectLocationDataStoreSession resource.
2321
+ *
2322
+ * @param {string} projectLocationDataStoreSessionName
2323
+ * A fully-qualified path representing project_location_data_store_session resource.
2324
+ * @returns {string} A string representing the project.
2325
+ */
2326
+ matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2327
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
2328
+ }
2329
+ /**
2330
+ * Parse the location from ProjectLocationDataStoreSession resource.
2331
+ *
2332
+ * @param {string} projectLocationDataStoreSessionName
2333
+ * A fully-qualified path representing project_location_data_store_session resource.
2334
+ * @returns {string} A string representing the location.
2335
+ */
2336
+ matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2337
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
2338
+ }
2339
+ /**
2340
+ * Parse the data_store from ProjectLocationDataStoreSession resource.
2341
+ *
2342
+ * @param {string} projectLocationDataStoreSessionName
2343
+ * A fully-qualified path representing project_location_data_store_session resource.
2344
+ * @returns {string} A string representing the data_store.
2345
+ */
2346
+ matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2347
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
2348
+ }
2349
+ /**
2350
+ * Parse the session from ProjectLocationDataStoreSession resource.
2351
+ *
2352
+ * @param {string} projectLocationDataStoreSessionName
2353
+ * A fully-qualified path representing project_location_data_store_session resource.
2354
+ * @returns {string} A string representing the session.
2355
+ */
2356
+ matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2357
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
2358
+ }
2359
+ /**
2360
+ * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
2361
+ *
2362
+ * @param {string} project
2363
+ * @param {string} location
2364
+ * @param {string} data_store
2365
+ * @param {string} session
2366
+ * @param {string} answer
2367
+ * @returns {string} Resource name string.
2368
+ */
2369
+ projectLocationDataStoreSessionAnswerPath(project, location, dataStore, session, answer) {
2370
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.render({
2371
+ project: project,
2372
+ location: location,
2373
+ data_store: dataStore,
2374
+ session: session,
2375
+ answer: answer,
2376
+ });
2377
+ }
2378
+ /**
2379
+ * Parse the project from ProjectLocationDataStoreSessionAnswer resource.
2380
+ *
2381
+ * @param {string} projectLocationDataStoreSessionAnswerName
2382
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2383
+ * @returns {string} A string representing the project.
2384
+ */
2385
+ matchProjectFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2386
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).project;
2387
+ }
2388
+ /**
2389
+ * Parse the location from ProjectLocationDataStoreSessionAnswer resource.
2390
+ *
2391
+ * @param {string} projectLocationDataStoreSessionAnswerName
2392
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2393
+ * @returns {string} A string representing the location.
2394
+ */
2395
+ matchLocationFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2396
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).location;
2397
+ }
2398
+ /**
2399
+ * Parse the data_store from ProjectLocationDataStoreSessionAnswer resource.
2400
+ *
2401
+ * @param {string} projectLocationDataStoreSessionAnswerName
2402
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2403
+ * @returns {string} A string representing the data_store.
2404
+ */
2405
+ matchDataStoreFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2406
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).data_store;
2407
+ }
2408
+ /**
2409
+ * Parse the session from ProjectLocationDataStoreSessionAnswer resource.
2410
+ *
2411
+ * @param {string} projectLocationDataStoreSessionAnswerName
2412
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2413
+ * @returns {string} A string representing the session.
2414
+ */
2415
+ matchSessionFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2416
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).session;
2417
+ }
2418
+ /**
2419
+ * Parse the answer from ProjectLocationDataStoreSessionAnswer resource.
2420
+ *
2421
+ * @param {string} projectLocationDataStoreSessionAnswerName
2422
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2423
+ * @returns {string} A string representing the answer.
2424
+ */
2425
+ matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2426
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
2427
+ }
1986
2428
  /**
1987
2429
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
1988
2430
  *
@@ -21,10 +21,10 @@
21
21
  "max_rpc_timeout_millis": 60000,
22
22
  "total_timeout_millis": 600000
23
23
  },
24
- "319f27672a8be83550d842a373549dd84649a57e": {
25
- "initial_retry_delay_millis": 100,
24
+ "ce5b960a6ed052e690863808e4f0deff3dc7d49f": {
25
+ "initial_retry_delay_millis": 1000,
26
26
  "retry_delay_multiplier": 1.3,
27
- "max_retry_delay_millis": 5000,
27
+ "max_retry_delay_millis": 10000,
28
28
  "initial_rpc_timeout_millis": 60000,
29
29
  "rpc_timeout_multiplier": 1,
30
30
  "max_rpc_timeout_millis": 60000,
@@ -33,9 +33,9 @@
33
33
  },
34
34
  "methods": {
35
35
  "Search": {
36
- "timeout_millis": 5000,
36
+ "timeout_millis": 30000,
37
37
  "retry_codes_name": "unavailable",
38
- "retry_params_name": "319f27672a8be83550d842a373549dd84649a57e"
38
+ "retry_params_name": "ce5b960a6ed052e690863808e4f0deff3dc7d49f"
39
39
  }
40
40
  }
41
41
  }