@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
@@ -177,16 +177,16 @@ class SampleQueryServiceClient {
|
|
177
177
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
178
178
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
179
179
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
180
|
-
projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
181
180
|
projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
181
|
+
projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
182
182
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
183
183
|
projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
184
184
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
185
185
|
projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
|
186
186
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
187
187
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
188
|
-
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
189
188
|
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
189
|
+
projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
190
190
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
191
191
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
192
192
|
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
@@ -196,8 +196,8 @@ class SampleQueryServiceClient {
|
|
196
196
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
197
197
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
198
198
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
199
|
-
projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
200
199
|
projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
200
|
+
projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
201
201
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
202
202
|
projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
203
203
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
@@ -1719,154 +1719,154 @@ class SampleQueryServiceClient {
|
|
1719
1719
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1720
1720
|
}
|
1721
1721
|
/**
|
1722
|
-
* Return a fully-qualified
|
1722
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1723
1723
|
*
|
1724
1724
|
* @param {string} project
|
1725
1725
|
* @param {string} location
|
1726
1726
|
* @param {string} collection
|
1727
1727
|
* @param {string} data_store
|
1728
1728
|
* @param {string} session
|
1729
|
+
* @param {string} answer
|
1729
1730
|
* @returns {string} Resource name string.
|
1730
1731
|
*/
|
1731
|
-
|
1732
|
-
return this.pathTemplates.
|
1732
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1733
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1733
1734
|
project: project,
|
1734
1735
|
location: location,
|
1735
1736
|
collection: collection,
|
1736
1737
|
data_store: dataStore,
|
1737
1738
|
session: session,
|
1739
|
+
answer: answer,
|
1738
1740
|
});
|
1739
1741
|
}
|
1740
1742
|
/**
|
1741
|
-
* Parse the project from
|
1743
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1742
1744
|
*
|
1743
|
-
* @param {string}
|
1744
|
-
* A fully-qualified path representing
|
1745
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1746
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1745
1747
|
* @returns {string} A string representing the project.
|
1746
1748
|
*/
|
1747
|
-
|
1748
|
-
return this.pathTemplates.
|
1749
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1750
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1749
1751
|
}
|
1750
1752
|
/**
|
1751
|
-
* Parse the location from
|
1753
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1752
1754
|
*
|
1753
|
-
* @param {string}
|
1754
|
-
* A fully-qualified path representing
|
1755
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1756
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1755
1757
|
* @returns {string} A string representing the location.
|
1756
1758
|
*/
|
1757
|
-
|
1758
|
-
return this.pathTemplates.
|
1759
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1760
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1759
1761
|
}
|
1760
1762
|
/**
|
1761
|
-
* Parse the collection from
|
1763
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1762
1764
|
*
|
1763
|
-
* @param {string}
|
1764
|
-
* A fully-qualified path representing
|
1765
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1766
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1765
1767
|
* @returns {string} A string representing the collection.
|
1766
1768
|
*/
|
1767
|
-
|
1768
|
-
return this.pathTemplates.
|
1769
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1770
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1769
1771
|
}
|
1770
1772
|
/**
|
1771
|
-
* Parse the data_store from
|
1773
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1772
1774
|
*
|
1773
|
-
* @param {string}
|
1774
|
-
* A fully-qualified path representing
|
1775
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1776
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1775
1777
|
* @returns {string} A string representing the data_store.
|
1776
1778
|
*/
|
1777
|
-
|
1778
|
-
return this.pathTemplates.
|
1779
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1780
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1779
1781
|
}
|
1780
1782
|
/**
|
1781
|
-
* Parse the session from
|
1783
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1782
1784
|
*
|
1783
|
-
* @param {string}
|
1784
|
-
* A fully-qualified path representing
|
1785
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1786
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1785
1787
|
* @returns {string} A string representing the session.
|
1786
1788
|
*/
|
1787
|
-
|
1788
|
-
return this.pathTemplates.
|
1789
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1790
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1789
1791
|
}
|
1790
1792
|
/**
|
1791
|
-
*
|
1793
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1794
|
+
*
|
1795
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1796
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1797
|
+
* @returns {string} A string representing the answer.
|
1798
|
+
*/
|
1799
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1800
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1801
|
+
}
|
1802
|
+
/**
|
1803
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
1792
1804
|
*
|
1793
1805
|
* @param {string} project
|
1794
1806
|
* @param {string} location
|
1795
1807
|
* @param {string} collection
|
1796
1808
|
* @param {string} data_store
|
1797
1809
|
* @param {string} session
|
1798
|
-
* @param {string} answer
|
1799
1810
|
* @returns {string} Resource name string.
|
1800
1811
|
*/
|
1801
|
-
|
1802
|
-
return this.pathTemplates.
|
1812
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
1813
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
1803
1814
|
project: project,
|
1804
1815
|
location: location,
|
1805
1816
|
collection: collection,
|
1806
1817
|
data_store: dataStore,
|
1807
1818
|
session: session,
|
1808
|
-
answer: answer,
|
1809
1819
|
});
|
1810
1820
|
}
|
1811
1821
|
/**
|
1812
|
-
* Parse the project from
|
1822
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
1813
1823
|
*
|
1814
|
-
* @param {string}
|
1815
|
-
* A fully-qualified path representing
|
1824
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1825
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1816
1826
|
* @returns {string} A string representing the project.
|
1817
1827
|
*/
|
1818
|
-
|
1819
|
-
return this.pathTemplates.
|
1828
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1829
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
1820
1830
|
}
|
1821
1831
|
/**
|
1822
|
-
* Parse the location from
|
1832
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessions resource.
|
1823
1833
|
*
|
1824
|
-
* @param {string}
|
1825
|
-
* A fully-qualified path representing
|
1834
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1835
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1826
1836
|
* @returns {string} A string representing the location.
|
1827
1837
|
*/
|
1828
|
-
|
1829
|
-
return this.pathTemplates.
|
1838
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1839
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
1830
1840
|
}
|
1831
1841
|
/**
|
1832
|
-
* Parse the collection from
|
1842
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
|
1833
1843
|
*
|
1834
|
-
* @param {string}
|
1835
|
-
* A fully-qualified path representing
|
1844
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1845
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1836
1846
|
* @returns {string} A string representing the collection.
|
1837
1847
|
*/
|
1838
|
-
|
1839
|
-
return this.pathTemplates.
|
1848
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1849
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
1840
1850
|
}
|
1841
1851
|
/**
|
1842
|
-
* Parse the data_store from
|
1852
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
|
1843
1853
|
*
|
1844
|
-
* @param {string}
|
1845
|
-
* A fully-qualified path representing
|
1854
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1855
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1846
1856
|
* @returns {string} A string representing the data_store.
|
1847
1857
|
*/
|
1848
|
-
|
1849
|
-
return this.pathTemplates.
|
1858
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1859
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
1850
1860
|
}
|
1851
1861
|
/**
|
1852
|
-
* Parse the session from
|
1862
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessions resource.
|
1853
1863
|
*
|
1854
|
-
* @param {string}
|
1855
|
-
* A fully-qualified path representing
|
1864
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1865
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1856
1866
|
* @returns {string} A string representing the session.
|
1857
1867
|
*/
|
1858
|
-
|
1859
|
-
return this.pathTemplates.
|
1860
|
-
}
|
1861
|
-
/**
|
1862
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1863
|
-
*
|
1864
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1865
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1866
|
-
* @returns {string} A string representing the answer.
|
1867
|
-
*/
|
1868
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1869
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1868
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1869
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
1870
1870
|
}
|
1871
1871
|
/**
|
1872
1872
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -2271,154 +2271,154 @@ class SampleQueryServiceClient {
|
|
2271
2271
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
2272
2272
|
}
|
2273
2273
|
/**
|
2274
|
-
* Return a fully-qualified
|
2274
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
2275
2275
|
*
|
2276
2276
|
* @param {string} project
|
2277
2277
|
* @param {string} location
|
2278
2278
|
* @param {string} collection
|
2279
2279
|
* @param {string} engine
|
2280
2280
|
* @param {string} session
|
2281
|
+
* @param {string} answer
|
2281
2282
|
* @returns {string} Resource name string.
|
2282
2283
|
*/
|
2283
|
-
|
2284
|
-
return this.pathTemplates.
|
2284
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
2285
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
2285
2286
|
project: project,
|
2286
2287
|
location: location,
|
2287
2288
|
collection: collection,
|
2288
2289
|
engine: engine,
|
2289
2290
|
session: session,
|
2291
|
+
answer: answer,
|
2290
2292
|
});
|
2291
2293
|
}
|
2292
2294
|
/**
|
2293
|
-
* Parse the project from
|
2295
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
2294
2296
|
*
|
2295
|
-
* @param {string}
|
2296
|
-
* A fully-qualified path representing
|
2297
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2298
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2297
2299
|
* @returns {string} A string representing the project.
|
2298
2300
|
*/
|
2299
|
-
|
2300
|
-
return this.pathTemplates.
|
2301
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2302
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
2301
2303
|
}
|
2302
2304
|
/**
|
2303
|
-
* Parse the location from
|
2305
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
2304
2306
|
*
|
2305
|
-
* @param {string}
|
2306
|
-
* A fully-qualified path representing
|
2307
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2308
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2307
2309
|
* @returns {string} A string representing the location.
|
2308
2310
|
*/
|
2309
|
-
|
2310
|
-
return this.pathTemplates.
|
2311
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2312
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
2311
2313
|
}
|
2312
2314
|
/**
|
2313
|
-
* Parse the collection from
|
2315
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
2314
2316
|
*
|
2315
|
-
* @param {string}
|
2316
|
-
* A fully-qualified path representing
|
2317
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2318
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2317
2319
|
* @returns {string} A string representing the collection.
|
2318
2320
|
*/
|
2319
|
-
|
2320
|
-
return this.pathTemplates.
|
2321
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2322
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
2321
2323
|
}
|
2322
2324
|
/**
|
2323
|
-
* Parse the engine from
|
2325
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
2324
2326
|
*
|
2325
|
-
* @param {string}
|
2326
|
-
* A fully-qualified path representing
|
2327
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2328
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2327
2329
|
* @returns {string} A string representing the engine.
|
2328
2330
|
*/
|
2329
|
-
|
2330
|
-
return this.pathTemplates.
|
2331
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2332
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
2331
2333
|
}
|
2332
2334
|
/**
|
2333
|
-
* Parse the session from
|
2335
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
2334
2336
|
*
|
2335
|
-
* @param {string}
|
2336
|
-
* A fully-qualified path representing
|
2337
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2338
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2337
2339
|
* @returns {string} A string representing the session.
|
2338
2340
|
*/
|
2339
|
-
|
2340
|
-
return this.pathTemplates.
|
2341
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2342
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
2341
2343
|
}
|
2342
2344
|
/**
|
2343
|
-
*
|
2345
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2346
|
+
*
|
2347
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2348
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2349
|
+
* @returns {string} A string representing the answer.
|
2350
|
+
*/
|
2351
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2352
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2353
|
+
}
|
2354
|
+
/**
|
2355
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
2344
2356
|
*
|
2345
2357
|
* @param {string} project
|
2346
2358
|
* @param {string} location
|
2347
2359
|
* @param {string} collection
|
2348
2360
|
* @param {string} engine
|
2349
2361
|
* @param {string} session
|
2350
|
-
* @param {string} answer
|
2351
2362
|
* @returns {string} Resource name string.
|
2352
2363
|
*/
|
2353
|
-
|
2354
|
-
return this.pathTemplates.
|
2364
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
2365
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
2355
2366
|
project: project,
|
2356
2367
|
location: location,
|
2357
2368
|
collection: collection,
|
2358
2369
|
engine: engine,
|
2359
2370
|
session: session,
|
2360
|
-
answer: answer,
|
2361
2371
|
});
|
2362
2372
|
}
|
2363
2373
|
/**
|
2364
|
-
* Parse the project from
|
2374
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
2365
2375
|
*
|
2366
|
-
* @param {string}
|
2367
|
-
* A fully-qualified path representing
|
2376
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2377
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2368
2378
|
* @returns {string} A string representing the project.
|
2369
2379
|
*/
|
2370
|
-
|
2371
|
-
return this.pathTemplates.
|
2380
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2381
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
2372
2382
|
}
|
2373
2383
|
/**
|
2374
|
-
* Parse the location from
|
2384
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
2375
2385
|
*
|
2376
|
-
* @param {string}
|
2377
|
-
* A fully-qualified path representing
|
2386
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2387
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2378
2388
|
* @returns {string} A string representing the location.
|
2379
2389
|
*/
|
2380
|
-
|
2381
|
-
return this.pathTemplates.
|
2390
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2391
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
2382
2392
|
}
|
2383
2393
|
/**
|
2384
|
-
* Parse the collection from
|
2394
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
2385
2395
|
*
|
2386
|
-
* @param {string}
|
2387
|
-
* A fully-qualified path representing
|
2396
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2397
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2388
2398
|
* @returns {string} A string representing the collection.
|
2389
2399
|
*/
|
2390
|
-
|
2391
|
-
return this.pathTemplates.
|
2400
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2401
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
2392
2402
|
}
|
2393
2403
|
/**
|
2394
|
-
* Parse the engine from
|
2404
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
2395
2405
|
*
|
2396
|
-
* @param {string}
|
2397
|
-
* A fully-qualified path representing
|
2406
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2407
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2398
2408
|
* @returns {string} A string representing the engine.
|
2399
2409
|
*/
|
2400
|
-
|
2401
|
-
return this.pathTemplates.
|
2410
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2411
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
2402
2412
|
}
|
2403
2413
|
/**
|
2404
|
-
* Parse the session from
|
2414
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
2405
2415
|
*
|
2406
|
-
* @param {string}
|
2407
|
-
* A fully-qualified path representing
|
2416
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2417
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2408
2418
|
* @returns {string} A string representing the session.
|
2409
2419
|
*/
|
2410
|
-
|
2411
|
-
return this.pathTemplates.
|
2412
|
-
}
|
2413
|
-
/**
|
2414
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2415
|
-
*
|
2416
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2417
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2418
|
-
* @returns {string} A string representing the answer.
|
2419
|
-
*/
|
2420
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2421
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2420
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2421
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
2422
2422
|
}
|
2423
2423
|
/**
|
2424
2424
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -2945,63 +2945,6 @@ class SampleQueryServiceClient {
|
|
2945
2945
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
2946
2946
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
2947
2947
|
}
|
2948
|
-
/**
|
2949
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
2950
|
-
*
|
2951
|
-
* @param {string} project
|
2952
|
-
* @param {string} location
|
2953
|
-
* @param {string} data_store
|
2954
|
-
* @param {string} session
|
2955
|
-
* @returns {string} Resource name string.
|
2956
|
-
*/
|
2957
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
2958
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
2959
|
-
project: project,
|
2960
|
-
location: location,
|
2961
|
-
data_store: dataStore,
|
2962
|
-
session: session,
|
2963
|
-
});
|
2964
|
-
}
|
2965
|
-
/**
|
2966
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
2967
|
-
*
|
2968
|
-
* @param {string} projectLocationDataStoreSessionName
|
2969
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2970
|
-
* @returns {string} A string representing the project.
|
2971
|
-
*/
|
2972
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2973
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
2974
|
-
}
|
2975
|
-
/**
|
2976
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
2977
|
-
*
|
2978
|
-
* @param {string} projectLocationDataStoreSessionName
|
2979
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2980
|
-
* @returns {string} A string representing the location.
|
2981
|
-
*/
|
2982
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2983
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
2984
|
-
}
|
2985
|
-
/**
|
2986
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
2987
|
-
*
|
2988
|
-
* @param {string} projectLocationDataStoreSessionName
|
2989
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2990
|
-
* @returns {string} A string representing the data_store.
|
2991
|
-
*/
|
2992
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2993
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
2994
|
-
}
|
2995
|
-
/**
|
2996
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
2997
|
-
*
|
2998
|
-
* @param {string} projectLocationDataStoreSessionName
|
2999
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3000
|
-
* @returns {string} A string representing the session.
|
3001
|
-
*/
|
3002
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3003
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
3004
|
-
}
|
3005
2948
|
/**
|
3006
2949
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
3007
2950
|
*
|
@@ -3071,6 +3014,63 @@ class SampleQueryServiceClient {
|
|
3071
3014
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
3072
3015
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
3073
3016
|
}
|
3017
|
+
/**
|
3018
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
3019
|
+
*
|
3020
|
+
* @param {string} project
|
3021
|
+
* @param {string} location
|
3022
|
+
* @param {string} data_store
|
3023
|
+
* @param {string} session
|
3024
|
+
* @returns {string} Resource name string.
|
3025
|
+
*/
|
3026
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
3027
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
3028
|
+
project: project,
|
3029
|
+
location: location,
|
3030
|
+
data_store: dataStore,
|
3031
|
+
session: session,
|
3032
|
+
});
|
3033
|
+
}
|
3034
|
+
/**
|
3035
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
3036
|
+
*
|
3037
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3038
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3039
|
+
* @returns {string} A string representing the project.
|
3040
|
+
*/
|
3041
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3042
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
3043
|
+
}
|
3044
|
+
/**
|
3045
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
3046
|
+
*
|
3047
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3048
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3049
|
+
* @returns {string} A string representing the location.
|
3050
|
+
*/
|
3051
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3052
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
3053
|
+
}
|
3054
|
+
/**
|
3055
|
+
* Parse the data_store from ProjectLocationDataStoreSessions resource.
|
3056
|
+
*
|
3057
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3058
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3059
|
+
* @returns {string} A string representing the data_store.
|
3060
|
+
*/
|
3061
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3062
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
3063
|
+
}
|
3064
|
+
/**
|
3065
|
+
* Parse the session from ProjectLocationDataStoreSessions resource.
|
3066
|
+
*
|
3067
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3068
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3069
|
+
* @returns {string} A string representing the session.
|
3070
|
+
*/
|
3071
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3072
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
3073
|
+
}
|
3074
3074
|
/**
|
3075
3075
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
3076
3076
|
*
|
@@ -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",
|