@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 EvaluationServiceClient {
|
|
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 EvaluationServiceClient {
|
|
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}'),
|
@@ -1772,154 +1772,154 @@ class EvaluationServiceClient {
|
|
1772
1772
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1773
1773
|
}
|
1774
1774
|
/**
|
1775
|
-
* Return a fully-qualified
|
1775
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1776
1776
|
*
|
1777
1777
|
* @param {string} project
|
1778
1778
|
* @param {string} location
|
1779
1779
|
* @param {string} collection
|
1780
1780
|
* @param {string} data_store
|
1781
1781
|
* @param {string} session
|
1782
|
+
* @param {string} answer
|
1782
1783
|
* @returns {string} Resource name string.
|
1783
1784
|
*/
|
1784
|
-
|
1785
|
-
return this.pathTemplates.
|
1785
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1786
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1786
1787
|
project: project,
|
1787
1788
|
location: location,
|
1788
1789
|
collection: collection,
|
1789
1790
|
data_store: dataStore,
|
1790
1791
|
session: session,
|
1792
|
+
answer: answer,
|
1791
1793
|
});
|
1792
1794
|
}
|
1793
1795
|
/**
|
1794
|
-
* Parse the project from
|
1796
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1795
1797
|
*
|
1796
|
-
* @param {string}
|
1797
|
-
* A fully-qualified path representing
|
1798
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1799
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1798
1800
|
* @returns {string} A string representing the project.
|
1799
1801
|
*/
|
1800
|
-
|
1801
|
-
return this.pathTemplates.
|
1802
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1803
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1802
1804
|
}
|
1803
1805
|
/**
|
1804
|
-
* Parse the location from
|
1806
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1805
1807
|
*
|
1806
|
-
* @param {string}
|
1807
|
-
* A fully-qualified path representing
|
1808
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1809
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1808
1810
|
* @returns {string} A string representing the location.
|
1809
1811
|
*/
|
1810
|
-
|
1811
|
-
return this.pathTemplates.
|
1812
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1813
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1812
1814
|
}
|
1813
1815
|
/**
|
1814
|
-
* Parse the collection from
|
1816
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1815
1817
|
*
|
1816
|
-
* @param {string}
|
1817
|
-
* A fully-qualified path representing
|
1818
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1819
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1818
1820
|
* @returns {string} A string representing the collection.
|
1819
1821
|
*/
|
1820
|
-
|
1821
|
-
return this.pathTemplates.
|
1822
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1823
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1822
1824
|
}
|
1823
1825
|
/**
|
1824
|
-
* Parse the data_store from
|
1826
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1825
1827
|
*
|
1826
|
-
* @param {string}
|
1827
|
-
* A fully-qualified path representing
|
1828
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1829
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1828
1830
|
* @returns {string} A string representing the data_store.
|
1829
1831
|
*/
|
1830
|
-
|
1831
|
-
return this.pathTemplates.
|
1832
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1833
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1832
1834
|
}
|
1833
1835
|
/**
|
1834
|
-
* Parse the session from
|
1836
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1835
1837
|
*
|
1836
|
-
* @param {string}
|
1837
|
-
* A fully-qualified path representing
|
1838
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1839
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1838
1840
|
* @returns {string} A string representing the session.
|
1839
1841
|
*/
|
1840
|
-
|
1841
|
-
return this.pathTemplates.
|
1842
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1843
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1842
1844
|
}
|
1843
1845
|
/**
|
1844
|
-
*
|
1846
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1847
|
+
*
|
1848
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1849
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1850
|
+
* @returns {string} A string representing the answer.
|
1851
|
+
*/
|
1852
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1853
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1854
|
+
}
|
1855
|
+
/**
|
1856
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
1845
1857
|
*
|
1846
1858
|
* @param {string} project
|
1847
1859
|
* @param {string} location
|
1848
1860
|
* @param {string} collection
|
1849
1861
|
* @param {string} data_store
|
1850
1862
|
* @param {string} session
|
1851
|
-
* @param {string} answer
|
1852
1863
|
* @returns {string} Resource name string.
|
1853
1864
|
*/
|
1854
|
-
|
1855
|
-
return this.pathTemplates.
|
1865
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
1866
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
1856
1867
|
project: project,
|
1857
1868
|
location: location,
|
1858
1869
|
collection: collection,
|
1859
1870
|
data_store: dataStore,
|
1860
1871
|
session: session,
|
1861
|
-
answer: answer,
|
1862
1872
|
});
|
1863
1873
|
}
|
1864
1874
|
/**
|
1865
|
-
* Parse the project from
|
1875
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
1866
1876
|
*
|
1867
|
-
* @param {string}
|
1868
|
-
* A fully-qualified path representing
|
1877
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1878
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1869
1879
|
* @returns {string} A string representing the project.
|
1870
1880
|
*/
|
1871
|
-
|
1872
|
-
return this.pathTemplates.
|
1881
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1882
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
1873
1883
|
}
|
1874
1884
|
/**
|
1875
|
-
* Parse the location from
|
1885
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessions resource.
|
1876
1886
|
*
|
1877
|
-
* @param {string}
|
1878
|
-
* A fully-qualified path representing
|
1887
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1888
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1879
1889
|
* @returns {string} A string representing the location.
|
1880
1890
|
*/
|
1881
|
-
|
1882
|
-
return this.pathTemplates.
|
1891
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1892
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
1883
1893
|
}
|
1884
1894
|
/**
|
1885
|
-
* Parse the collection from
|
1895
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
|
1886
1896
|
*
|
1887
|
-
* @param {string}
|
1888
|
-
* A fully-qualified path representing
|
1897
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1898
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1889
1899
|
* @returns {string} A string representing the collection.
|
1890
1900
|
*/
|
1891
|
-
|
1892
|
-
return this.pathTemplates.
|
1901
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1902
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
1893
1903
|
}
|
1894
1904
|
/**
|
1895
|
-
* Parse the data_store from
|
1905
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
|
1896
1906
|
*
|
1897
|
-
* @param {string}
|
1898
|
-
* A fully-qualified path representing
|
1907
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1908
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1899
1909
|
* @returns {string} A string representing the data_store.
|
1900
1910
|
*/
|
1901
|
-
|
1902
|
-
return this.pathTemplates.
|
1911
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1912
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
1903
1913
|
}
|
1904
1914
|
/**
|
1905
|
-
* Parse the session from
|
1915
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessions resource.
|
1906
1916
|
*
|
1907
|
-
* @param {string}
|
1908
|
-
* A fully-qualified path representing
|
1917
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1918
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1909
1919
|
* @returns {string} A string representing the session.
|
1910
1920
|
*/
|
1911
|
-
|
1912
|
-
return this.pathTemplates.
|
1913
|
-
}
|
1914
|
-
/**
|
1915
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1916
|
-
*
|
1917
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1918
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1919
|
-
* @returns {string} A string representing the answer.
|
1920
|
-
*/
|
1921
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1922
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1921
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1922
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
1923
1923
|
}
|
1924
1924
|
/**
|
1925
1925
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -2255,154 +2255,154 @@ class EvaluationServiceClient {
|
|
2255
2255
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
2256
2256
|
}
|
2257
2257
|
/**
|
2258
|
-
* Return a fully-qualified
|
2258
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
2259
2259
|
*
|
2260
2260
|
* @param {string} project
|
2261
2261
|
* @param {string} location
|
2262
2262
|
* @param {string} collection
|
2263
2263
|
* @param {string} engine
|
2264
2264
|
* @param {string} session
|
2265
|
+
* @param {string} answer
|
2265
2266
|
* @returns {string} Resource name string.
|
2266
2267
|
*/
|
2267
|
-
|
2268
|
-
return this.pathTemplates.
|
2268
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
2269
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
2269
2270
|
project: project,
|
2270
2271
|
location: location,
|
2271
2272
|
collection: collection,
|
2272
2273
|
engine: engine,
|
2273
2274
|
session: session,
|
2275
|
+
answer: answer,
|
2274
2276
|
});
|
2275
2277
|
}
|
2276
2278
|
/**
|
2277
|
-
* Parse the project from
|
2279
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
2278
2280
|
*
|
2279
|
-
* @param {string}
|
2280
|
-
* A fully-qualified path representing
|
2281
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2282
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2281
2283
|
* @returns {string} A string representing the project.
|
2282
2284
|
*/
|
2283
|
-
|
2284
|
-
return this.pathTemplates.
|
2285
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2286
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
2285
2287
|
}
|
2286
2288
|
/**
|
2287
|
-
* Parse the location from
|
2289
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
2288
2290
|
*
|
2289
|
-
* @param {string}
|
2290
|
-
* A fully-qualified path representing
|
2291
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2292
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2291
2293
|
* @returns {string} A string representing the location.
|
2292
2294
|
*/
|
2293
|
-
|
2294
|
-
return this.pathTemplates.
|
2295
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2296
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
2295
2297
|
}
|
2296
2298
|
/**
|
2297
|
-
* Parse the collection from
|
2299
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
2298
2300
|
*
|
2299
|
-
* @param {string}
|
2300
|
-
* A fully-qualified path representing
|
2301
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2302
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2301
2303
|
* @returns {string} A string representing the collection.
|
2302
2304
|
*/
|
2303
|
-
|
2304
|
-
return this.pathTemplates.
|
2305
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2306
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
2305
2307
|
}
|
2306
2308
|
/**
|
2307
|
-
* Parse the engine from
|
2309
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
2308
2310
|
*
|
2309
|
-
* @param {string}
|
2310
|
-
* A fully-qualified path representing
|
2311
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2312
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2311
2313
|
* @returns {string} A string representing the engine.
|
2312
2314
|
*/
|
2313
|
-
|
2314
|
-
return this.pathTemplates.
|
2315
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2316
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
2315
2317
|
}
|
2316
2318
|
/**
|
2317
|
-
* Parse the session from
|
2319
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
2318
2320
|
*
|
2319
|
-
* @param {string}
|
2320
|
-
* A fully-qualified path representing
|
2321
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2322
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2321
2323
|
* @returns {string} A string representing the session.
|
2322
2324
|
*/
|
2323
|
-
|
2324
|
-
return this.pathTemplates.
|
2325
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2326
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
2325
2327
|
}
|
2326
2328
|
/**
|
2327
|
-
*
|
2329
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2330
|
+
*
|
2331
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2332
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2333
|
+
* @returns {string} A string representing the answer.
|
2334
|
+
*/
|
2335
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2336
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2337
|
+
}
|
2338
|
+
/**
|
2339
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
2328
2340
|
*
|
2329
2341
|
* @param {string} project
|
2330
2342
|
* @param {string} location
|
2331
2343
|
* @param {string} collection
|
2332
2344
|
* @param {string} engine
|
2333
2345
|
* @param {string} session
|
2334
|
-
* @param {string} answer
|
2335
2346
|
* @returns {string} Resource name string.
|
2336
2347
|
*/
|
2337
|
-
|
2338
|
-
return this.pathTemplates.
|
2348
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
2349
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
2339
2350
|
project: project,
|
2340
2351
|
location: location,
|
2341
2352
|
collection: collection,
|
2342
2353
|
engine: engine,
|
2343
2354
|
session: session,
|
2344
|
-
answer: answer,
|
2345
2355
|
});
|
2346
2356
|
}
|
2347
2357
|
/**
|
2348
|
-
* Parse the project from
|
2358
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
2349
2359
|
*
|
2350
|
-
* @param {string}
|
2351
|
-
* A fully-qualified path representing
|
2360
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2361
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2352
2362
|
* @returns {string} A string representing the project.
|
2353
2363
|
*/
|
2354
|
-
|
2355
|
-
return this.pathTemplates.
|
2364
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2365
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
2356
2366
|
}
|
2357
2367
|
/**
|
2358
|
-
* Parse the location from
|
2368
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
2359
2369
|
*
|
2360
|
-
* @param {string}
|
2361
|
-
* A fully-qualified path representing
|
2370
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2371
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2362
2372
|
* @returns {string} A string representing the location.
|
2363
2373
|
*/
|
2364
|
-
|
2365
|
-
return this.pathTemplates.
|
2374
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2375
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
2366
2376
|
}
|
2367
2377
|
/**
|
2368
|
-
* Parse the collection from
|
2378
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
2369
2379
|
*
|
2370
|
-
* @param {string}
|
2371
|
-
* A fully-qualified path representing
|
2380
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2381
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2372
2382
|
* @returns {string} A string representing the collection.
|
2373
2383
|
*/
|
2374
|
-
|
2375
|
-
return this.pathTemplates.
|
2384
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2385
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
2376
2386
|
}
|
2377
2387
|
/**
|
2378
|
-
* Parse the engine from
|
2388
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
2379
2389
|
*
|
2380
|
-
* @param {string}
|
2381
|
-
* A fully-qualified path representing
|
2390
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2391
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2382
2392
|
* @returns {string} A string representing the engine.
|
2383
2393
|
*/
|
2384
|
-
|
2385
|
-
return this.pathTemplates.
|
2394
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2395
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
2386
2396
|
}
|
2387
2397
|
/**
|
2388
|
-
* Parse the session from
|
2398
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
2389
2399
|
*
|
2390
|
-
* @param {string}
|
2391
|
-
* A fully-qualified path representing
|
2400
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2401
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2392
2402
|
* @returns {string} A string representing the session.
|
2393
2403
|
*/
|
2394
|
-
|
2395
|
-
return this.pathTemplates.
|
2396
|
-
}
|
2397
|
-
/**
|
2398
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2399
|
-
*
|
2400
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2401
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2402
|
-
* @returns {string} A string representing the answer.
|
2403
|
-
*/
|
2404
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2405
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2404
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2405
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
2406
2406
|
}
|
2407
2407
|
/**
|
2408
2408
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -2929,63 +2929,6 @@ class EvaluationServiceClient {
|
|
2929
2929
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
2930
2930
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
2931
2931
|
}
|
2932
|
-
/**
|
2933
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
2934
|
-
*
|
2935
|
-
* @param {string} project
|
2936
|
-
* @param {string} location
|
2937
|
-
* @param {string} data_store
|
2938
|
-
* @param {string} session
|
2939
|
-
* @returns {string} Resource name string.
|
2940
|
-
*/
|
2941
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
2942
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
2943
|
-
project: project,
|
2944
|
-
location: location,
|
2945
|
-
data_store: dataStore,
|
2946
|
-
session: session,
|
2947
|
-
});
|
2948
|
-
}
|
2949
|
-
/**
|
2950
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
2951
|
-
*
|
2952
|
-
* @param {string} projectLocationDataStoreSessionName
|
2953
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2954
|
-
* @returns {string} A string representing the project.
|
2955
|
-
*/
|
2956
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2957
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
2958
|
-
}
|
2959
|
-
/**
|
2960
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
2961
|
-
*
|
2962
|
-
* @param {string} projectLocationDataStoreSessionName
|
2963
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2964
|
-
* @returns {string} A string representing the location.
|
2965
|
-
*/
|
2966
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2967
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
2968
|
-
}
|
2969
|
-
/**
|
2970
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
2971
|
-
*
|
2972
|
-
* @param {string} projectLocationDataStoreSessionName
|
2973
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2974
|
-
* @returns {string} A string representing the data_store.
|
2975
|
-
*/
|
2976
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2977
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
2978
|
-
}
|
2979
|
-
/**
|
2980
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
2981
|
-
*
|
2982
|
-
* @param {string} projectLocationDataStoreSessionName
|
2983
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2984
|
-
* @returns {string} A string representing the session.
|
2985
|
-
*/
|
2986
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2987
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
2988
|
-
}
|
2989
2932
|
/**
|
2990
2933
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
2991
2934
|
*
|
@@ -3055,6 +2998,63 @@ class EvaluationServiceClient {
|
|
3055
2998
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
3056
2999
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
3057
3000
|
}
|
3001
|
+
/**
|
3002
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
3003
|
+
*
|
3004
|
+
* @param {string} project
|
3005
|
+
* @param {string} location
|
3006
|
+
* @param {string} data_store
|
3007
|
+
* @param {string} session
|
3008
|
+
* @returns {string} Resource name string.
|
3009
|
+
*/
|
3010
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
3011
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
3012
|
+
project: project,
|
3013
|
+
location: location,
|
3014
|
+
data_store: dataStore,
|
3015
|
+
session: session,
|
3016
|
+
});
|
3017
|
+
}
|
3018
|
+
/**
|
3019
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
3020
|
+
*
|
3021
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3022
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3023
|
+
* @returns {string} A string representing the project.
|
3024
|
+
*/
|
3025
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3026
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
3027
|
+
}
|
3028
|
+
/**
|
3029
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
3030
|
+
*
|
3031
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3032
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3033
|
+
* @returns {string} A string representing the location.
|
3034
|
+
*/
|
3035
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3036
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
3037
|
+
}
|
3038
|
+
/**
|
3039
|
+
* Parse the data_store from ProjectLocationDataStoreSessions resource.
|
3040
|
+
*
|
3041
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3042
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3043
|
+
* @returns {string} A string representing the data_store.
|
3044
|
+
*/
|
3045
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3046
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
3047
|
+
}
|
3048
|
+
/**
|
3049
|
+
* Parse the session from ProjectLocationDataStoreSessions resource.
|
3050
|
+
*
|
3051
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3052
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3053
|
+
* @returns {string} A string representing the session.
|
3054
|
+
*/
|
3055
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3056
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
3057
|
+
}
|
3058
3058
|
/**
|
3059
3059
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
3060
3060
|
*
|
@@ -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",
|