@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
@@ -177,15 +177,15 @@ class SampleQueryServiceClient {
|
|
177
177
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
178
178
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
179
179
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
180
|
-
projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
181
180
|
projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
181
|
+
projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
182
182
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
183
183
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
184
184
|
projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
|
185
185
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
186
186
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
187
|
-
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
188
187
|
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
188
|
+
projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
189
189
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
190
190
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
191
191
|
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
@@ -195,8 +195,8 @@ class SampleQueryServiceClient {
|
|
195
195
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
196
196
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
197
197
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
198
|
-
projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
199
198
|
projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
199
|
+
projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
200
200
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
201
201
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
202
202
|
sampleQueryPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}'),
|
@@ -1705,154 +1705,154 @@ class SampleQueryServiceClient {
|
|
1705
1705
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1706
1706
|
}
|
1707
1707
|
/**
|
1708
|
-
* Return a fully-qualified
|
1708
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1709
1709
|
*
|
1710
1710
|
* @param {string} project
|
1711
1711
|
* @param {string} location
|
1712
1712
|
* @param {string} collection
|
1713
1713
|
* @param {string} data_store
|
1714
1714
|
* @param {string} session
|
1715
|
+
* @param {string} answer
|
1715
1716
|
* @returns {string} Resource name string.
|
1716
1717
|
*/
|
1717
|
-
|
1718
|
-
return this.pathTemplates.
|
1718
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1719
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1719
1720
|
project: project,
|
1720
1721
|
location: location,
|
1721
1722
|
collection: collection,
|
1722
1723
|
data_store: dataStore,
|
1723
1724
|
session: session,
|
1725
|
+
answer: answer,
|
1724
1726
|
});
|
1725
1727
|
}
|
1726
1728
|
/**
|
1727
|
-
* Parse the project from
|
1729
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1728
1730
|
*
|
1729
|
-
* @param {string}
|
1730
|
-
* A fully-qualified path representing
|
1731
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1732
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1731
1733
|
* @returns {string} A string representing the project.
|
1732
1734
|
*/
|
1733
|
-
|
1734
|
-
return this.pathTemplates.
|
1735
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1736
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1735
1737
|
}
|
1736
1738
|
/**
|
1737
|
-
* Parse the location from
|
1739
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1738
1740
|
*
|
1739
|
-
* @param {string}
|
1740
|
-
* A fully-qualified path representing
|
1741
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1742
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1741
1743
|
* @returns {string} A string representing the location.
|
1742
1744
|
*/
|
1743
|
-
|
1744
|
-
return this.pathTemplates.
|
1745
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1746
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1745
1747
|
}
|
1746
1748
|
/**
|
1747
|
-
* Parse the collection from
|
1749
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1748
1750
|
*
|
1749
|
-
* @param {string}
|
1750
|
-
* A fully-qualified path representing
|
1751
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1752
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1751
1753
|
* @returns {string} A string representing the collection.
|
1752
1754
|
*/
|
1753
|
-
|
1754
|
-
return this.pathTemplates.
|
1755
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1756
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1755
1757
|
}
|
1756
1758
|
/**
|
1757
|
-
* Parse the data_store from
|
1759
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1758
1760
|
*
|
1759
|
-
* @param {string}
|
1760
|
-
* A fully-qualified path representing
|
1761
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1762
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1761
1763
|
* @returns {string} A string representing the data_store.
|
1762
1764
|
*/
|
1763
|
-
|
1764
|
-
return this.pathTemplates.
|
1765
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1766
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1765
1767
|
}
|
1766
1768
|
/**
|
1767
|
-
* Parse the session from
|
1769
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1768
1770
|
*
|
1769
|
-
* @param {string}
|
1770
|
-
* A fully-qualified path representing
|
1771
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1772
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1771
1773
|
* @returns {string} A string representing the session.
|
1772
1774
|
*/
|
1773
|
-
|
1774
|
-
return this.pathTemplates.
|
1775
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1776
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1775
1777
|
}
|
1776
1778
|
/**
|
1777
|
-
*
|
1779
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1780
|
+
*
|
1781
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1782
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1783
|
+
* @returns {string} A string representing the answer.
|
1784
|
+
*/
|
1785
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1786
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1787
|
+
}
|
1788
|
+
/**
|
1789
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
1778
1790
|
*
|
1779
1791
|
* @param {string} project
|
1780
1792
|
* @param {string} location
|
1781
1793
|
* @param {string} collection
|
1782
1794
|
* @param {string} data_store
|
1783
1795
|
* @param {string} session
|
1784
|
-
* @param {string} answer
|
1785
1796
|
* @returns {string} Resource name string.
|
1786
1797
|
*/
|
1787
|
-
|
1788
|
-
return this.pathTemplates.
|
1798
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
1799
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
1789
1800
|
project: project,
|
1790
1801
|
location: location,
|
1791
1802
|
collection: collection,
|
1792
1803
|
data_store: dataStore,
|
1793
1804
|
session: session,
|
1794
|
-
answer: answer,
|
1795
1805
|
});
|
1796
1806
|
}
|
1797
1807
|
/**
|
1798
|
-
* Parse the project from
|
1808
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
1799
1809
|
*
|
1800
|
-
* @param {string}
|
1801
|
-
* A fully-qualified path representing
|
1810
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1811
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1802
1812
|
* @returns {string} A string representing the project.
|
1803
1813
|
*/
|
1804
|
-
|
1805
|
-
return this.pathTemplates.
|
1814
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1815
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
1806
1816
|
}
|
1807
1817
|
/**
|
1808
|
-
* Parse the location from
|
1818
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessions resource.
|
1809
1819
|
*
|
1810
|
-
* @param {string}
|
1811
|
-
* A fully-qualified path representing
|
1820
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1821
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1812
1822
|
* @returns {string} A string representing the location.
|
1813
1823
|
*/
|
1814
|
-
|
1815
|
-
return this.pathTemplates.
|
1824
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1825
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
1816
1826
|
}
|
1817
1827
|
/**
|
1818
|
-
* Parse the collection from
|
1828
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
|
1819
1829
|
*
|
1820
|
-
* @param {string}
|
1821
|
-
* A fully-qualified path representing
|
1830
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1831
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1822
1832
|
* @returns {string} A string representing the collection.
|
1823
1833
|
*/
|
1824
|
-
|
1825
|
-
return this.pathTemplates.
|
1834
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1835
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
1826
1836
|
}
|
1827
1837
|
/**
|
1828
|
-
* Parse the data_store from
|
1838
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
|
1829
1839
|
*
|
1830
|
-
* @param {string}
|
1831
|
-
* A fully-qualified path representing
|
1840
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1841
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1832
1842
|
* @returns {string} A string representing the data_store.
|
1833
1843
|
*/
|
1834
|
-
|
1835
|
-
return this.pathTemplates.
|
1844
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1845
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
1836
1846
|
}
|
1837
1847
|
/**
|
1838
|
-
* Parse the session from
|
1848
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessions resource.
|
1839
1849
|
*
|
1840
|
-
* @param {string}
|
1841
|
-
* A fully-qualified path representing
|
1850
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1851
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1842
1852
|
* @returns {string} A string representing the session.
|
1843
1853
|
*/
|
1844
|
-
|
1845
|
-
return this.pathTemplates.
|
1846
|
-
}
|
1847
|
-
/**
|
1848
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1849
|
-
*
|
1850
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1851
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1852
|
-
* @returns {string} A string representing the answer.
|
1853
|
-
*/
|
1854
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1855
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1854
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1855
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
1856
1856
|
}
|
1857
1857
|
/**
|
1858
1858
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -2188,154 +2188,154 @@ class SampleQueryServiceClient {
|
|
2188
2188
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
2189
2189
|
}
|
2190
2190
|
/**
|
2191
|
-
* Return a fully-qualified
|
2191
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
2192
2192
|
*
|
2193
2193
|
* @param {string} project
|
2194
2194
|
* @param {string} location
|
2195
2195
|
* @param {string} collection
|
2196
2196
|
* @param {string} engine
|
2197
2197
|
* @param {string} session
|
2198
|
+
* @param {string} answer
|
2198
2199
|
* @returns {string} Resource name string.
|
2199
2200
|
*/
|
2200
|
-
|
2201
|
-
return this.pathTemplates.
|
2201
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
2202
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
2202
2203
|
project: project,
|
2203
2204
|
location: location,
|
2204
2205
|
collection: collection,
|
2205
2206
|
engine: engine,
|
2206
2207
|
session: session,
|
2208
|
+
answer: answer,
|
2207
2209
|
});
|
2208
2210
|
}
|
2209
2211
|
/**
|
2210
|
-
* Parse the project from
|
2212
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
2211
2213
|
*
|
2212
|
-
* @param {string}
|
2213
|
-
* A fully-qualified path representing
|
2214
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2215
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2214
2216
|
* @returns {string} A string representing the project.
|
2215
2217
|
*/
|
2216
|
-
|
2217
|
-
return this.pathTemplates.
|
2218
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2219
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
2218
2220
|
}
|
2219
2221
|
/**
|
2220
|
-
* Parse the location from
|
2222
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
2221
2223
|
*
|
2222
|
-
* @param {string}
|
2223
|
-
* A fully-qualified path representing
|
2224
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2225
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2224
2226
|
* @returns {string} A string representing the location.
|
2225
2227
|
*/
|
2226
|
-
|
2227
|
-
return this.pathTemplates.
|
2228
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2229
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
2228
2230
|
}
|
2229
2231
|
/**
|
2230
|
-
* Parse the collection from
|
2232
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
2231
2233
|
*
|
2232
|
-
* @param {string}
|
2233
|
-
* A fully-qualified path representing
|
2234
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2235
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2234
2236
|
* @returns {string} A string representing the collection.
|
2235
2237
|
*/
|
2236
|
-
|
2237
|
-
return this.pathTemplates.
|
2238
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2239
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
2238
2240
|
}
|
2239
2241
|
/**
|
2240
|
-
* Parse the engine from
|
2242
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
2241
2243
|
*
|
2242
|
-
* @param {string}
|
2243
|
-
* A fully-qualified path representing
|
2244
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2245
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2244
2246
|
* @returns {string} A string representing the engine.
|
2245
2247
|
*/
|
2246
|
-
|
2247
|
-
return this.pathTemplates.
|
2248
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2249
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
2248
2250
|
}
|
2249
2251
|
/**
|
2250
|
-
* Parse the session from
|
2252
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
2251
2253
|
*
|
2252
|
-
* @param {string}
|
2253
|
-
* A fully-qualified path representing
|
2254
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2255
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2254
2256
|
* @returns {string} A string representing the session.
|
2255
2257
|
*/
|
2256
|
-
|
2257
|
-
return this.pathTemplates.
|
2258
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2259
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
2258
2260
|
}
|
2259
2261
|
/**
|
2260
|
-
*
|
2262
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2263
|
+
*
|
2264
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2265
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2266
|
+
* @returns {string} A string representing the answer.
|
2267
|
+
*/
|
2268
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2269
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2270
|
+
}
|
2271
|
+
/**
|
2272
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
2261
2273
|
*
|
2262
2274
|
* @param {string} project
|
2263
2275
|
* @param {string} location
|
2264
2276
|
* @param {string} collection
|
2265
2277
|
* @param {string} engine
|
2266
2278
|
* @param {string} session
|
2267
|
-
* @param {string} answer
|
2268
2279
|
* @returns {string} Resource name string.
|
2269
2280
|
*/
|
2270
|
-
|
2271
|
-
return this.pathTemplates.
|
2281
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
2282
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
2272
2283
|
project: project,
|
2273
2284
|
location: location,
|
2274
2285
|
collection: collection,
|
2275
2286
|
engine: engine,
|
2276
2287
|
session: session,
|
2277
|
-
answer: answer,
|
2278
2288
|
});
|
2279
2289
|
}
|
2280
2290
|
/**
|
2281
|
-
* Parse the project from
|
2291
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
2282
2292
|
*
|
2283
|
-
* @param {string}
|
2284
|
-
* A fully-qualified path representing
|
2293
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2294
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2285
2295
|
* @returns {string} A string representing the project.
|
2286
2296
|
*/
|
2287
|
-
|
2288
|
-
return this.pathTemplates.
|
2297
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2298
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
2289
2299
|
}
|
2290
2300
|
/**
|
2291
|
-
* Parse the location from
|
2301
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
2292
2302
|
*
|
2293
|
-
* @param {string}
|
2294
|
-
* A fully-qualified path representing
|
2303
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2304
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2295
2305
|
* @returns {string} A string representing the location.
|
2296
2306
|
*/
|
2297
|
-
|
2298
|
-
return this.pathTemplates.
|
2307
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2308
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
2299
2309
|
}
|
2300
2310
|
/**
|
2301
|
-
* Parse the collection from
|
2311
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
2302
2312
|
*
|
2303
|
-
* @param {string}
|
2304
|
-
* A fully-qualified path representing
|
2313
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2314
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2305
2315
|
* @returns {string} A string representing the collection.
|
2306
2316
|
*/
|
2307
|
-
|
2308
|
-
return this.pathTemplates.
|
2317
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2318
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
2309
2319
|
}
|
2310
2320
|
/**
|
2311
|
-
* Parse the engine from
|
2321
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
2312
2322
|
*
|
2313
|
-
* @param {string}
|
2314
|
-
* A fully-qualified path representing
|
2323
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2324
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2315
2325
|
* @returns {string} A string representing the engine.
|
2316
2326
|
*/
|
2317
|
-
|
2318
|
-
return this.pathTemplates.
|
2327
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2328
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
2319
2329
|
}
|
2320
2330
|
/**
|
2321
|
-
* Parse the session from
|
2331
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
2322
2332
|
*
|
2323
|
-
* @param {string}
|
2324
|
-
* A fully-qualified path representing
|
2333
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2334
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2325
2335
|
* @returns {string} A string representing the session.
|
2326
2336
|
*/
|
2327
|
-
|
2328
|
-
return this.pathTemplates.
|
2329
|
-
}
|
2330
|
-
/**
|
2331
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2332
|
-
*
|
2333
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2334
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2335
|
-
* @returns {string} A string representing the answer.
|
2336
|
-
*/
|
2337
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2338
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2337
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2338
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
2339
2339
|
}
|
2340
2340
|
/**
|
2341
2341
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -2862,63 +2862,6 @@ class SampleQueryServiceClient {
|
|
2862
2862
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
2863
2863
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
2864
2864
|
}
|
2865
|
-
/**
|
2866
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
2867
|
-
*
|
2868
|
-
* @param {string} project
|
2869
|
-
* @param {string} location
|
2870
|
-
* @param {string} data_store
|
2871
|
-
* @param {string} session
|
2872
|
-
* @returns {string} Resource name string.
|
2873
|
-
*/
|
2874
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
2875
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
2876
|
-
project: project,
|
2877
|
-
location: location,
|
2878
|
-
data_store: dataStore,
|
2879
|
-
session: session,
|
2880
|
-
});
|
2881
|
-
}
|
2882
|
-
/**
|
2883
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
2884
|
-
*
|
2885
|
-
* @param {string} projectLocationDataStoreSessionName
|
2886
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2887
|
-
* @returns {string} A string representing the project.
|
2888
|
-
*/
|
2889
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2890
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
2891
|
-
}
|
2892
|
-
/**
|
2893
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
2894
|
-
*
|
2895
|
-
* @param {string} projectLocationDataStoreSessionName
|
2896
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2897
|
-
* @returns {string} A string representing the location.
|
2898
|
-
*/
|
2899
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2900
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
2901
|
-
}
|
2902
|
-
/**
|
2903
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
2904
|
-
*
|
2905
|
-
* @param {string} projectLocationDataStoreSessionName
|
2906
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2907
|
-
* @returns {string} A string representing the data_store.
|
2908
|
-
*/
|
2909
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2910
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
2911
|
-
}
|
2912
|
-
/**
|
2913
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
2914
|
-
*
|
2915
|
-
* @param {string} projectLocationDataStoreSessionName
|
2916
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2917
|
-
* @returns {string} A string representing the session.
|
2918
|
-
*/
|
2919
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2920
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
2921
|
-
}
|
2922
2865
|
/**
|
2923
2866
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
2924
2867
|
*
|
@@ -2988,6 +2931,63 @@ class SampleQueryServiceClient {
|
|
2988
2931
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2989
2932
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
2990
2933
|
}
|
2934
|
+
/**
|
2935
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
2936
|
+
*
|
2937
|
+
* @param {string} project
|
2938
|
+
* @param {string} location
|
2939
|
+
* @param {string} data_store
|
2940
|
+
* @param {string} session
|
2941
|
+
* @returns {string} Resource name string.
|
2942
|
+
*/
|
2943
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
2944
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
2945
|
+
project: project,
|
2946
|
+
location: location,
|
2947
|
+
data_store: dataStore,
|
2948
|
+
session: session,
|
2949
|
+
});
|
2950
|
+
}
|
2951
|
+
/**
|
2952
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
2953
|
+
*
|
2954
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2955
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2956
|
+
* @returns {string} A string representing the project.
|
2957
|
+
*/
|
2958
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2959
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
2960
|
+
}
|
2961
|
+
/**
|
2962
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
2963
|
+
*
|
2964
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2965
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2966
|
+
* @returns {string} A string representing the location.
|
2967
|
+
*/
|
2968
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2969
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
2970
|
+
}
|
2971
|
+
/**
|
2972
|
+
* Parse the data_store from ProjectLocationDataStoreSessions resource.
|
2973
|
+
*
|
2974
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2975
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2976
|
+
* @returns {string} A string representing the data_store.
|
2977
|
+
*/
|
2978
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2979
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
2980
|
+
}
|
2981
|
+
/**
|
2982
|
+
* Parse the session from ProjectLocationDataStoreSessions resource.
|
2983
|
+
*
|
2984
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2985
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2986
|
+
* @returns {string} A string representing the session.
|
2987
|
+
*/
|
2988
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2989
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
2990
|
+
}
|
2991
2991
|
/**
|
2992
2992
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
2993
2993
|
*
|
@@ -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",
|