@google-cloud/discoveryengine 2.3.0 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -0
- package/build/protos/google/cloud/discoveryengine/v1/assist_answer.proto +251 -0
- package/build/protos/google/cloud/discoveryengine/v1/assistant.proto +44 -0
- package/build/protos/google/cloud/discoveryengine/v1/assistant_service.proto +217 -0
- package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +15 -3
- package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +8 -14
- package/build/protos/google/cloud/discoveryengine/v1/session.proto +21 -8
- package/build/protos/google/cloud/discoveryengine/v1/session_service.proto +128 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +15 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +30 -9
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +8 -14
- package/build/protos/google/cloud/discoveryengine/v1alpha/session.proto +238 -8
- package/build/protos/google/cloud/discoveryengine/v1alpha/session_service.proto +201 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +26 -5
- package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +8 -14
- package/build/protos/google/cloud/discoveryengine/v1beta/session.proto +40 -8
- package/build/protos/google/cloud/discoveryengine/v1beta/session_service.proto +128 -0
- package/build/protos/protos.d.ts +15057 -10636
- package/build/protos/protos.js +45523 -34174
- package/build/protos/protos.json +4835 -3203
- package/build/src/index.d.ts +7 -1
- package/build/src/index.js +6 -2
- package/build/src/v1/assistant_service_client.d.ts +2058 -0
- package/build/src/v1/assistant_service_client.js +2957 -0
- package/build/src/v1/assistant_service_client_config.json +43 -0
- package/build/src/v1/assistant_service_proto_list.json +48 -0
- package/build/src/v1/cmek_config_service_client.d.ts +255 -144
- package/build/src/v1/cmek_config_service_client.js +348 -196
- package/build/src/v1/cmek_config_service_proto_list.json +4 -0
- package/build/src/v1/completion_service_client.d.ts +255 -144
- package/build/src/v1/completion_service_client.js +348 -196
- package/build/src/v1/completion_service_proto_list.json +4 -0
- package/build/src/v1/control_service_client.d.ts +255 -144
- package/build/src/v1/control_service_client.js +348 -196
- package/build/src/v1/control_service_proto_list.json +4 -0
- package/build/src/v1/conversational_search_service_client.d.ts +302 -155
- package/build/src/v1/conversational_search_service_client.js +380 -204
- package/build/src/v1/conversational_search_service_proto_list.json +4 -0
- package/build/src/v1/data_store_service_client.d.ts +255 -144
- package/build/src/v1/data_store_service_client.js +348 -196
- package/build/src/v1/data_store_service_proto_list.json +4 -0
- package/build/src/v1/document_service_client.d.ts +255 -144
- package/build/src/v1/document_service_client.js +348 -196
- package/build/src/v1/document_service_proto_list.json +4 -0
- package/build/src/v1/engine_service_client.d.ts +255 -144
- package/build/src/v1/engine_service_client.js +348 -196
- package/build/src/v1/engine_service_proto_list.json +4 -0
- package/build/src/v1/gapic_metadata.json +86 -0
- package/build/src/v1/grounded_generation_service_client.d.ts +255 -144
- package/build/src/v1/grounded_generation_service_client.js +348 -196
- package/build/src/v1/grounded_generation_service_proto_list.json +4 -0
- package/build/src/v1/identity_mapping_store_service_client.d.ts +255 -144
- package/build/src/v1/identity_mapping_store_service_client.js +348 -196
- package/build/src/v1/identity_mapping_store_service_proto_list.json +4 -0
- package/build/src/v1/index.d.ts +2 -0
- package/build/src/v1/index.js +5 -1
- package/build/src/v1/project_service_client.d.ts +255 -144
- package/build/src/v1/project_service_client.js +348 -196
- package/build/src/v1/project_service_proto_list.json +4 -0
- package/build/src/v1/rank_service_client.d.ts +255 -144
- package/build/src/v1/rank_service_client.js +348 -196
- package/build/src/v1/rank_service_proto_list.json +4 -0
- package/build/src/v1/recommendation_service_client.d.ts +255 -144
- package/build/src/v1/recommendation_service_client.js +348 -196
- package/build/src/v1/recommendation_service_proto_list.json +4 -0
- package/build/src/v1/schema_service_client.d.ts +255 -144
- package/build/src/v1/schema_service_client.js +348 -196
- package/build/src/v1/schema_service_proto_list.json +4 -0
- package/build/src/v1/search_service_client.d.ts +303 -228
- package/build/src/v1/search_service_client.js +380 -252
- package/build/src/v1/search_service_proto_list.json +4 -0
- package/build/src/v1/search_tuning_service_client.d.ts +255 -144
- package/build/src/v1/search_tuning_service_client.js +348 -196
- package/build/src/v1/search_tuning_service_proto_list.json +4 -0
- package/build/src/v1/serving_config_service_client.d.ts +255 -144
- package/build/src/v1/serving_config_service_client.js +348 -196
- package/build/src/v1/serving_config_service_proto_list.json +4 -0
- package/build/src/v1/session_service_client.d.ts +2326 -0
- package/build/src/v1/session_service_client.js +3218 -0
- package/build/src/v1/session_service_client_config.json +63 -0
- package/build/src/v1/session_service_proto_list.json +48 -0
- package/build/src/v1/site_search_engine_service_client.d.ts +255 -144
- package/build/src/v1/site_search_engine_service_client.js +348 -196
- package/build/src/v1/site_search_engine_service_proto_list.json +4 -0
- package/build/src/v1/user_event_service_client.d.ts +255 -144
- package/build/src/v1/user_event_service_client.js +348 -196
- package/build/src/v1/user_event_service_proto_list.json +4 -0
- package/build/src/v1/user_license_service_client.d.ts +255 -144
- package/build/src/v1/user_license_service_client.js +348 -196
- package/build/src/v1/user_license_service_proto_list.json +4 -0
- package/build/src/v1alpha/acl_config_service_client.d.ts +144 -144
- package/build/src/v1alpha/acl_config_service_client.js +196 -196
- package/build/src/v1alpha/acl_config_service_proto_list.json +1 -0
- package/build/src/v1alpha/chunk_service_client.d.ts +144 -144
- package/build/src/v1alpha/chunk_service_client.js +196 -196
- package/build/src/v1alpha/chunk_service_proto_list.json +1 -0
- package/build/src/v1alpha/completion_service_client.d.ts +144 -144
- package/build/src/v1alpha/completion_service_client.js +196 -196
- package/build/src/v1alpha/completion_service_proto_list.json +1 -0
- package/build/src/v1alpha/control_service_client.d.ts +144 -144
- package/build/src/v1alpha/control_service_client.js +196 -196
- package/build/src/v1alpha/control_service_proto_list.json +1 -0
- package/build/src/v1alpha/conversational_search_service_client.d.ts +221 -167
- package/build/src/v1alpha/conversational_search_service_client.js +244 -210
- package/build/src/v1alpha/conversational_search_service_proto_list.json +1 -0
- package/build/src/v1alpha/data_store_service_client.d.ts +144 -144
- package/build/src/v1alpha/data_store_service_client.js +196 -196
- package/build/src/v1alpha/data_store_service_proto_list.json +1 -0
- package/build/src/v1alpha/document_service_client.d.ts +144 -144
- package/build/src/v1alpha/document_service_client.js +196 -196
- package/build/src/v1alpha/document_service_proto_list.json +1 -0
- package/build/src/v1alpha/engine_service_client.d.ts +144 -144
- package/build/src/v1alpha/engine_service_client.js +196 -196
- package/build/src/v1alpha/engine_service_proto_list.json +1 -0
- package/build/src/v1alpha/estimate_billing_service_client.d.ts +144 -144
- package/build/src/v1alpha/estimate_billing_service_client.js +196 -196
- package/build/src/v1alpha/estimate_billing_service_proto_list.json +1 -0
- package/build/src/v1alpha/evaluation_service_client.d.ts +144 -144
- package/build/src/v1alpha/evaluation_service_client.js +196 -196
- package/build/src/v1alpha/evaluation_service_proto_list.json +1 -0
- package/build/src/v1alpha/gapic_metadata.json +82 -0
- package/build/src/v1alpha/grounded_generation_service_client.d.ts +144 -144
- package/build/src/v1alpha/grounded_generation_service_client.js +196 -196
- package/build/src/v1alpha/grounded_generation_service_proto_list.json +1 -0
- package/build/src/v1alpha/index.d.ts +1 -0
- package/build/src/v1alpha/index.js +3 -1
- package/build/src/v1alpha/project_service_client.d.ts +144 -144
- package/build/src/v1alpha/project_service_client.js +196 -196
- package/build/src/v1alpha/project_service_proto_list.json +1 -0
- package/build/src/v1alpha/rank_service_client.d.ts +144 -144
- package/build/src/v1alpha/rank_service_client.js +196 -196
- package/build/src/v1alpha/rank_service_proto_list.json +1 -0
- package/build/src/v1alpha/recommendation_service_client.d.ts +144 -144
- package/build/src/v1alpha/recommendation_service_client.js +196 -196
- package/build/src/v1alpha/recommendation_service_proto_list.json +1 -0
- package/build/src/v1alpha/sample_query_service_client.d.ts +144 -144
- package/build/src/v1alpha/sample_query_service_client.js +196 -196
- package/build/src/v1alpha/sample_query_service_proto_list.json +1 -0
- package/build/src/v1alpha/sample_query_set_service_client.d.ts +144 -144
- package/build/src/v1alpha/sample_query_set_service_client.js +196 -196
- package/build/src/v1alpha/sample_query_set_service_proto_list.json +1 -0
- package/build/src/v1alpha/schema_service_client.d.ts +144 -144
- package/build/src/v1alpha/schema_service_client.js +196 -196
- package/build/src/v1alpha/schema_service_proto_list.json +1 -0
- package/build/src/v1alpha/search_service_client.d.ts +168 -186
- package/build/src/v1alpha/search_service_client.js +212 -224
- package/build/src/v1alpha/search_service_proto_list.json +1 -0
- package/build/src/v1alpha/search_tuning_service_client.d.ts +144 -144
- package/build/src/v1alpha/search_tuning_service_client.js +196 -196
- package/build/src/v1alpha/search_tuning_service_proto_list.json +1 -0
- package/build/src/v1alpha/serving_config_service_client.d.ts +144 -144
- package/build/src/v1alpha/serving_config_service_client.js +196 -196
- package/build/src/v1alpha/serving_config_service_proto_list.json +1 -0
- package/build/src/v1alpha/session_service_client.d.ts +2331 -0
- package/build/src/v1alpha/session_service_client.js +3161 -0
- package/build/src/v1alpha/session_service_client_config.json +68 -0
- package/build/src/v1alpha/session_service_proto_list.json +49 -0
- package/build/src/v1alpha/site_search_engine_service_client.d.ts +144 -144
- package/build/src/v1alpha/site_search_engine_service_client.js +196 -196
- package/build/src/v1alpha/site_search_engine_service_proto_list.json +1 -0
- package/build/src/v1alpha/user_event_service_client.d.ts +144 -144
- package/build/src/v1alpha/user_event_service_client.js +196 -196
- package/build/src/v1alpha/user_event_service_proto_list.json +1 -0
- package/build/src/v1beta/completion_service_client.d.ts +144 -144
- package/build/src/v1beta/completion_service_client.js +196 -196
- package/build/src/v1beta/completion_service_proto_list.json +1 -0
- package/build/src/v1beta/control_service_client.d.ts +144 -144
- package/build/src/v1beta/control_service_client.js +196 -196
- package/build/src/v1beta/control_service_proto_list.json +1 -0
- package/build/src/v1beta/conversational_search_service_client.d.ts +215 -161
- package/build/src/v1beta/conversational_search_service_client.js +242 -208
- package/build/src/v1beta/conversational_search_service_proto_list.json +1 -0
- package/build/src/v1beta/data_store_service_client.d.ts +144 -144
- package/build/src/v1beta/data_store_service_client.js +196 -196
- package/build/src/v1beta/data_store_service_proto_list.json +1 -0
- package/build/src/v1beta/document_service_client.d.ts +144 -144
- package/build/src/v1beta/document_service_client.js +196 -196
- package/build/src/v1beta/document_service_proto_list.json +1 -0
- package/build/src/v1beta/engine_service_client.d.ts +144 -144
- package/build/src/v1beta/engine_service_client.js +196 -196
- package/build/src/v1beta/engine_service_proto_list.json +1 -0
- package/build/src/v1beta/evaluation_service_client.d.ts +144 -144
- package/build/src/v1beta/evaluation_service_client.js +196 -196
- package/build/src/v1beta/evaluation_service_proto_list.json +1 -0
- package/build/src/v1beta/gapic_metadata.json +68 -0
- package/build/src/v1beta/grounded_generation_service_client.d.ts +144 -144
- package/build/src/v1beta/grounded_generation_service_client.js +196 -196
- package/build/src/v1beta/grounded_generation_service_proto_list.json +1 -0
- package/build/src/v1beta/index.d.ts +1 -0
- package/build/src/v1beta/index.js +3 -1
- package/build/src/v1beta/project_service_client.d.ts +144 -144
- package/build/src/v1beta/project_service_client.js +196 -196
- package/build/src/v1beta/project_service_proto_list.json +1 -0
- package/build/src/v1beta/rank_service_client.d.ts +144 -144
- package/build/src/v1beta/rank_service_client.js +196 -196
- package/build/src/v1beta/rank_service_proto_list.json +1 -0
- package/build/src/v1beta/recommendation_service_client.d.ts +144 -144
- package/build/src/v1beta/recommendation_service_client.js +196 -196
- package/build/src/v1beta/recommendation_service_proto_list.json +1 -0
- package/build/src/v1beta/sample_query_service_client.d.ts +144 -144
- package/build/src/v1beta/sample_query_service_client.js +196 -196
- package/build/src/v1beta/sample_query_service_proto_list.json +1 -0
- package/build/src/v1beta/sample_query_set_service_client.d.ts +144 -144
- package/build/src/v1beta/sample_query_set_service_client.js +196 -196
- package/build/src/v1beta/sample_query_set_service_proto_list.json +1 -0
- package/build/src/v1beta/schema_service_client.d.ts +144 -144
- package/build/src/v1beta/schema_service_client.js +196 -196
- package/build/src/v1beta/schema_service_proto_list.json +1 -0
- package/build/src/v1beta/search_service_client.d.ts +192 -228
- package/build/src/v1beta/search_service_client.js +228 -252
- package/build/src/v1beta/search_service_proto_list.json +1 -0
- package/build/src/v1beta/search_tuning_service_client.d.ts +144 -144
- package/build/src/v1beta/search_tuning_service_client.js +196 -196
- package/build/src/v1beta/search_tuning_service_proto_list.json +1 -0
- package/build/src/v1beta/serving_config_service_client.d.ts +144 -144
- package/build/src/v1beta/serving_config_service_client.js +196 -196
- package/build/src/v1beta/serving_config_service_proto_list.json +1 -0
- package/build/src/v1beta/session_service_client.d.ts +2266 -0
- package/build/src/v1beta/session_service_client.js +3136 -0
- package/build/src/v1beta/session_service_client_config.json +63 -0
- package/build/src/v1beta/session_service_proto_list.json +45 -0
- package/build/src/v1beta/site_search_engine_service_client.d.ts +144 -144
- package/build/src/v1beta/site_search_engine_service_client.js +196 -196
- package/build/src/v1beta/site_search_engine_service_proto_list.json +1 -0
- package/build/src/v1beta/user_event_service_client.d.ts +144 -144
- package/build/src/v1beta/user_event_service_client.js +196 -196
- package/build/src/v1beta/user_event_service_proto_list.json +1 -0
- package/package.json +1 -1
@@ -178,15 +178,15 @@ class EngineServiceClient {
|
|
178
178
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
179
179
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
180
180
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
181
|
-
projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
182
181
|
projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
182
|
+
projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
183
183
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
184
184
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
185
185
|
projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
|
186
186
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
187
187
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
188
|
-
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
189
188
|
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
189
|
+
projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
190
190
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
191
191
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
192
192
|
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
@@ -196,8 +196,8 @@ class EngineServiceClient {
|
|
196
196
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
197
197
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
198
198
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
199
|
-
projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
200
199
|
projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
200
|
+
projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
201
201
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
202
202
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
203
203
|
sampleQueryPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}'),
|
@@ -1821,154 +1821,154 @@ class EngineServiceClient {
|
|
1821
1821
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1822
1822
|
}
|
1823
1823
|
/**
|
1824
|
-
* Return a fully-qualified
|
1824
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1825
1825
|
*
|
1826
1826
|
* @param {string} project
|
1827
1827
|
* @param {string} location
|
1828
1828
|
* @param {string} collection
|
1829
1829
|
* @param {string} data_store
|
1830
1830
|
* @param {string} session
|
1831
|
+
* @param {string} answer
|
1831
1832
|
* @returns {string} Resource name string.
|
1832
1833
|
*/
|
1833
|
-
|
1834
|
-
return this.pathTemplates.
|
1834
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1835
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1835
1836
|
project: project,
|
1836
1837
|
location: location,
|
1837
1838
|
collection: collection,
|
1838
1839
|
data_store: dataStore,
|
1839
1840
|
session: session,
|
1841
|
+
answer: answer,
|
1840
1842
|
});
|
1841
1843
|
}
|
1842
1844
|
/**
|
1843
|
-
* Parse the project from
|
1845
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1844
1846
|
*
|
1845
|
-
* @param {string}
|
1846
|
-
* A fully-qualified path representing
|
1847
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1848
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1847
1849
|
* @returns {string} A string representing the project.
|
1848
1850
|
*/
|
1849
|
-
|
1850
|
-
return this.pathTemplates.
|
1851
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1852
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1851
1853
|
}
|
1852
1854
|
/**
|
1853
|
-
* Parse the location from
|
1855
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1854
1856
|
*
|
1855
|
-
* @param {string}
|
1856
|
-
* A fully-qualified path representing
|
1857
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1858
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1857
1859
|
* @returns {string} A string representing the location.
|
1858
1860
|
*/
|
1859
|
-
|
1860
|
-
return this.pathTemplates.
|
1861
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1862
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1861
1863
|
}
|
1862
1864
|
/**
|
1863
|
-
* Parse the collection from
|
1865
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1864
1866
|
*
|
1865
|
-
* @param {string}
|
1866
|
-
* A fully-qualified path representing
|
1867
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1868
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1867
1869
|
* @returns {string} A string representing the collection.
|
1868
1870
|
*/
|
1869
|
-
|
1870
|
-
return this.pathTemplates.
|
1871
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1872
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1871
1873
|
}
|
1872
1874
|
/**
|
1873
|
-
* Parse the data_store from
|
1875
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1874
1876
|
*
|
1875
|
-
* @param {string}
|
1876
|
-
* A fully-qualified path representing
|
1877
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1878
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1877
1879
|
* @returns {string} A string representing the data_store.
|
1878
1880
|
*/
|
1879
|
-
|
1880
|
-
return this.pathTemplates.
|
1881
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1882
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1881
1883
|
}
|
1882
1884
|
/**
|
1883
|
-
* Parse the session from
|
1885
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1884
1886
|
*
|
1885
|
-
* @param {string}
|
1886
|
-
* A fully-qualified path representing
|
1887
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1888
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1887
1889
|
* @returns {string} A string representing the session.
|
1888
1890
|
*/
|
1889
|
-
|
1890
|
-
return this.pathTemplates.
|
1891
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1892
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1891
1893
|
}
|
1892
1894
|
/**
|
1893
|
-
*
|
1895
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1896
|
+
*
|
1897
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1898
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1899
|
+
* @returns {string} A string representing the answer.
|
1900
|
+
*/
|
1901
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1902
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1903
|
+
}
|
1904
|
+
/**
|
1905
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
1894
1906
|
*
|
1895
1907
|
* @param {string} project
|
1896
1908
|
* @param {string} location
|
1897
1909
|
* @param {string} collection
|
1898
1910
|
* @param {string} data_store
|
1899
1911
|
* @param {string} session
|
1900
|
-
* @param {string} answer
|
1901
1912
|
* @returns {string} Resource name string.
|
1902
1913
|
*/
|
1903
|
-
|
1904
|
-
return this.pathTemplates.
|
1914
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
1915
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
1905
1916
|
project: project,
|
1906
1917
|
location: location,
|
1907
1918
|
collection: collection,
|
1908
1919
|
data_store: dataStore,
|
1909
1920
|
session: session,
|
1910
|
-
answer: answer,
|
1911
1921
|
});
|
1912
1922
|
}
|
1913
1923
|
/**
|
1914
|
-
* Parse the project from
|
1924
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
1915
1925
|
*
|
1916
|
-
* @param {string}
|
1917
|
-
* A fully-qualified path representing
|
1926
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1927
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1918
1928
|
* @returns {string} A string representing the project.
|
1919
1929
|
*/
|
1920
|
-
|
1921
|
-
return this.pathTemplates.
|
1930
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1931
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
1922
1932
|
}
|
1923
1933
|
/**
|
1924
|
-
* Parse the location from
|
1934
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessions resource.
|
1925
1935
|
*
|
1926
|
-
* @param {string}
|
1927
|
-
* A fully-qualified path representing
|
1936
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1937
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1928
1938
|
* @returns {string} A string representing the location.
|
1929
1939
|
*/
|
1930
|
-
|
1931
|
-
return this.pathTemplates.
|
1940
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1941
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
1932
1942
|
}
|
1933
1943
|
/**
|
1934
|
-
* Parse the collection from
|
1944
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
|
1935
1945
|
*
|
1936
|
-
* @param {string}
|
1937
|
-
* A fully-qualified path representing
|
1946
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1947
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1938
1948
|
* @returns {string} A string representing the collection.
|
1939
1949
|
*/
|
1940
|
-
|
1941
|
-
return this.pathTemplates.
|
1950
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1951
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
1942
1952
|
}
|
1943
1953
|
/**
|
1944
|
-
* Parse the data_store from
|
1954
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
|
1945
1955
|
*
|
1946
|
-
* @param {string}
|
1947
|
-
* A fully-qualified path representing
|
1956
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1957
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1948
1958
|
* @returns {string} A string representing the data_store.
|
1949
1959
|
*/
|
1950
|
-
|
1951
|
-
return this.pathTemplates.
|
1960
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1961
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
1952
1962
|
}
|
1953
1963
|
/**
|
1954
|
-
* Parse the session from
|
1964
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessions resource.
|
1955
1965
|
*
|
1956
|
-
* @param {string}
|
1957
|
-
* A fully-qualified path representing
|
1966
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1967
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1958
1968
|
* @returns {string} A string representing the session.
|
1959
1969
|
*/
|
1960
|
-
|
1961
|
-
return this.pathTemplates.
|
1962
|
-
}
|
1963
|
-
/**
|
1964
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1965
|
-
*
|
1966
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1967
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1968
|
-
* @returns {string} A string representing the answer.
|
1969
|
-
*/
|
1970
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1971
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1970
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1971
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
1972
1972
|
}
|
1973
1973
|
/**
|
1974
1974
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -2304,154 +2304,154 @@ class EngineServiceClient {
|
|
2304
2304
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
2305
2305
|
}
|
2306
2306
|
/**
|
2307
|
-
* Return a fully-qualified
|
2307
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
2308
2308
|
*
|
2309
2309
|
* @param {string} project
|
2310
2310
|
* @param {string} location
|
2311
2311
|
* @param {string} collection
|
2312
2312
|
* @param {string} engine
|
2313
2313
|
* @param {string} session
|
2314
|
+
* @param {string} answer
|
2314
2315
|
* @returns {string} Resource name string.
|
2315
2316
|
*/
|
2316
|
-
|
2317
|
-
return this.pathTemplates.
|
2317
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
2318
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
2318
2319
|
project: project,
|
2319
2320
|
location: location,
|
2320
2321
|
collection: collection,
|
2321
2322
|
engine: engine,
|
2322
2323
|
session: session,
|
2324
|
+
answer: answer,
|
2323
2325
|
});
|
2324
2326
|
}
|
2325
2327
|
/**
|
2326
|
-
* Parse the project from
|
2328
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
2327
2329
|
*
|
2328
|
-
* @param {string}
|
2329
|
-
* A fully-qualified path representing
|
2330
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2331
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2330
2332
|
* @returns {string} A string representing the project.
|
2331
2333
|
*/
|
2332
|
-
|
2333
|
-
return this.pathTemplates.
|
2334
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2335
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
2334
2336
|
}
|
2335
2337
|
/**
|
2336
|
-
* Parse the location from
|
2338
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
2337
2339
|
*
|
2338
|
-
* @param {string}
|
2339
|
-
* A fully-qualified path representing
|
2340
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2341
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2340
2342
|
* @returns {string} A string representing the location.
|
2341
2343
|
*/
|
2342
|
-
|
2343
|
-
return this.pathTemplates.
|
2344
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2345
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
2344
2346
|
}
|
2345
2347
|
/**
|
2346
|
-
* Parse the collection from
|
2348
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
2347
2349
|
*
|
2348
|
-
* @param {string}
|
2349
|
-
* A fully-qualified path representing
|
2350
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2351
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2350
2352
|
* @returns {string} A string representing the collection.
|
2351
2353
|
*/
|
2352
|
-
|
2353
|
-
return this.pathTemplates.
|
2354
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2355
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
2354
2356
|
}
|
2355
2357
|
/**
|
2356
|
-
* Parse the engine from
|
2358
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
2357
2359
|
*
|
2358
|
-
* @param {string}
|
2359
|
-
* A fully-qualified path representing
|
2360
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2361
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2360
2362
|
* @returns {string} A string representing the engine.
|
2361
2363
|
*/
|
2362
|
-
|
2363
|
-
return this.pathTemplates.
|
2364
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2365
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
2364
2366
|
}
|
2365
2367
|
/**
|
2366
|
-
* Parse the session from
|
2368
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
2367
2369
|
*
|
2368
|
-
* @param {string}
|
2369
|
-
* A fully-qualified path representing
|
2370
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2371
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2370
2372
|
* @returns {string} A string representing the session.
|
2371
2373
|
*/
|
2372
|
-
|
2373
|
-
return this.pathTemplates.
|
2374
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2375
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
2374
2376
|
}
|
2375
2377
|
/**
|
2376
|
-
*
|
2378
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2379
|
+
*
|
2380
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2381
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2382
|
+
* @returns {string} A string representing the answer.
|
2383
|
+
*/
|
2384
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2385
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2386
|
+
}
|
2387
|
+
/**
|
2388
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
2377
2389
|
*
|
2378
2390
|
* @param {string} project
|
2379
2391
|
* @param {string} location
|
2380
2392
|
* @param {string} collection
|
2381
2393
|
* @param {string} engine
|
2382
2394
|
* @param {string} session
|
2383
|
-
* @param {string} answer
|
2384
2395
|
* @returns {string} Resource name string.
|
2385
2396
|
*/
|
2386
|
-
|
2387
|
-
return this.pathTemplates.
|
2397
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
2398
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
2388
2399
|
project: project,
|
2389
2400
|
location: location,
|
2390
2401
|
collection: collection,
|
2391
2402
|
engine: engine,
|
2392
2403
|
session: session,
|
2393
|
-
answer: answer,
|
2394
2404
|
});
|
2395
2405
|
}
|
2396
2406
|
/**
|
2397
|
-
* Parse the project from
|
2407
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
2398
2408
|
*
|
2399
|
-
* @param {string}
|
2400
|
-
* A fully-qualified path representing
|
2409
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2410
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2401
2411
|
* @returns {string} A string representing the project.
|
2402
2412
|
*/
|
2403
|
-
|
2404
|
-
return this.pathTemplates.
|
2413
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2414
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
2405
2415
|
}
|
2406
2416
|
/**
|
2407
|
-
* Parse the location from
|
2417
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
2408
2418
|
*
|
2409
|
-
* @param {string}
|
2410
|
-
* A fully-qualified path representing
|
2419
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2420
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2411
2421
|
* @returns {string} A string representing the location.
|
2412
2422
|
*/
|
2413
|
-
|
2414
|
-
return this.pathTemplates.
|
2423
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2424
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
2415
2425
|
}
|
2416
2426
|
/**
|
2417
|
-
* Parse the collection from
|
2427
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
2418
2428
|
*
|
2419
|
-
* @param {string}
|
2420
|
-
* A fully-qualified path representing
|
2429
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2430
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2421
2431
|
* @returns {string} A string representing the collection.
|
2422
2432
|
*/
|
2423
|
-
|
2424
|
-
return this.pathTemplates.
|
2433
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2434
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
2425
2435
|
}
|
2426
2436
|
/**
|
2427
|
-
* Parse the engine from
|
2437
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
2428
2438
|
*
|
2429
|
-
* @param {string}
|
2430
|
-
* A fully-qualified path representing
|
2439
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2440
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2431
2441
|
* @returns {string} A string representing the engine.
|
2432
2442
|
*/
|
2433
|
-
|
2434
|
-
return this.pathTemplates.
|
2443
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2444
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
2435
2445
|
}
|
2436
2446
|
/**
|
2437
|
-
* Parse the session from
|
2447
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
2438
2448
|
*
|
2439
|
-
* @param {string}
|
2440
|
-
* A fully-qualified path representing
|
2449
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2450
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2441
2451
|
* @returns {string} A string representing the session.
|
2442
2452
|
*/
|
2443
|
-
|
2444
|
-
return this.pathTemplates.
|
2445
|
-
}
|
2446
|
-
/**
|
2447
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2448
|
-
*
|
2449
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2450
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2451
|
-
* @returns {string} A string representing the answer.
|
2452
|
-
*/
|
2453
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2454
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2453
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2454
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
2455
2455
|
}
|
2456
2456
|
/**
|
2457
2457
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -2978,63 +2978,6 @@ class EngineServiceClient {
|
|
2978
2978
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
2979
2979
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
2980
2980
|
}
|
2981
|
-
/**
|
2982
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
2983
|
-
*
|
2984
|
-
* @param {string} project
|
2985
|
-
* @param {string} location
|
2986
|
-
* @param {string} data_store
|
2987
|
-
* @param {string} session
|
2988
|
-
* @returns {string} Resource name string.
|
2989
|
-
*/
|
2990
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
2991
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
2992
|
-
project: project,
|
2993
|
-
location: location,
|
2994
|
-
data_store: dataStore,
|
2995
|
-
session: session,
|
2996
|
-
});
|
2997
|
-
}
|
2998
|
-
/**
|
2999
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
3000
|
-
*
|
3001
|
-
* @param {string} projectLocationDataStoreSessionName
|
3002
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3003
|
-
* @returns {string} A string representing the project.
|
3004
|
-
*/
|
3005
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3006
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
3007
|
-
}
|
3008
|
-
/**
|
3009
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
3010
|
-
*
|
3011
|
-
* @param {string} projectLocationDataStoreSessionName
|
3012
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3013
|
-
* @returns {string} A string representing the location.
|
3014
|
-
*/
|
3015
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3016
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
3017
|
-
}
|
3018
|
-
/**
|
3019
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
3020
|
-
*
|
3021
|
-
* @param {string} projectLocationDataStoreSessionName
|
3022
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3023
|
-
* @returns {string} A string representing the data_store.
|
3024
|
-
*/
|
3025
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3026
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
3027
|
-
}
|
3028
|
-
/**
|
3029
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
3030
|
-
*
|
3031
|
-
* @param {string} projectLocationDataStoreSessionName
|
3032
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3033
|
-
* @returns {string} A string representing the session.
|
3034
|
-
*/
|
3035
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3036
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
3037
|
-
}
|
3038
2981
|
/**
|
3039
2982
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
3040
2983
|
*
|
@@ -3104,6 +3047,63 @@ class EngineServiceClient {
|
|
3104
3047
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
3105
3048
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
3106
3049
|
}
|
3050
|
+
/**
|
3051
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
3052
|
+
*
|
3053
|
+
* @param {string} project
|
3054
|
+
* @param {string} location
|
3055
|
+
* @param {string} data_store
|
3056
|
+
* @param {string} session
|
3057
|
+
* @returns {string} Resource name string.
|
3058
|
+
*/
|
3059
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
3060
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
3061
|
+
project: project,
|
3062
|
+
location: location,
|
3063
|
+
data_store: dataStore,
|
3064
|
+
session: session,
|
3065
|
+
});
|
3066
|
+
}
|
3067
|
+
/**
|
3068
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
3069
|
+
*
|
3070
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3071
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3072
|
+
* @returns {string} A string representing the project.
|
3073
|
+
*/
|
3074
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3075
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
3076
|
+
}
|
3077
|
+
/**
|
3078
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
3079
|
+
*
|
3080
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3081
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3082
|
+
* @returns {string} A string representing the location.
|
3083
|
+
*/
|
3084
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3085
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
3086
|
+
}
|
3087
|
+
/**
|
3088
|
+
* Parse the data_store from ProjectLocationDataStoreSessions resource.
|
3089
|
+
*
|
3090
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3091
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3092
|
+
* @returns {string} A string representing the data_store.
|
3093
|
+
*/
|
3094
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3095
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
3096
|
+
}
|
3097
|
+
/**
|
3098
|
+
* Parse the session from ProjectLocationDataStoreSessions resource.
|
3099
|
+
*
|
3100
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3101
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3102
|
+
* @returns {string} A string representing the session.
|
3103
|
+
*/
|
3104
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3105
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
3106
|
+
}
|
3107
3107
|
/**
|
3108
3108
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
3109
3109
|
*
|
@@ -41,6 +41,7 @@
|
|
41
41
|
"../../protos/google/cloud/discoveryengine/v1alpha/serving_config.proto",
|
42
42
|
"../../protos/google/cloud/discoveryengine/v1alpha/serving_config_service.proto",
|
43
43
|
"../../protos/google/cloud/discoveryengine/v1alpha/session.proto",
|
44
|
+
"../../protos/google/cloud/discoveryengine/v1alpha/session_service.proto",
|
44
45
|
"../../protos/google/cloud/discoveryengine/v1alpha/site_search_engine.proto",
|
45
46
|
"../../protos/google/cloud/discoveryengine/v1alpha/site_search_engine_service.proto",
|
46
47
|
"../../protos/google/cloud/discoveryengine/v1alpha/user_event.proto",
|