@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
@@ -159,16 +159,22 @@ class ServingConfigServiceClient {
159
159
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
160
160
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
161
161
  projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
162
+ projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
163
+ projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
162
164
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
163
165
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
164
166
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
165
167
  projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
168
+ projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
169
+ projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
166
170
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
167
171
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
168
172
  projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
169
173
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
170
174
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
171
175
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
176
+ projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
177
+ projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
172
178
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
173
179
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
174
180
  };
@@ -1010,6 +1016,156 @@ class ServingConfigServiceClient {
1010
1016
  matchServingConfigFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
1011
1017
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1012
1018
  }
1019
+ /**
1020
+ * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1021
+ *
1022
+ * @param {string} project
1023
+ * @param {string} location
1024
+ * @param {string} collection
1025
+ * @param {string} data_store
1026
+ * @param {string} session
1027
+ * @returns {string} Resource name string.
1028
+ */
1029
+ projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1030
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
1031
+ project: project,
1032
+ location: location,
1033
+ collection: collection,
1034
+ data_store: dataStore,
1035
+ session: session,
1036
+ });
1037
+ }
1038
+ /**
1039
+ * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1040
+ *
1041
+ * @param {string} projectLocationCollectionDataStoreSessionName
1042
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1043
+ * @returns {string} A string representing the project.
1044
+ */
1045
+ matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1046
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
1047
+ }
1048
+ /**
1049
+ * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1050
+ *
1051
+ * @param {string} projectLocationCollectionDataStoreSessionName
1052
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1053
+ * @returns {string} A string representing the location.
1054
+ */
1055
+ matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1056
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
1057
+ }
1058
+ /**
1059
+ * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1060
+ *
1061
+ * @param {string} projectLocationCollectionDataStoreSessionName
1062
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1063
+ * @returns {string} A string representing the collection.
1064
+ */
1065
+ matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1066
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
1067
+ }
1068
+ /**
1069
+ * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1070
+ *
1071
+ * @param {string} projectLocationCollectionDataStoreSessionName
1072
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1073
+ * @returns {string} A string representing the data_store.
1074
+ */
1075
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1076
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
1077
+ }
1078
+ /**
1079
+ * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1080
+ *
1081
+ * @param {string} projectLocationCollectionDataStoreSessionName
1082
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1083
+ * @returns {string} A string representing the session.
1084
+ */
1085
+ matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1086
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
1087
+ }
1088
+ /**
1089
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1090
+ *
1091
+ * @param {string} project
1092
+ * @param {string} location
1093
+ * @param {string} collection
1094
+ * @param {string} data_store
1095
+ * @param {string} session
1096
+ * @param {string} answer
1097
+ * @returns {string} Resource name string.
1098
+ */
1099
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1100
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1101
+ project: project,
1102
+ location: location,
1103
+ collection: collection,
1104
+ data_store: dataStore,
1105
+ session: session,
1106
+ answer: answer,
1107
+ });
1108
+ }
1109
+ /**
1110
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1111
+ *
1112
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1113
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1114
+ * @returns {string} A string representing the project.
1115
+ */
1116
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1117
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1118
+ }
1119
+ /**
1120
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1121
+ *
1122
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1123
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1124
+ * @returns {string} A string representing the location.
1125
+ */
1126
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1127
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1128
+ }
1129
+ /**
1130
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1131
+ *
1132
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1133
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1134
+ * @returns {string} A string representing the collection.
1135
+ */
1136
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1137
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1138
+ }
1139
+ /**
1140
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1141
+ *
1142
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1143
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1144
+ * @returns {string} A string representing the data_store.
1145
+ */
1146
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1147
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1148
+ }
1149
+ /**
1150
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1151
+ *
1152
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1153
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1154
+ * @returns {string} A string representing the session.
1155
+ */
1156
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1157
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1158
+ }
1159
+ /**
1160
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1161
+ *
1162
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1163
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1164
+ * @returns {string} A string representing the answer.
1165
+ */
1166
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1167
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1168
+ }
1013
1169
  /**
1014
1170
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
1015
1171
  *
@@ -1274,6 +1430,156 @@ class ServingConfigServiceClient {
1274
1430
  matchServingConfigFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1275
1431
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
1276
1432
  }
1433
+ /**
1434
+ * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
1435
+ *
1436
+ * @param {string} project
1437
+ * @param {string} location
1438
+ * @param {string} collection
1439
+ * @param {string} engine
1440
+ * @param {string} session
1441
+ * @returns {string} Resource name string.
1442
+ */
1443
+ projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
1444
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
1445
+ project: project,
1446
+ location: location,
1447
+ collection: collection,
1448
+ engine: engine,
1449
+ session: session,
1450
+ });
1451
+ }
1452
+ /**
1453
+ * Parse the project from ProjectLocationCollectionEngineSession resource.
1454
+ *
1455
+ * @param {string} projectLocationCollectionEngineSessionName
1456
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1457
+ * @returns {string} A string representing the project.
1458
+ */
1459
+ matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1460
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
1461
+ }
1462
+ /**
1463
+ * Parse the location from ProjectLocationCollectionEngineSession resource.
1464
+ *
1465
+ * @param {string} projectLocationCollectionEngineSessionName
1466
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1467
+ * @returns {string} A string representing the location.
1468
+ */
1469
+ matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1470
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
1471
+ }
1472
+ /**
1473
+ * Parse the collection from ProjectLocationCollectionEngineSession resource.
1474
+ *
1475
+ * @param {string} projectLocationCollectionEngineSessionName
1476
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1477
+ * @returns {string} A string representing the collection.
1478
+ */
1479
+ matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1480
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
1481
+ }
1482
+ /**
1483
+ * Parse the engine from ProjectLocationCollectionEngineSession resource.
1484
+ *
1485
+ * @param {string} projectLocationCollectionEngineSessionName
1486
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1487
+ * @returns {string} A string representing the engine.
1488
+ */
1489
+ matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1490
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
1491
+ }
1492
+ /**
1493
+ * Parse the session from ProjectLocationCollectionEngineSession resource.
1494
+ *
1495
+ * @param {string} projectLocationCollectionEngineSessionName
1496
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1497
+ * @returns {string} A string representing the session.
1498
+ */
1499
+ matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1500
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
1501
+ }
1502
+ /**
1503
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
1504
+ *
1505
+ * @param {string} project
1506
+ * @param {string} location
1507
+ * @param {string} collection
1508
+ * @param {string} engine
1509
+ * @param {string} session
1510
+ * @param {string} answer
1511
+ * @returns {string} Resource name string.
1512
+ */
1513
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
1514
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
1515
+ project: project,
1516
+ location: location,
1517
+ collection: collection,
1518
+ engine: engine,
1519
+ session: session,
1520
+ answer: answer,
1521
+ });
1522
+ }
1523
+ /**
1524
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
1525
+ *
1526
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1527
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1528
+ * @returns {string} A string representing the project.
1529
+ */
1530
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1531
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
1532
+ }
1533
+ /**
1534
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
1535
+ *
1536
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1537
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1538
+ * @returns {string} A string representing the location.
1539
+ */
1540
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1541
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
1542
+ }
1543
+ /**
1544
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
1545
+ *
1546
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1547
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1548
+ * @returns {string} A string representing the collection.
1549
+ */
1550
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1551
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
1552
+ }
1553
+ /**
1554
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
1555
+ *
1556
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1557
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1558
+ * @returns {string} A string representing the engine.
1559
+ */
1560
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1561
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
1562
+ }
1563
+ /**
1564
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
1565
+ *
1566
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1567
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1568
+ * @returns {string} A string representing the session.
1569
+ */
1570
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1571
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
1572
+ }
1573
+ /**
1574
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
1575
+ *
1576
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1577
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1578
+ * @returns {string} A string representing the answer.
1579
+ */
1580
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1581
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
1582
+ }
1277
1583
  /**
1278
1584
  * Return a fully-qualified projectLocationDataStore resource name string.
1279
1585
  *
@@ -1604,6 +1910,132 @@ class ServingConfigServiceClient {
1604
1910
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
1605
1911
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
1606
1912
  }
1913
+ /**
1914
+ * Return a fully-qualified projectLocationDataStoreSession resource name string.
1915
+ *
1916
+ * @param {string} project
1917
+ * @param {string} location
1918
+ * @param {string} data_store
1919
+ * @param {string} session
1920
+ * @returns {string} Resource name string.
1921
+ */
1922
+ projectLocationDataStoreSessionPath(project, location, dataStore, session) {
1923
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
1924
+ project: project,
1925
+ location: location,
1926
+ data_store: dataStore,
1927
+ session: session,
1928
+ });
1929
+ }
1930
+ /**
1931
+ * Parse the project from ProjectLocationDataStoreSession resource.
1932
+ *
1933
+ * @param {string} projectLocationDataStoreSessionName
1934
+ * A fully-qualified path representing project_location_data_store_session resource.
1935
+ * @returns {string} A string representing the project.
1936
+ */
1937
+ matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
1938
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
1939
+ }
1940
+ /**
1941
+ * Parse the location from ProjectLocationDataStoreSession resource.
1942
+ *
1943
+ * @param {string} projectLocationDataStoreSessionName
1944
+ * A fully-qualified path representing project_location_data_store_session resource.
1945
+ * @returns {string} A string representing the location.
1946
+ */
1947
+ matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
1948
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
1949
+ }
1950
+ /**
1951
+ * Parse the data_store from ProjectLocationDataStoreSession resource.
1952
+ *
1953
+ * @param {string} projectLocationDataStoreSessionName
1954
+ * A fully-qualified path representing project_location_data_store_session resource.
1955
+ * @returns {string} A string representing the data_store.
1956
+ */
1957
+ matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
1958
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
1959
+ }
1960
+ /**
1961
+ * Parse the session from ProjectLocationDataStoreSession resource.
1962
+ *
1963
+ * @param {string} projectLocationDataStoreSessionName
1964
+ * A fully-qualified path representing project_location_data_store_session resource.
1965
+ * @returns {string} A string representing the session.
1966
+ */
1967
+ matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
1968
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
1969
+ }
1970
+ /**
1971
+ * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
1972
+ *
1973
+ * @param {string} project
1974
+ * @param {string} location
1975
+ * @param {string} data_store
1976
+ * @param {string} session
1977
+ * @param {string} answer
1978
+ * @returns {string} Resource name string.
1979
+ */
1980
+ projectLocationDataStoreSessionAnswerPath(project, location, dataStore, session, answer) {
1981
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.render({
1982
+ project: project,
1983
+ location: location,
1984
+ data_store: dataStore,
1985
+ session: session,
1986
+ answer: answer,
1987
+ });
1988
+ }
1989
+ /**
1990
+ * Parse the project from ProjectLocationDataStoreSessionAnswer resource.
1991
+ *
1992
+ * @param {string} projectLocationDataStoreSessionAnswerName
1993
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
1994
+ * @returns {string} A string representing the project.
1995
+ */
1996
+ matchProjectFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
1997
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).project;
1998
+ }
1999
+ /**
2000
+ * Parse the location from ProjectLocationDataStoreSessionAnswer resource.
2001
+ *
2002
+ * @param {string} projectLocationDataStoreSessionAnswerName
2003
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2004
+ * @returns {string} A string representing the location.
2005
+ */
2006
+ matchLocationFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2007
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).location;
2008
+ }
2009
+ /**
2010
+ * Parse the data_store from ProjectLocationDataStoreSessionAnswer resource.
2011
+ *
2012
+ * @param {string} projectLocationDataStoreSessionAnswerName
2013
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2014
+ * @returns {string} A string representing the data_store.
2015
+ */
2016
+ matchDataStoreFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2017
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).data_store;
2018
+ }
2019
+ /**
2020
+ * Parse the session from ProjectLocationDataStoreSessionAnswer resource.
2021
+ *
2022
+ * @param {string} projectLocationDataStoreSessionAnswerName
2023
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2024
+ * @returns {string} A string representing the session.
2025
+ */
2026
+ matchSessionFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2027
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).session;
2028
+ }
2029
+ /**
2030
+ * Parse the answer from ProjectLocationDataStoreSessionAnswer resource.
2031
+ *
2032
+ * @param {string} projectLocationDataStoreSessionAnswerName
2033
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2034
+ * @returns {string} A string representing the answer.
2035
+ */
2036
+ matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2037
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
2038
+ }
1607
2039
  /**
1608
2040
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
1609
2041
  *