@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 DataStoreServiceClient {
|
|
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 DataStoreServiceClient {
|
|
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}'),
|
@@ -1808,154 +1808,154 @@ class DataStoreServiceClient {
|
|
1808
1808
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1809
1809
|
}
|
1810
1810
|
/**
|
1811
|
-
* Return a fully-qualified
|
1811
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1812
1812
|
*
|
1813
1813
|
* @param {string} project
|
1814
1814
|
* @param {string} location
|
1815
1815
|
* @param {string} collection
|
1816
1816
|
* @param {string} data_store
|
1817
1817
|
* @param {string} session
|
1818
|
+
* @param {string} answer
|
1818
1819
|
* @returns {string} Resource name string.
|
1819
1820
|
*/
|
1820
|
-
|
1821
|
-
return this.pathTemplates.
|
1821
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1822
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1822
1823
|
project: project,
|
1823
1824
|
location: location,
|
1824
1825
|
collection: collection,
|
1825
1826
|
data_store: dataStore,
|
1826
1827
|
session: session,
|
1828
|
+
answer: answer,
|
1827
1829
|
});
|
1828
1830
|
}
|
1829
1831
|
/**
|
1830
|
-
* Parse the project from
|
1832
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1831
1833
|
*
|
1832
|
-
* @param {string}
|
1833
|
-
* A fully-qualified path representing
|
1834
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1835
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1834
1836
|
* @returns {string} A string representing the project.
|
1835
1837
|
*/
|
1836
|
-
|
1837
|
-
return this.pathTemplates.
|
1838
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1839
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1838
1840
|
}
|
1839
1841
|
/**
|
1840
|
-
* Parse the location from
|
1842
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1841
1843
|
*
|
1842
|
-
* @param {string}
|
1843
|
-
* A fully-qualified path representing
|
1844
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1845
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1844
1846
|
* @returns {string} A string representing the location.
|
1845
1847
|
*/
|
1846
|
-
|
1847
|
-
return this.pathTemplates.
|
1848
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1849
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1848
1850
|
}
|
1849
1851
|
/**
|
1850
|
-
* Parse the collection from
|
1852
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1851
1853
|
*
|
1852
|
-
* @param {string}
|
1853
|
-
* A fully-qualified path representing
|
1854
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1855
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1854
1856
|
* @returns {string} A string representing the collection.
|
1855
1857
|
*/
|
1856
|
-
|
1857
|
-
return this.pathTemplates.
|
1858
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1859
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1858
1860
|
}
|
1859
1861
|
/**
|
1860
|
-
* Parse the data_store from
|
1862
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1861
1863
|
*
|
1862
|
-
* @param {string}
|
1863
|
-
* A fully-qualified path representing
|
1864
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1865
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1864
1866
|
* @returns {string} A string representing the data_store.
|
1865
1867
|
*/
|
1866
|
-
|
1867
|
-
return this.pathTemplates.
|
1868
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1869
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1868
1870
|
}
|
1869
1871
|
/**
|
1870
|
-
* Parse the session from
|
1872
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1871
1873
|
*
|
1872
|
-
* @param {string}
|
1873
|
-
* A fully-qualified path representing
|
1874
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1875
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1874
1876
|
* @returns {string} A string representing the session.
|
1875
1877
|
*/
|
1876
|
-
|
1877
|
-
return this.pathTemplates.
|
1878
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1879
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1878
1880
|
}
|
1879
1881
|
/**
|
1880
|
-
*
|
1882
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1883
|
+
*
|
1884
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1885
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1886
|
+
* @returns {string} A string representing the answer.
|
1887
|
+
*/
|
1888
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1889
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1890
|
+
}
|
1891
|
+
/**
|
1892
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
1881
1893
|
*
|
1882
1894
|
* @param {string} project
|
1883
1895
|
* @param {string} location
|
1884
1896
|
* @param {string} collection
|
1885
1897
|
* @param {string} data_store
|
1886
1898
|
* @param {string} session
|
1887
|
-
* @param {string} answer
|
1888
1899
|
* @returns {string} Resource name string.
|
1889
1900
|
*/
|
1890
|
-
|
1891
|
-
return this.pathTemplates.
|
1901
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
1902
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
1892
1903
|
project: project,
|
1893
1904
|
location: location,
|
1894
1905
|
collection: collection,
|
1895
1906
|
data_store: dataStore,
|
1896
1907
|
session: session,
|
1897
|
-
answer: answer,
|
1898
1908
|
});
|
1899
1909
|
}
|
1900
1910
|
/**
|
1901
|
-
* Parse the project from
|
1911
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
1902
1912
|
*
|
1903
|
-
* @param {string}
|
1904
|
-
* A fully-qualified path representing
|
1913
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1914
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1905
1915
|
* @returns {string} A string representing the project.
|
1906
1916
|
*/
|
1907
|
-
|
1908
|
-
return this.pathTemplates.
|
1917
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1918
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
1909
1919
|
}
|
1910
1920
|
/**
|
1911
|
-
* Parse the location from
|
1921
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessions resource.
|
1912
1922
|
*
|
1913
|
-
* @param {string}
|
1914
|
-
* A fully-qualified path representing
|
1923
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1924
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1915
1925
|
* @returns {string} A string representing the location.
|
1916
1926
|
*/
|
1917
|
-
|
1918
|
-
return this.pathTemplates.
|
1927
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1928
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
1919
1929
|
}
|
1920
1930
|
/**
|
1921
|
-
* Parse the collection from
|
1931
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
|
1922
1932
|
*
|
1923
|
-
* @param {string}
|
1924
|
-
* A fully-qualified path representing
|
1933
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1934
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1925
1935
|
* @returns {string} A string representing the collection.
|
1926
1936
|
*/
|
1927
|
-
|
1928
|
-
return this.pathTemplates.
|
1937
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1938
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
1929
1939
|
}
|
1930
1940
|
/**
|
1931
|
-
* Parse the data_store from
|
1941
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
|
1932
1942
|
*
|
1933
|
-
* @param {string}
|
1934
|
-
* A fully-qualified path representing
|
1943
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1944
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1935
1945
|
* @returns {string} A string representing the data_store.
|
1936
1946
|
*/
|
1937
|
-
|
1938
|
-
return this.pathTemplates.
|
1947
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1948
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
1939
1949
|
}
|
1940
1950
|
/**
|
1941
|
-
* Parse the session from
|
1951
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessions resource.
|
1942
1952
|
*
|
1943
|
-
* @param {string}
|
1944
|
-
* A fully-qualified path representing
|
1953
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1954
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1945
1955
|
* @returns {string} A string representing the session.
|
1946
1956
|
*/
|
1947
|
-
|
1948
|
-
return this.pathTemplates.
|
1949
|
-
}
|
1950
|
-
/**
|
1951
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1952
|
-
*
|
1953
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1954
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1955
|
-
* @returns {string} A string representing the answer.
|
1956
|
-
*/
|
1957
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1958
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1957
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1958
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
1959
1959
|
}
|
1960
1960
|
/**
|
1961
1961
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -2291,154 +2291,154 @@ class DataStoreServiceClient {
|
|
2291
2291
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
2292
2292
|
}
|
2293
2293
|
/**
|
2294
|
-
* Return a fully-qualified
|
2294
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
2295
2295
|
*
|
2296
2296
|
* @param {string} project
|
2297
2297
|
* @param {string} location
|
2298
2298
|
* @param {string} collection
|
2299
2299
|
* @param {string} engine
|
2300
2300
|
* @param {string} session
|
2301
|
+
* @param {string} answer
|
2301
2302
|
* @returns {string} Resource name string.
|
2302
2303
|
*/
|
2303
|
-
|
2304
|
-
return this.pathTemplates.
|
2304
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
2305
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
2305
2306
|
project: project,
|
2306
2307
|
location: location,
|
2307
2308
|
collection: collection,
|
2308
2309
|
engine: engine,
|
2309
2310
|
session: session,
|
2311
|
+
answer: answer,
|
2310
2312
|
});
|
2311
2313
|
}
|
2312
2314
|
/**
|
2313
|
-
* Parse the project from
|
2315
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
2314
2316
|
*
|
2315
|
-
* @param {string}
|
2316
|
-
* A fully-qualified path representing
|
2317
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2318
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2317
2319
|
* @returns {string} A string representing the project.
|
2318
2320
|
*/
|
2319
|
-
|
2320
|
-
return this.pathTemplates.
|
2321
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2322
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
2321
2323
|
}
|
2322
2324
|
/**
|
2323
|
-
* Parse the location from
|
2325
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
2324
2326
|
*
|
2325
|
-
* @param {string}
|
2326
|
-
* A fully-qualified path representing
|
2327
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2328
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2327
2329
|
* @returns {string} A string representing the location.
|
2328
2330
|
*/
|
2329
|
-
|
2330
|
-
return this.pathTemplates.
|
2331
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2332
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
2331
2333
|
}
|
2332
2334
|
/**
|
2333
|
-
* Parse the collection from
|
2335
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
2334
2336
|
*
|
2335
|
-
* @param {string}
|
2336
|
-
* A fully-qualified path representing
|
2337
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2338
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2337
2339
|
* @returns {string} A string representing the collection.
|
2338
2340
|
*/
|
2339
|
-
|
2340
|
-
return this.pathTemplates.
|
2341
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2342
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
2341
2343
|
}
|
2342
2344
|
/**
|
2343
|
-
* Parse the engine from
|
2345
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
2344
2346
|
*
|
2345
|
-
* @param {string}
|
2346
|
-
* A fully-qualified path representing
|
2347
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2348
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2347
2349
|
* @returns {string} A string representing the engine.
|
2348
2350
|
*/
|
2349
|
-
|
2350
|
-
return this.pathTemplates.
|
2351
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2352
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
2351
2353
|
}
|
2352
2354
|
/**
|
2353
|
-
* Parse the session from
|
2355
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
2354
2356
|
*
|
2355
|
-
* @param {string}
|
2356
|
-
* A fully-qualified path representing
|
2357
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2358
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2357
2359
|
* @returns {string} A string representing the session.
|
2358
2360
|
*/
|
2359
|
-
|
2360
|
-
return this.pathTemplates.
|
2361
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2362
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
2361
2363
|
}
|
2362
2364
|
/**
|
2363
|
-
*
|
2365
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2366
|
+
*
|
2367
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2368
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2369
|
+
* @returns {string} A string representing the answer.
|
2370
|
+
*/
|
2371
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2372
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2373
|
+
}
|
2374
|
+
/**
|
2375
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
2364
2376
|
*
|
2365
2377
|
* @param {string} project
|
2366
2378
|
* @param {string} location
|
2367
2379
|
* @param {string} collection
|
2368
2380
|
* @param {string} engine
|
2369
2381
|
* @param {string} session
|
2370
|
-
* @param {string} answer
|
2371
2382
|
* @returns {string} Resource name string.
|
2372
2383
|
*/
|
2373
|
-
|
2374
|
-
return this.pathTemplates.
|
2384
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
2385
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
2375
2386
|
project: project,
|
2376
2387
|
location: location,
|
2377
2388
|
collection: collection,
|
2378
2389
|
engine: engine,
|
2379
2390
|
session: session,
|
2380
|
-
answer: answer,
|
2381
2391
|
});
|
2382
2392
|
}
|
2383
2393
|
/**
|
2384
|
-
* Parse the project from
|
2394
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
2385
2395
|
*
|
2386
|
-
* @param {string}
|
2387
|
-
* A fully-qualified path representing
|
2396
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2397
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2388
2398
|
* @returns {string} A string representing the project.
|
2389
2399
|
*/
|
2390
|
-
|
2391
|
-
return this.pathTemplates.
|
2400
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2401
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
2392
2402
|
}
|
2393
2403
|
/**
|
2394
|
-
* Parse the location from
|
2404
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
2395
2405
|
*
|
2396
|
-
* @param {string}
|
2397
|
-
* A fully-qualified path representing
|
2406
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2407
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2398
2408
|
* @returns {string} A string representing the location.
|
2399
2409
|
*/
|
2400
|
-
|
2401
|
-
return this.pathTemplates.
|
2410
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2411
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
2402
2412
|
}
|
2403
2413
|
/**
|
2404
|
-
* Parse the collection from
|
2414
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
2405
2415
|
*
|
2406
|
-
* @param {string}
|
2407
|
-
* A fully-qualified path representing
|
2416
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2417
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2408
2418
|
* @returns {string} A string representing the collection.
|
2409
2419
|
*/
|
2410
|
-
|
2411
|
-
return this.pathTemplates.
|
2420
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2421
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
2412
2422
|
}
|
2413
2423
|
/**
|
2414
|
-
* Parse the engine from
|
2424
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
2415
2425
|
*
|
2416
|
-
* @param {string}
|
2417
|
-
* A fully-qualified path representing
|
2426
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2427
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2418
2428
|
* @returns {string} A string representing the engine.
|
2419
2429
|
*/
|
2420
|
-
|
2421
|
-
return this.pathTemplates.
|
2430
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2431
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
2422
2432
|
}
|
2423
2433
|
/**
|
2424
|
-
* Parse the session from
|
2434
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
2425
2435
|
*
|
2426
|
-
* @param {string}
|
2427
|
-
* A fully-qualified path representing
|
2436
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2437
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2428
2438
|
* @returns {string} A string representing the session.
|
2429
2439
|
*/
|
2430
|
-
|
2431
|
-
return this.pathTemplates.
|
2432
|
-
}
|
2433
|
-
/**
|
2434
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2435
|
-
*
|
2436
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2437
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2438
|
-
* @returns {string} A string representing the answer.
|
2439
|
-
*/
|
2440
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2441
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2440
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2441
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
2442
2442
|
}
|
2443
2443
|
/**
|
2444
2444
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -2965,63 +2965,6 @@ class DataStoreServiceClient {
|
|
2965
2965
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
2966
2966
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
2967
2967
|
}
|
2968
|
-
/**
|
2969
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
2970
|
-
*
|
2971
|
-
* @param {string} project
|
2972
|
-
* @param {string} location
|
2973
|
-
* @param {string} data_store
|
2974
|
-
* @param {string} session
|
2975
|
-
* @returns {string} Resource name string.
|
2976
|
-
*/
|
2977
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
2978
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
2979
|
-
project: project,
|
2980
|
-
location: location,
|
2981
|
-
data_store: dataStore,
|
2982
|
-
session: session,
|
2983
|
-
});
|
2984
|
-
}
|
2985
|
-
/**
|
2986
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
2987
|
-
*
|
2988
|
-
* @param {string} projectLocationDataStoreSessionName
|
2989
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2990
|
-
* @returns {string} A string representing the project.
|
2991
|
-
*/
|
2992
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2993
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
2994
|
-
}
|
2995
|
-
/**
|
2996
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
2997
|
-
*
|
2998
|
-
* @param {string} projectLocationDataStoreSessionName
|
2999
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3000
|
-
* @returns {string} A string representing the location.
|
3001
|
-
*/
|
3002
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3003
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
3004
|
-
}
|
3005
|
-
/**
|
3006
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
3007
|
-
*
|
3008
|
-
* @param {string} projectLocationDataStoreSessionName
|
3009
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3010
|
-
* @returns {string} A string representing the data_store.
|
3011
|
-
*/
|
3012
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3013
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
3014
|
-
}
|
3015
|
-
/**
|
3016
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
3017
|
-
*
|
3018
|
-
* @param {string} projectLocationDataStoreSessionName
|
3019
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3020
|
-
* @returns {string} A string representing the session.
|
3021
|
-
*/
|
3022
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3023
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
3024
|
-
}
|
3025
2968
|
/**
|
3026
2969
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
3027
2970
|
*
|
@@ -3091,6 +3034,63 @@ class DataStoreServiceClient {
|
|
3091
3034
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
3092
3035
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
3093
3036
|
}
|
3037
|
+
/**
|
3038
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
3039
|
+
*
|
3040
|
+
* @param {string} project
|
3041
|
+
* @param {string} location
|
3042
|
+
* @param {string} data_store
|
3043
|
+
* @param {string} session
|
3044
|
+
* @returns {string} Resource name string.
|
3045
|
+
*/
|
3046
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
3047
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
3048
|
+
project: project,
|
3049
|
+
location: location,
|
3050
|
+
data_store: dataStore,
|
3051
|
+
session: session,
|
3052
|
+
});
|
3053
|
+
}
|
3054
|
+
/**
|
3055
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
3056
|
+
*
|
3057
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3058
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3059
|
+
* @returns {string} A string representing the project.
|
3060
|
+
*/
|
3061
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3062
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
3063
|
+
}
|
3064
|
+
/**
|
3065
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
3066
|
+
*
|
3067
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3068
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3069
|
+
* @returns {string} A string representing the location.
|
3070
|
+
*/
|
3071
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3072
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
3073
|
+
}
|
3074
|
+
/**
|
3075
|
+
* Parse the data_store from ProjectLocationDataStoreSessions resource.
|
3076
|
+
*
|
3077
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3078
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3079
|
+
* @returns {string} A string representing the data_store.
|
3080
|
+
*/
|
3081
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3082
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
3083
|
+
}
|
3084
|
+
/**
|
3085
|
+
* Parse the session from ProjectLocationDataStoreSessions resource.
|
3086
|
+
*
|
3087
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3088
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3089
|
+
* @returns {string} A string representing the session.
|
3090
|
+
*/
|
3091
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3092
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
3093
|
+
}
|
3094
3094
|
/**
|
3095
3095
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
3096
3096
|
*
|
@@ -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",
|