@google-cloud/discoveryengine 2.3.0 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -0
- package/build/protos/google/cloud/discoveryengine/v1/assist_answer.proto +251 -0
- package/build/protos/google/cloud/discoveryengine/v1/assistant.proto +44 -0
- package/build/protos/google/cloud/discoveryengine/v1/assistant_service.proto +217 -0
- package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +15 -3
- package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +8 -14
- package/build/protos/google/cloud/discoveryengine/v1/session.proto +21 -8
- package/build/protos/google/cloud/discoveryengine/v1/session_service.proto +128 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +15 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +30 -9
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +8 -14
- package/build/protos/google/cloud/discoveryengine/v1alpha/session.proto +238 -8
- package/build/protos/google/cloud/discoveryengine/v1alpha/session_service.proto +201 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +26 -5
- package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +8 -14
- package/build/protos/google/cloud/discoveryengine/v1beta/session.proto +40 -8
- package/build/protos/google/cloud/discoveryengine/v1beta/session_service.proto +128 -0
- package/build/protos/protos.d.ts +15057 -10636
- package/build/protos/protos.js +45523 -34174
- package/build/protos/protos.json +4835 -3203
- package/build/src/index.d.ts +7 -1
- package/build/src/index.js +6 -2
- package/build/src/v1/assistant_service_client.d.ts +2058 -0
- package/build/src/v1/assistant_service_client.js +2957 -0
- package/build/src/v1/assistant_service_client_config.json +43 -0
- package/build/src/v1/assistant_service_proto_list.json +48 -0
- package/build/src/v1/cmek_config_service_client.d.ts +255 -144
- package/build/src/v1/cmek_config_service_client.js +348 -196
- package/build/src/v1/cmek_config_service_proto_list.json +4 -0
- package/build/src/v1/completion_service_client.d.ts +255 -144
- package/build/src/v1/completion_service_client.js +348 -196
- package/build/src/v1/completion_service_proto_list.json +4 -0
- package/build/src/v1/control_service_client.d.ts +255 -144
- package/build/src/v1/control_service_client.js +348 -196
- package/build/src/v1/control_service_proto_list.json +4 -0
- package/build/src/v1/conversational_search_service_client.d.ts +302 -155
- package/build/src/v1/conversational_search_service_client.js +380 -204
- package/build/src/v1/conversational_search_service_proto_list.json +4 -0
- package/build/src/v1/data_store_service_client.d.ts +255 -144
- package/build/src/v1/data_store_service_client.js +348 -196
- package/build/src/v1/data_store_service_proto_list.json +4 -0
- package/build/src/v1/document_service_client.d.ts +255 -144
- package/build/src/v1/document_service_client.js +348 -196
- package/build/src/v1/document_service_proto_list.json +4 -0
- package/build/src/v1/engine_service_client.d.ts +255 -144
- package/build/src/v1/engine_service_client.js +348 -196
- package/build/src/v1/engine_service_proto_list.json +4 -0
- package/build/src/v1/gapic_metadata.json +86 -0
- package/build/src/v1/grounded_generation_service_client.d.ts +255 -144
- package/build/src/v1/grounded_generation_service_client.js +348 -196
- package/build/src/v1/grounded_generation_service_proto_list.json +4 -0
- package/build/src/v1/identity_mapping_store_service_client.d.ts +255 -144
- package/build/src/v1/identity_mapping_store_service_client.js +348 -196
- package/build/src/v1/identity_mapping_store_service_proto_list.json +4 -0
- package/build/src/v1/index.d.ts +2 -0
- package/build/src/v1/index.js +5 -1
- package/build/src/v1/project_service_client.d.ts +255 -144
- package/build/src/v1/project_service_client.js +348 -196
- package/build/src/v1/project_service_proto_list.json +4 -0
- package/build/src/v1/rank_service_client.d.ts +255 -144
- package/build/src/v1/rank_service_client.js +348 -196
- package/build/src/v1/rank_service_proto_list.json +4 -0
- package/build/src/v1/recommendation_service_client.d.ts +255 -144
- package/build/src/v1/recommendation_service_client.js +348 -196
- package/build/src/v1/recommendation_service_proto_list.json +4 -0
- package/build/src/v1/schema_service_client.d.ts +255 -144
- package/build/src/v1/schema_service_client.js +348 -196
- package/build/src/v1/schema_service_proto_list.json +4 -0
- package/build/src/v1/search_service_client.d.ts +303 -228
- package/build/src/v1/search_service_client.js +380 -252
- package/build/src/v1/search_service_proto_list.json +4 -0
- package/build/src/v1/search_tuning_service_client.d.ts +255 -144
- package/build/src/v1/search_tuning_service_client.js +348 -196
- package/build/src/v1/search_tuning_service_proto_list.json +4 -0
- package/build/src/v1/serving_config_service_client.d.ts +255 -144
- package/build/src/v1/serving_config_service_client.js +348 -196
- package/build/src/v1/serving_config_service_proto_list.json +4 -0
- package/build/src/v1/session_service_client.d.ts +2326 -0
- package/build/src/v1/session_service_client.js +3218 -0
- package/build/src/v1/session_service_client_config.json +63 -0
- package/build/src/v1/session_service_proto_list.json +48 -0
- package/build/src/v1/site_search_engine_service_client.d.ts +255 -144
- package/build/src/v1/site_search_engine_service_client.js +348 -196
- package/build/src/v1/site_search_engine_service_proto_list.json +4 -0
- package/build/src/v1/user_event_service_client.d.ts +255 -144
- package/build/src/v1/user_event_service_client.js +348 -196
- package/build/src/v1/user_event_service_proto_list.json +4 -0
- package/build/src/v1/user_license_service_client.d.ts +255 -144
- package/build/src/v1/user_license_service_client.js +348 -196
- package/build/src/v1/user_license_service_proto_list.json +4 -0
- package/build/src/v1alpha/acl_config_service_client.d.ts +144 -144
- package/build/src/v1alpha/acl_config_service_client.js +196 -196
- package/build/src/v1alpha/acl_config_service_proto_list.json +1 -0
- package/build/src/v1alpha/chunk_service_client.d.ts +144 -144
- package/build/src/v1alpha/chunk_service_client.js +196 -196
- package/build/src/v1alpha/chunk_service_proto_list.json +1 -0
- package/build/src/v1alpha/completion_service_client.d.ts +144 -144
- package/build/src/v1alpha/completion_service_client.js +196 -196
- package/build/src/v1alpha/completion_service_proto_list.json +1 -0
- package/build/src/v1alpha/control_service_client.d.ts +144 -144
- package/build/src/v1alpha/control_service_client.js +196 -196
- package/build/src/v1alpha/control_service_proto_list.json +1 -0
- package/build/src/v1alpha/conversational_search_service_client.d.ts +221 -167
- package/build/src/v1alpha/conversational_search_service_client.js +244 -210
- package/build/src/v1alpha/conversational_search_service_proto_list.json +1 -0
- package/build/src/v1alpha/data_store_service_client.d.ts +144 -144
- package/build/src/v1alpha/data_store_service_client.js +196 -196
- package/build/src/v1alpha/data_store_service_proto_list.json +1 -0
- package/build/src/v1alpha/document_service_client.d.ts +144 -144
- package/build/src/v1alpha/document_service_client.js +196 -196
- package/build/src/v1alpha/document_service_proto_list.json +1 -0
- package/build/src/v1alpha/engine_service_client.d.ts +144 -144
- package/build/src/v1alpha/engine_service_client.js +196 -196
- package/build/src/v1alpha/engine_service_proto_list.json +1 -0
- package/build/src/v1alpha/estimate_billing_service_client.d.ts +144 -144
- package/build/src/v1alpha/estimate_billing_service_client.js +196 -196
- package/build/src/v1alpha/estimate_billing_service_proto_list.json +1 -0
- package/build/src/v1alpha/evaluation_service_client.d.ts +144 -144
- package/build/src/v1alpha/evaluation_service_client.js +196 -196
- package/build/src/v1alpha/evaluation_service_proto_list.json +1 -0
- package/build/src/v1alpha/gapic_metadata.json +82 -0
- package/build/src/v1alpha/grounded_generation_service_client.d.ts +144 -144
- package/build/src/v1alpha/grounded_generation_service_client.js +196 -196
- package/build/src/v1alpha/grounded_generation_service_proto_list.json +1 -0
- package/build/src/v1alpha/index.d.ts +1 -0
- package/build/src/v1alpha/index.js +3 -1
- package/build/src/v1alpha/project_service_client.d.ts +144 -144
- package/build/src/v1alpha/project_service_client.js +196 -196
- package/build/src/v1alpha/project_service_proto_list.json +1 -0
- package/build/src/v1alpha/rank_service_client.d.ts +144 -144
- package/build/src/v1alpha/rank_service_client.js +196 -196
- package/build/src/v1alpha/rank_service_proto_list.json +1 -0
- package/build/src/v1alpha/recommendation_service_client.d.ts +144 -144
- package/build/src/v1alpha/recommendation_service_client.js +196 -196
- package/build/src/v1alpha/recommendation_service_proto_list.json +1 -0
- package/build/src/v1alpha/sample_query_service_client.d.ts +144 -144
- package/build/src/v1alpha/sample_query_service_client.js +196 -196
- package/build/src/v1alpha/sample_query_service_proto_list.json +1 -0
- package/build/src/v1alpha/sample_query_set_service_client.d.ts +144 -144
- package/build/src/v1alpha/sample_query_set_service_client.js +196 -196
- package/build/src/v1alpha/sample_query_set_service_proto_list.json +1 -0
- package/build/src/v1alpha/schema_service_client.d.ts +144 -144
- package/build/src/v1alpha/schema_service_client.js +196 -196
- package/build/src/v1alpha/schema_service_proto_list.json +1 -0
- package/build/src/v1alpha/search_service_client.d.ts +168 -186
- package/build/src/v1alpha/search_service_client.js +212 -224
- package/build/src/v1alpha/search_service_proto_list.json +1 -0
- package/build/src/v1alpha/search_tuning_service_client.d.ts +144 -144
- package/build/src/v1alpha/search_tuning_service_client.js +196 -196
- package/build/src/v1alpha/search_tuning_service_proto_list.json +1 -0
- package/build/src/v1alpha/serving_config_service_client.d.ts +144 -144
- package/build/src/v1alpha/serving_config_service_client.js +196 -196
- package/build/src/v1alpha/serving_config_service_proto_list.json +1 -0
- package/build/src/v1alpha/session_service_client.d.ts +2331 -0
- package/build/src/v1alpha/session_service_client.js +3161 -0
- package/build/src/v1alpha/session_service_client_config.json +68 -0
- package/build/src/v1alpha/session_service_proto_list.json +49 -0
- package/build/src/v1alpha/site_search_engine_service_client.d.ts +144 -144
- package/build/src/v1alpha/site_search_engine_service_client.js +196 -196
- package/build/src/v1alpha/site_search_engine_service_proto_list.json +1 -0
- package/build/src/v1alpha/user_event_service_client.d.ts +144 -144
- package/build/src/v1alpha/user_event_service_client.js +196 -196
- package/build/src/v1alpha/user_event_service_proto_list.json +1 -0
- package/build/src/v1beta/completion_service_client.d.ts +144 -144
- package/build/src/v1beta/completion_service_client.js +196 -196
- package/build/src/v1beta/completion_service_proto_list.json +1 -0
- package/build/src/v1beta/control_service_client.d.ts +144 -144
- package/build/src/v1beta/control_service_client.js +196 -196
- package/build/src/v1beta/control_service_proto_list.json +1 -0
- package/build/src/v1beta/conversational_search_service_client.d.ts +215 -161
- package/build/src/v1beta/conversational_search_service_client.js +242 -208
- package/build/src/v1beta/conversational_search_service_proto_list.json +1 -0
- package/build/src/v1beta/data_store_service_client.d.ts +144 -144
- package/build/src/v1beta/data_store_service_client.js +196 -196
- package/build/src/v1beta/data_store_service_proto_list.json +1 -0
- package/build/src/v1beta/document_service_client.d.ts +144 -144
- package/build/src/v1beta/document_service_client.js +196 -196
- package/build/src/v1beta/document_service_proto_list.json +1 -0
- package/build/src/v1beta/engine_service_client.d.ts +144 -144
- package/build/src/v1beta/engine_service_client.js +196 -196
- package/build/src/v1beta/engine_service_proto_list.json +1 -0
- package/build/src/v1beta/evaluation_service_client.d.ts +144 -144
- package/build/src/v1beta/evaluation_service_client.js +196 -196
- package/build/src/v1beta/evaluation_service_proto_list.json +1 -0
- package/build/src/v1beta/gapic_metadata.json +68 -0
- package/build/src/v1beta/grounded_generation_service_client.d.ts +144 -144
- package/build/src/v1beta/grounded_generation_service_client.js +196 -196
- package/build/src/v1beta/grounded_generation_service_proto_list.json +1 -0
- package/build/src/v1beta/index.d.ts +1 -0
- package/build/src/v1beta/index.js +3 -1
- package/build/src/v1beta/project_service_client.d.ts +144 -144
- package/build/src/v1beta/project_service_client.js +196 -196
- package/build/src/v1beta/project_service_proto_list.json +1 -0
- package/build/src/v1beta/rank_service_client.d.ts +144 -144
- package/build/src/v1beta/rank_service_client.js +196 -196
- package/build/src/v1beta/rank_service_proto_list.json +1 -0
- package/build/src/v1beta/recommendation_service_client.d.ts +144 -144
- package/build/src/v1beta/recommendation_service_client.js +196 -196
- package/build/src/v1beta/recommendation_service_proto_list.json +1 -0
- package/build/src/v1beta/sample_query_service_client.d.ts +144 -144
- package/build/src/v1beta/sample_query_service_client.js +196 -196
- package/build/src/v1beta/sample_query_service_proto_list.json +1 -0
- package/build/src/v1beta/sample_query_set_service_client.d.ts +144 -144
- package/build/src/v1beta/sample_query_set_service_client.js +196 -196
- package/build/src/v1beta/sample_query_set_service_proto_list.json +1 -0
- package/build/src/v1beta/schema_service_client.d.ts +144 -144
- package/build/src/v1beta/schema_service_client.js +196 -196
- package/build/src/v1beta/schema_service_proto_list.json +1 -0
- package/build/src/v1beta/search_service_client.d.ts +192 -228
- package/build/src/v1beta/search_service_client.js +228 -252
- package/build/src/v1beta/search_service_proto_list.json +1 -0
- package/build/src/v1beta/search_tuning_service_client.d.ts +144 -144
- package/build/src/v1beta/search_tuning_service_client.js +196 -196
- package/build/src/v1beta/search_tuning_service_proto_list.json +1 -0
- package/build/src/v1beta/serving_config_service_client.d.ts +144 -144
- package/build/src/v1beta/serving_config_service_client.js +196 -196
- package/build/src/v1beta/serving_config_service_proto_list.json +1 -0
- package/build/src/v1beta/session_service_client.d.ts +2266 -0
- package/build/src/v1beta/session_service_client.js +3136 -0
- package/build/src/v1beta/session_service_client_config.json +63 -0
- package/build/src/v1beta/session_service_proto_list.json +45 -0
- package/build/src/v1beta/site_search_engine_service_client.d.ts +144 -144
- package/build/src/v1beta/site_search_engine_service_client.js +196 -196
- package/build/src/v1beta/site_search_engine_service_proto_list.json +1 -0
- package/build/src/v1beta/user_event_service_client.d.ts +144 -144
- package/build/src/v1beta/user_event_service_client.js +196 -196
- package/build/src/v1beta/user_event_service_proto_list.json +1 -0
- package/package.json +1 -1
@@ -179,15 +179,15 @@ class ControlServiceClient {
|
|
179
179
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
180
180
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
181
181
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
182
|
-
projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
183
182
|
projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
183
|
+
projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
184
184
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
185
185
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
186
186
|
projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
|
187
187
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
188
188
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
189
|
-
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
190
189
|
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
190
|
+
projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
191
191
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
192
192
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
193
193
|
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
@@ -197,8 +197,8 @@ class ControlServiceClient {
|
|
197
197
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
198
198
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
199
199
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
200
|
-
projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
201
200
|
projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
201
|
+
projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
202
202
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
203
203
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
204
204
|
sampleQueryPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}'),
|
@@ -1472,154 +1472,154 @@ class ControlServiceClient {
|
|
1472
1472
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1473
1473
|
}
|
1474
1474
|
/**
|
1475
|
-
* Return a fully-qualified
|
1475
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1476
1476
|
*
|
1477
1477
|
* @param {string} project
|
1478
1478
|
* @param {string} location
|
1479
1479
|
* @param {string} collection
|
1480
1480
|
* @param {string} data_store
|
1481
1481
|
* @param {string} session
|
1482
|
+
* @param {string} answer
|
1482
1483
|
* @returns {string} Resource name string.
|
1483
1484
|
*/
|
1484
|
-
|
1485
|
-
return this.pathTemplates.
|
1485
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1486
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1486
1487
|
project: project,
|
1487
1488
|
location: location,
|
1488
1489
|
collection: collection,
|
1489
1490
|
data_store: dataStore,
|
1490
1491
|
session: session,
|
1492
|
+
answer: answer,
|
1491
1493
|
});
|
1492
1494
|
}
|
1493
1495
|
/**
|
1494
|
-
* Parse the project from
|
1496
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1495
1497
|
*
|
1496
|
-
* @param {string}
|
1497
|
-
* A fully-qualified path representing
|
1498
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1499
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1498
1500
|
* @returns {string} A string representing the project.
|
1499
1501
|
*/
|
1500
|
-
|
1501
|
-
return this.pathTemplates.
|
1502
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1503
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1502
1504
|
}
|
1503
1505
|
/**
|
1504
|
-
* Parse the location from
|
1506
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1505
1507
|
*
|
1506
|
-
* @param {string}
|
1507
|
-
* A fully-qualified path representing
|
1508
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1509
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1508
1510
|
* @returns {string} A string representing the location.
|
1509
1511
|
*/
|
1510
|
-
|
1511
|
-
return this.pathTemplates.
|
1512
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1513
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1512
1514
|
}
|
1513
1515
|
/**
|
1514
|
-
* Parse the collection from
|
1516
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1515
1517
|
*
|
1516
|
-
* @param {string}
|
1517
|
-
* A fully-qualified path representing
|
1518
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1519
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1518
1520
|
* @returns {string} A string representing the collection.
|
1519
1521
|
*/
|
1520
|
-
|
1521
|
-
return this.pathTemplates.
|
1522
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1523
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1522
1524
|
}
|
1523
1525
|
/**
|
1524
|
-
* Parse the data_store from
|
1526
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1525
1527
|
*
|
1526
|
-
* @param {string}
|
1527
|
-
* A fully-qualified path representing
|
1528
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1529
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1528
1530
|
* @returns {string} A string representing the data_store.
|
1529
1531
|
*/
|
1530
|
-
|
1531
|
-
return this.pathTemplates.
|
1532
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1533
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1532
1534
|
}
|
1533
1535
|
/**
|
1534
|
-
* Parse the session from
|
1536
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1535
1537
|
*
|
1536
|
-
* @param {string}
|
1537
|
-
* A fully-qualified path representing
|
1538
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1539
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1538
1540
|
* @returns {string} A string representing the session.
|
1539
1541
|
*/
|
1540
|
-
|
1541
|
-
return this.pathTemplates.
|
1542
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1543
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1542
1544
|
}
|
1543
1545
|
/**
|
1544
|
-
*
|
1546
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1547
|
+
*
|
1548
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1549
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1550
|
+
* @returns {string} A string representing the answer.
|
1551
|
+
*/
|
1552
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1553
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1554
|
+
}
|
1555
|
+
/**
|
1556
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
1545
1557
|
*
|
1546
1558
|
* @param {string} project
|
1547
1559
|
* @param {string} location
|
1548
1560
|
* @param {string} collection
|
1549
1561
|
* @param {string} data_store
|
1550
1562
|
* @param {string} session
|
1551
|
-
* @param {string} answer
|
1552
1563
|
* @returns {string} Resource name string.
|
1553
1564
|
*/
|
1554
|
-
|
1555
|
-
return this.pathTemplates.
|
1565
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
1566
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
1556
1567
|
project: project,
|
1557
1568
|
location: location,
|
1558
1569
|
collection: collection,
|
1559
1570
|
data_store: dataStore,
|
1560
1571
|
session: session,
|
1561
|
-
answer: answer,
|
1562
1572
|
});
|
1563
1573
|
}
|
1564
1574
|
/**
|
1565
|
-
* Parse the project from
|
1575
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
1566
1576
|
*
|
1567
|
-
* @param {string}
|
1568
|
-
* A fully-qualified path representing
|
1577
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1578
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1569
1579
|
* @returns {string} A string representing the project.
|
1570
1580
|
*/
|
1571
|
-
|
1572
|
-
return this.pathTemplates.
|
1581
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1582
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
1573
1583
|
}
|
1574
1584
|
/**
|
1575
|
-
* Parse the location from
|
1585
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessions resource.
|
1576
1586
|
*
|
1577
|
-
* @param {string}
|
1578
|
-
* A fully-qualified path representing
|
1587
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1588
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1579
1589
|
* @returns {string} A string representing the location.
|
1580
1590
|
*/
|
1581
|
-
|
1582
|
-
return this.pathTemplates.
|
1591
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1592
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
1583
1593
|
}
|
1584
1594
|
/**
|
1585
|
-
* Parse the collection from
|
1595
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
|
1586
1596
|
*
|
1587
|
-
* @param {string}
|
1588
|
-
* A fully-qualified path representing
|
1597
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1598
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1589
1599
|
* @returns {string} A string representing the collection.
|
1590
1600
|
*/
|
1591
|
-
|
1592
|
-
return this.pathTemplates.
|
1601
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1602
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
1593
1603
|
}
|
1594
1604
|
/**
|
1595
|
-
* Parse the data_store from
|
1605
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
|
1596
1606
|
*
|
1597
|
-
* @param {string}
|
1598
|
-
* A fully-qualified path representing
|
1607
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1608
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1599
1609
|
* @returns {string} A string representing the data_store.
|
1600
1610
|
*/
|
1601
|
-
|
1602
|
-
return this.pathTemplates.
|
1611
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1612
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
1603
1613
|
}
|
1604
1614
|
/**
|
1605
|
-
* Parse the session from
|
1615
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessions resource.
|
1606
1616
|
*
|
1607
|
-
* @param {string}
|
1608
|
-
* A fully-qualified path representing
|
1617
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1618
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1609
1619
|
* @returns {string} A string representing the session.
|
1610
1620
|
*/
|
1611
|
-
|
1612
|
-
return this.pathTemplates.
|
1613
|
-
}
|
1614
|
-
/**
|
1615
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1616
|
-
*
|
1617
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1618
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1619
|
-
* @returns {string} A string representing the answer.
|
1620
|
-
*/
|
1621
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1622
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1621
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1622
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
1623
1623
|
}
|
1624
1624
|
/**
|
1625
1625
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -1955,154 +1955,154 @@ class ControlServiceClient {
|
|
1955
1955
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
1956
1956
|
}
|
1957
1957
|
/**
|
1958
|
-
* Return a fully-qualified
|
1958
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
1959
1959
|
*
|
1960
1960
|
* @param {string} project
|
1961
1961
|
* @param {string} location
|
1962
1962
|
* @param {string} collection
|
1963
1963
|
* @param {string} engine
|
1964
1964
|
* @param {string} session
|
1965
|
+
* @param {string} answer
|
1965
1966
|
* @returns {string} Resource name string.
|
1966
1967
|
*/
|
1967
|
-
|
1968
|
-
return this.pathTemplates.
|
1968
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
1969
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
1969
1970
|
project: project,
|
1970
1971
|
location: location,
|
1971
1972
|
collection: collection,
|
1972
1973
|
engine: engine,
|
1973
1974
|
session: session,
|
1975
|
+
answer: answer,
|
1974
1976
|
});
|
1975
1977
|
}
|
1976
1978
|
/**
|
1977
|
-
* Parse the project from
|
1979
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
1978
1980
|
*
|
1979
|
-
* @param {string}
|
1980
|
-
* A fully-qualified path representing
|
1981
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1982
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1981
1983
|
* @returns {string} A string representing the project.
|
1982
1984
|
*/
|
1983
|
-
|
1984
|
-
return this.pathTemplates.
|
1985
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1986
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
1985
1987
|
}
|
1986
1988
|
/**
|
1987
|
-
* Parse the location from
|
1989
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
1988
1990
|
*
|
1989
|
-
* @param {string}
|
1990
|
-
* A fully-qualified path representing
|
1991
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1992
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1991
1993
|
* @returns {string} A string representing the location.
|
1992
1994
|
*/
|
1993
|
-
|
1994
|
-
return this.pathTemplates.
|
1995
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1996
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
1995
1997
|
}
|
1996
1998
|
/**
|
1997
|
-
* Parse the collection from
|
1999
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
1998
2000
|
*
|
1999
|
-
* @param {string}
|
2000
|
-
* A fully-qualified path representing
|
2001
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2002
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2001
2003
|
* @returns {string} A string representing the collection.
|
2002
2004
|
*/
|
2003
|
-
|
2004
|
-
return this.pathTemplates.
|
2005
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2006
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
2005
2007
|
}
|
2006
2008
|
/**
|
2007
|
-
* Parse the engine from
|
2009
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
2008
2010
|
*
|
2009
|
-
* @param {string}
|
2010
|
-
* A fully-qualified path representing
|
2011
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2012
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2011
2013
|
* @returns {string} A string representing the engine.
|
2012
2014
|
*/
|
2013
|
-
|
2014
|
-
return this.pathTemplates.
|
2015
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2016
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
2015
2017
|
}
|
2016
2018
|
/**
|
2017
|
-
* Parse the session from
|
2019
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
2018
2020
|
*
|
2019
|
-
* @param {string}
|
2020
|
-
* A fully-qualified path representing
|
2021
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2022
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2021
2023
|
* @returns {string} A string representing the session.
|
2022
2024
|
*/
|
2023
|
-
|
2024
|
-
return this.pathTemplates.
|
2025
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2026
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
2025
2027
|
}
|
2026
2028
|
/**
|
2027
|
-
*
|
2029
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2030
|
+
*
|
2031
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2032
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2033
|
+
* @returns {string} A string representing the answer.
|
2034
|
+
*/
|
2035
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2036
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2037
|
+
}
|
2038
|
+
/**
|
2039
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
2028
2040
|
*
|
2029
2041
|
* @param {string} project
|
2030
2042
|
* @param {string} location
|
2031
2043
|
* @param {string} collection
|
2032
2044
|
* @param {string} engine
|
2033
2045
|
* @param {string} session
|
2034
|
-
* @param {string} answer
|
2035
2046
|
* @returns {string} Resource name string.
|
2036
2047
|
*/
|
2037
|
-
|
2038
|
-
return this.pathTemplates.
|
2048
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
2049
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
2039
2050
|
project: project,
|
2040
2051
|
location: location,
|
2041
2052
|
collection: collection,
|
2042
2053
|
engine: engine,
|
2043
2054
|
session: session,
|
2044
|
-
answer: answer,
|
2045
2055
|
});
|
2046
2056
|
}
|
2047
2057
|
/**
|
2048
|
-
* Parse the project from
|
2058
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
2049
2059
|
*
|
2050
|
-
* @param {string}
|
2051
|
-
* A fully-qualified path representing
|
2060
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2061
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2052
2062
|
* @returns {string} A string representing the project.
|
2053
2063
|
*/
|
2054
|
-
|
2055
|
-
return this.pathTemplates.
|
2064
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2065
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
2056
2066
|
}
|
2057
2067
|
/**
|
2058
|
-
* Parse the location from
|
2068
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
2059
2069
|
*
|
2060
|
-
* @param {string}
|
2061
|
-
* A fully-qualified path representing
|
2070
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2071
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2062
2072
|
* @returns {string} A string representing the location.
|
2063
2073
|
*/
|
2064
|
-
|
2065
|
-
return this.pathTemplates.
|
2074
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2075
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
2066
2076
|
}
|
2067
2077
|
/**
|
2068
|
-
* Parse the collection from
|
2078
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
2069
2079
|
*
|
2070
|
-
* @param {string}
|
2071
|
-
* A fully-qualified path representing
|
2080
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2081
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2072
2082
|
* @returns {string} A string representing the collection.
|
2073
2083
|
*/
|
2074
|
-
|
2075
|
-
return this.pathTemplates.
|
2084
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2085
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
2076
2086
|
}
|
2077
2087
|
/**
|
2078
|
-
* Parse the engine from
|
2088
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
2079
2089
|
*
|
2080
|
-
* @param {string}
|
2081
|
-
* A fully-qualified path representing
|
2090
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2091
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2082
2092
|
* @returns {string} A string representing the engine.
|
2083
2093
|
*/
|
2084
|
-
|
2085
|
-
return this.pathTemplates.
|
2094
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2095
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
2086
2096
|
}
|
2087
2097
|
/**
|
2088
|
-
* Parse the session from
|
2098
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
2089
2099
|
*
|
2090
|
-
* @param {string}
|
2091
|
-
* A fully-qualified path representing
|
2100
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2101
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2092
2102
|
* @returns {string} A string representing the session.
|
2093
2103
|
*/
|
2094
|
-
|
2095
|
-
return this.pathTemplates.
|
2096
|
-
}
|
2097
|
-
/**
|
2098
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2099
|
-
*
|
2100
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2101
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2102
|
-
* @returns {string} A string representing the answer.
|
2103
|
-
*/
|
2104
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2105
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2104
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2105
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
2106
2106
|
}
|
2107
2107
|
/**
|
2108
2108
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -2629,63 +2629,6 @@ class ControlServiceClient {
|
|
2629
2629
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
2630
2630
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
2631
2631
|
}
|
2632
|
-
/**
|
2633
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
2634
|
-
*
|
2635
|
-
* @param {string} project
|
2636
|
-
* @param {string} location
|
2637
|
-
* @param {string} data_store
|
2638
|
-
* @param {string} session
|
2639
|
-
* @returns {string} Resource name string.
|
2640
|
-
*/
|
2641
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
2642
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
2643
|
-
project: project,
|
2644
|
-
location: location,
|
2645
|
-
data_store: dataStore,
|
2646
|
-
session: session,
|
2647
|
-
});
|
2648
|
-
}
|
2649
|
-
/**
|
2650
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
2651
|
-
*
|
2652
|
-
* @param {string} projectLocationDataStoreSessionName
|
2653
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2654
|
-
* @returns {string} A string representing the project.
|
2655
|
-
*/
|
2656
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2657
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
2658
|
-
}
|
2659
|
-
/**
|
2660
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
2661
|
-
*
|
2662
|
-
* @param {string} projectLocationDataStoreSessionName
|
2663
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2664
|
-
* @returns {string} A string representing the location.
|
2665
|
-
*/
|
2666
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2667
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
2668
|
-
}
|
2669
|
-
/**
|
2670
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
2671
|
-
*
|
2672
|
-
* @param {string} projectLocationDataStoreSessionName
|
2673
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2674
|
-
* @returns {string} A string representing the data_store.
|
2675
|
-
*/
|
2676
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2677
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
2678
|
-
}
|
2679
|
-
/**
|
2680
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
2681
|
-
*
|
2682
|
-
* @param {string} projectLocationDataStoreSessionName
|
2683
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2684
|
-
* @returns {string} A string representing the session.
|
2685
|
-
*/
|
2686
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2687
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
2688
|
-
}
|
2689
2632
|
/**
|
2690
2633
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
2691
2634
|
*
|
@@ -2755,6 +2698,63 @@ class ControlServiceClient {
|
|
2755
2698
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2756
2699
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
2757
2700
|
}
|
2701
|
+
/**
|
2702
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
2703
|
+
*
|
2704
|
+
* @param {string} project
|
2705
|
+
* @param {string} location
|
2706
|
+
* @param {string} data_store
|
2707
|
+
* @param {string} session
|
2708
|
+
* @returns {string} Resource name string.
|
2709
|
+
*/
|
2710
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
2711
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
2712
|
+
project: project,
|
2713
|
+
location: location,
|
2714
|
+
data_store: dataStore,
|
2715
|
+
session: session,
|
2716
|
+
});
|
2717
|
+
}
|
2718
|
+
/**
|
2719
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
2720
|
+
*
|
2721
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2722
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2723
|
+
* @returns {string} A string representing the project.
|
2724
|
+
*/
|
2725
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2726
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
2727
|
+
}
|
2728
|
+
/**
|
2729
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
2730
|
+
*
|
2731
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2732
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2733
|
+
* @returns {string} A string representing the location.
|
2734
|
+
*/
|
2735
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2736
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
2737
|
+
}
|
2738
|
+
/**
|
2739
|
+
* Parse the data_store from ProjectLocationDataStoreSessions resource.
|
2740
|
+
*
|
2741
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2742
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2743
|
+
* @returns {string} A string representing the data_store.
|
2744
|
+
*/
|
2745
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2746
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
2747
|
+
}
|
2748
|
+
/**
|
2749
|
+
* Parse the session from ProjectLocationDataStoreSessions resource.
|
2750
|
+
*
|
2751
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2752
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2753
|
+
* @returns {string} A string representing the session.
|
2754
|
+
*/
|
2755
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2756
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
2757
|
+
}
|
2758
2758
|
/**
|
2759
2759
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
2760
2760
|
*
|
@@ -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",
|