@google-cloud/discoveryengine 1.6.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 (142) hide show
  1. package/CHANGELOG.md +7 -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 +41 -1
  16. package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +21 -1
  17. package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +574 -0
  18. package/build/protos/google/cloud/discoveryengine/v1alpha/document.proto +19 -0
  19. package/build/protos/google/cloud/discoveryengine/v1alpha/document_processing_config.proto +3 -6
  20. package/build/protos/google/cloud/discoveryengine/v1alpha/document_service.proto +64 -0
  21. package/build/protos/google/cloud/discoveryengine/v1alpha/engine.proto +2 -2
  22. package/build/protos/google/cloud/discoveryengine/v1alpha/grounded_generation_service.proto +120 -0
  23. package/build/protos/google/cloud/discoveryengine/v1alpha/grounding.proto +55 -0
  24. package/build/protos/google/cloud/discoveryengine/v1alpha/import_config.proto +283 -24
  25. package/build/protos/google/cloud/discoveryengine/v1alpha/project.proto +102 -0
  26. package/build/protos/google/cloud/discoveryengine/v1alpha/project_service.proto +171 -0
  27. package/build/protos/google/cloud/discoveryengine/v1alpha/schema.proto +21 -0
  28. package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +158 -24
  29. package/build/protos/google/cloud/discoveryengine/v1alpha/search_tuning_service.proto +9 -3
  30. package/build/protos/google/cloud/discoveryengine/v1alpha/serving_config_service.proto +2 -1
  31. package/build/protos/google/cloud/discoveryengine/v1alpha/session.proto +94 -0
  32. package/build/protos/google/cloud/discoveryengine/v1alpha/user_event.proto +1 -1
  33. package/build/protos/google/cloud/discoveryengine/v1beta/answer.proto +328 -0
  34. package/build/protos/google/cloud/discoveryengine/v1beta/common.proto +30 -1
  35. package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +559 -0
  36. package/build/protos/google/cloud/discoveryengine/v1beta/document_processing_config.proto +3 -6
  37. package/build/protos/google/cloud/discoveryengine/v1beta/document_service.proto +6 -0
  38. package/build/protos/google/cloud/discoveryengine/v1beta/engine.proto +2 -2
  39. package/build/protos/google/cloud/discoveryengine/v1beta/engine_service.proto +93 -0
  40. package/build/protos/google/cloud/discoveryengine/v1beta/grounded_generation_service.proto +120 -0
  41. package/build/protos/google/cloud/discoveryengine/v1beta/grounding.proto +55 -0
  42. package/build/protos/google/cloud/discoveryengine/v1beta/import_config.proto +283 -24
  43. package/build/protos/google/cloud/discoveryengine/v1beta/rank_service.proto +115 -0
  44. package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +142 -22
  45. package/build/protos/google/cloud/discoveryengine/v1beta/search_tuning_service.proto +7 -1
  46. package/build/protos/google/cloud/discoveryengine/v1beta/session.proto +94 -0
  47. package/build/protos/google/cloud/discoveryengine/v1beta/user_event.proto +1 -1
  48. package/build/protos/protos.d.ts +44799 -26093
  49. package/build/protos/protos.js +120465 -74222
  50. package/build/protos/protos.json +8911 -4556
  51. package/build/src/index.d.ts +4 -1
  52. package/build/src/index.js +4 -1
  53. package/build/src/v1/conversational_search_service_client.d.ts +4 -0
  54. package/build/src/v1/document_service_client.d.ts +47 -19
  55. package/build/src/v1/index.d.ts +1 -0
  56. package/build/src/v1/index.js +3 -1
  57. package/build/src/v1/recommendation_service_client.d.ts +1087 -0
  58. package/build/src/v1/recommendation_service_client.js +1432 -0
  59. package/build/src/v1/recommendation_service_client_config.json +43 -0
  60. package/build/src/v1/search_service_client.d.ts +27 -9
  61. package/build/src/v1/search_service_client.js +18 -6
  62. package/build/src/v1/search_service_client_config.json +5 -5
  63. package/build/src/v1alpha/acl_config_service_client.d.ts +330 -0
  64. package/build/src/v1alpha/acl_config_service_client.js +454 -0
  65. package/build/src/v1alpha/chunk_service_client.d.ts +330 -0
  66. package/build/src/v1alpha/chunk_service_client.js +454 -0
  67. package/build/src/v1alpha/completion_service_client.d.ts +330 -0
  68. package/build/src/v1alpha/completion_service_client.js +457 -0
  69. package/build/src/v1alpha/conversational_search_service_client.d.ts +674 -0
  70. package/build/src/v1alpha/conversational_search_service_client.js +724 -0
  71. package/build/src/v1alpha/conversational_search_service_client_config.json +35 -0
  72. package/build/src/v1alpha/data_store_service_client.d.ts +330 -0
  73. package/build/src/v1alpha/data_store_service_client.js +457 -0
  74. package/build/src/v1alpha/document_service_client.d.ts +410 -21
  75. package/build/src/v1alpha/document_service_client.js +479 -0
  76. package/build/src/v1alpha/document_service_client_config.json +5 -0
  77. package/build/src/v1alpha/engine_service_client.d.ts +330 -0
  78. package/build/src/v1alpha/engine_service_client.js +457 -0
  79. package/build/src/v1alpha/estimate_billing_service_client.d.ts +330 -0
  80. package/build/src/v1alpha/estimate_billing_service_client.js +457 -0
  81. package/build/src/v1alpha/grounded_generation_service_client.d.ts +1574 -0
  82. package/build/src/v1alpha/grounded_generation_service_client.js +2248 -0
  83. package/build/src/v1alpha/grounded_generation_service_client_config.json +43 -0
  84. package/build/src/v1alpha/index.d.ts +3 -1
  85. package/build/src/v1alpha/index.js +7 -3
  86. package/build/src/v1alpha/project_service_client.d.ts +1756 -0
  87. package/build/src/v1alpha/project_service_client.js +2500 -0
  88. package/build/src/v1alpha/project_service_client_config.json +38 -0
  89. package/build/src/v1alpha/rank_service_client.d.ts +330 -0
  90. package/build/src/v1alpha/rank_service_client.js +454 -0
  91. package/build/src/v1alpha/rank_service_client_config.json +15 -2
  92. package/build/src/v1alpha/recommendation_service_client.d.ts +330 -0
  93. package/build/src/v1alpha/recommendation_service_client.js +454 -0
  94. package/build/src/v1alpha/schema_service_client.d.ts +330 -0
  95. package/build/src/v1alpha/schema_service_client.js +457 -0
  96. package/build/src/v1alpha/search_service_client.d.ts +360 -15
  97. package/build/src/v1alpha/search_service_client.js +474 -10
  98. package/build/src/v1alpha/search_service_client_config.json +5 -5
  99. package/build/src/v1alpha/search_tuning_service_client.d.ts +330 -0
  100. package/build/src/v1alpha/search_tuning_service_client.js +457 -0
  101. package/build/src/v1alpha/serving_config_service_client.d.ts +317 -1
  102. package/build/src/v1alpha/serving_config_service_client.js +434 -1
  103. package/build/src/v1alpha/site_search_engine_service_client.d.ts +330 -0
  104. package/build/src/v1alpha/site_search_engine_service_client.js +457 -0
  105. package/build/src/v1alpha/user_event_service_client.d.ts +330 -0
  106. package/build/src/v1alpha/user_event_service_client.js +457 -0
  107. package/build/src/v1beta/completion_service_client.d.ts +315 -0
  108. package/build/src/v1beta/completion_service_client.js +432 -0
  109. package/build/src/v1beta/conversational_search_service_client.d.ts +659 -0
  110. package/build/src/v1beta/conversational_search_service_client.js +702 -0
  111. package/build/src/v1beta/conversational_search_service_client_config.json +35 -0
  112. package/build/src/v1beta/data_store_service_client.d.ts +315 -0
  113. package/build/src/v1beta/data_store_service_client.js +432 -0
  114. package/build/src/v1beta/document_service_client.d.ts +361 -21
  115. package/build/src/v1beta/document_service_client.js +432 -0
  116. package/build/src/v1beta/engine_service_client.d.ts +410 -0
  117. package/build/src/v1beta/engine_service_client.js +518 -0
  118. package/build/src/v1beta/engine_service_client_config.json +12 -0
  119. package/build/src/v1beta/grounded_generation_service_client.d.ts +1406 -0
  120. package/build/src/v1beta/grounded_generation_service_client.js +2014 -0
  121. package/build/src/v1beta/grounded_generation_service_client_config.json +43 -0
  122. package/build/src/v1beta/index.d.ts +2 -0
  123. package/build/src/v1beta/index.js +5 -1
  124. package/build/src/v1beta/rank_service_client.d.ts +1416 -0
  125. package/build/src/v1beta/rank_service_client.js +2015 -0
  126. package/build/src/v1beta/rank_service_client_config.json +43 -0
  127. package/build/src/v1beta/recommendation_service_client.d.ts +315 -0
  128. package/build/src/v1beta/recommendation_service_client.js +432 -0
  129. package/build/src/v1beta/schema_service_client.d.ts +315 -0
  130. package/build/src/v1beta/schema_service_client.js +432 -0
  131. package/build/src/v1beta/search_service_client.d.ts +342 -12
  132. package/build/src/v1beta/search_service_client.js +450 -8
  133. package/build/src/v1beta/search_service_client_config.json +5 -5
  134. package/build/src/v1beta/search_tuning_service_client.d.ts +315 -0
  135. package/build/src/v1beta/search_tuning_service_client.js +432 -0
  136. package/build/src/v1beta/serving_config_service_client.d.ts +315 -0
  137. package/build/src/v1beta/serving_config_service_client.js +432 -0
  138. package/build/src/v1beta/site_search_engine_service_client.d.ts +315 -0
  139. package/build/src/v1beta/site_search_engine_service_client.js +432 -0
  140. package/build/src/v1beta/user_event_service_client.d.ts +315 -0
  141. package/build/src/v1beta/user_event_service_client.js +432 -0
  142. package/package.json +1 -1
@@ -157,16 +157,22 @@ class RecommendationServiceClient {
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
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
166
170
  projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
167
171
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
168
172
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
169
173
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
174
+ projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
175
+ projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
170
176
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
171
177
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
172
178
  };
@@ -819,6 +825,156 @@ class RecommendationServiceClient {
819
825
  matchServingConfigFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
820
826
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
821
827
  }
828
+ /**
829
+ * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
830
+ *
831
+ * @param {string} project
832
+ * @param {string} location
833
+ * @param {string} collection
834
+ * @param {string} data_store
835
+ * @param {string} session
836
+ * @returns {string} Resource name string.
837
+ */
838
+ projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
839
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
840
+ project: project,
841
+ location: location,
842
+ collection: collection,
843
+ data_store: dataStore,
844
+ session: session,
845
+ });
846
+ }
847
+ /**
848
+ * Parse the project from ProjectLocationCollectionDataStoreSession resource.
849
+ *
850
+ * @param {string} projectLocationCollectionDataStoreSessionName
851
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
852
+ * @returns {string} A string representing the project.
853
+ */
854
+ matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
855
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
856
+ }
857
+ /**
858
+ * Parse the location from ProjectLocationCollectionDataStoreSession resource.
859
+ *
860
+ * @param {string} projectLocationCollectionDataStoreSessionName
861
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
862
+ * @returns {string} A string representing the location.
863
+ */
864
+ matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
865
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
866
+ }
867
+ /**
868
+ * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
869
+ *
870
+ * @param {string} projectLocationCollectionDataStoreSessionName
871
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
872
+ * @returns {string} A string representing the collection.
873
+ */
874
+ matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
875
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
876
+ }
877
+ /**
878
+ * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
879
+ *
880
+ * @param {string} projectLocationCollectionDataStoreSessionName
881
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
882
+ * @returns {string} A string representing the data_store.
883
+ */
884
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
885
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
886
+ }
887
+ /**
888
+ * Parse the session from ProjectLocationCollectionDataStoreSession resource.
889
+ *
890
+ * @param {string} projectLocationCollectionDataStoreSessionName
891
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
892
+ * @returns {string} A string representing the session.
893
+ */
894
+ matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
895
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
896
+ }
897
+ /**
898
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
899
+ *
900
+ * @param {string} project
901
+ * @param {string} location
902
+ * @param {string} collection
903
+ * @param {string} data_store
904
+ * @param {string} session
905
+ * @param {string} answer
906
+ * @returns {string} Resource name string.
907
+ */
908
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
909
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
910
+ project: project,
911
+ location: location,
912
+ collection: collection,
913
+ data_store: dataStore,
914
+ session: session,
915
+ answer: answer,
916
+ });
917
+ }
918
+ /**
919
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
920
+ *
921
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
922
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
923
+ * @returns {string} A string representing the project.
924
+ */
925
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
926
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
927
+ }
928
+ /**
929
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
930
+ *
931
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
932
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
933
+ * @returns {string} A string representing the location.
934
+ */
935
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
936
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
937
+ }
938
+ /**
939
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
940
+ *
941
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
942
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
943
+ * @returns {string} A string representing the collection.
944
+ */
945
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
946
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
947
+ }
948
+ /**
949
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
950
+ *
951
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
952
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
953
+ * @returns {string} A string representing the data_store.
954
+ */
955
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
956
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
957
+ }
958
+ /**
959
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
960
+ *
961
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
962
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
963
+ * @returns {string} A string representing the session.
964
+ */
965
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
966
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
967
+ }
968
+ /**
969
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
970
+ *
971
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
972
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
973
+ * @returns {string} A string representing the answer.
974
+ */
975
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
976
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
977
+ }
822
978
  /**
823
979
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
824
980
  *
@@ -1083,6 +1239,156 @@ class RecommendationServiceClient {
1083
1239
  matchServingConfigFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1084
1240
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
1085
1241
  }
1242
+ /**
1243
+ * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
1244
+ *
1245
+ * @param {string} project
1246
+ * @param {string} location
1247
+ * @param {string} collection
1248
+ * @param {string} engine
1249
+ * @param {string} session
1250
+ * @returns {string} Resource name string.
1251
+ */
1252
+ projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
1253
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
1254
+ project: project,
1255
+ location: location,
1256
+ collection: collection,
1257
+ engine: engine,
1258
+ session: session,
1259
+ });
1260
+ }
1261
+ /**
1262
+ * Parse the project from ProjectLocationCollectionEngineSession resource.
1263
+ *
1264
+ * @param {string} projectLocationCollectionEngineSessionName
1265
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1266
+ * @returns {string} A string representing the project.
1267
+ */
1268
+ matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1269
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
1270
+ }
1271
+ /**
1272
+ * Parse the location from ProjectLocationCollectionEngineSession resource.
1273
+ *
1274
+ * @param {string} projectLocationCollectionEngineSessionName
1275
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1276
+ * @returns {string} A string representing the location.
1277
+ */
1278
+ matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1279
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
1280
+ }
1281
+ /**
1282
+ * Parse the collection from ProjectLocationCollectionEngineSession resource.
1283
+ *
1284
+ * @param {string} projectLocationCollectionEngineSessionName
1285
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1286
+ * @returns {string} A string representing the collection.
1287
+ */
1288
+ matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1289
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
1290
+ }
1291
+ /**
1292
+ * Parse the engine from ProjectLocationCollectionEngineSession resource.
1293
+ *
1294
+ * @param {string} projectLocationCollectionEngineSessionName
1295
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1296
+ * @returns {string} A string representing the engine.
1297
+ */
1298
+ matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1299
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
1300
+ }
1301
+ /**
1302
+ * Parse the session from ProjectLocationCollectionEngineSession resource.
1303
+ *
1304
+ * @param {string} projectLocationCollectionEngineSessionName
1305
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1306
+ * @returns {string} A string representing the session.
1307
+ */
1308
+ matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1309
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
1310
+ }
1311
+ /**
1312
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
1313
+ *
1314
+ * @param {string} project
1315
+ * @param {string} location
1316
+ * @param {string} collection
1317
+ * @param {string} engine
1318
+ * @param {string} session
1319
+ * @param {string} answer
1320
+ * @returns {string} Resource name string.
1321
+ */
1322
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
1323
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
1324
+ project: project,
1325
+ location: location,
1326
+ collection: collection,
1327
+ engine: engine,
1328
+ session: session,
1329
+ answer: answer,
1330
+ });
1331
+ }
1332
+ /**
1333
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
1334
+ *
1335
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1336
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1337
+ * @returns {string} A string representing the project.
1338
+ */
1339
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1340
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
1341
+ }
1342
+ /**
1343
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
1344
+ *
1345
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1346
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1347
+ * @returns {string} A string representing the location.
1348
+ */
1349
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1350
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
1351
+ }
1352
+ /**
1353
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
1354
+ *
1355
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1356
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1357
+ * @returns {string} A string representing the collection.
1358
+ */
1359
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1360
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
1361
+ }
1362
+ /**
1363
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
1364
+ *
1365
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1366
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1367
+ * @returns {string} A string representing the engine.
1368
+ */
1369
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1370
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
1371
+ }
1372
+ /**
1373
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
1374
+ *
1375
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1376
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1377
+ * @returns {string} A string representing the session.
1378
+ */
1379
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1380
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
1381
+ }
1382
+ /**
1383
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
1384
+ *
1385
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1386
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1387
+ * @returns {string} A string representing the answer.
1388
+ */
1389
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1390
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
1391
+ }
1086
1392
  /**
1087
1393
  * Return a fully-qualified projectLocationDataStore resource name string.
1088
1394
  *
@@ -1413,6 +1719,132 @@ class RecommendationServiceClient {
1413
1719
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
1414
1720
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
1415
1721
  }
1722
+ /**
1723
+ * Return a fully-qualified projectLocationDataStoreSession resource name string.
1724
+ *
1725
+ * @param {string} project
1726
+ * @param {string} location
1727
+ * @param {string} data_store
1728
+ * @param {string} session
1729
+ * @returns {string} Resource name string.
1730
+ */
1731
+ projectLocationDataStoreSessionPath(project, location, dataStore, session) {
1732
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
1733
+ project: project,
1734
+ location: location,
1735
+ data_store: dataStore,
1736
+ session: session,
1737
+ });
1738
+ }
1739
+ /**
1740
+ * Parse the project from ProjectLocationDataStoreSession resource.
1741
+ *
1742
+ * @param {string} projectLocationDataStoreSessionName
1743
+ * A fully-qualified path representing project_location_data_store_session resource.
1744
+ * @returns {string} A string representing the project.
1745
+ */
1746
+ matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
1747
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
1748
+ }
1749
+ /**
1750
+ * Parse the location from ProjectLocationDataStoreSession resource.
1751
+ *
1752
+ * @param {string} projectLocationDataStoreSessionName
1753
+ * A fully-qualified path representing project_location_data_store_session resource.
1754
+ * @returns {string} A string representing the location.
1755
+ */
1756
+ matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
1757
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
1758
+ }
1759
+ /**
1760
+ * Parse the data_store from ProjectLocationDataStoreSession resource.
1761
+ *
1762
+ * @param {string} projectLocationDataStoreSessionName
1763
+ * A fully-qualified path representing project_location_data_store_session resource.
1764
+ * @returns {string} A string representing the data_store.
1765
+ */
1766
+ matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
1767
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
1768
+ }
1769
+ /**
1770
+ * Parse the session from ProjectLocationDataStoreSession resource.
1771
+ *
1772
+ * @param {string} projectLocationDataStoreSessionName
1773
+ * A fully-qualified path representing project_location_data_store_session resource.
1774
+ * @returns {string} A string representing the session.
1775
+ */
1776
+ matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
1777
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
1778
+ }
1779
+ /**
1780
+ * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
1781
+ *
1782
+ * @param {string} project
1783
+ * @param {string} location
1784
+ * @param {string} data_store
1785
+ * @param {string} session
1786
+ * @param {string} answer
1787
+ * @returns {string} Resource name string.
1788
+ */
1789
+ projectLocationDataStoreSessionAnswerPath(project, location, dataStore, session, answer) {
1790
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.render({
1791
+ project: project,
1792
+ location: location,
1793
+ data_store: dataStore,
1794
+ session: session,
1795
+ answer: answer,
1796
+ });
1797
+ }
1798
+ /**
1799
+ * Parse the project from ProjectLocationDataStoreSessionAnswer resource.
1800
+ *
1801
+ * @param {string} projectLocationDataStoreSessionAnswerName
1802
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
1803
+ * @returns {string} A string representing the project.
1804
+ */
1805
+ matchProjectFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
1806
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).project;
1807
+ }
1808
+ /**
1809
+ * Parse the location from ProjectLocationDataStoreSessionAnswer resource.
1810
+ *
1811
+ * @param {string} projectLocationDataStoreSessionAnswerName
1812
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
1813
+ * @returns {string} A string representing the location.
1814
+ */
1815
+ matchLocationFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
1816
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).location;
1817
+ }
1818
+ /**
1819
+ * Parse the data_store from ProjectLocationDataStoreSessionAnswer resource.
1820
+ *
1821
+ * @param {string} projectLocationDataStoreSessionAnswerName
1822
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
1823
+ * @returns {string} A string representing the data_store.
1824
+ */
1825
+ matchDataStoreFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
1826
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).data_store;
1827
+ }
1828
+ /**
1829
+ * Parse the session from ProjectLocationDataStoreSessionAnswer resource.
1830
+ *
1831
+ * @param {string} projectLocationDataStoreSessionAnswerName
1832
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
1833
+ * @returns {string} A string representing the session.
1834
+ */
1835
+ matchSessionFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
1836
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).session;
1837
+ }
1838
+ /**
1839
+ * Parse the answer from ProjectLocationDataStoreSessionAnswer resource.
1840
+ *
1841
+ * @param {string} projectLocationDataStoreSessionAnswerName
1842
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
1843
+ * @returns {string} A string representing the answer.
1844
+ */
1845
+ matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
1846
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
1847
+ }
1416
1848
  /**
1417
1849
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
1418
1850
  *