@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
@@ -179,16 +179,16 @@ class DocumentServiceClient {
|
|
179
179
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
180
180
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
181
181
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
182
|
-
projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
183
182
|
projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
183
|
+
projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
184
184
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
185
185
|
projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
186
186
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
187
187
|
projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
|
188
188
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
189
189
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
190
|
-
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
191
190
|
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
191
|
+
projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
192
192
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
193
193
|
projectLocationDataStoreBranchPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}'),
|
194
194
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
@@ -199,8 +199,8 @@ class DocumentServiceClient {
|
|
199
199
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
200
200
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
201
201
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
202
|
-
projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
203
202
|
projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
203
|
+
projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
204
204
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
205
205
|
projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
206
206
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
@@ -1880,154 +1880,154 @@ class DocumentServiceClient {
|
|
1880
1880
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1881
1881
|
}
|
1882
1882
|
/**
|
1883
|
-
* Return a fully-qualified
|
1883
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1884
1884
|
*
|
1885
1885
|
* @param {string} project
|
1886
1886
|
* @param {string} location
|
1887
1887
|
* @param {string} collection
|
1888
1888
|
* @param {string} data_store
|
1889
1889
|
* @param {string} session
|
1890
|
+
* @param {string} answer
|
1890
1891
|
* @returns {string} Resource name string.
|
1891
1892
|
*/
|
1892
|
-
|
1893
|
-
return this.pathTemplates.
|
1893
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1894
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1894
1895
|
project: project,
|
1895
1896
|
location: location,
|
1896
1897
|
collection: collection,
|
1897
1898
|
data_store: dataStore,
|
1898
1899
|
session: session,
|
1900
|
+
answer: answer,
|
1899
1901
|
});
|
1900
1902
|
}
|
1901
1903
|
/**
|
1902
|
-
* Parse the project from
|
1904
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1903
1905
|
*
|
1904
|
-
* @param {string}
|
1905
|
-
* A fully-qualified path representing
|
1906
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1907
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1906
1908
|
* @returns {string} A string representing the project.
|
1907
1909
|
*/
|
1908
|
-
|
1909
|
-
return this.pathTemplates.
|
1910
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1911
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1910
1912
|
}
|
1911
1913
|
/**
|
1912
|
-
* Parse the location from
|
1914
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1913
1915
|
*
|
1914
|
-
* @param {string}
|
1915
|
-
* A fully-qualified path representing
|
1916
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1917
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1916
1918
|
* @returns {string} A string representing the location.
|
1917
1919
|
*/
|
1918
|
-
|
1919
|
-
return this.pathTemplates.
|
1920
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1921
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1920
1922
|
}
|
1921
1923
|
/**
|
1922
|
-
* Parse the collection from
|
1924
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1923
1925
|
*
|
1924
|
-
* @param {string}
|
1925
|
-
* A fully-qualified path representing
|
1926
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1927
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1926
1928
|
* @returns {string} A string representing the collection.
|
1927
1929
|
*/
|
1928
|
-
|
1929
|
-
return this.pathTemplates.
|
1930
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1931
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1930
1932
|
}
|
1931
1933
|
/**
|
1932
|
-
* Parse the data_store from
|
1934
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1933
1935
|
*
|
1934
|
-
* @param {string}
|
1935
|
-
* A fully-qualified path representing
|
1936
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1937
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1936
1938
|
* @returns {string} A string representing the data_store.
|
1937
1939
|
*/
|
1938
|
-
|
1939
|
-
return this.pathTemplates.
|
1940
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1941
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1940
1942
|
}
|
1941
1943
|
/**
|
1942
|
-
* Parse the session from
|
1944
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1943
1945
|
*
|
1944
|
-
* @param {string}
|
1945
|
-
* A fully-qualified path representing
|
1946
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1947
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1946
1948
|
* @returns {string} A string representing the session.
|
1947
1949
|
*/
|
1948
|
-
|
1949
|
-
return this.pathTemplates.
|
1950
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1951
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1950
1952
|
}
|
1951
1953
|
/**
|
1952
|
-
*
|
1954
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1955
|
+
*
|
1956
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1957
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1958
|
+
* @returns {string} A string representing the answer.
|
1959
|
+
*/
|
1960
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1961
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1962
|
+
}
|
1963
|
+
/**
|
1964
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
1953
1965
|
*
|
1954
1966
|
* @param {string} project
|
1955
1967
|
* @param {string} location
|
1956
1968
|
* @param {string} collection
|
1957
1969
|
* @param {string} data_store
|
1958
1970
|
* @param {string} session
|
1959
|
-
* @param {string} answer
|
1960
1971
|
* @returns {string} Resource name string.
|
1961
1972
|
*/
|
1962
|
-
|
1963
|
-
return this.pathTemplates.
|
1973
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
1974
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
1964
1975
|
project: project,
|
1965
1976
|
location: location,
|
1966
1977
|
collection: collection,
|
1967
1978
|
data_store: dataStore,
|
1968
1979
|
session: session,
|
1969
|
-
answer: answer,
|
1970
1980
|
});
|
1971
1981
|
}
|
1972
1982
|
/**
|
1973
|
-
* Parse the project from
|
1983
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
1974
1984
|
*
|
1975
|
-
* @param {string}
|
1976
|
-
* A fully-qualified path representing
|
1985
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1986
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1977
1987
|
* @returns {string} A string representing the project.
|
1978
1988
|
*/
|
1979
|
-
|
1980
|
-
return this.pathTemplates.
|
1989
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1990
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
1981
1991
|
}
|
1982
1992
|
/**
|
1983
|
-
* Parse the location from
|
1993
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessions resource.
|
1984
1994
|
*
|
1985
|
-
* @param {string}
|
1986
|
-
* A fully-qualified path representing
|
1995
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1996
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1987
1997
|
* @returns {string} A string representing the location.
|
1988
1998
|
*/
|
1989
|
-
|
1990
|
-
return this.pathTemplates.
|
1999
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2000
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
1991
2001
|
}
|
1992
2002
|
/**
|
1993
|
-
* Parse the collection from
|
2003
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
|
1994
2004
|
*
|
1995
|
-
* @param {string}
|
1996
|
-
* A fully-qualified path representing
|
2005
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2006
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1997
2007
|
* @returns {string} A string representing the collection.
|
1998
2008
|
*/
|
1999
|
-
|
2000
|
-
return this.pathTemplates.
|
2009
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2010
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
2001
2011
|
}
|
2002
2012
|
/**
|
2003
|
-
* Parse the data_store from
|
2013
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
|
2004
2014
|
*
|
2005
|
-
* @param {string}
|
2006
|
-
* A fully-qualified path representing
|
2015
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2016
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
2007
2017
|
* @returns {string} A string representing the data_store.
|
2008
2018
|
*/
|
2009
|
-
|
2010
|
-
return this.pathTemplates.
|
2019
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2020
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
2011
2021
|
}
|
2012
2022
|
/**
|
2013
|
-
* Parse the session from
|
2023
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessions resource.
|
2014
2024
|
*
|
2015
|
-
* @param {string}
|
2016
|
-
* A fully-qualified path representing
|
2025
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2026
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
2017
2027
|
* @returns {string} A string representing the session.
|
2018
2028
|
*/
|
2019
|
-
|
2020
|
-
return this.pathTemplates.
|
2021
|
-
}
|
2022
|
-
/**
|
2023
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
2024
|
-
*
|
2025
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
2026
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
2027
|
-
* @returns {string} A string representing the answer.
|
2028
|
-
*/
|
2029
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2030
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
2029
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2030
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
2031
2031
|
}
|
2032
2032
|
/**
|
2033
2033
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -2432,154 +2432,154 @@ class DocumentServiceClient {
|
|
2432
2432
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
2433
2433
|
}
|
2434
2434
|
/**
|
2435
|
-
* Return a fully-qualified
|
2435
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
2436
2436
|
*
|
2437
2437
|
* @param {string} project
|
2438
2438
|
* @param {string} location
|
2439
2439
|
* @param {string} collection
|
2440
2440
|
* @param {string} engine
|
2441
2441
|
* @param {string} session
|
2442
|
+
* @param {string} answer
|
2442
2443
|
* @returns {string} Resource name string.
|
2443
2444
|
*/
|
2444
|
-
|
2445
|
-
return this.pathTemplates.
|
2445
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
2446
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
2446
2447
|
project: project,
|
2447
2448
|
location: location,
|
2448
2449
|
collection: collection,
|
2449
2450
|
engine: engine,
|
2450
2451
|
session: session,
|
2452
|
+
answer: answer,
|
2451
2453
|
});
|
2452
2454
|
}
|
2453
2455
|
/**
|
2454
|
-
* Parse the project from
|
2456
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
2455
2457
|
*
|
2456
|
-
* @param {string}
|
2457
|
-
* A fully-qualified path representing
|
2458
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2459
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2458
2460
|
* @returns {string} A string representing the project.
|
2459
2461
|
*/
|
2460
|
-
|
2461
|
-
return this.pathTemplates.
|
2462
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2463
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
2462
2464
|
}
|
2463
2465
|
/**
|
2464
|
-
* Parse the location from
|
2466
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
2465
2467
|
*
|
2466
|
-
* @param {string}
|
2467
|
-
* A fully-qualified path representing
|
2468
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2469
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2468
2470
|
* @returns {string} A string representing the location.
|
2469
2471
|
*/
|
2470
|
-
|
2471
|
-
return this.pathTemplates.
|
2472
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2473
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
2472
2474
|
}
|
2473
2475
|
/**
|
2474
|
-
* Parse the collection from
|
2476
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
2475
2477
|
*
|
2476
|
-
* @param {string}
|
2477
|
-
* A fully-qualified path representing
|
2478
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2479
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2478
2480
|
* @returns {string} A string representing the collection.
|
2479
2481
|
*/
|
2480
|
-
|
2481
|
-
return this.pathTemplates.
|
2482
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2483
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
2482
2484
|
}
|
2483
2485
|
/**
|
2484
|
-
* Parse the engine from
|
2486
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
2485
2487
|
*
|
2486
|
-
* @param {string}
|
2487
|
-
* A fully-qualified path representing
|
2488
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2489
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2488
2490
|
* @returns {string} A string representing the engine.
|
2489
2491
|
*/
|
2490
|
-
|
2491
|
-
return this.pathTemplates.
|
2492
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2493
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
2492
2494
|
}
|
2493
2495
|
/**
|
2494
|
-
* Parse the session from
|
2496
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
2495
2497
|
*
|
2496
|
-
* @param {string}
|
2497
|
-
* A fully-qualified path representing
|
2498
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2499
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2498
2500
|
* @returns {string} A string representing the session.
|
2499
2501
|
*/
|
2500
|
-
|
2501
|
-
return this.pathTemplates.
|
2502
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2503
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
2502
2504
|
}
|
2503
2505
|
/**
|
2504
|
-
*
|
2506
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2507
|
+
*
|
2508
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2509
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2510
|
+
* @returns {string} A string representing the answer.
|
2511
|
+
*/
|
2512
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2513
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2514
|
+
}
|
2515
|
+
/**
|
2516
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
2505
2517
|
*
|
2506
2518
|
* @param {string} project
|
2507
2519
|
* @param {string} location
|
2508
2520
|
* @param {string} collection
|
2509
2521
|
* @param {string} engine
|
2510
2522
|
* @param {string} session
|
2511
|
-
* @param {string} answer
|
2512
2523
|
* @returns {string} Resource name string.
|
2513
2524
|
*/
|
2514
|
-
|
2515
|
-
return this.pathTemplates.
|
2525
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
2526
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
2516
2527
|
project: project,
|
2517
2528
|
location: location,
|
2518
2529
|
collection: collection,
|
2519
2530
|
engine: engine,
|
2520
2531
|
session: session,
|
2521
|
-
answer: answer,
|
2522
2532
|
});
|
2523
2533
|
}
|
2524
2534
|
/**
|
2525
|
-
* Parse the project from
|
2535
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
2526
2536
|
*
|
2527
|
-
* @param {string}
|
2528
|
-
* A fully-qualified path representing
|
2537
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2538
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2529
2539
|
* @returns {string} A string representing the project.
|
2530
2540
|
*/
|
2531
|
-
|
2532
|
-
return this.pathTemplates.
|
2541
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2542
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
2533
2543
|
}
|
2534
2544
|
/**
|
2535
|
-
* Parse the location from
|
2545
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
2536
2546
|
*
|
2537
|
-
* @param {string}
|
2538
|
-
* A fully-qualified path representing
|
2547
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2548
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2539
2549
|
* @returns {string} A string representing the location.
|
2540
2550
|
*/
|
2541
|
-
|
2542
|
-
return this.pathTemplates.
|
2551
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2552
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
2543
2553
|
}
|
2544
2554
|
/**
|
2545
|
-
* Parse the collection from
|
2555
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
2546
2556
|
*
|
2547
|
-
* @param {string}
|
2548
|
-
* A fully-qualified path representing
|
2557
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2558
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2549
2559
|
* @returns {string} A string representing the collection.
|
2550
2560
|
*/
|
2551
|
-
|
2552
|
-
return this.pathTemplates.
|
2561
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2562
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
2553
2563
|
}
|
2554
2564
|
/**
|
2555
|
-
* Parse the engine from
|
2565
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
2556
2566
|
*
|
2557
|
-
* @param {string}
|
2558
|
-
* A fully-qualified path representing
|
2567
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2568
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2559
2569
|
* @returns {string} A string representing the engine.
|
2560
2570
|
*/
|
2561
|
-
|
2562
|
-
return this.pathTemplates.
|
2571
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2572
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
2563
2573
|
}
|
2564
2574
|
/**
|
2565
|
-
* Parse the session from
|
2575
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
2566
2576
|
*
|
2567
|
-
* @param {string}
|
2568
|
-
* A fully-qualified path representing
|
2577
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2578
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2569
2579
|
* @returns {string} A string representing the session.
|
2570
2580
|
*/
|
2571
|
-
|
2572
|
-
return this.pathTemplates.
|
2573
|
-
}
|
2574
|
-
/**
|
2575
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2576
|
-
*
|
2577
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2578
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2579
|
-
* @returns {string} A string representing the answer.
|
2580
|
-
*/
|
2581
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2582
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2581
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2582
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
2583
2583
|
}
|
2584
2584
|
/**
|
2585
2585
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -3163,63 +3163,6 @@ class DocumentServiceClient {
|
|
3163
3163
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
3164
3164
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
3165
3165
|
}
|
3166
|
-
/**
|
3167
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
3168
|
-
*
|
3169
|
-
* @param {string} project
|
3170
|
-
* @param {string} location
|
3171
|
-
* @param {string} data_store
|
3172
|
-
* @param {string} session
|
3173
|
-
* @returns {string} Resource name string.
|
3174
|
-
*/
|
3175
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
3176
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
3177
|
-
project: project,
|
3178
|
-
location: location,
|
3179
|
-
data_store: dataStore,
|
3180
|
-
session: session,
|
3181
|
-
});
|
3182
|
-
}
|
3183
|
-
/**
|
3184
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
3185
|
-
*
|
3186
|
-
* @param {string} projectLocationDataStoreSessionName
|
3187
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3188
|
-
* @returns {string} A string representing the project.
|
3189
|
-
*/
|
3190
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3191
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
3192
|
-
}
|
3193
|
-
/**
|
3194
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
3195
|
-
*
|
3196
|
-
* @param {string} projectLocationDataStoreSessionName
|
3197
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3198
|
-
* @returns {string} A string representing the location.
|
3199
|
-
*/
|
3200
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3201
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
3202
|
-
}
|
3203
|
-
/**
|
3204
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
3205
|
-
*
|
3206
|
-
* @param {string} projectLocationDataStoreSessionName
|
3207
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3208
|
-
* @returns {string} A string representing the data_store.
|
3209
|
-
*/
|
3210
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3211
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
3212
|
-
}
|
3213
|
-
/**
|
3214
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
3215
|
-
*
|
3216
|
-
* @param {string} projectLocationDataStoreSessionName
|
3217
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3218
|
-
* @returns {string} A string representing the session.
|
3219
|
-
*/
|
3220
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3221
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
3222
|
-
}
|
3223
3166
|
/**
|
3224
3167
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
3225
3168
|
*
|
@@ -3289,6 +3232,63 @@ class DocumentServiceClient {
|
|
3289
3232
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
3290
3233
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
3291
3234
|
}
|
3235
|
+
/**
|
3236
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
3237
|
+
*
|
3238
|
+
* @param {string} project
|
3239
|
+
* @param {string} location
|
3240
|
+
* @param {string} data_store
|
3241
|
+
* @param {string} session
|
3242
|
+
* @returns {string} Resource name string.
|
3243
|
+
*/
|
3244
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
3245
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
3246
|
+
project: project,
|
3247
|
+
location: location,
|
3248
|
+
data_store: dataStore,
|
3249
|
+
session: session,
|
3250
|
+
});
|
3251
|
+
}
|
3252
|
+
/**
|
3253
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
3254
|
+
*
|
3255
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3256
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3257
|
+
* @returns {string} A string representing the project.
|
3258
|
+
*/
|
3259
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3260
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
3261
|
+
}
|
3262
|
+
/**
|
3263
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
3264
|
+
*
|
3265
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3266
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3267
|
+
* @returns {string} A string representing the location.
|
3268
|
+
*/
|
3269
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3270
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
3271
|
+
}
|
3272
|
+
/**
|
3273
|
+
* Parse the data_store from ProjectLocationDataStoreSessions resource.
|
3274
|
+
*
|
3275
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3276
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3277
|
+
* @returns {string} A string representing the data_store.
|
3278
|
+
*/
|
3279
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3280
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
3281
|
+
}
|
3282
|
+
/**
|
3283
|
+
* Parse the session from ProjectLocationDataStoreSessions resource.
|
3284
|
+
*
|
3285
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3286
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3287
|
+
* @returns {string} A string representing the session.
|
3288
|
+
*/
|
3289
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3290
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
3291
|
+
}
|
3292
3292
|
/**
|
3293
3293
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
3294
3294
|
*
|
@@ -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",
|