@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.
- package/CHANGELOG.md +7 -0
- package/README.md +24 -0
- package/build/protos/google/cloud/discoveryengine/v1/common.proto +13 -1
- package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +5 -0
- package/build/protos/google/cloud/discoveryengine/v1/data_store.proto +17 -0
- package/build/protos/google/cloud/discoveryengine/v1/document.proto +9 -0
- package/build/protos/google/cloud/discoveryengine/v1/document_service.proto +6 -0
- package/build/protos/google/cloud/discoveryengine/v1/engine.proto +2 -2
- package/build/protos/google/cloud/discoveryengine/v1/import_config.proto +284 -22
- package/build/protos/google/cloud/discoveryengine/v1/purge_config.proto +3 -0
- package/build/protos/google/cloud/discoveryengine/v1/recommendation_service.proto +228 -0
- package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +125 -21
- package/build/protos/google/cloud/discoveryengine/v1/user_event.proto +16 -11
- package/build/protos/google/cloud/discoveryengine/v1alpha/answer.proto +328 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/chunk.proto +41 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +21 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +574 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/document.proto +19 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/document_processing_config.proto +3 -6
- package/build/protos/google/cloud/discoveryengine/v1alpha/document_service.proto +64 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/engine.proto +2 -2
- package/build/protos/google/cloud/discoveryengine/v1alpha/grounded_generation_service.proto +120 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/grounding.proto +55 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/import_config.proto +283 -24
- package/build/protos/google/cloud/discoveryengine/v1alpha/project.proto +102 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/project_service.proto +171 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/schema.proto +21 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +158 -24
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_tuning_service.proto +9 -3
- package/build/protos/google/cloud/discoveryengine/v1alpha/serving_config_service.proto +2 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/session.proto +94 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/user_event.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/answer.proto +328 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/common.proto +30 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +559 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/document_processing_config.proto +3 -6
- package/build/protos/google/cloud/discoveryengine/v1beta/document_service.proto +6 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/engine.proto +2 -2
- package/build/protos/google/cloud/discoveryengine/v1beta/engine_service.proto +93 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/grounded_generation_service.proto +120 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/grounding.proto +55 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/import_config.proto +283 -24
- package/build/protos/google/cloud/discoveryengine/v1beta/rank_service.proto +115 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +142 -22
- package/build/protos/google/cloud/discoveryengine/v1beta/search_tuning_service.proto +7 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/session.proto +94 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/user_event.proto +1 -1
- package/build/protos/protos.d.ts +44799 -26093
- package/build/protos/protos.js +120465 -74222
- package/build/protos/protos.json +8911 -4556
- package/build/src/index.d.ts +4 -1
- package/build/src/index.js +4 -1
- package/build/src/v1/conversational_search_service_client.d.ts +4 -0
- package/build/src/v1/document_service_client.d.ts +47 -19
- package/build/src/v1/index.d.ts +1 -0
- package/build/src/v1/index.js +3 -1
- package/build/src/v1/recommendation_service_client.d.ts +1087 -0
- package/build/src/v1/recommendation_service_client.js +1432 -0
- package/build/src/v1/recommendation_service_client_config.json +43 -0
- package/build/src/v1/search_service_client.d.ts +27 -9
- package/build/src/v1/search_service_client.js +18 -6
- package/build/src/v1/search_service_client_config.json +5 -5
- package/build/src/v1alpha/acl_config_service_client.d.ts +330 -0
- package/build/src/v1alpha/acl_config_service_client.js +454 -0
- package/build/src/v1alpha/chunk_service_client.d.ts +330 -0
- package/build/src/v1alpha/chunk_service_client.js +454 -0
- package/build/src/v1alpha/completion_service_client.d.ts +330 -0
- package/build/src/v1alpha/completion_service_client.js +457 -0
- package/build/src/v1alpha/conversational_search_service_client.d.ts +674 -0
- package/build/src/v1alpha/conversational_search_service_client.js +724 -0
- package/build/src/v1alpha/conversational_search_service_client_config.json +35 -0
- package/build/src/v1alpha/data_store_service_client.d.ts +330 -0
- package/build/src/v1alpha/data_store_service_client.js +457 -0
- package/build/src/v1alpha/document_service_client.d.ts +410 -21
- package/build/src/v1alpha/document_service_client.js +479 -0
- package/build/src/v1alpha/document_service_client_config.json +5 -0
- package/build/src/v1alpha/engine_service_client.d.ts +330 -0
- package/build/src/v1alpha/engine_service_client.js +457 -0
- package/build/src/v1alpha/estimate_billing_service_client.d.ts +330 -0
- package/build/src/v1alpha/estimate_billing_service_client.js +457 -0
- package/build/src/v1alpha/grounded_generation_service_client.d.ts +1574 -0
- package/build/src/v1alpha/grounded_generation_service_client.js +2248 -0
- package/build/src/v1alpha/grounded_generation_service_client_config.json +43 -0
- package/build/src/v1alpha/index.d.ts +3 -1
- package/build/src/v1alpha/index.js +7 -3
- package/build/src/v1alpha/project_service_client.d.ts +1756 -0
- package/build/src/v1alpha/project_service_client.js +2500 -0
- package/build/src/v1alpha/project_service_client_config.json +38 -0
- package/build/src/v1alpha/rank_service_client.d.ts +330 -0
- package/build/src/v1alpha/rank_service_client.js +454 -0
- package/build/src/v1alpha/rank_service_client_config.json +15 -2
- package/build/src/v1alpha/recommendation_service_client.d.ts +330 -0
- package/build/src/v1alpha/recommendation_service_client.js +454 -0
- package/build/src/v1alpha/schema_service_client.d.ts +330 -0
- package/build/src/v1alpha/schema_service_client.js +457 -0
- package/build/src/v1alpha/search_service_client.d.ts +360 -15
- package/build/src/v1alpha/search_service_client.js +474 -10
- package/build/src/v1alpha/search_service_client_config.json +5 -5
- package/build/src/v1alpha/search_tuning_service_client.d.ts +330 -0
- package/build/src/v1alpha/search_tuning_service_client.js +457 -0
- package/build/src/v1alpha/serving_config_service_client.d.ts +317 -1
- package/build/src/v1alpha/serving_config_service_client.js +434 -1
- package/build/src/v1alpha/site_search_engine_service_client.d.ts +330 -0
- package/build/src/v1alpha/site_search_engine_service_client.js +457 -0
- package/build/src/v1alpha/user_event_service_client.d.ts +330 -0
- package/build/src/v1alpha/user_event_service_client.js +457 -0
- package/build/src/v1beta/completion_service_client.d.ts +315 -0
- package/build/src/v1beta/completion_service_client.js +432 -0
- package/build/src/v1beta/conversational_search_service_client.d.ts +659 -0
- package/build/src/v1beta/conversational_search_service_client.js +702 -0
- package/build/src/v1beta/conversational_search_service_client_config.json +35 -0
- package/build/src/v1beta/data_store_service_client.d.ts +315 -0
- package/build/src/v1beta/data_store_service_client.js +432 -0
- package/build/src/v1beta/document_service_client.d.ts +361 -21
- package/build/src/v1beta/document_service_client.js +432 -0
- package/build/src/v1beta/engine_service_client.d.ts +410 -0
- package/build/src/v1beta/engine_service_client.js +518 -0
- package/build/src/v1beta/engine_service_client_config.json +12 -0
- package/build/src/v1beta/grounded_generation_service_client.d.ts +1406 -0
- package/build/src/v1beta/grounded_generation_service_client.js +2014 -0
- package/build/src/v1beta/grounded_generation_service_client_config.json +43 -0
- package/build/src/v1beta/index.d.ts +2 -0
- package/build/src/v1beta/index.js +5 -1
- package/build/src/v1beta/rank_service_client.d.ts +1416 -0
- package/build/src/v1beta/rank_service_client.js +2015 -0
- package/build/src/v1beta/rank_service_client_config.json +43 -0
- package/build/src/v1beta/recommendation_service_client.d.ts +315 -0
- package/build/src/v1beta/recommendation_service_client.js +432 -0
- package/build/src/v1beta/schema_service_client.d.ts +315 -0
- package/build/src/v1beta/schema_service_client.js +432 -0
- package/build/src/v1beta/search_service_client.d.ts +342 -12
- package/build/src/v1beta/search_service_client.js +450 -8
- package/build/src/v1beta/search_service_client_config.json +5 -5
- package/build/src/v1beta/search_tuning_service_client.d.ts +315 -0
- package/build/src/v1beta/search_tuning_service_client.js +432 -0
- package/build/src/v1beta/serving_config_service_client.d.ts +315 -0
- package/build/src/v1beta/serving_config_service_client.js +432 -0
- package/build/src/v1beta/site_search_engine_service_client.d.ts +315 -0
- package/build/src/v1beta/site_search_engine_service_client.js +432 -0
- package/build/src/v1beta/user_event_service_client.d.ts +315 -0
- package/build/src/v1beta/user_event_service_client.js +432 -0
- package/package.json +1 -1
@@ -153,6 +153,7 @@ class ChunkServiceClient {
|
|
153
153
|
this.pathTemplates = {
|
154
154
|
aclConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/aclConfig'),
|
155
155
|
enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
|
156
|
+
projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
|
156
157
|
projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
|
157
158
|
projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
158
159
|
projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
@@ -160,10 +161,14 @@ class ChunkServiceClient {
|
|
160
161
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
161
162
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
162
163
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
164
|
+
projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
165
|
+
projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
163
166
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
164
167
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
165
168
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
166
169
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
170
|
+
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
171
|
+
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
167
172
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
168
173
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
169
174
|
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
@@ -171,6 +176,8 @@ class ChunkServiceClient {
|
|
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
|
};
|
@@ -596,6 +603,27 @@ class ChunkServiceClient {
|
|
596
603
|
matchEngineFromEngineName(engineName) {
|
597
604
|
return this.pathTemplates.enginePathTemplate.match(engineName).engine;
|
598
605
|
}
|
606
|
+
/**
|
607
|
+
* Return a fully-qualified project resource name string.
|
608
|
+
*
|
609
|
+
* @param {string} project
|
610
|
+
* @returns {string} Resource name string.
|
611
|
+
*/
|
612
|
+
projectPath(project) {
|
613
|
+
return this.pathTemplates.projectPathTemplate.render({
|
614
|
+
project: project,
|
615
|
+
});
|
616
|
+
}
|
617
|
+
/**
|
618
|
+
* Parse the project from Project resource.
|
619
|
+
*
|
620
|
+
* @param {string} projectName
|
621
|
+
* A fully-qualified path representing Project resource.
|
622
|
+
* @returns {string} A string representing the project.
|
623
|
+
*/
|
624
|
+
matchProjectFromProjectName(projectName) {
|
625
|
+
return this.pathTemplates.projectPathTemplate.match(projectName).project;
|
626
|
+
}
|
599
627
|
/**
|
600
628
|
* Return a fully-qualified projectLocationCollectionDataStore resource name string.
|
601
629
|
*
|
@@ -1091,6 +1119,156 @@ class ChunkServiceClient {
|
|
1091
1119
|
matchServingConfigFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
|
1092
1120
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1093
1121
|
}
|
1122
|
+
/**
|
1123
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
|
1124
|
+
*
|
1125
|
+
* @param {string} project
|
1126
|
+
* @param {string} location
|
1127
|
+
* @param {string} collection
|
1128
|
+
* @param {string} data_store
|
1129
|
+
* @param {string} session
|
1130
|
+
* @returns {string} Resource name string.
|
1131
|
+
*/
|
1132
|
+
projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
|
1133
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
|
1134
|
+
project: project,
|
1135
|
+
location: location,
|
1136
|
+
collection: collection,
|
1137
|
+
data_store: dataStore,
|
1138
|
+
session: session,
|
1139
|
+
});
|
1140
|
+
}
|
1141
|
+
/**
|
1142
|
+
* Parse the project from ProjectLocationCollectionDataStoreSession resource.
|
1143
|
+
*
|
1144
|
+
* @param {string} projectLocationCollectionDataStoreSessionName
|
1145
|
+
* A fully-qualified path representing project_location_collection_data_store_session resource.
|
1146
|
+
* @returns {string} A string representing the project.
|
1147
|
+
*/
|
1148
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
|
1149
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
|
1150
|
+
}
|
1151
|
+
/**
|
1152
|
+
* Parse the location from ProjectLocationCollectionDataStoreSession resource.
|
1153
|
+
*
|
1154
|
+
* @param {string} projectLocationCollectionDataStoreSessionName
|
1155
|
+
* A fully-qualified path representing project_location_collection_data_store_session resource.
|
1156
|
+
* @returns {string} A string representing the location.
|
1157
|
+
*/
|
1158
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
|
1159
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
|
1160
|
+
}
|
1161
|
+
/**
|
1162
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSession resource.
|
1163
|
+
*
|
1164
|
+
* @param {string} projectLocationCollectionDataStoreSessionName
|
1165
|
+
* A fully-qualified path representing project_location_collection_data_store_session resource.
|
1166
|
+
* @returns {string} A string representing the collection.
|
1167
|
+
*/
|
1168
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
|
1169
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
|
1170
|
+
}
|
1171
|
+
/**
|
1172
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
|
1173
|
+
*
|
1174
|
+
* @param {string} projectLocationCollectionDataStoreSessionName
|
1175
|
+
* A fully-qualified path representing project_location_collection_data_store_session resource.
|
1176
|
+
* @returns {string} A string representing the data_store.
|
1177
|
+
*/
|
1178
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
|
1179
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
|
1180
|
+
}
|
1181
|
+
/**
|
1182
|
+
* Parse the session from ProjectLocationCollectionDataStoreSession resource.
|
1183
|
+
*
|
1184
|
+
* @param {string} projectLocationCollectionDataStoreSessionName
|
1185
|
+
* A fully-qualified path representing project_location_collection_data_store_session resource.
|
1186
|
+
* @returns {string} A string representing the session.
|
1187
|
+
*/
|
1188
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
|
1189
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
|
1190
|
+
}
|
1191
|
+
/**
|
1192
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1193
|
+
*
|
1194
|
+
* @param {string} project
|
1195
|
+
* @param {string} location
|
1196
|
+
* @param {string} collection
|
1197
|
+
* @param {string} data_store
|
1198
|
+
* @param {string} session
|
1199
|
+
* @param {string} answer
|
1200
|
+
* @returns {string} Resource name string.
|
1201
|
+
*/
|
1202
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1203
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1204
|
+
project: project,
|
1205
|
+
location: location,
|
1206
|
+
collection: collection,
|
1207
|
+
data_store: dataStore,
|
1208
|
+
session: session,
|
1209
|
+
answer: answer,
|
1210
|
+
});
|
1211
|
+
}
|
1212
|
+
/**
|
1213
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1214
|
+
*
|
1215
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1216
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1217
|
+
* @returns {string} A string representing the project.
|
1218
|
+
*/
|
1219
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1220
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1221
|
+
}
|
1222
|
+
/**
|
1223
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1224
|
+
*
|
1225
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1226
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1227
|
+
* @returns {string} A string representing the location.
|
1228
|
+
*/
|
1229
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1230
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1231
|
+
}
|
1232
|
+
/**
|
1233
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1234
|
+
*
|
1235
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1236
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1237
|
+
* @returns {string} A string representing the collection.
|
1238
|
+
*/
|
1239
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1240
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1241
|
+
}
|
1242
|
+
/**
|
1243
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1244
|
+
*
|
1245
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1246
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1247
|
+
* @returns {string} A string representing the data_store.
|
1248
|
+
*/
|
1249
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1250
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1251
|
+
}
|
1252
|
+
/**
|
1253
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1254
|
+
*
|
1255
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1256
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1257
|
+
* @returns {string} A string representing the session.
|
1258
|
+
*/
|
1259
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1260
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1261
|
+
}
|
1262
|
+
/**
|
1263
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1264
|
+
*
|
1265
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1266
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1267
|
+
* @returns {string} A string representing the answer.
|
1268
|
+
*/
|
1269
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1270
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1271
|
+
}
|
1094
1272
|
/**
|
1095
1273
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
1096
1274
|
*
|
@@ -1355,6 +1533,156 @@ class ChunkServiceClient {
|
|
1355
1533
|
matchServingConfigFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
|
1356
1534
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
1357
1535
|
}
|
1536
|
+
/**
|
1537
|
+
* Return a fully-qualified projectLocationCollectionEngineSession resource name string.
|
1538
|
+
*
|
1539
|
+
* @param {string} project
|
1540
|
+
* @param {string} location
|
1541
|
+
* @param {string} collection
|
1542
|
+
* @param {string} engine
|
1543
|
+
* @param {string} session
|
1544
|
+
* @returns {string} Resource name string.
|
1545
|
+
*/
|
1546
|
+
projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
|
1547
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
|
1548
|
+
project: project,
|
1549
|
+
location: location,
|
1550
|
+
collection: collection,
|
1551
|
+
engine: engine,
|
1552
|
+
session: session,
|
1553
|
+
});
|
1554
|
+
}
|
1555
|
+
/**
|
1556
|
+
* Parse the project from ProjectLocationCollectionEngineSession resource.
|
1557
|
+
*
|
1558
|
+
* @param {string} projectLocationCollectionEngineSessionName
|
1559
|
+
* A fully-qualified path representing project_location_collection_engine_session resource.
|
1560
|
+
* @returns {string} A string representing the project.
|
1561
|
+
*/
|
1562
|
+
matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
|
1563
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
|
1564
|
+
}
|
1565
|
+
/**
|
1566
|
+
* Parse the location from ProjectLocationCollectionEngineSession resource.
|
1567
|
+
*
|
1568
|
+
* @param {string} projectLocationCollectionEngineSessionName
|
1569
|
+
* A fully-qualified path representing project_location_collection_engine_session resource.
|
1570
|
+
* @returns {string} A string representing the location.
|
1571
|
+
*/
|
1572
|
+
matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
|
1573
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
|
1574
|
+
}
|
1575
|
+
/**
|
1576
|
+
* Parse the collection from ProjectLocationCollectionEngineSession resource.
|
1577
|
+
*
|
1578
|
+
* @param {string} projectLocationCollectionEngineSessionName
|
1579
|
+
* A fully-qualified path representing project_location_collection_engine_session resource.
|
1580
|
+
* @returns {string} A string representing the collection.
|
1581
|
+
*/
|
1582
|
+
matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
|
1583
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
|
1584
|
+
}
|
1585
|
+
/**
|
1586
|
+
* Parse the engine from ProjectLocationCollectionEngineSession resource.
|
1587
|
+
*
|
1588
|
+
* @param {string} projectLocationCollectionEngineSessionName
|
1589
|
+
* A fully-qualified path representing project_location_collection_engine_session resource.
|
1590
|
+
* @returns {string} A string representing the engine.
|
1591
|
+
*/
|
1592
|
+
matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
|
1593
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
|
1594
|
+
}
|
1595
|
+
/**
|
1596
|
+
* Parse the session from ProjectLocationCollectionEngineSession resource.
|
1597
|
+
*
|
1598
|
+
* @param {string} projectLocationCollectionEngineSessionName
|
1599
|
+
* A fully-qualified path representing project_location_collection_engine_session resource.
|
1600
|
+
* @returns {string} A string representing the session.
|
1601
|
+
*/
|
1602
|
+
matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
|
1603
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
|
1604
|
+
}
|
1605
|
+
/**
|
1606
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
1607
|
+
*
|
1608
|
+
* @param {string} project
|
1609
|
+
* @param {string} location
|
1610
|
+
* @param {string} collection
|
1611
|
+
* @param {string} engine
|
1612
|
+
* @param {string} session
|
1613
|
+
* @param {string} answer
|
1614
|
+
* @returns {string} Resource name string.
|
1615
|
+
*/
|
1616
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
1617
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
1618
|
+
project: project,
|
1619
|
+
location: location,
|
1620
|
+
collection: collection,
|
1621
|
+
engine: engine,
|
1622
|
+
session: session,
|
1623
|
+
answer: answer,
|
1624
|
+
});
|
1625
|
+
}
|
1626
|
+
/**
|
1627
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
1628
|
+
*
|
1629
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1630
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1631
|
+
* @returns {string} A string representing the project.
|
1632
|
+
*/
|
1633
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1634
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
1635
|
+
}
|
1636
|
+
/**
|
1637
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
1638
|
+
*
|
1639
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1640
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1641
|
+
* @returns {string} A string representing the location.
|
1642
|
+
*/
|
1643
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1644
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
1645
|
+
}
|
1646
|
+
/**
|
1647
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
1648
|
+
*
|
1649
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1650
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1651
|
+
* @returns {string} A string representing the collection.
|
1652
|
+
*/
|
1653
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1654
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
1655
|
+
}
|
1656
|
+
/**
|
1657
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
1658
|
+
*
|
1659
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1660
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1661
|
+
* @returns {string} A string representing the engine.
|
1662
|
+
*/
|
1663
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1664
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
1665
|
+
}
|
1666
|
+
/**
|
1667
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
1668
|
+
*
|
1669
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1670
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1671
|
+
* @returns {string} A string representing the session.
|
1672
|
+
*/
|
1673
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1674
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
1675
|
+
}
|
1676
|
+
/**
|
1677
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
1678
|
+
*
|
1679
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1680
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1681
|
+
* @returns {string} A string representing the answer.
|
1682
|
+
*/
|
1683
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1684
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
1685
|
+
}
|
1358
1686
|
/**
|
1359
1687
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
1360
1688
|
*
|
@@ -1766,6 +2094,132 @@ class ChunkServiceClient {
|
|
1766
2094
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
1767
2095
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
1768
2096
|
}
|
2097
|
+
/**
|
2098
|
+
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
2099
|
+
*
|
2100
|
+
* @param {string} project
|
2101
|
+
* @param {string} location
|
2102
|
+
* @param {string} data_store
|
2103
|
+
* @param {string} session
|
2104
|
+
* @returns {string} Resource name string.
|
2105
|
+
*/
|
2106
|
+
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
2107
|
+
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
2108
|
+
project: project,
|
2109
|
+
location: location,
|
2110
|
+
data_store: dataStore,
|
2111
|
+
session: session,
|
2112
|
+
});
|
2113
|
+
}
|
2114
|
+
/**
|
2115
|
+
* Parse the project from ProjectLocationDataStoreSession resource.
|
2116
|
+
*
|
2117
|
+
* @param {string} projectLocationDataStoreSessionName
|
2118
|
+
* A fully-qualified path representing project_location_data_store_session resource.
|
2119
|
+
* @returns {string} A string representing the project.
|
2120
|
+
*/
|
2121
|
+
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2122
|
+
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
2123
|
+
}
|
2124
|
+
/**
|
2125
|
+
* Parse the location from ProjectLocationDataStoreSession resource.
|
2126
|
+
*
|
2127
|
+
* @param {string} projectLocationDataStoreSessionName
|
2128
|
+
* A fully-qualified path representing project_location_data_store_session resource.
|
2129
|
+
* @returns {string} A string representing the location.
|
2130
|
+
*/
|
2131
|
+
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2132
|
+
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
2133
|
+
}
|
2134
|
+
/**
|
2135
|
+
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
2136
|
+
*
|
2137
|
+
* @param {string} projectLocationDataStoreSessionName
|
2138
|
+
* A fully-qualified path representing project_location_data_store_session resource.
|
2139
|
+
* @returns {string} A string representing the data_store.
|
2140
|
+
*/
|
2141
|
+
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2142
|
+
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
2143
|
+
}
|
2144
|
+
/**
|
2145
|
+
* Parse the session from ProjectLocationDataStoreSession resource.
|
2146
|
+
*
|
2147
|
+
* @param {string} projectLocationDataStoreSessionName
|
2148
|
+
* A fully-qualified path representing project_location_data_store_session resource.
|
2149
|
+
* @returns {string} A string representing the session.
|
2150
|
+
*/
|
2151
|
+
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2152
|
+
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
2153
|
+
}
|
2154
|
+
/**
|
2155
|
+
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
2156
|
+
*
|
2157
|
+
* @param {string} project
|
2158
|
+
* @param {string} location
|
2159
|
+
* @param {string} data_store
|
2160
|
+
* @param {string} session
|
2161
|
+
* @param {string} answer
|
2162
|
+
* @returns {string} Resource name string.
|
2163
|
+
*/
|
2164
|
+
projectLocationDataStoreSessionAnswerPath(project, location, dataStore, session, answer) {
|
2165
|
+
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.render({
|
2166
|
+
project: project,
|
2167
|
+
location: location,
|
2168
|
+
data_store: dataStore,
|
2169
|
+
session: session,
|
2170
|
+
answer: answer,
|
2171
|
+
});
|
2172
|
+
}
|
2173
|
+
/**
|
2174
|
+
* Parse the project from ProjectLocationDataStoreSessionAnswer resource.
|
2175
|
+
*
|
2176
|
+
* @param {string} projectLocationDataStoreSessionAnswerName
|
2177
|
+
* A fully-qualified path representing project_location_data_store_session_answer resource.
|
2178
|
+
* @returns {string} A string representing the project.
|
2179
|
+
*/
|
2180
|
+
matchProjectFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2181
|
+
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).project;
|
2182
|
+
}
|
2183
|
+
/**
|
2184
|
+
* Parse the location from ProjectLocationDataStoreSessionAnswer resource.
|
2185
|
+
*
|
2186
|
+
* @param {string} projectLocationDataStoreSessionAnswerName
|
2187
|
+
* A fully-qualified path representing project_location_data_store_session_answer resource.
|
2188
|
+
* @returns {string} A string representing the location.
|
2189
|
+
*/
|
2190
|
+
matchLocationFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2191
|
+
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).location;
|
2192
|
+
}
|
2193
|
+
/**
|
2194
|
+
* Parse the data_store from ProjectLocationDataStoreSessionAnswer resource.
|
2195
|
+
*
|
2196
|
+
* @param {string} projectLocationDataStoreSessionAnswerName
|
2197
|
+
* A fully-qualified path representing project_location_data_store_session_answer resource.
|
2198
|
+
* @returns {string} A string representing the data_store.
|
2199
|
+
*/
|
2200
|
+
matchDataStoreFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2201
|
+
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).data_store;
|
2202
|
+
}
|
2203
|
+
/**
|
2204
|
+
* Parse the session from ProjectLocationDataStoreSessionAnswer resource.
|
2205
|
+
*
|
2206
|
+
* @param {string} projectLocationDataStoreSessionAnswerName
|
2207
|
+
* A fully-qualified path representing project_location_data_store_session_answer resource.
|
2208
|
+
* @returns {string} A string representing the session.
|
2209
|
+
*/
|
2210
|
+
matchSessionFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2211
|
+
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).session;
|
2212
|
+
}
|
2213
|
+
/**
|
2214
|
+
* Parse the answer from ProjectLocationDataStoreSessionAnswer resource.
|
2215
|
+
*
|
2216
|
+
* @param {string} projectLocationDataStoreSessionAnswerName
|
2217
|
+
* A fully-qualified path representing project_location_data_store_session_answer resource.
|
2218
|
+
* @returns {string} A string representing the answer.
|
2219
|
+
*/
|
2220
|
+
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2221
|
+
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
2222
|
+
}
|
1769
2223
|
/**
|
1770
2224
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
1771
2225
|
*
|