@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
@@ -151,6 +151,7 @@ class SearchServiceClient {
151
151
  this.pathTemplates = {
152
152
  aclConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/aclConfig'),
153
153
  enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
154
+ projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
154
155
  projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
155
156
  projectLocationCollectionDataStoreBranchPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}'),
156
157
  projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
@@ -159,10 +160,14 @@ class SearchServiceClient {
159
160
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
160
161
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
161
162
  projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
163
+ projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
164
+ projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
162
165
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
163
166
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
164
167
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
165
168
  projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
169
+ projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
170
+ projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
166
171
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
167
172
  projectLocationDataStoreBranchPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}'),
168
173
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
@@ -171,6 +176,8 @@ class SearchServiceClient {
171
176
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
172
177
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
173
178
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
179
+ projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
180
+ projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
174
181
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
175
182
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
176
183
  };
@@ -915,6 +922,27 @@ class SearchServiceClient {
915
922
  matchEngineFromEngineName(engineName) {
916
923
  return this.pathTemplates.enginePathTemplate.match(engineName).engine;
917
924
  }
925
+ /**
926
+ * Return a fully-qualified project resource name string.
927
+ *
928
+ * @param {string} project
929
+ * @returns {string} Resource name string.
930
+ */
931
+ projectPath(project) {
932
+ return this.pathTemplates.projectPathTemplate.render({
933
+ project: project,
934
+ });
935
+ }
936
+ /**
937
+ * Parse the project from Project resource.
938
+ *
939
+ * @param {string} projectName
940
+ * A fully-qualified path representing Project resource.
941
+ * @returns {string} A string representing the project.
942
+ */
943
+ matchProjectFromProjectName(projectName) {
944
+ return this.pathTemplates.projectPathTemplate.match(projectName).project;
945
+ }
918
946
  /**
919
947
  * Return a fully-qualified projectLocationCollectionDataStore resource name string.
920
948
  *
@@ -1479,6 +1507,156 @@ class SearchServiceClient {
1479
1507
  matchServingConfigFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
1480
1508
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1481
1509
  }
1510
+ /**
1511
+ * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1512
+ *
1513
+ * @param {string} project
1514
+ * @param {string} location
1515
+ * @param {string} collection
1516
+ * @param {string} data_store
1517
+ * @param {string} session
1518
+ * @returns {string} Resource name string.
1519
+ */
1520
+ projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1521
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
1522
+ project: project,
1523
+ location: location,
1524
+ collection: collection,
1525
+ data_store: dataStore,
1526
+ session: session,
1527
+ });
1528
+ }
1529
+ /**
1530
+ * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1531
+ *
1532
+ * @param {string} projectLocationCollectionDataStoreSessionName
1533
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1534
+ * @returns {string} A string representing the project.
1535
+ */
1536
+ matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1537
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
1538
+ }
1539
+ /**
1540
+ * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1541
+ *
1542
+ * @param {string} projectLocationCollectionDataStoreSessionName
1543
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1544
+ * @returns {string} A string representing the location.
1545
+ */
1546
+ matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1547
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
1548
+ }
1549
+ /**
1550
+ * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1551
+ *
1552
+ * @param {string} projectLocationCollectionDataStoreSessionName
1553
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1554
+ * @returns {string} A string representing the collection.
1555
+ */
1556
+ matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1557
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
1558
+ }
1559
+ /**
1560
+ * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1561
+ *
1562
+ * @param {string} projectLocationCollectionDataStoreSessionName
1563
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1564
+ * @returns {string} A string representing the data_store.
1565
+ */
1566
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1567
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
1568
+ }
1569
+ /**
1570
+ * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1571
+ *
1572
+ * @param {string} projectLocationCollectionDataStoreSessionName
1573
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1574
+ * @returns {string} A string representing the session.
1575
+ */
1576
+ matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1577
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
1578
+ }
1579
+ /**
1580
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1581
+ *
1582
+ * @param {string} project
1583
+ * @param {string} location
1584
+ * @param {string} collection
1585
+ * @param {string} data_store
1586
+ * @param {string} session
1587
+ * @param {string} answer
1588
+ * @returns {string} Resource name string.
1589
+ */
1590
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1591
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1592
+ project: project,
1593
+ location: location,
1594
+ collection: collection,
1595
+ data_store: dataStore,
1596
+ session: session,
1597
+ answer: answer,
1598
+ });
1599
+ }
1600
+ /**
1601
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1602
+ *
1603
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1604
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1605
+ * @returns {string} A string representing the project.
1606
+ */
1607
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1608
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1609
+ }
1610
+ /**
1611
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1612
+ *
1613
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1614
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1615
+ * @returns {string} A string representing the location.
1616
+ */
1617
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1618
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1619
+ }
1620
+ /**
1621
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1622
+ *
1623
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1624
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1625
+ * @returns {string} A string representing the collection.
1626
+ */
1627
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1628
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1629
+ }
1630
+ /**
1631
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1632
+ *
1633
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1634
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1635
+ * @returns {string} A string representing the data_store.
1636
+ */
1637
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1638
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1639
+ }
1640
+ /**
1641
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1642
+ *
1643
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1644
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1645
+ * @returns {string} A string representing the session.
1646
+ */
1647
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1648
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1649
+ }
1650
+ /**
1651
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1652
+ *
1653
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1654
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1655
+ * @returns {string} A string representing the answer.
1656
+ */
1657
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1658
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1659
+ }
1482
1660
  /**
1483
1661
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
1484
1662
  *
@@ -1743,6 +1921,156 @@ class SearchServiceClient {
1743
1921
  matchServingConfigFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1744
1922
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
1745
1923
  }
1924
+ /**
1925
+ * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
1926
+ *
1927
+ * @param {string} project
1928
+ * @param {string} location
1929
+ * @param {string} collection
1930
+ * @param {string} engine
1931
+ * @param {string} session
1932
+ * @returns {string} Resource name string.
1933
+ */
1934
+ projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
1935
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
1936
+ project: project,
1937
+ location: location,
1938
+ collection: collection,
1939
+ engine: engine,
1940
+ session: session,
1941
+ });
1942
+ }
1943
+ /**
1944
+ * Parse the project from ProjectLocationCollectionEngineSession resource.
1945
+ *
1946
+ * @param {string} projectLocationCollectionEngineSessionName
1947
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1948
+ * @returns {string} A string representing the project.
1949
+ */
1950
+ matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1951
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
1952
+ }
1953
+ /**
1954
+ * Parse the location from ProjectLocationCollectionEngineSession resource.
1955
+ *
1956
+ * @param {string} projectLocationCollectionEngineSessionName
1957
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1958
+ * @returns {string} A string representing the location.
1959
+ */
1960
+ matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1961
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
1962
+ }
1963
+ /**
1964
+ * Parse the collection from ProjectLocationCollectionEngineSession resource.
1965
+ *
1966
+ * @param {string} projectLocationCollectionEngineSessionName
1967
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1968
+ * @returns {string} A string representing the collection.
1969
+ */
1970
+ matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1971
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
1972
+ }
1973
+ /**
1974
+ * Parse the engine from ProjectLocationCollectionEngineSession resource.
1975
+ *
1976
+ * @param {string} projectLocationCollectionEngineSessionName
1977
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1978
+ * @returns {string} A string representing the engine.
1979
+ */
1980
+ matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1981
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
1982
+ }
1983
+ /**
1984
+ * Parse the session from ProjectLocationCollectionEngineSession resource.
1985
+ *
1986
+ * @param {string} projectLocationCollectionEngineSessionName
1987
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1988
+ * @returns {string} A string representing the session.
1989
+ */
1990
+ matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1991
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
1992
+ }
1993
+ /**
1994
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
1995
+ *
1996
+ * @param {string} project
1997
+ * @param {string} location
1998
+ * @param {string} collection
1999
+ * @param {string} engine
2000
+ * @param {string} session
2001
+ * @param {string} answer
2002
+ * @returns {string} Resource name string.
2003
+ */
2004
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2005
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2006
+ project: project,
2007
+ location: location,
2008
+ collection: collection,
2009
+ engine: engine,
2010
+ session: session,
2011
+ answer: answer,
2012
+ });
2013
+ }
2014
+ /**
2015
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2016
+ *
2017
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2018
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2019
+ * @returns {string} A string representing the project.
2020
+ */
2021
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2022
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2023
+ }
2024
+ /**
2025
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2026
+ *
2027
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2028
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2029
+ * @returns {string} A string representing the location.
2030
+ */
2031
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2032
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2033
+ }
2034
+ /**
2035
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2036
+ *
2037
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2038
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2039
+ * @returns {string} A string representing the collection.
2040
+ */
2041
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2042
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2043
+ }
2044
+ /**
2045
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2046
+ *
2047
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2048
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2049
+ * @returns {string} A string representing the engine.
2050
+ */
2051
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2052
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2053
+ }
2054
+ /**
2055
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2056
+ *
2057
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2058
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2059
+ * @returns {string} A string representing the session.
2060
+ */
2061
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2062
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2063
+ }
2064
+ /**
2065
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2066
+ *
2067
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2068
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2069
+ * @returns {string} A string representing the answer.
2070
+ */
2071
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2072
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2073
+ }
1746
2074
  /**
1747
2075
  * Return a fully-qualified projectLocationDataStore resource name string.
1748
2076
  *
@@ -2211,6 +2539,132 @@ class SearchServiceClient {
2211
2539
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2212
2540
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
2213
2541
  }
2542
+ /**
2543
+ * Return a fully-qualified projectLocationDataStoreSession resource name string.
2544
+ *
2545
+ * @param {string} project
2546
+ * @param {string} location
2547
+ * @param {string} data_store
2548
+ * @param {string} session
2549
+ * @returns {string} Resource name string.
2550
+ */
2551
+ projectLocationDataStoreSessionPath(project, location, dataStore, session) {
2552
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
2553
+ project: project,
2554
+ location: location,
2555
+ data_store: dataStore,
2556
+ session: session,
2557
+ });
2558
+ }
2559
+ /**
2560
+ * Parse the project from ProjectLocationDataStoreSession resource.
2561
+ *
2562
+ * @param {string} projectLocationDataStoreSessionName
2563
+ * A fully-qualified path representing project_location_data_store_session resource.
2564
+ * @returns {string} A string representing the project.
2565
+ */
2566
+ matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2567
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
2568
+ }
2569
+ /**
2570
+ * Parse the location from ProjectLocationDataStoreSession resource.
2571
+ *
2572
+ * @param {string} projectLocationDataStoreSessionName
2573
+ * A fully-qualified path representing project_location_data_store_session resource.
2574
+ * @returns {string} A string representing the location.
2575
+ */
2576
+ matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2577
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
2578
+ }
2579
+ /**
2580
+ * Parse the data_store from ProjectLocationDataStoreSession resource.
2581
+ *
2582
+ * @param {string} projectLocationDataStoreSessionName
2583
+ * A fully-qualified path representing project_location_data_store_session resource.
2584
+ * @returns {string} A string representing the data_store.
2585
+ */
2586
+ matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2587
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
2588
+ }
2589
+ /**
2590
+ * Parse the session from ProjectLocationDataStoreSession resource.
2591
+ *
2592
+ * @param {string} projectLocationDataStoreSessionName
2593
+ * A fully-qualified path representing project_location_data_store_session resource.
2594
+ * @returns {string} A string representing the session.
2595
+ */
2596
+ matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2597
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
2598
+ }
2599
+ /**
2600
+ * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
2601
+ *
2602
+ * @param {string} project
2603
+ * @param {string} location
2604
+ * @param {string} data_store
2605
+ * @param {string} session
2606
+ * @param {string} answer
2607
+ * @returns {string} Resource name string.
2608
+ */
2609
+ projectLocationDataStoreSessionAnswerPath(project, location, dataStore, session, answer) {
2610
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.render({
2611
+ project: project,
2612
+ location: location,
2613
+ data_store: dataStore,
2614
+ session: session,
2615
+ answer: answer,
2616
+ });
2617
+ }
2618
+ /**
2619
+ * Parse the project from ProjectLocationDataStoreSessionAnswer resource.
2620
+ *
2621
+ * @param {string} projectLocationDataStoreSessionAnswerName
2622
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2623
+ * @returns {string} A string representing the project.
2624
+ */
2625
+ matchProjectFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2626
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).project;
2627
+ }
2628
+ /**
2629
+ * Parse the location from ProjectLocationDataStoreSessionAnswer resource.
2630
+ *
2631
+ * @param {string} projectLocationDataStoreSessionAnswerName
2632
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2633
+ * @returns {string} A string representing the location.
2634
+ */
2635
+ matchLocationFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2636
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).location;
2637
+ }
2638
+ /**
2639
+ * Parse the data_store from ProjectLocationDataStoreSessionAnswer resource.
2640
+ *
2641
+ * @param {string} projectLocationDataStoreSessionAnswerName
2642
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2643
+ * @returns {string} A string representing the data_store.
2644
+ */
2645
+ matchDataStoreFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2646
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).data_store;
2647
+ }
2648
+ /**
2649
+ * Parse the session from ProjectLocationDataStoreSessionAnswer resource.
2650
+ *
2651
+ * @param {string} projectLocationDataStoreSessionAnswerName
2652
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2653
+ * @returns {string} A string representing the session.
2654
+ */
2655
+ matchSessionFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2656
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).session;
2657
+ }
2658
+ /**
2659
+ * Parse the answer from ProjectLocationDataStoreSessionAnswer resource.
2660
+ *
2661
+ * @param {string} projectLocationDataStoreSessionAnswerName
2662
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2663
+ * @returns {string} A string representing the answer.
2664
+ */
2665
+ matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2666
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
2667
+ }
2214
2668
  /**
2215
2669
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
2216
2670
  *
@@ -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
  }