@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
@@ -176,16 +176,16 @@ class SchemaServiceClient {
|
|
176
176
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
177
177
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
178
178
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
179
|
-
projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
180
179
|
projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
180
|
+
projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
181
181
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
182
182
|
projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
183
183
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
184
184
|
projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
|
185
185
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
186
186
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
187
|
-
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
188
187
|
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
188
|
+
projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
189
189
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
190
190
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
191
191
|
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
@@ -195,8 +195,8 @@ class SchemaServiceClient {
|
|
195
195
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
196
196
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
197
197
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
198
|
-
projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
199
198
|
projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
199
|
+
projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
200
200
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
201
201
|
projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
202
202
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
@@ -1698,154 +1698,154 @@ class SchemaServiceClient {
|
|
1698
1698
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1699
1699
|
}
|
1700
1700
|
/**
|
1701
|
-
* Return a fully-qualified
|
1701
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1702
1702
|
*
|
1703
1703
|
* @param {string} project
|
1704
1704
|
* @param {string} location
|
1705
1705
|
* @param {string} collection
|
1706
1706
|
* @param {string} data_store
|
1707
1707
|
* @param {string} session
|
1708
|
+
* @param {string} answer
|
1708
1709
|
* @returns {string} Resource name string.
|
1709
1710
|
*/
|
1710
|
-
|
1711
|
-
return this.pathTemplates.
|
1711
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1712
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1712
1713
|
project: project,
|
1713
1714
|
location: location,
|
1714
1715
|
collection: collection,
|
1715
1716
|
data_store: dataStore,
|
1716
1717
|
session: session,
|
1718
|
+
answer: answer,
|
1717
1719
|
});
|
1718
1720
|
}
|
1719
1721
|
/**
|
1720
|
-
* Parse the project from
|
1722
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1721
1723
|
*
|
1722
|
-
* @param {string}
|
1723
|
-
* A fully-qualified path representing
|
1724
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1725
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1724
1726
|
* @returns {string} A string representing the project.
|
1725
1727
|
*/
|
1726
|
-
|
1727
|
-
return this.pathTemplates.
|
1728
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1729
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1728
1730
|
}
|
1729
1731
|
/**
|
1730
|
-
* Parse the location from
|
1732
|
+
* Parse the location 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 location.
|
1735
1737
|
*/
|
1736
|
-
|
1737
|
-
return this.pathTemplates.
|
1738
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1739
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1738
1740
|
}
|
1739
1741
|
/**
|
1740
|
-
* Parse the collection from
|
1742
|
+
* Parse the collection 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 collection.
|
1745
1747
|
*/
|
1746
|
-
|
1747
|
-
return this.pathTemplates.
|
1748
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1749
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1748
1750
|
}
|
1749
1751
|
/**
|
1750
|
-
* Parse the data_store from
|
1752
|
+
* Parse the data_store 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 data_store.
|
1755
1757
|
*/
|
1756
|
-
|
1757
|
-
return this.pathTemplates.
|
1758
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1759
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1758
1760
|
}
|
1759
1761
|
/**
|
1760
|
-
* Parse the session from
|
1762
|
+
* Parse the session 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 session.
|
1765
1767
|
*/
|
1766
|
-
|
1767
|
-
return this.pathTemplates.
|
1768
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1769
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1768
1770
|
}
|
1769
1771
|
/**
|
1770
|
-
*
|
1772
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1773
|
+
*
|
1774
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1775
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1776
|
+
* @returns {string} A string representing the answer.
|
1777
|
+
*/
|
1778
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1779
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1780
|
+
}
|
1781
|
+
/**
|
1782
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
1771
1783
|
*
|
1772
1784
|
* @param {string} project
|
1773
1785
|
* @param {string} location
|
1774
1786
|
* @param {string} collection
|
1775
1787
|
* @param {string} data_store
|
1776
1788
|
* @param {string} session
|
1777
|
-
* @param {string} answer
|
1778
1789
|
* @returns {string} Resource name string.
|
1779
1790
|
*/
|
1780
|
-
|
1781
|
-
return this.pathTemplates.
|
1791
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
1792
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
1782
1793
|
project: project,
|
1783
1794
|
location: location,
|
1784
1795
|
collection: collection,
|
1785
1796
|
data_store: dataStore,
|
1786
1797
|
session: session,
|
1787
|
-
answer: answer,
|
1788
1798
|
});
|
1789
1799
|
}
|
1790
1800
|
/**
|
1791
|
-
* Parse the project from
|
1801
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
1792
1802
|
*
|
1793
|
-
* @param {string}
|
1794
|
-
* A fully-qualified path representing
|
1803
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1804
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1795
1805
|
* @returns {string} A string representing the project.
|
1796
1806
|
*/
|
1797
|
-
|
1798
|
-
return this.pathTemplates.
|
1807
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1808
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
1799
1809
|
}
|
1800
1810
|
/**
|
1801
|
-
* Parse the location from
|
1811
|
+
* Parse the location 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 location.
|
1806
1816
|
*/
|
1807
|
-
|
1808
|
-
return this.pathTemplates.
|
1817
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1818
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
1809
1819
|
}
|
1810
1820
|
/**
|
1811
|
-
* Parse the collection from
|
1821
|
+
* Parse the collection 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 collection.
|
1816
1826
|
*/
|
1817
|
-
|
1818
|
-
return this.pathTemplates.
|
1827
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1828
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
1819
1829
|
}
|
1820
1830
|
/**
|
1821
|
-
* Parse the data_store from
|
1831
|
+
* Parse the data_store 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 data_store.
|
1826
1836
|
*/
|
1827
|
-
|
1828
|
-
return this.pathTemplates.
|
1837
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1838
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
1829
1839
|
}
|
1830
1840
|
/**
|
1831
|
-
* Parse the session from
|
1841
|
+
* Parse the session 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 session.
|
1836
1846
|
*/
|
1837
|
-
|
1838
|
-
return this.pathTemplates.
|
1839
|
-
}
|
1840
|
-
/**
|
1841
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1842
|
-
*
|
1843
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1844
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1845
|
-
* @returns {string} A string representing the answer.
|
1846
|
-
*/
|
1847
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1848
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1847
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1848
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
1849
1849
|
}
|
1850
1850
|
/**
|
1851
1851
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -2250,154 +2250,154 @@ class SchemaServiceClient {
|
|
2250
2250
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
2251
2251
|
}
|
2252
2252
|
/**
|
2253
|
-
* Return a fully-qualified
|
2253
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
2254
2254
|
*
|
2255
2255
|
* @param {string} project
|
2256
2256
|
* @param {string} location
|
2257
2257
|
* @param {string} collection
|
2258
2258
|
* @param {string} engine
|
2259
2259
|
* @param {string} session
|
2260
|
+
* @param {string} answer
|
2260
2261
|
* @returns {string} Resource name string.
|
2261
2262
|
*/
|
2262
|
-
|
2263
|
-
return this.pathTemplates.
|
2263
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
2264
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
2264
2265
|
project: project,
|
2265
2266
|
location: location,
|
2266
2267
|
collection: collection,
|
2267
2268
|
engine: engine,
|
2268
2269
|
session: session,
|
2270
|
+
answer: answer,
|
2269
2271
|
});
|
2270
2272
|
}
|
2271
2273
|
/**
|
2272
|
-
* Parse the project from
|
2274
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
2273
2275
|
*
|
2274
|
-
* @param {string}
|
2275
|
-
* A fully-qualified path representing
|
2276
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2277
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2276
2278
|
* @returns {string} A string representing the project.
|
2277
2279
|
*/
|
2278
|
-
|
2279
|
-
return this.pathTemplates.
|
2280
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2281
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
2280
2282
|
}
|
2281
2283
|
/**
|
2282
|
-
* Parse the location from
|
2284
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
2283
2285
|
*
|
2284
|
-
* @param {string}
|
2285
|
-
* A fully-qualified path representing
|
2286
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2287
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2286
2288
|
* @returns {string} A string representing the location.
|
2287
2289
|
*/
|
2288
|
-
|
2289
|
-
return this.pathTemplates.
|
2290
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2291
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
2290
2292
|
}
|
2291
2293
|
/**
|
2292
|
-
* Parse the collection from
|
2294
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
2293
2295
|
*
|
2294
|
-
* @param {string}
|
2295
|
-
* A fully-qualified path representing
|
2296
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2297
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2296
2298
|
* @returns {string} A string representing the collection.
|
2297
2299
|
*/
|
2298
|
-
|
2299
|
-
return this.pathTemplates.
|
2300
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2301
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
2300
2302
|
}
|
2301
2303
|
/**
|
2302
|
-
* Parse the engine from
|
2304
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
2303
2305
|
*
|
2304
|
-
* @param {string}
|
2305
|
-
* A fully-qualified path representing
|
2306
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2307
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2306
2308
|
* @returns {string} A string representing the engine.
|
2307
2309
|
*/
|
2308
|
-
|
2309
|
-
return this.pathTemplates.
|
2310
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2311
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
2310
2312
|
}
|
2311
2313
|
/**
|
2312
|
-
* Parse the session from
|
2314
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
2313
2315
|
*
|
2314
|
-
* @param {string}
|
2315
|
-
* A fully-qualified path representing
|
2316
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2317
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2316
2318
|
* @returns {string} A string representing the session.
|
2317
2319
|
*/
|
2318
|
-
|
2319
|
-
return this.pathTemplates.
|
2320
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2321
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
2320
2322
|
}
|
2321
2323
|
/**
|
2322
|
-
*
|
2324
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2325
|
+
*
|
2326
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2327
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2328
|
+
* @returns {string} A string representing the answer.
|
2329
|
+
*/
|
2330
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2331
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2332
|
+
}
|
2333
|
+
/**
|
2334
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
2323
2335
|
*
|
2324
2336
|
* @param {string} project
|
2325
2337
|
* @param {string} location
|
2326
2338
|
* @param {string} collection
|
2327
2339
|
* @param {string} engine
|
2328
2340
|
* @param {string} session
|
2329
|
-
* @param {string} answer
|
2330
2341
|
* @returns {string} Resource name string.
|
2331
2342
|
*/
|
2332
|
-
|
2333
|
-
return this.pathTemplates.
|
2343
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
2344
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
2334
2345
|
project: project,
|
2335
2346
|
location: location,
|
2336
2347
|
collection: collection,
|
2337
2348
|
engine: engine,
|
2338
2349
|
session: session,
|
2339
|
-
answer: answer,
|
2340
2350
|
});
|
2341
2351
|
}
|
2342
2352
|
/**
|
2343
|
-
* Parse the project from
|
2353
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
2344
2354
|
*
|
2345
|
-
* @param {string}
|
2346
|
-
* A fully-qualified path representing
|
2355
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2356
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2347
2357
|
* @returns {string} A string representing the project.
|
2348
2358
|
*/
|
2349
|
-
|
2350
|
-
return this.pathTemplates.
|
2359
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2360
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
2351
2361
|
}
|
2352
2362
|
/**
|
2353
|
-
* Parse the location from
|
2363
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
2354
2364
|
*
|
2355
|
-
* @param {string}
|
2356
|
-
* A fully-qualified path representing
|
2365
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2366
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2357
2367
|
* @returns {string} A string representing the location.
|
2358
2368
|
*/
|
2359
|
-
|
2360
|
-
return this.pathTemplates.
|
2369
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2370
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
2361
2371
|
}
|
2362
2372
|
/**
|
2363
|
-
* Parse the collection from
|
2373
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
2364
2374
|
*
|
2365
|
-
* @param {string}
|
2366
|
-
* A fully-qualified path representing
|
2375
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2376
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2367
2377
|
* @returns {string} A string representing the collection.
|
2368
2378
|
*/
|
2369
|
-
|
2370
|
-
return this.pathTemplates.
|
2379
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2380
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
2371
2381
|
}
|
2372
2382
|
/**
|
2373
|
-
* Parse the engine from
|
2383
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
2374
2384
|
*
|
2375
|
-
* @param {string}
|
2376
|
-
* A fully-qualified path representing
|
2385
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2386
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2377
2387
|
* @returns {string} A string representing the engine.
|
2378
2388
|
*/
|
2379
|
-
|
2380
|
-
return this.pathTemplates.
|
2389
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2390
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
2381
2391
|
}
|
2382
2392
|
/**
|
2383
|
-
* Parse the session from
|
2393
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
2384
2394
|
*
|
2385
|
-
* @param {string}
|
2386
|
-
* A fully-qualified path representing
|
2395
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2396
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2387
2397
|
* @returns {string} A string representing the session.
|
2388
2398
|
*/
|
2389
|
-
|
2390
|
-
return this.pathTemplates.
|
2391
|
-
}
|
2392
|
-
/**
|
2393
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2394
|
-
*
|
2395
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2396
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2397
|
-
* @returns {string} A string representing the answer.
|
2398
|
-
*/
|
2399
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2400
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2399
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2400
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
2401
2401
|
}
|
2402
2402
|
/**
|
2403
2403
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -2924,63 +2924,6 @@ class SchemaServiceClient {
|
|
2924
2924
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
2925
2925
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
2926
2926
|
}
|
2927
|
-
/**
|
2928
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
2929
|
-
*
|
2930
|
-
* @param {string} project
|
2931
|
-
* @param {string} location
|
2932
|
-
* @param {string} data_store
|
2933
|
-
* @param {string} session
|
2934
|
-
* @returns {string} Resource name string.
|
2935
|
-
*/
|
2936
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
2937
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
2938
|
-
project: project,
|
2939
|
-
location: location,
|
2940
|
-
data_store: dataStore,
|
2941
|
-
session: session,
|
2942
|
-
});
|
2943
|
-
}
|
2944
|
-
/**
|
2945
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
2946
|
-
*
|
2947
|
-
* @param {string} projectLocationDataStoreSessionName
|
2948
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2949
|
-
* @returns {string} A string representing the project.
|
2950
|
-
*/
|
2951
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2952
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
2953
|
-
}
|
2954
|
-
/**
|
2955
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
2956
|
-
*
|
2957
|
-
* @param {string} projectLocationDataStoreSessionName
|
2958
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2959
|
-
* @returns {string} A string representing the location.
|
2960
|
-
*/
|
2961
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2962
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
2963
|
-
}
|
2964
|
-
/**
|
2965
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
2966
|
-
*
|
2967
|
-
* @param {string} projectLocationDataStoreSessionName
|
2968
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2969
|
-
* @returns {string} A string representing the data_store.
|
2970
|
-
*/
|
2971
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2972
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
2973
|
-
}
|
2974
|
-
/**
|
2975
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
2976
|
-
*
|
2977
|
-
* @param {string} projectLocationDataStoreSessionName
|
2978
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2979
|
-
* @returns {string} A string representing the session.
|
2980
|
-
*/
|
2981
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2982
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
2983
|
-
}
|
2984
2927
|
/**
|
2985
2928
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
2986
2929
|
*
|
@@ -3050,6 +2993,63 @@ class SchemaServiceClient {
|
|
3050
2993
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
3051
2994
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
3052
2995
|
}
|
2996
|
+
/**
|
2997
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
2998
|
+
*
|
2999
|
+
* @param {string} project
|
3000
|
+
* @param {string} location
|
3001
|
+
* @param {string} data_store
|
3002
|
+
* @param {string} session
|
3003
|
+
* @returns {string} Resource name string.
|
3004
|
+
*/
|
3005
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
3006
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
3007
|
+
project: project,
|
3008
|
+
location: location,
|
3009
|
+
data_store: dataStore,
|
3010
|
+
session: session,
|
3011
|
+
});
|
3012
|
+
}
|
3013
|
+
/**
|
3014
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
3015
|
+
*
|
3016
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3017
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3018
|
+
* @returns {string} A string representing the project.
|
3019
|
+
*/
|
3020
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3021
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
3022
|
+
}
|
3023
|
+
/**
|
3024
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
3025
|
+
*
|
3026
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3027
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3028
|
+
* @returns {string} A string representing the location.
|
3029
|
+
*/
|
3030
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3031
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
3032
|
+
}
|
3033
|
+
/**
|
3034
|
+
* Parse the data_store from ProjectLocationDataStoreSessions resource.
|
3035
|
+
*
|
3036
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3037
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3038
|
+
* @returns {string} A string representing the data_store.
|
3039
|
+
*/
|
3040
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3041
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
3042
|
+
}
|
3043
|
+
/**
|
3044
|
+
* Parse the session from ProjectLocationDataStoreSessions resource.
|
3045
|
+
*
|
3046
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3047
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3048
|
+
* @returns {string} A string representing the session.
|
3049
|
+
*/
|
3050
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3051
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
3052
|
+
}
|
3053
3053
|
/**
|
3054
3054
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
3055
3055
|
*
|
@@ -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",
|