@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,8 +177,8 @@ class CompletionServiceClient {
|
|
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}'),
|
@@ -186,8 +186,8 @@ class CompletionServiceClient {
|
|
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}'),
|
@@ -198,8 +198,8 @@ class CompletionServiceClient {
|
|
198
198
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
199
199
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
200
200
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
201
|
-
projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
202
201
|
projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
202
|
+
projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
203
203
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
204
204
|
projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
205
205
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
@@ -1708,154 +1708,154 @@ class CompletionServiceClient {
|
|
1708
1708
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1709
1709
|
}
|
1710
1710
|
/**
|
1711
|
-
* Return a fully-qualified
|
1711
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1712
1712
|
*
|
1713
1713
|
* @param {string} project
|
1714
1714
|
* @param {string} location
|
1715
1715
|
* @param {string} collection
|
1716
1716
|
* @param {string} data_store
|
1717
1717
|
* @param {string} session
|
1718
|
+
* @param {string} answer
|
1718
1719
|
* @returns {string} Resource name string.
|
1719
1720
|
*/
|
1720
|
-
|
1721
|
-
return this.pathTemplates.
|
1721
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1722
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1722
1723
|
project: project,
|
1723
1724
|
location: location,
|
1724
1725
|
collection: collection,
|
1725
1726
|
data_store: dataStore,
|
1726
1727
|
session: session,
|
1728
|
+
answer: answer,
|
1727
1729
|
});
|
1728
1730
|
}
|
1729
1731
|
/**
|
1730
|
-
* Parse the project from
|
1732
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1731
1733
|
*
|
1732
|
-
* @param {string}
|
1733
|
-
* A fully-qualified path representing
|
1734
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1735
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1734
1736
|
* @returns {string} A string representing the project.
|
1735
1737
|
*/
|
1736
|
-
|
1737
|
-
return this.pathTemplates.
|
1738
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1739
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1738
1740
|
}
|
1739
1741
|
/**
|
1740
|
-
* Parse the location from
|
1742
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1741
1743
|
*
|
1742
|
-
* @param {string}
|
1743
|
-
* A fully-qualified path representing
|
1744
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1745
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1744
1746
|
* @returns {string} A string representing the location.
|
1745
1747
|
*/
|
1746
|
-
|
1747
|
-
return this.pathTemplates.
|
1748
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1749
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1748
1750
|
}
|
1749
1751
|
/**
|
1750
|
-
* Parse the collection from
|
1752
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1751
1753
|
*
|
1752
|
-
* @param {string}
|
1753
|
-
* A fully-qualified path representing
|
1754
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1755
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1754
1756
|
* @returns {string} A string representing the collection.
|
1755
1757
|
*/
|
1756
|
-
|
1757
|
-
return this.pathTemplates.
|
1758
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1759
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1758
1760
|
}
|
1759
1761
|
/**
|
1760
|
-
* Parse the data_store from
|
1762
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1761
1763
|
*
|
1762
|
-
* @param {string}
|
1763
|
-
* A fully-qualified path representing
|
1764
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1765
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1764
1766
|
* @returns {string} A string representing the data_store.
|
1765
1767
|
*/
|
1766
|
-
|
1767
|
-
return this.pathTemplates.
|
1768
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1769
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1768
1770
|
}
|
1769
1771
|
/**
|
1770
|
-
* Parse the session from
|
1772
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1771
1773
|
*
|
1772
|
-
* @param {string}
|
1773
|
-
* A fully-qualified path representing
|
1774
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1775
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1774
1776
|
* @returns {string} A string representing the session.
|
1775
1777
|
*/
|
1776
|
-
|
1777
|
-
return this.pathTemplates.
|
1778
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1779
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1778
1780
|
}
|
1779
1781
|
/**
|
1780
|
-
*
|
1782
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1783
|
+
*
|
1784
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1785
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1786
|
+
* @returns {string} A string representing the answer.
|
1787
|
+
*/
|
1788
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1789
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1790
|
+
}
|
1791
|
+
/**
|
1792
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
1781
1793
|
*
|
1782
1794
|
* @param {string} project
|
1783
1795
|
* @param {string} location
|
1784
1796
|
* @param {string} collection
|
1785
1797
|
* @param {string} data_store
|
1786
1798
|
* @param {string} session
|
1787
|
-
* @param {string} answer
|
1788
1799
|
* @returns {string} Resource name string.
|
1789
1800
|
*/
|
1790
|
-
|
1791
|
-
return this.pathTemplates.
|
1801
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
1802
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
1792
1803
|
project: project,
|
1793
1804
|
location: location,
|
1794
1805
|
collection: collection,
|
1795
1806
|
data_store: dataStore,
|
1796
1807
|
session: session,
|
1797
|
-
answer: answer,
|
1798
1808
|
});
|
1799
1809
|
}
|
1800
1810
|
/**
|
1801
|
-
* Parse the project from
|
1811
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
1802
1812
|
*
|
1803
|
-
* @param {string}
|
1804
|
-
* A fully-qualified path representing
|
1813
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1814
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1805
1815
|
* @returns {string} A string representing the project.
|
1806
1816
|
*/
|
1807
|
-
|
1808
|
-
return this.pathTemplates.
|
1817
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1818
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
1809
1819
|
}
|
1810
1820
|
/**
|
1811
|
-
* Parse the location from
|
1821
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessions resource.
|
1812
1822
|
*
|
1813
|
-
* @param {string}
|
1814
|
-
* A fully-qualified path representing
|
1823
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1824
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1815
1825
|
* @returns {string} A string representing the location.
|
1816
1826
|
*/
|
1817
|
-
|
1818
|
-
return this.pathTemplates.
|
1827
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1828
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
1819
1829
|
}
|
1820
1830
|
/**
|
1821
|
-
* Parse the collection from
|
1831
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
|
1822
1832
|
*
|
1823
|
-
* @param {string}
|
1824
|
-
* A fully-qualified path representing
|
1833
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1834
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1825
1835
|
* @returns {string} A string representing the collection.
|
1826
1836
|
*/
|
1827
|
-
|
1828
|
-
return this.pathTemplates.
|
1837
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1838
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
1829
1839
|
}
|
1830
1840
|
/**
|
1831
|
-
* Parse the data_store from
|
1841
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
|
1832
1842
|
*
|
1833
|
-
* @param {string}
|
1834
|
-
* A fully-qualified path representing
|
1843
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1844
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1835
1845
|
* @returns {string} A string representing the data_store.
|
1836
1846
|
*/
|
1837
|
-
|
1838
|
-
return this.pathTemplates.
|
1847
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1848
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
1839
1849
|
}
|
1840
1850
|
/**
|
1841
|
-
* Parse the session from
|
1851
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessions resource.
|
1842
1852
|
*
|
1843
|
-
* @param {string}
|
1844
|
-
* A fully-qualified path representing
|
1853
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1854
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1845
1855
|
* @returns {string} A string representing the session.
|
1846
1856
|
*/
|
1847
|
-
|
1848
|
-
return this.pathTemplates.
|
1849
|
-
}
|
1850
|
-
/**
|
1851
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1852
|
-
*
|
1853
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1854
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1855
|
-
* @returns {string} A string representing the answer.
|
1856
|
-
*/
|
1857
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1858
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1857
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1858
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
1859
1859
|
}
|
1860
1860
|
/**
|
1861
1861
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -2317,154 +2317,154 @@ class CompletionServiceClient {
|
|
2317
2317
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
2318
2318
|
}
|
2319
2319
|
/**
|
2320
|
-
* Return a fully-qualified
|
2320
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
2321
2321
|
*
|
2322
2322
|
* @param {string} project
|
2323
2323
|
* @param {string} location
|
2324
2324
|
* @param {string} collection
|
2325
2325
|
* @param {string} engine
|
2326
2326
|
* @param {string} session
|
2327
|
+
* @param {string} answer
|
2327
2328
|
* @returns {string} Resource name string.
|
2328
2329
|
*/
|
2329
|
-
|
2330
|
-
return this.pathTemplates.
|
2330
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
2331
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
2331
2332
|
project: project,
|
2332
2333
|
location: location,
|
2333
2334
|
collection: collection,
|
2334
2335
|
engine: engine,
|
2335
2336
|
session: session,
|
2337
|
+
answer: answer,
|
2336
2338
|
});
|
2337
2339
|
}
|
2338
2340
|
/**
|
2339
|
-
* Parse the project from
|
2341
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
2340
2342
|
*
|
2341
|
-
* @param {string}
|
2342
|
-
* A fully-qualified path representing
|
2343
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2344
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2343
2345
|
* @returns {string} A string representing the project.
|
2344
2346
|
*/
|
2345
|
-
|
2346
|
-
return this.pathTemplates.
|
2347
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2348
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
2347
2349
|
}
|
2348
2350
|
/**
|
2349
|
-
* Parse the location from
|
2351
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
2350
2352
|
*
|
2351
|
-
* @param {string}
|
2352
|
-
* A fully-qualified path representing
|
2353
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2354
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2353
2355
|
* @returns {string} A string representing the location.
|
2354
2356
|
*/
|
2355
|
-
|
2356
|
-
return this.pathTemplates.
|
2357
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2358
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
2357
2359
|
}
|
2358
2360
|
/**
|
2359
|
-
* Parse the collection from
|
2361
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
2360
2362
|
*
|
2361
|
-
* @param {string}
|
2362
|
-
* A fully-qualified path representing
|
2363
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2364
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2363
2365
|
* @returns {string} A string representing the collection.
|
2364
2366
|
*/
|
2365
|
-
|
2366
|
-
return this.pathTemplates.
|
2367
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2368
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
2367
2369
|
}
|
2368
2370
|
/**
|
2369
|
-
* Parse the engine from
|
2371
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
2370
2372
|
*
|
2371
|
-
* @param {string}
|
2372
|
-
* A fully-qualified path representing
|
2373
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2374
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2373
2375
|
* @returns {string} A string representing the engine.
|
2374
2376
|
*/
|
2375
|
-
|
2376
|
-
return this.pathTemplates.
|
2377
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2378
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
2377
2379
|
}
|
2378
2380
|
/**
|
2379
|
-
* Parse the session from
|
2381
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
2380
2382
|
*
|
2381
|
-
* @param {string}
|
2382
|
-
* A fully-qualified path representing
|
2383
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2384
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2383
2385
|
* @returns {string} A string representing the session.
|
2384
2386
|
*/
|
2385
|
-
|
2386
|
-
return this.pathTemplates.
|
2387
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2388
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
2387
2389
|
}
|
2388
2390
|
/**
|
2389
|
-
*
|
2391
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2392
|
+
*
|
2393
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2394
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2395
|
+
* @returns {string} A string representing the answer.
|
2396
|
+
*/
|
2397
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2398
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2399
|
+
}
|
2400
|
+
/**
|
2401
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
2390
2402
|
*
|
2391
2403
|
* @param {string} project
|
2392
2404
|
* @param {string} location
|
2393
2405
|
* @param {string} collection
|
2394
2406
|
* @param {string} engine
|
2395
2407
|
* @param {string} session
|
2396
|
-
* @param {string} answer
|
2397
2408
|
* @returns {string} Resource name string.
|
2398
2409
|
*/
|
2399
|
-
|
2400
|
-
return this.pathTemplates.
|
2410
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
2411
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
2401
2412
|
project: project,
|
2402
2413
|
location: location,
|
2403
2414
|
collection: collection,
|
2404
2415
|
engine: engine,
|
2405
2416
|
session: session,
|
2406
|
-
answer: answer,
|
2407
2417
|
});
|
2408
2418
|
}
|
2409
2419
|
/**
|
2410
|
-
* Parse the project from
|
2420
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
2411
2421
|
*
|
2412
|
-
* @param {string}
|
2413
|
-
* A fully-qualified path representing
|
2422
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2423
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2414
2424
|
* @returns {string} A string representing the project.
|
2415
2425
|
*/
|
2416
|
-
|
2417
|
-
return this.pathTemplates.
|
2426
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2427
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
2418
2428
|
}
|
2419
2429
|
/**
|
2420
|
-
* Parse the location from
|
2430
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
2421
2431
|
*
|
2422
|
-
* @param {string}
|
2423
|
-
* A fully-qualified path representing
|
2432
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2433
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2424
2434
|
* @returns {string} A string representing the location.
|
2425
2435
|
*/
|
2426
|
-
|
2427
|
-
return this.pathTemplates.
|
2436
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2437
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
2428
2438
|
}
|
2429
2439
|
/**
|
2430
|
-
* Parse the collection from
|
2440
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
2431
2441
|
*
|
2432
|
-
* @param {string}
|
2433
|
-
* A fully-qualified path representing
|
2442
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2443
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2434
2444
|
* @returns {string} A string representing the collection.
|
2435
2445
|
*/
|
2436
|
-
|
2437
|
-
return this.pathTemplates.
|
2446
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2447
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
2438
2448
|
}
|
2439
2449
|
/**
|
2440
|
-
* Parse the engine from
|
2450
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
2441
2451
|
*
|
2442
|
-
* @param {string}
|
2443
|
-
* A fully-qualified path representing
|
2452
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2453
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2444
2454
|
* @returns {string} A string representing the engine.
|
2445
2455
|
*/
|
2446
|
-
|
2447
|
-
return this.pathTemplates.
|
2456
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2457
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
2448
2458
|
}
|
2449
2459
|
/**
|
2450
|
-
* Parse the session from
|
2460
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
2451
2461
|
*
|
2452
|
-
* @param {string}
|
2453
|
-
* A fully-qualified path representing
|
2462
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2463
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2454
2464
|
* @returns {string} A string representing the session.
|
2455
2465
|
*/
|
2456
|
-
|
2457
|
-
return this.pathTemplates.
|
2458
|
-
}
|
2459
|
-
/**
|
2460
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2461
|
-
*
|
2462
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2463
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2464
|
-
* @returns {string} A string representing the answer.
|
2465
|
-
*/
|
2466
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2467
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2466
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2467
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
2468
2468
|
}
|
2469
2469
|
/**
|
2470
2470
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -3036,63 +3036,6 @@ class CompletionServiceClient {
|
|
3036
3036
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
3037
3037
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
3038
3038
|
}
|
3039
|
-
/**
|
3040
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
3041
|
-
*
|
3042
|
-
* @param {string} project
|
3043
|
-
* @param {string} location
|
3044
|
-
* @param {string} data_store
|
3045
|
-
* @param {string} session
|
3046
|
-
* @returns {string} Resource name string.
|
3047
|
-
*/
|
3048
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
3049
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
3050
|
-
project: project,
|
3051
|
-
location: location,
|
3052
|
-
data_store: dataStore,
|
3053
|
-
session: session,
|
3054
|
-
});
|
3055
|
-
}
|
3056
|
-
/**
|
3057
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
3058
|
-
*
|
3059
|
-
* @param {string} projectLocationDataStoreSessionName
|
3060
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3061
|
-
* @returns {string} A string representing the project.
|
3062
|
-
*/
|
3063
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3064
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
3065
|
-
}
|
3066
|
-
/**
|
3067
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
3068
|
-
*
|
3069
|
-
* @param {string} projectLocationDataStoreSessionName
|
3070
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3071
|
-
* @returns {string} A string representing the location.
|
3072
|
-
*/
|
3073
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3074
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
3075
|
-
}
|
3076
|
-
/**
|
3077
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
3078
|
-
*
|
3079
|
-
* @param {string} projectLocationDataStoreSessionName
|
3080
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3081
|
-
* @returns {string} A string representing the data_store.
|
3082
|
-
*/
|
3083
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3084
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
3085
|
-
}
|
3086
|
-
/**
|
3087
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
3088
|
-
*
|
3089
|
-
* @param {string} projectLocationDataStoreSessionName
|
3090
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3091
|
-
* @returns {string} A string representing the session.
|
3092
|
-
*/
|
3093
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3094
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
3095
|
-
}
|
3096
3039
|
/**
|
3097
3040
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
3098
3041
|
*
|
@@ -3162,6 +3105,63 @@ class CompletionServiceClient {
|
|
3162
3105
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
3163
3106
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
3164
3107
|
}
|
3108
|
+
/**
|
3109
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
3110
|
+
*
|
3111
|
+
* @param {string} project
|
3112
|
+
* @param {string} location
|
3113
|
+
* @param {string} data_store
|
3114
|
+
* @param {string} session
|
3115
|
+
* @returns {string} Resource name string.
|
3116
|
+
*/
|
3117
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
3118
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
3119
|
+
project: project,
|
3120
|
+
location: location,
|
3121
|
+
data_store: dataStore,
|
3122
|
+
session: session,
|
3123
|
+
});
|
3124
|
+
}
|
3125
|
+
/**
|
3126
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
3127
|
+
*
|
3128
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3129
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3130
|
+
* @returns {string} A string representing the project.
|
3131
|
+
*/
|
3132
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3133
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
3134
|
+
}
|
3135
|
+
/**
|
3136
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
3137
|
+
*
|
3138
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3139
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3140
|
+
* @returns {string} A string representing the location.
|
3141
|
+
*/
|
3142
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3143
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
3144
|
+
}
|
3145
|
+
/**
|
3146
|
+
* Parse the data_store from ProjectLocationDataStoreSessions resource.
|
3147
|
+
*
|
3148
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3149
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3150
|
+
* @returns {string} A string representing the data_store.
|
3151
|
+
*/
|
3152
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3153
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
3154
|
+
}
|
3155
|
+
/**
|
3156
|
+
* Parse the session from ProjectLocationDataStoreSessions resource.
|
3157
|
+
*
|
3158
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3159
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3160
|
+
* @returns {string} A string representing the session.
|
3161
|
+
*/
|
3162
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3163
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
3164
|
+
}
|
3165
3165
|
/**
|
3166
3166
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
3167
3167
|
*
|
@@ -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",
|