@google-cloud/discoveryengine 2.3.0 → 2.4.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/README.md +17 -0
- package/build/protos/google/cloud/discoveryengine/v1/assist_answer.proto +251 -0
- package/build/protos/google/cloud/discoveryengine/v1/assistant.proto +44 -0
- package/build/protos/google/cloud/discoveryengine/v1/assistant_service.proto +217 -0
- package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +15 -3
- package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +8 -14
- package/build/protos/google/cloud/discoveryengine/v1/session.proto +21 -8
- package/build/protos/google/cloud/discoveryengine/v1/session_service.proto +128 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +15 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +30 -9
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +8 -14
- package/build/protos/google/cloud/discoveryengine/v1alpha/session.proto +238 -8
- package/build/protos/google/cloud/discoveryengine/v1alpha/session_service.proto +201 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +26 -5
- package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +8 -14
- package/build/protos/google/cloud/discoveryengine/v1beta/session.proto +40 -8
- package/build/protos/google/cloud/discoveryengine/v1beta/session_service.proto +128 -0
- package/build/protos/protos.d.ts +15057 -10636
- package/build/protos/protos.js +45523 -34174
- package/build/protos/protos.json +4835 -3203
- package/build/src/index.d.ts +7 -1
- package/build/src/index.js +6 -2
- package/build/src/v1/assistant_service_client.d.ts +2058 -0
- package/build/src/v1/assistant_service_client.js +2957 -0
- package/build/src/v1/assistant_service_client_config.json +43 -0
- package/build/src/v1/assistant_service_proto_list.json +48 -0
- package/build/src/v1/cmek_config_service_client.d.ts +255 -144
- package/build/src/v1/cmek_config_service_client.js +348 -196
- package/build/src/v1/cmek_config_service_proto_list.json +4 -0
- package/build/src/v1/completion_service_client.d.ts +255 -144
- package/build/src/v1/completion_service_client.js +348 -196
- package/build/src/v1/completion_service_proto_list.json +4 -0
- package/build/src/v1/control_service_client.d.ts +255 -144
- package/build/src/v1/control_service_client.js +348 -196
- package/build/src/v1/control_service_proto_list.json +4 -0
- package/build/src/v1/conversational_search_service_client.d.ts +302 -155
- package/build/src/v1/conversational_search_service_client.js +380 -204
- package/build/src/v1/conversational_search_service_proto_list.json +4 -0
- package/build/src/v1/data_store_service_client.d.ts +255 -144
- package/build/src/v1/data_store_service_client.js +348 -196
- package/build/src/v1/data_store_service_proto_list.json +4 -0
- package/build/src/v1/document_service_client.d.ts +255 -144
- package/build/src/v1/document_service_client.js +348 -196
- package/build/src/v1/document_service_proto_list.json +4 -0
- package/build/src/v1/engine_service_client.d.ts +255 -144
- package/build/src/v1/engine_service_client.js +348 -196
- package/build/src/v1/engine_service_proto_list.json +4 -0
- package/build/src/v1/gapic_metadata.json +86 -0
- package/build/src/v1/grounded_generation_service_client.d.ts +255 -144
- package/build/src/v1/grounded_generation_service_client.js +348 -196
- package/build/src/v1/grounded_generation_service_proto_list.json +4 -0
- package/build/src/v1/identity_mapping_store_service_client.d.ts +255 -144
- package/build/src/v1/identity_mapping_store_service_client.js +348 -196
- package/build/src/v1/identity_mapping_store_service_proto_list.json +4 -0
- package/build/src/v1/index.d.ts +2 -0
- package/build/src/v1/index.js +5 -1
- package/build/src/v1/project_service_client.d.ts +255 -144
- package/build/src/v1/project_service_client.js +348 -196
- package/build/src/v1/project_service_proto_list.json +4 -0
- package/build/src/v1/rank_service_client.d.ts +255 -144
- package/build/src/v1/rank_service_client.js +348 -196
- package/build/src/v1/rank_service_proto_list.json +4 -0
- package/build/src/v1/recommendation_service_client.d.ts +255 -144
- package/build/src/v1/recommendation_service_client.js +348 -196
- package/build/src/v1/recommendation_service_proto_list.json +4 -0
- package/build/src/v1/schema_service_client.d.ts +255 -144
- package/build/src/v1/schema_service_client.js +348 -196
- package/build/src/v1/schema_service_proto_list.json +4 -0
- package/build/src/v1/search_service_client.d.ts +303 -228
- package/build/src/v1/search_service_client.js +380 -252
- package/build/src/v1/search_service_proto_list.json +4 -0
- package/build/src/v1/search_tuning_service_client.d.ts +255 -144
- package/build/src/v1/search_tuning_service_client.js +348 -196
- package/build/src/v1/search_tuning_service_proto_list.json +4 -0
- package/build/src/v1/serving_config_service_client.d.ts +255 -144
- package/build/src/v1/serving_config_service_client.js +348 -196
- package/build/src/v1/serving_config_service_proto_list.json +4 -0
- package/build/src/v1/session_service_client.d.ts +2326 -0
- package/build/src/v1/session_service_client.js +3218 -0
- package/build/src/v1/session_service_client_config.json +63 -0
- package/build/src/v1/session_service_proto_list.json +48 -0
- package/build/src/v1/site_search_engine_service_client.d.ts +255 -144
- package/build/src/v1/site_search_engine_service_client.js +348 -196
- package/build/src/v1/site_search_engine_service_proto_list.json +4 -0
- package/build/src/v1/user_event_service_client.d.ts +255 -144
- package/build/src/v1/user_event_service_client.js +348 -196
- package/build/src/v1/user_event_service_proto_list.json +4 -0
- package/build/src/v1/user_license_service_client.d.ts +255 -144
- package/build/src/v1/user_license_service_client.js +348 -196
- package/build/src/v1/user_license_service_proto_list.json +4 -0
- package/build/src/v1alpha/acl_config_service_client.d.ts +144 -144
- package/build/src/v1alpha/acl_config_service_client.js +196 -196
- package/build/src/v1alpha/acl_config_service_proto_list.json +1 -0
- package/build/src/v1alpha/chunk_service_client.d.ts +144 -144
- package/build/src/v1alpha/chunk_service_client.js +196 -196
- package/build/src/v1alpha/chunk_service_proto_list.json +1 -0
- package/build/src/v1alpha/completion_service_client.d.ts +144 -144
- package/build/src/v1alpha/completion_service_client.js +196 -196
- package/build/src/v1alpha/completion_service_proto_list.json +1 -0
- package/build/src/v1alpha/control_service_client.d.ts +144 -144
- package/build/src/v1alpha/control_service_client.js +196 -196
- package/build/src/v1alpha/control_service_proto_list.json +1 -0
- package/build/src/v1alpha/conversational_search_service_client.d.ts +221 -167
- package/build/src/v1alpha/conversational_search_service_client.js +244 -210
- package/build/src/v1alpha/conversational_search_service_proto_list.json +1 -0
- package/build/src/v1alpha/data_store_service_client.d.ts +144 -144
- package/build/src/v1alpha/data_store_service_client.js +196 -196
- package/build/src/v1alpha/data_store_service_proto_list.json +1 -0
- package/build/src/v1alpha/document_service_client.d.ts +144 -144
- package/build/src/v1alpha/document_service_client.js +196 -196
- package/build/src/v1alpha/document_service_proto_list.json +1 -0
- package/build/src/v1alpha/engine_service_client.d.ts +144 -144
- package/build/src/v1alpha/engine_service_client.js +196 -196
- package/build/src/v1alpha/engine_service_proto_list.json +1 -0
- package/build/src/v1alpha/estimate_billing_service_client.d.ts +144 -144
- package/build/src/v1alpha/estimate_billing_service_client.js +196 -196
- package/build/src/v1alpha/estimate_billing_service_proto_list.json +1 -0
- package/build/src/v1alpha/evaluation_service_client.d.ts +144 -144
- package/build/src/v1alpha/evaluation_service_client.js +196 -196
- package/build/src/v1alpha/evaluation_service_proto_list.json +1 -0
- package/build/src/v1alpha/gapic_metadata.json +82 -0
- package/build/src/v1alpha/grounded_generation_service_client.d.ts +144 -144
- package/build/src/v1alpha/grounded_generation_service_client.js +196 -196
- package/build/src/v1alpha/grounded_generation_service_proto_list.json +1 -0
- package/build/src/v1alpha/index.d.ts +1 -0
- package/build/src/v1alpha/index.js +3 -1
- package/build/src/v1alpha/project_service_client.d.ts +144 -144
- package/build/src/v1alpha/project_service_client.js +196 -196
- package/build/src/v1alpha/project_service_proto_list.json +1 -0
- package/build/src/v1alpha/rank_service_client.d.ts +144 -144
- package/build/src/v1alpha/rank_service_client.js +196 -196
- package/build/src/v1alpha/rank_service_proto_list.json +1 -0
- package/build/src/v1alpha/recommendation_service_client.d.ts +144 -144
- package/build/src/v1alpha/recommendation_service_client.js +196 -196
- package/build/src/v1alpha/recommendation_service_proto_list.json +1 -0
- package/build/src/v1alpha/sample_query_service_client.d.ts +144 -144
- package/build/src/v1alpha/sample_query_service_client.js +196 -196
- package/build/src/v1alpha/sample_query_service_proto_list.json +1 -0
- package/build/src/v1alpha/sample_query_set_service_client.d.ts +144 -144
- package/build/src/v1alpha/sample_query_set_service_client.js +196 -196
- package/build/src/v1alpha/sample_query_set_service_proto_list.json +1 -0
- package/build/src/v1alpha/schema_service_client.d.ts +144 -144
- package/build/src/v1alpha/schema_service_client.js +196 -196
- package/build/src/v1alpha/schema_service_proto_list.json +1 -0
- package/build/src/v1alpha/search_service_client.d.ts +168 -186
- package/build/src/v1alpha/search_service_client.js +212 -224
- package/build/src/v1alpha/search_service_proto_list.json +1 -0
- package/build/src/v1alpha/search_tuning_service_client.d.ts +144 -144
- package/build/src/v1alpha/search_tuning_service_client.js +196 -196
- package/build/src/v1alpha/search_tuning_service_proto_list.json +1 -0
- package/build/src/v1alpha/serving_config_service_client.d.ts +144 -144
- package/build/src/v1alpha/serving_config_service_client.js +196 -196
- package/build/src/v1alpha/serving_config_service_proto_list.json +1 -0
- package/build/src/v1alpha/session_service_client.d.ts +2331 -0
- package/build/src/v1alpha/session_service_client.js +3161 -0
- package/build/src/v1alpha/session_service_client_config.json +68 -0
- package/build/src/v1alpha/session_service_proto_list.json +49 -0
- package/build/src/v1alpha/site_search_engine_service_client.d.ts +144 -144
- package/build/src/v1alpha/site_search_engine_service_client.js +196 -196
- package/build/src/v1alpha/site_search_engine_service_proto_list.json +1 -0
- package/build/src/v1alpha/user_event_service_client.d.ts +144 -144
- package/build/src/v1alpha/user_event_service_client.js +196 -196
- package/build/src/v1alpha/user_event_service_proto_list.json +1 -0
- package/build/src/v1beta/completion_service_client.d.ts +144 -144
- package/build/src/v1beta/completion_service_client.js +196 -196
- package/build/src/v1beta/completion_service_proto_list.json +1 -0
- package/build/src/v1beta/control_service_client.d.ts +144 -144
- package/build/src/v1beta/control_service_client.js +196 -196
- package/build/src/v1beta/control_service_proto_list.json +1 -0
- package/build/src/v1beta/conversational_search_service_client.d.ts +215 -161
- package/build/src/v1beta/conversational_search_service_client.js +242 -208
- package/build/src/v1beta/conversational_search_service_proto_list.json +1 -0
- package/build/src/v1beta/data_store_service_client.d.ts +144 -144
- package/build/src/v1beta/data_store_service_client.js +196 -196
- package/build/src/v1beta/data_store_service_proto_list.json +1 -0
- package/build/src/v1beta/document_service_client.d.ts +144 -144
- package/build/src/v1beta/document_service_client.js +196 -196
- package/build/src/v1beta/document_service_proto_list.json +1 -0
- package/build/src/v1beta/engine_service_client.d.ts +144 -144
- package/build/src/v1beta/engine_service_client.js +196 -196
- package/build/src/v1beta/engine_service_proto_list.json +1 -0
- package/build/src/v1beta/evaluation_service_client.d.ts +144 -144
- package/build/src/v1beta/evaluation_service_client.js +196 -196
- package/build/src/v1beta/evaluation_service_proto_list.json +1 -0
- package/build/src/v1beta/gapic_metadata.json +68 -0
- package/build/src/v1beta/grounded_generation_service_client.d.ts +144 -144
- package/build/src/v1beta/grounded_generation_service_client.js +196 -196
- package/build/src/v1beta/grounded_generation_service_proto_list.json +1 -0
- package/build/src/v1beta/index.d.ts +1 -0
- package/build/src/v1beta/index.js +3 -1
- package/build/src/v1beta/project_service_client.d.ts +144 -144
- package/build/src/v1beta/project_service_client.js +196 -196
- package/build/src/v1beta/project_service_proto_list.json +1 -0
- package/build/src/v1beta/rank_service_client.d.ts +144 -144
- package/build/src/v1beta/rank_service_client.js +196 -196
- package/build/src/v1beta/rank_service_proto_list.json +1 -0
- package/build/src/v1beta/recommendation_service_client.d.ts +144 -144
- package/build/src/v1beta/recommendation_service_client.js +196 -196
- package/build/src/v1beta/recommendation_service_proto_list.json +1 -0
- package/build/src/v1beta/sample_query_service_client.d.ts +144 -144
- package/build/src/v1beta/sample_query_service_client.js +196 -196
- package/build/src/v1beta/sample_query_service_proto_list.json +1 -0
- package/build/src/v1beta/sample_query_set_service_client.d.ts +144 -144
- package/build/src/v1beta/sample_query_set_service_client.js +196 -196
- package/build/src/v1beta/sample_query_set_service_proto_list.json +1 -0
- package/build/src/v1beta/schema_service_client.d.ts +144 -144
- package/build/src/v1beta/schema_service_client.js +196 -196
- package/build/src/v1beta/schema_service_proto_list.json +1 -0
- package/build/src/v1beta/search_service_client.d.ts +192 -228
- package/build/src/v1beta/search_service_client.js +228 -252
- package/build/src/v1beta/search_service_proto_list.json +1 -0
- package/build/src/v1beta/search_tuning_service_client.d.ts +144 -144
- package/build/src/v1beta/search_tuning_service_client.js +196 -196
- package/build/src/v1beta/search_tuning_service_proto_list.json +1 -0
- package/build/src/v1beta/serving_config_service_client.d.ts +144 -144
- package/build/src/v1beta/serving_config_service_client.js +196 -196
- package/build/src/v1beta/serving_config_service_proto_list.json +1 -0
- package/build/src/v1beta/session_service_client.d.ts +2266 -0
- package/build/src/v1beta/session_service_client.js +3136 -0
- package/build/src/v1beta/session_service_client_config.json +63 -0
- package/build/src/v1beta/session_service_proto_list.json +45 -0
- package/build/src/v1beta/site_search_engine_service_client.d.ts +144 -144
- package/build/src/v1beta/site_search_engine_service_client.js +196 -196
- package/build/src/v1beta/site_search_engine_service_proto_list.json +1 -0
- package/build/src/v1beta/user_event_service_client.d.ts +144 -144
- package/build/src/v1beta/user_event_service_client.js +196 -196
- package/build/src/v1beta/user_event_service_proto_list.json +1 -0
- package/package.json +1 -1
@@ -178,16 +178,16 @@ class DataStoreServiceClient {
|
|
178
178
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
179
179
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
180
180
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
181
|
-
projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
182
181
|
projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
182
|
+
projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
183
183
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
184
184
|
projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
185
185
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
186
186
|
projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
|
187
187
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
188
188
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
189
|
-
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
190
189
|
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
190
|
+
projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
191
191
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
192
192
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
193
193
|
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
@@ -197,8 +197,8 @@ class DataStoreServiceClient {
|
|
197
197
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
198
198
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
199
199
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
200
|
-
projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
201
200
|
projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
201
|
+
projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
202
202
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
203
203
|
projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
204
204
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
@@ -1750,154 +1750,154 @@ class DataStoreServiceClient {
|
|
1750
1750
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1751
1751
|
}
|
1752
1752
|
/**
|
1753
|
-
* Return a fully-qualified
|
1753
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1754
1754
|
*
|
1755
1755
|
* @param {string} project
|
1756
1756
|
* @param {string} location
|
1757
1757
|
* @param {string} collection
|
1758
1758
|
* @param {string} data_store
|
1759
1759
|
* @param {string} session
|
1760
|
+
* @param {string} answer
|
1760
1761
|
* @returns {string} Resource name string.
|
1761
1762
|
*/
|
1762
|
-
|
1763
|
-
return this.pathTemplates.
|
1763
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1764
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1764
1765
|
project: project,
|
1765
1766
|
location: location,
|
1766
1767
|
collection: collection,
|
1767
1768
|
data_store: dataStore,
|
1768
1769
|
session: session,
|
1770
|
+
answer: answer,
|
1769
1771
|
});
|
1770
1772
|
}
|
1771
1773
|
/**
|
1772
|
-
* Parse the project from
|
1774
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1773
1775
|
*
|
1774
|
-
* @param {string}
|
1775
|
-
* A fully-qualified path representing
|
1776
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1777
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1776
1778
|
* @returns {string} A string representing the project.
|
1777
1779
|
*/
|
1778
|
-
|
1779
|
-
return this.pathTemplates.
|
1780
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1781
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1780
1782
|
}
|
1781
1783
|
/**
|
1782
|
-
* Parse the location from
|
1784
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1783
1785
|
*
|
1784
|
-
* @param {string}
|
1785
|
-
* A fully-qualified path representing
|
1786
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1787
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1786
1788
|
* @returns {string} A string representing the location.
|
1787
1789
|
*/
|
1788
|
-
|
1789
|
-
return this.pathTemplates.
|
1790
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1791
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1790
1792
|
}
|
1791
1793
|
/**
|
1792
|
-
* Parse the collection from
|
1794
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1793
1795
|
*
|
1794
|
-
* @param {string}
|
1795
|
-
* A fully-qualified path representing
|
1796
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1797
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1796
1798
|
* @returns {string} A string representing the collection.
|
1797
1799
|
*/
|
1798
|
-
|
1799
|
-
return this.pathTemplates.
|
1800
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1801
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1800
1802
|
}
|
1801
1803
|
/**
|
1802
|
-
* Parse the data_store from
|
1804
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1803
1805
|
*
|
1804
|
-
* @param {string}
|
1805
|
-
* A fully-qualified path representing
|
1806
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1807
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1806
1808
|
* @returns {string} A string representing the data_store.
|
1807
1809
|
*/
|
1808
|
-
|
1809
|
-
return this.pathTemplates.
|
1810
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1811
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1810
1812
|
}
|
1811
1813
|
/**
|
1812
|
-
* Parse the session from
|
1814
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1813
1815
|
*
|
1814
|
-
* @param {string}
|
1815
|
-
* A fully-qualified path representing
|
1816
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1817
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1816
1818
|
* @returns {string} A string representing the session.
|
1817
1819
|
*/
|
1818
|
-
|
1819
|
-
return this.pathTemplates.
|
1820
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1821
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1820
1822
|
}
|
1821
1823
|
/**
|
1822
|
-
*
|
1824
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1825
|
+
*
|
1826
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1827
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1828
|
+
* @returns {string} A string representing the answer.
|
1829
|
+
*/
|
1830
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1831
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1832
|
+
}
|
1833
|
+
/**
|
1834
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
1823
1835
|
*
|
1824
1836
|
* @param {string} project
|
1825
1837
|
* @param {string} location
|
1826
1838
|
* @param {string} collection
|
1827
1839
|
* @param {string} data_store
|
1828
1840
|
* @param {string} session
|
1829
|
-
* @param {string} answer
|
1830
1841
|
* @returns {string} Resource name string.
|
1831
1842
|
*/
|
1832
|
-
|
1833
|
-
return this.pathTemplates.
|
1843
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
1844
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
1834
1845
|
project: project,
|
1835
1846
|
location: location,
|
1836
1847
|
collection: collection,
|
1837
1848
|
data_store: dataStore,
|
1838
1849
|
session: session,
|
1839
|
-
answer: answer,
|
1840
1850
|
});
|
1841
1851
|
}
|
1842
1852
|
/**
|
1843
|
-
* Parse the project from
|
1853
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
1844
1854
|
*
|
1845
|
-
* @param {string}
|
1846
|
-
* A fully-qualified path representing
|
1855
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1856
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1847
1857
|
* @returns {string} A string representing the project.
|
1848
1858
|
*/
|
1849
|
-
|
1850
|
-
return this.pathTemplates.
|
1859
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1860
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
1851
1861
|
}
|
1852
1862
|
/**
|
1853
|
-
* Parse the location from
|
1863
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessions resource.
|
1854
1864
|
*
|
1855
|
-
* @param {string}
|
1856
|
-
* A fully-qualified path representing
|
1865
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1866
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1857
1867
|
* @returns {string} A string representing the location.
|
1858
1868
|
*/
|
1859
|
-
|
1860
|
-
return this.pathTemplates.
|
1869
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1870
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
1861
1871
|
}
|
1862
1872
|
/**
|
1863
|
-
* Parse the collection from
|
1873
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
|
1864
1874
|
*
|
1865
|
-
* @param {string}
|
1866
|
-
* A fully-qualified path representing
|
1875
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1876
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1867
1877
|
* @returns {string} A string representing the collection.
|
1868
1878
|
*/
|
1869
|
-
|
1870
|
-
return this.pathTemplates.
|
1879
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1880
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
1871
1881
|
}
|
1872
1882
|
/**
|
1873
|
-
* Parse the data_store from
|
1883
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
|
1874
1884
|
*
|
1875
|
-
* @param {string}
|
1876
|
-
* A fully-qualified path representing
|
1885
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1886
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1877
1887
|
* @returns {string} A string representing the data_store.
|
1878
1888
|
*/
|
1879
|
-
|
1880
|
-
return this.pathTemplates.
|
1889
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1890
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
1881
1891
|
}
|
1882
1892
|
/**
|
1883
|
-
* Parse the session from
|
1893
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessions resource.
|
1884
1894
|
*
|
1885
|
-
* @param {string}
|
1886
|
-
* A fully-qualified path representing
|
1895
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1896
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1887
1897
|
* @returns {string} A string representing the session.
|
1888
1898
|
*/
|
1889
|
-
|
1890
|
-
return this.pathTemplates.
|
1891
|
-
}
|
1892
|
-
/**
|
1893
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1894
|
-
*
|
1895
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1896
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1897
|
-
* @returns {string} A string representing the answer.
|
1898
|
-
*/
|
1899
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1900
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1899
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1900
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
1901
1901
|
}
|
1902
1902
|
/**
|
1903
1903
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -2302,154 +2302,154 @@ class DataStoreServiceClient {
|
|
2302
2302
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
2303
2303
|
}
|
2304
2304
|
/**
|
2305
|
-
* Return a fully-qualified
|
2305
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
2306
2306
|
*
|
2307
2307
|
* @param {string} project
|
2308
2308
|
* @param {string} location
|
2309
2309
|
* @param {string} collection
|
2310
2310
|
* @param {string} engine
|
2311
2311
|
* @param {string} session
|
2312
|
+
* @param {string} answer
|
2312
2313
|
* @returns {string} Resource name string.
|
2313
2314
|
*/
|
2314
|
-
|
2315
|
-
return this.pathTemplates.
|
2315
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
2316
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
2316
2317
|
project: project,
|
2317
2318
|
location: location,
|
2318
2319
|
collection: collection,
|
2319
2320
|
engine: engine,
|
2320
2321
|
session: session,
|
2322
|
+
answer: answer,
|
2321
2323
|
});
|
2322
2324
|
}
|
2323
2325
|
/**
|
2324
|
-
* Parse the project from
|
2326
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
2325
2327
|
*
|
2326
|
-
* @param {string}
|
2327
|
-
* A fully-qualified path representing
|
2328
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2329
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2328
2330
|
* @returns {string} A string representing the project.
|
2329
2331
|
*/
|
2330
|
-
|
2331
|
-
return this.pathTemplates.
|
2332
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2333
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
2332
2334
|
}
|
2333
2335
|
/**
|
2334
|
-
* Parse the location from
|
2336
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
2335
2337
|
*
|
2336
|
-
* @param {string}
|
2337
|
-
* A fully-qualified path representing
|
2338
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2339
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2338
2340
|
* @returns {string} A string representing the location.
|
2339
2341
|
*/
|
2340
|
-
|
2341
|
-
return this.pathTemplates.
|
2342
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2343
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
2342
2344
|
}
|
2343
2345
|
/**
|
2344
|
-
* Parse the collection from
|
2346
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
2345
2347
|
*
|
2346
|
-
* @param {string}
|
2347
|
-
* A fully-qualified path representing
|
2348
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2349
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2348
2350
|
* @returns {string} A string representing the collection.
|
2349
2351
|
*/
|
2350
|
-
|
2351
|
-
return this.pathTemplates.
|
2352
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2353
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
2352
2354
|
}
|
2353
2355
|
/**
|
2354
|
-
* Parse the engine from
|
2356
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
2355
2357
|
*
|
2356
|
-
* @param {string}
|
2357
|
-
* A fully-qualified path representing
|
2358
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2359
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2358
2360
|
* @returns {string} A string representing the engine.
|
2359
2361
|
*/
|
2360
|
-
|
2361
|
-
return this.pathTemplates.
|
2362
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2363
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
2362
2364
|
}
|
2363
2365
|
/**
|
2364
|
-
* Parse the session from
|
2366
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
2365
2367
|
*
|
2366
|
-
* @param {string}
|
2367
|
-
* A fully-qualified path representing
|
2368
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2369
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2368
2370
|
* @returns {string} A string representing the session.
|
2369
2371
|
*/
|
2370
|
-
|
2371
|
-
return this.pathTemplates.
|
2372
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2373
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
2372
2374
|
}
|
2373
2375
|
/**
|
2374
|
-
*
|
2376
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2377
|
+
*
|
2378
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2379
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2380
|
+
* @returns {string} A string representing the answer.
|
2381
|
+
*/
|
2382
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2383
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2384
|
+
}
|
2385
|
+
/**
|
2386
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
2375
2387
|
*
|
2376
2388
|
* @param {string} project
|
2377
2389
|
* @param {string} location
|
2378
2390
|
* @param {string} collection
|
2379
2391
|
* @param {string} engine
|
2380
2392
|
* @param {string} session
|
2381
|
-
* @param {string} answer
|
2382
2393
|
* @returns {string} Resource name string.
|
2383
2394
|
*/
|
2384
|
-
|
2385
|
-
return this.pathTemplates.
|
2395
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
2396
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
2386
2397
|
project: project,
|
2387
2398
|
location: location,
|
2388
2399
|
collection: collection,
|
2389
2400
|
engine: engine,
|
2390
2401
|
session: session,
|
2391
|
-
answer: answer,
|
2392
2402
|
});
|
2393
2403
|
}
|
2394
2404
|
/**
|
2395
|
-
* Parse the project from
|
2405
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
2396
2406
|
*
|
2397
|
-
* @param {string}
|
2398
|
-
* A fully-qualified path representing
|
2407
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2408
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2399
2409
|
* @returns {string} A string representing the project.
|
2400
2410
|
*/
|
2401
|
-
|
2402
|
-
return this.pathTemplates.
|
2411
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2412
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
2403
2413
|
}
|
2404
2414
|
/**
|
2405
|
-
* Parse the location from
|
2415
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
2406
2416
|
*
|
2407
|
-
* @param {string}
|
2408
|
-
* A fully-qualified path representing
|
2417
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2418
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2409
2419
|
* @returns {string} A string representing the location.
|
2410
2420
|
*/
|
2411
|
-
|
2412
|
-
return this.pathTemplates.
|
2421
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2422
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
2413
2423
|
}
|
2414
2424
|
/**
|
2415
|
-
* Parse the collection from
|
2425
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
2416
2426
|
*
|
2417
|
-
* @param {string}
|
2418
|
-
* A fully-qualified path representing
|
2427
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2428
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2419
2429
|
* @returns {string} A string representing the collection.
|
2420
2430
|
*/
|
2421
|
-
|
2422
|
-
return this.pathTemplates.
|
2431
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2432
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
2423
2433
|
}
|
2424
2434
|
/**
|
2425
|
-
* Parse the engine from
|
2435
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
2426
2436
|
*
|
2427
|
-
* @param {string}
|
2428
|
-
* A fully-qualified path representing
|
2437
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2438
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2429
2439
|
* @returns {string} A string representing the engine.
|
2430
2440
|
*/
|
2431
|
-
|
2432
|
-
return this.pathTemplates.
|
2441
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2442
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
2433
2443
|
}
|
2434
2444
|
/**
|
2435
|
-
* Parse the session from
|
2445
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
2436
2446
|
*
|
2437
|
-
* @param {string}
|
2438
|
-
* A fully-qualified path representing
|
2447
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2448
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2439
2449
|
* @returns {string} A string representing the session.
|
2440
2450
|
*/
|
2441
|
-
|
2442
|
-
return this.pathTemplates.
|
2443
|
-
}
|
2444
|
-
/**
|
2445
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2446
|
-
*
|
2447
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2448
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2449
|
-
* @returns {string} A string representing the answer.
|
2450
|
-
*/
|
2451
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2452
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2451
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2452
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
2453
2453
|
}
|
2454
2454
|
/**
|
2455
2455
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -2976,63 +2976,6 @@ class DataStoreServiceClient {
|
|
2976
2976
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
2977
2977
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
2978
2978
|
}
|
2979
|
-
/**
|
2980
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
2981
|
-
*
|
2982
|
-
* @param {string} project
|
2983
|
-
* @param {string} location
|
2984
|
-
* @param {string} data_store
|
2985
|
-
* @param {string} session
|
2986
|
-
* @returns {string} Resource name string.
|
2987
|
-
*/
|
2988
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
2989
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
2990
|
-
project: project,
|
2991
|
-
location: location,
|
2992
|
-
data_store: dataStore,
|
2993
|
-
session: session,
|
2994
|
-
});
|
2995
|
-
}
|
2996
|
-
/**
|
2997
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
2998
|
-
*
|
2999
|
-
* @param {string} projectLocationDataStoreSessionName
|
3000
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3001
|
-
* @returns {string} A string representing the project.
|
3002
|
-
*/
|
3003
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3004
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
3005
|
-
}
|
3006
|
-
/**
|
3007
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
3008
|
-
*
|
3009
|
-
* @param {string} projectLocationDataStoreSessionName
|
3010
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3011
|
-
* @returns {string} A string representing the location.
|
3012
|
-
*/
|
3013
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3014
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
3015
|
-
}
|
3016
|
-
/**
|
3017
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
3018
|
-
*
|
3019
|
-
* @param {string} projectLocationDataStoreSessionName
|
3020
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3021
|
-
* @returns {string} A string representing the data_store.
|
3022
|
-
*/
|
3023
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3024
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
3025
|
-
}
|
3026
|
-
/**
|
3027
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
3028
|
-
*
|
3029
|
-
* @param {string} projectLocationDataStoreSessionName
|
3030
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3031
|
-
* @returns {string} A string representing the session.
|
3032
|
-
*/
|
3033
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3034
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
3035
|
-
}
|
3036
2979
|
/**
|
3037
2980
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
3038
2981
|
*
|
@@ -3102,6 +3045,63 @@ class DataStoreServiceClient {
|
|
3102
3045
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
3103
3046
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
3104
3047
|
}
|
3048
|
+
/**
|
3049
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
3050
|
+
*
|
3051
|
+
* @param {string} project
|
3052
|
+
* @param {string} location
|
3053
|
+
* @param {string} data_store
|
3054
|
+
* @param {string} session
|
3055
|
+
* @returns {string} Resource name string.
|
3056
|
+
*/
|
3057
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
3058
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
3059
|
+
project: project,
|
3060
|
+
location: location,
|
3061
|
+
data_store: dataStore,
|
3062
|
+
session: session,
|
3063
|
+
});
|
3064
|
+
}
|
3065
|
+
/**
|
3066
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
3067
|
+
*
|
3068
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3069
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3070
|
+
* @returns {string} A string representing the project.
|
3071
|
+
*/
|
3072
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3073
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
3074
|
+
}
|
3075
|
+
/**
|
3076
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
3077
|
+
*
|
3078
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3079
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3080
|
+
* @returns {string} A string representing the location.
|
3081
|
+
*/
|
3082
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3083
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
3084
|
+
}
|
3085
|
+
/**
|
3086
|
+
* Parse the data_store from ProjectLocationDataStoreSessions resource.
|
3087
|
+
*
|
3088
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3089
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3090
|
+
* @returns {string} A string representing the data_store.
|
3091
|
+
*/
|
3092
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3093
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
3094
|
+
}
|
3095
|
+
/**
|
3096
|
+
* Parse the session from ProjectLocationDataStoreSessions resource.
|
3097
|
+
*
|
3098
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3099
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3100
|
+
* @returns {string} A string representing the session.
|
3101
|
+
*/
|
3102
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3103
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
3104
|
+
}
|
3105
3105
|
/**
|
3106
3106
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
3107
3107
|
*
|
@@ -37,6 +37,7 @@
|
|
37
37
|
"../../protos/google/cloud/discoveryengine/v1beta/serving_config.proto",
|
38
38
|
"../../protos/google/cloud/discoveryengine/v1beta/serving_config_service.proto",
|
39
39
|
"../../protos/google/cloud/discoveryengine/v1beta/session.proto",
|
40
|
+
"../../protos/google/cloud/discoveryengine/v1beta/session_service.proto",
|
40
41
|
"../../protos/google/cloud/discoveryengine/v1beta/site_search_engine.proto",
|
41
42
|
"../../protos/google/cloud/discoveryengine/v1beta/site_search_engine_service.proto",
|
42
43
|
"../../protos/google/cloud/discoveryengine/v1beta/user_event.proto",
|