@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
@@ -163,6 +163,8 @@ class ConversationalSearchServiceClient {
|
|
163
163
|
// identifiers to uniquely identify resources within the API.
|
164
164
|
// Create useful helper objects for these.
|
165
165
|
this.pathTemplates = {
|
166
|
+
assistAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/assistAnswers/{assist_answer}'),
|
167
|
+
assistantPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}'),
|
166
168
|
enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
|
167
169
|
identityMappingStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}'),
|
168
170
|
projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
|
@@ -177,16 +179,16 @@ class ConversationalSearchServiceClient {
|
|
177
179
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
178
180
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
179
181
|
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
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}'),
|
182
184
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
183
185
|
projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
184
186
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
185
187
|
projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
|
186
188
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
187
189
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
188
|
-
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
189
190
|
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
191
|
+
projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
190
192
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
191
193
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
192
194
|
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
@@ -196,8 +198,8 @@ class ConversationalSearchServiceClient {
|
|
196
198
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
197
199
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
198
200
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
199
|
-
projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
200
201
|
projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
202
|
+
projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
201
203
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
202
204
|
projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
203
205
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
@@ -1021,11 +1023,23 @@ class ConversationalSearchServiceClient {
|
|
1021
1023
|
* A page token, received from a previous `ListSessions` call.
|
1022
1024
|
* Provide this to retrieve the subsequent page.
|
1023
1025
|
* @param {string} request.filter
|
1024
|
-
* A
|
1025
|
-
*
|
1026
|
-
*
|
1027
|
-
*
|
1026
|
+
* A comma-separated list of fields to filter by, in EBNF grammar.
|
1027
|
+
* The supported fields are:
|
1028
|
+
* * `user_pseudo_id`
|
1029
|
+
* * `state`
|
1030
|
+
* * `display_name`
|
1031
|
+
* * `starred`
|
1032
|
+
* * `is_pinned`
|
1033
|
+
* * `labels`
|
1034
|
+
* * `create_time`
|
1035
|
+
* * `update_time`
|
1036
|
+
*
|
1037
|
+
* Examples:
|
1028
1038
|
* "user_pseudo_id = some_id"
|
1039
|
+
* "display_name = \"some_name\""
|
1040
|
+
* "starred = true"
|
1041
|
+
* "is_pinned=true AND (NOT labels:hidden)"
|
1042
|
+
* "create_time > \"1970-01-01T12:00:00Z\""
|
1029
1043
|
* @param {string} request.orderBy
|
1030
1044
|
* A comma-separated list of fields to order by, sorted in ascending order.
|
1031
1045
|
* Use "desc" after a field name for descending.
|
@@ -1083,11 +1097,23 @@ class ConversationalSearchServiceClient {
|
|
1083
1097
|
* A page token, received from a previous `ListSessions` call.
|
1084
1098
|
* Provide this to retrieve the subsequent page.
|
1085
1099
|
* @param {string} request.filter
|
1086
|
-
* A
|
1087
|
-
*
|
1088
|
-
*
|
1089
|
-
*
|
1100
|
+
* A comma-separated list of fields to filter by, in EBNF grammar.
|
1101
|
+
* The supported fields are:
|
1102
|
+
* * `user_pseudo_id`
|
1103
|
+
* * `state`
|
1104
|
+
* * `display_name`
|
1105
|
+
* * `starred`
|
1106
|
+
* * `is_pinned`
|
1107
|
+
* * `labels`
|
1108
|
+
* * `create_time`
|
1109
|
+
* * `update_time`
|
1110
|
+
*
|
1111
|
+
* Examples:
|
1090
1112
|
* "user_pseudo_id = some_id"
|
1113
|
+
* "display_name = \"some_name\""
|
1114
|
+
* "starred = true"
|
1115
|
+
* "is_pinned=true AND (NOT labels:hidden)"
|
1116
|
+
* "create_time > \"1970-01-01T12:00:00Z\""
|
1091
1117
|
* @param {string} request.orderBy
|
1092
1118
|
* A comma-separated list of fields to order by, sorted in ascending order.
|
1093
1119
|
* Use "desc" after a field name for descending.
|
@@ -1188,6 +1214,156 @@ class ConversationalSearchServiceClient {
|
|
1188
1214
|
// --------------------
|
1189
1215
|
// -- Path templates --
|
1190
1216
|
// --------------------
|
1217
|
+
/**
|
1218
|
+
* Return a fully-qualified assistAnswer resource name string.
|
1219
|
+
*
|
1220
|
+
* @param {string} project
|
1221
|
+
* @param {string} location
|
1222
|
+
* @param {string} collection
|
1223
|
+
* @param {string} engine
|
1224
|
+
* @param {string} session
|
1225
|
+
* @param {string} assist_answer
|
1226
|
+
* @returns {string} Resource name string.
|
1227
|
+
*/
|
1228
|
+
assistAnswerPath(project, location, collection, engine, session, assistAnswer) {
|
1229
|
+
return this.pathTemplates.assistAnswerPathTemplate.render({
|
1230
|
+
project: project,
|
1231
|
+
location: location,
|
1232
|
+
collection: collection,
|
1233
|
+
engine: engine,
|
1234
|
+
session: session,
|
1235
|
+
assist_answer: assistAnswer,
|
1236
|
+
});
|
1237
|
+
}
|
1238
|
+
/**
|
1239
|
+
* Parse the project from AssistAnswer resource.
|
1240
|
+
*
|
1241
|
+
* @param {string} assistAnswerName
|
1242
|
+
* A fully-qualified path representing AssistAnswer resource.
|
1243
|
+
* @returns {string} A string representing the project.
|
1244
|
+
*/
|
1245
|
+
matchProjectFromAssistAnswerName(assistAnswerName) {
|
1246
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).project;
|
1247
|
+
}
|
1248
|
+
/**
|
1249
|
+
* Parse the location from AssistAnswer resource.
|
1250
|
+
*
|
1251
|
+
* @param {string} assistAnswerName
|
1252
|
+
* A fully-qualified path representing AssistAnswer resource.
|
1253
|
+
* @returns {string} A string representing the location.
|
1254
|
+
*/
|
1255
|
+
matchLocationFromAssistAnswerName(assistAnswerName) {
|
1256
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).location;
|
1257
|
+
}
|
1258
|
+
/**
|
1259
|
+
* Parse the collection from AssistAnswer resource.
|
1260
|
+
*
|
1261
|
+
* @param {string} assistAnswerName
|
1262
|
+
* A fully-qualified path representing AssistAnswer resource.
|
1263
|
+
* @returns {string} A string representing the collection.
|
1264
|
+
*/
|
1265
|
+
matchCollectionFromAssistAnswerName(assistAnswerName) {
|
1266
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).collection;
|
1267
|
+
}
|
1268
|
+
/**
|
1269
|
+
* Parse the engine from AssistAnswer resource.
|
1270
|
+
*
|
1271
|
+
* @param {string} assistAnswerName
|
1272
|
+
* A fully-qualified path representing AssistAnswer resource.
|
1273
|
+
* @returns {string} A string representing the engine.
|
1274
|
+
*/
|
1275
|
+
matchEngineFromAssistAnswerName(assistAnswerName) {
|
1276
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).engine;
|
1277
|
+
}
|
1278
|
+
/**
|
1279
|
+
* Parse the session from AssistAnswer resource.
|
1280
|
+
*
|
1281
|
+
* @param {string} assistAnswerName
|
1282
|
+
* A fully-qualified path representing AssistAnswer resource.
|
1283
|
+
* @returns {string} A string representing the session.
|
1284
|
+
*/
|
1285
|
+
matchSessionFromAssistAnswerName(assistAnswerName) {
|
1286
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).session;
|
1287
|
+
}
|
1288
|
+
/**
|
1289
|
+
* Parse the assist_answer from AssistAnswer resource.
|
1290
|
+
*
|
1291
|
+
* @param {string} assistAnswerName
|
1292
|
+
* A fully-qualified path representing AssistAnswer resource.
|
1293
|
+
* @returns {string} A string representing the assist_answer.
|
1294
|
+
*/
|
1295
|
+
matchAssistAnswerFromAssistAnswerName(assistAnswerName) {
|
1296
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).assist_answer;
|
1297
|
+
}
|
1298
|
+
/**
|
1299
|
+
* Return a fully-qualified assistant resource name string.
|
1300
|
+
*
|
1301
|
+
* @param {string} project
|
1302
|
+
* @param {string} location
|
1303
|
+
* @param {string} collection
|
1304
|
+
* @param {string} engine
|
1305
|
+
* @param {string} assistant
|
1306
|
+
* @returns {string} Resource name string.
|
1307
|
+
*/
|
1308
|
+
assistantPath(project, location, collection, engine, assistant) {
|
1309
|
+
return this.pathTemplates.assistantPathTemplate.render({
|
1310
|
+
project: project,
|
1311
|
+
location: location,
|
1312
|
+
collection: collection,
|
1313
|
+
engine: engine,
|
1314
|
+
assistant: assistant,
|
1315
|
+
});
|
1316
|
+
}
|
1317
|
+
/**
|
1318
|
+
* Parse the project from Assistant resource.
|
1319
|
+
*
|
1320
|
+
* @param {string} assistantName
|
1321
|
+
* A fully-qualified path representing Assistant resource.
|
1322
|
+
* @returns {string} A string representing the project.
|
1323
|
+
*/
|
1324
|
+
matchProjectFromAssistantName(assistantName) {
|
1325
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).project;
|
1326
|
+
}
|
1327
|
+
/**
|
1328
|
+
* Parse the location from Assistant resource.
|
1329
|
+
*
|
1330
|
+
* @param {string} assistantName
|
1331
|
+
* A fully-qualified path representing Assistant resource.
|
1332
|
+
* @returns {string} A string representing the location.
|
1333
|
+
*/
|
1334
|
+
matchLocationFromAssistantName(assistantName) {
|
1335
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).location;
|
1336
|
+
}
|
1337
|
+
/**
|
1338
|
+
* Parse the collection from Assistant resource.
|
1339
|
+
*
|
1340
|
+
* @param {string} assistantName
|
1341
|
+
* A fully-qualified path representing Assistant resource.
|
1342
|
+
* @returns {string} A string representing the collection.
|
1343
|
+
*/
|
1344
|
+
matchCollectionFromAssistantName(assistantName) {
|
1345
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).collection;
|
1346
|
+
}
|
1347
|
+
/**
|
1348
|
+
* Parse the engine from Assistant resource.
|
1349
|
+
*
|
1350
|
+
* @param {string} assistantName
|
1351
|
+
* A fully-qualified path representing Assistant resource.
|
1352
|
+
* @returns {string} A string representing the engine.
|
1353
|
+
*/
|
1354
|
+
matchEngineFromAssistantName(assistantName) {
|
1355
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).engine;
|
1356
|
+
}
|
1357
|
+
/**
|
1358
|
+
* Parse the assistant from Assistant resource.
|
1359
|
+
*
|
1360
|
+
* @param {string} assistantName
|
1361
|
+
* A fully-qualified path representing Assistant resource.
|
1362
|
+
* @returns {string} A string representing the assistant.
|
1363
|
+
*/
|
1364
|
+
matchAssistantFromAssistantName(assistantName) {
|
1365
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).assistant;
|
1366
|
+
}
|
1191
1367
|
/**
|
1192
1368
|
* Return a fully-qualified engine resource name string.
|
1193
1369
|
*
|
@@ -2023,154 +2199,154 @@ class ConversationalSearchServiceClient {
|
|
2023
2199
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
2024
2200
|
}
|
2025
2201
|
/**
|
2026
|
-
* Return a fully-qualified
|
2202
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
2027
2203
|
*
|
2028
2204
|
* @param {string} project
|
2029
2205
|
* @param {string} location
|
2030
2206
|
* @param {string} collection
|
2031
2207
|
* @param {string} data_store
|
2032
2208
|
* @param {string} session
|
2209
|
+
* @param {string} answer
|
2033
2210
|
* @returns {string} Resource name string.
|
2034
2211
|
*/
|
2035
|
-
|
2036
|
-
return this.pathTemplates.
|
2212
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
2213
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
2037
2214
|
project: project,
|
2038
2215
|
location: location,
|
2039
2216
|
collection: collection,
|
2040
2217
|
data_store: dataStore,
|
2041
2218
|
session: session,
|
2219
|
+
answer: answer,
|
2042
2220
|
});
|
2043
2221
|
}
|
2044
2222
|
/**
|
2045
|
-
* Parse the project from
|
2223
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
2046
2224
|
*
|
2047
|
-
* @param {string}
|
2048
|
-
* A fully-qualified path representing
|
2225
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
2226
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
2049
2227
|
* @returns {string} A string representing the project.
|
2050
2228
|
*/
|
2051
|
-
|
2052
|
-
return this.pathTemplates.
|
2229
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2230
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
2053
2231
|
}
|
2054
2232
|
/**
|
2055
|
-
* Parse the location from
|
2233
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
2056
2234
|
*
|
2057
|
-
* @param {string}
|
2058
|
-
* A fully-qualified path representing
|
2235
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
2236
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
2059
2237
|
* @returns {string} A string representing the location.
|
2060
2238
|
*/
|
2061
|
-
|
2062
|
-
return this.pathTemplates.
|
2239
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2240
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
2063
2241
|
}
|
2064
2242
|
/**
|
2065
|
-
* Parse the collection from
|
2243
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
2066
2244
|
*
|
2067
|
-
* @param {string}
|
2068
|
-
* A fully-qualified path representing
|
2245
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
2246
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
2069
2247
|
* @returns {string} A string representing the collection.
|
2070
2248
|
*/
|
2071
|
-
|
2072
|
-
return this.pathTemplates.
|
2249
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2250
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
2073
2251
|
}
|
2074
2252
|
/**
|
2075
|
-
* Parse the data_store from
|
2253
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
2076
2254
|
*
|
2077
|
-
* @param {string}
|
2078
|
-
* A fully-qualified path representing
|
2255
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
2256
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
2079
2257
|
* @returns {string} A string representing the data_store.
|
2080
2258
|
*/
|
2081
|
-
|
2082
|
-
return this.pathTemplates.
|
2259
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2260
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
2083
2261
|
}
|
2084
2262
|
/**
|
2085
|
-
* Parse the session from
|
2263
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
2086
2264
|
*
|
2087
|
-
* @param {string}
|
2088
|
-
* A fully-qualified path representing
|
2265
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
2266
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
2089
2267
|
* @returns {string} A string representing the session.
|
2090
2268
|
*/
|
2091
|
-
|
2092
|
-
return this.pathTemplates.
|
2269
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2270
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
2271
|
+
}
|
2272
|
+
/**
|
2273
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
2274
|
+
*
|
2275
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
2276
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
2277
|
+
* @returns {string} A string representing the answer.
|
2278
|
+
*/
|
2279
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2280
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
2093
2281
|
}
|
2094
2282
|
/**
|
2095
|
-
* Return a fully-qualified
|
2283
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
2096
2284
|
*
|
2097
2285
|
* @param {string} project
|
2098
2286
|
* @param {string} location
|
2099
2287
|
* @param {string} collection
|
2100
2288
|
* @param {string} data_store
|
2101
2289
|
* @param {string} session
|
2102
|
-
* @param {string} answer
|
2103
2290
|
* @returns {string} Resource name string.
|
2104
2291
|
*/
|
2105
|
-
|
2106
|
-
return this.pathTemplates.
|
2292
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
2293
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
2107
2294
|
project: project,
|
2108
2295
|
location: location,
|
2109
2296
|
collection: collection,
|
2110
2297
|
data_store: dataStore,
|
2111
2298
|
session: session,
|
2112
|
-
answer: answer,
|
2113
2299
|
});
|
2114
2300
|
}
|
2115
2301
|
/**
|
2116
|
-
* Parse the project from
|
2302
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
2117
2303
|
*
|
2118
|
-
* @param {string}
|
2119
|
-
* A fully-qualified path representing
|
2304
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2305
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
2120
2306
|
* @returns {string} A string representing the project.
|
2121
2307
|
*/
|
2122
|
-
|
2123
|
-
return this.pathTemplates.
|
2308
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2309
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
2124
2310
|
}
|
2125
2311
|
/**
|
2126
|
-
* Parse the location from
|
2312
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessions resource.
|
2127
2313
|
*
|
2128
|
-
* @param {string}
|
2129
|
-
* A fully-qualified path representing
|
2314
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2315
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
2130
2316
|
* @returns {string} A string representing the location.
|
2131
2317
|
*/
|
2132
|
-
|
2133
|
-
return this.pathTemplates.
|
2318
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2319
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
2134
2320
|
}
|
2135
2321
|
/**
|
2136
|
-
* Parse the collection from
|
2322
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
|
2137
2323
|
*
|
2138
|
-
* @param {string}
|
2139
|
-
* A fully-qualified path representing
|
2324
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2325
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
2140
2326
|
* @returns {string} A string representing the collection.
|
2141
2327
|
*/
|
2142
|
-
|
2143
|
-
return this.pathTemplates.
|
2328
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2329
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
2144
2330
|
}
|
2145
2331
|
/**
|
2146
|
-
* Parse the data_store from
|
2332
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
|
2147
2333
|
*
|
2148
|
-
* @param {string}
|
2149
|
-
* A fully-qualified path representing
|
2334
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2335
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
2150
2336
|
* @returns {string} A string representing the data_store.
|
2151
2337
|
*/
|
2152
|
-
|
2153
|
-
return this.pathTemplates.
|
2338
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2339
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
2154
2340
|
}
|
2155
2341
|
/**
|
2156
|
-
* Parse the session from
|
2342
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessions resource.
|
2157
2343
|
*
|
2158
|
-
* @param {string}
|
2159
|
-
* A fully-qualified path representing
|
2344
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2345
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
2160
2346
|
* @returns {string} A string representing the session.
|
2161
2347
|
*/
|
2162
|
-
|
2163
|
-
return this.pathTemplates.
|
2164
|
-
}
|
2165
|
-
/**
|
2166
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
2167
|
-
*
|
2168
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
2169
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
2170
|
-
* @returns {string} A string representing the answer.
|
2171
|
-
*/
|
2172
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2173
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
2348
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2349
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
2174
2350
|
}
|
2175
2351
|
/**
|
2176
2352
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -2575,154 +2751,154 @@ class ConversationalSearchServiceClient {
|
|
2575
2751
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
2576
2752
|
}
|
2577
2753
|
/**
|
2578
|
-
* Return a fully-qualified
|
2754
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
2579
2755
|
*
|
2580
2756
|
* @param {string} project
|
2581
2757
|
* @param {string} location
|
2582
2758
|
* @param {string} collection
|
2583
2759
|
* @param {string} engine
|
2584
2760
|
* @param {string} session
|
2761
|
+
* @param {string} answer
|
2585
2762
|
* @returns {string} Resource name string.
|
2586
2763
|
*/
|
2587
|
-
|
2588
|
-
return this.pathTemplates.
|
2764
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
2765
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
2589
2766
|
project: project,
|
2590
2767
|
location: location,
|
2591
2768
|
collection: collection,
|
2592
2769
|
engine: engine,
|
2593
2770
|
session: session,
|
2771
|
+
answer: answer,
|
2594
2772
|
});
|
2595
2773
|
}
|
2596
2774
|
/**
|
2597
|
-
* Parse the project from
|
2775
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
2598
2776
|
*
|
2599
|
-
* @param {string}
|
2600
|
-
* A fully-qualified path representing
|
2777
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2778
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2601
2779
|
* @returns {string} A string representing the project.
|
2602
2780
|
*/
|
2603
|
-
|
2604
|
-
return this.pathTemplates.
|
2781
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2782
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
2605
2783
|
}
|
2606
2784
|
/**
|
2607
|
-
* Parse the location from
|
2785
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
2608
2786
|
*
|
2609
|
-
* @param {string}
|
2610
|
-
* A fully-qualified path representing
|
2787
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2788
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2611
2789
|
* @returns {string} A string representing the location.
|
2612
2790
|
*/
|
2613
|
-
|
2614
|
-
return this.pathTemplates.
|
2791
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2792
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
2615
2793
|
}
|
2616
2794
|
/**
|
2617
|
-
* Parse the collection from
|
2795
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
2618
2796
|
*
|
2619
|
-
* @param {string}
|
2620
|
-
* A fully-qualified path representing
|
2797
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2798
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2621
2799
|
* @returns {string} A string representing the collection.
|
2622
2800
|
*/
|
2623
|
-
|
2624
|
-
return this.pathTemplates.
|
2801
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2802
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
2625
2803
|
}
|
2626
2804
|
/**
|
2627
|
-
* Parse the engine from
|
2805
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
2628
2806
|
*
|
2629
|
-
* @param {string}
|
2630
|
-
* A fully-qualified path representing
|
2807
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2808
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2631
2809
|
* @returns {string} A string representing the engine.
|
2632
2810
|
*/
|
2633
|
-
|
2634
|
-
return this.pathTemplates.
|
2811
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2812
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
2635
2813
|
}
|
2636
2814
|
/**
|
2637
|
-
* Parse the session from
|
2815
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
2638
2816
|
*
|
2639
|
-
* @param {string}
|
2640
|
-
* A fully-qualified path representing
|
2817
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2818
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2641
2819
|
* @returns {string} A string representing the session.
|
2642
2820
|
*/
|
2643
|
-
|
2644
|
-
return this.pathTemplates.
|
2821
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2822
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
2823
|
+
}
|
2824
|
+
/**
|
2825
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2826
|
+
*
|
2827
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2828
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2829
|
+
* @returns {string} A string representing the answer.
|
2830
|
+
*/
|
2831
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2832
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2645
2833
|
}
|
2646
2834
|
/**
|
2647
|
-
* Return a fully-qualified
|
2835
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
2648
2836
|
*
|
2649
2837
|
* @param {string} project
|
2650
2838
|
* @param {string} location
|
2651
2839
|
* @param {string} collection
|
2652
2840
|
* @param {string} engine
|
2653
2841
|
* @param {string} session
|
2654
|
-
* @param {string} answer
|
2655
2842
|
* @returns {string} Resource name string.
|
2656
2843
|
*/
|
2657
|
-
|
2658
|
-
return this.pathTemplates.
|
2844
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
2845
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
2659
2846
|
project: project,
|
2660
2847
|
location: location,
|
2661
2848
|
collection: collection,
|
2662
2849
|
engine: engine,
|
2663
2850
|
session: session,
|
2664
|
-
answer: answer,
|
2665
2851
|
});
|
2666
2852
|
}
|
2667
2853
|
/**
|
2668
|
-
* Parse the project from
|
2854
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
2669
2855
|
*
|
2670
|
-
* @param {string}
|
2671
|
-
* A fully-qualified path representing
|
2856
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2857
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2672
2858
|
* @returns {string} A string representing the project.
|
2673
2859
|
*/
|
2674
|
-
|
2675
|
-
return this.pathTemplates.
|
2860
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2861
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
2676
2862
|
}
|
2677
2863
|
/**
|
2678
|
-
* Parse the location from
|
2864
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
2679
2865
|
*
|
2680
|
-
* @param {string}
|
2681
|
-
* A fully-qualified path representing
|
2866
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2867
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2682
2868
|
* @returns {string} A string representing the location.
|
2683
2869
|
*/
|
2684
|
-
|
2685
|
-
return this.pathTemplates.
|
2870
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2871
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
2686
2872
|
}
|
2687
2873
|
/**
|
2688
|
-
* Parse the collection from
|
2874
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
2689
2875
|
*
|
2690
|
-
* @param {string}
|
2691
|
-
* A fully-qualified path representing
|
2876
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2877
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2692
2878
|
* @returns {string} A string representing the collection.
|
2693
2879
|
*/
|
2694
|
-
|
2695
|
-
return this.pathTemplates.
|
2880
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2881
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
2696
2882
|
}
|
2697
2883
|
/**
|
2698
|
-
* Parse the engine from
|
2884
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
2699
2885
|
*
|
2700
|
-
* @param {string}
|
2701
|
-
* A fully-qualified path representing
|
2886
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2887
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2702
2888
|
* @returns {string} A string representing the engine.
|
2703
2889
|
*/
|
2704
|
-
|
2705
|
-
return this.pathTemplates.
|
2890
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2891
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
2706
2892
|
}
|
2707
2893
|
/**
|
2708
|
-
* Parse the session from
|
2894
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
2709
2895
|
*
|
2710
|
-
* @param {string}
|
2711
|
-
* A fully-qualified path representing
|
2896
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2897
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2712
2898
|
* @returns {string} A string representing the session.
|
2713
2899
|
*/
|
2714
|
-
|
2715
|
-
return this.pathTemplates.
|
2716
|
-
}
|
2717
|
-
/**
|
2718
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2719
|
-
*
|
2720
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2721
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2722
|
-
* @returns {string} A string representing the answer.
|
2723
|
-
*/
|
2724
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2725
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2900
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2901
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
2726
2902
|
}
|
2727
2903
|
/**
|
2728
2904
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -3249,63 +3425,6 @@ class ConversationalSearchServiceClient {
|
|
3249
3425
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
3250
3426
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
3251
3427
|
}
|
3252
|
-
/**
|
3253
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
3254
|
-
*
|
3255
|
-
* @param {string} project
|
3256
|
-
* @param {string} location
|
3257
|
-
* @param {string} data_store
|
3258
|
-
* @param {string} session
|
3259
|
-
* @returns {string} Resource name string.
|
3260
|
-
*/
|
3261
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
3262
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
3263
|
-
project: project,
|
3264
|
-
location: location,
|
3265
|
-
data_store: dataStore,
|
3266
|
-
session: session,
|
3267
|
-
});
|
3268
|
-
}
|
3269
|
-
/**
|
3270
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
3271
|
-
*
|
3272
|
-
* @param {string} projectLocationDataStoreSessionName
|
3273
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3274
|
-
* @returns {string} A string representing the project.
|
3275
|
-
*/
|
3276
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3277
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
3278
|
-
}
|
3279
|
-
/**
|
3280
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
3281
|
-
*
|
3282
|
-
* @param {string} projectLocationDataStoreSessionName
|
3283
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3284
|
-
* @returns {string} A string representing the location.
|
3285
|
-
*/
|
3286
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3287
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
3288
|
-
}
|
3289
|
-
/**
|
3290
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
3291
|
-
*
|
3292
|
-
* @param {string} projectLocationDataStoreSessionName
|
3293
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3294
|
-
* @returns {string} A string representing the data_store.
|
3295
|
-
*/
|
3296
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3297
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
3298
|
-
}
|
3299
|
-
/**
|
3300
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
3301
|
-
*
|
3302
|
-
* @param {string} projectLocationDataStoreSessionName
|
3303
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3304
|
-
* @returns {string} A string representing the session.
|
3305
|
-
*/
|
3306
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3307
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
3308
|
-
}
|
3309
3428
|
/**
|
3310
3429
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
3311
3430
|
*
|
@@ -3375,6 +3494,63 @@ class ConversationalSearchServiceClient {
|
|
3375
3494
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
3376
3495
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
3377
3496
|
}
|
3497
|
+
/**
|
3498
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
3499
|
+
*
|
3500
|
+
* @param {string} project
|
3501
|
+
* @param {string} location
|
3502
|
+
* @param {string} data_store
|
3503
|
+
* @param {string} session
|
3504
|
+
* @returns {string} Resource name string.
|
3505
|
+
*/
|
3506
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
3507
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
3508
|
+
project: project,
|
3509
|
+
location: location,
|
3510
|
+
data_store: dataStore,
|
3511
|
+
session: session,
|
3512
|
+
});
|
3513
|
+
}
|
3514
|
+
/**
|
3515
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
3516
|
+
*
|
3517
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3518
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3519
|
+
* @returns {string} A string representing the project.
|
3520
|
+
*/
|
3521
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3522
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
3523
|
+
}
|
3524
|
+
/**
|
3525
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
3526
|
+
*
|
3527
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3528
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3529
|
+
* @returns {string} A string representing the location.
|
3530
|
+
*/
|
3531
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3532
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
3533
|
+
}
|
3534
|
+
/**
|
3535
|
+
* Parse the data_store from ProjectLocationDataStoreSessions resource.
|
3536
|
+
*
|
3537
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3538
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3539
|
+
* @returns {string} A string representing the data_store.
|
3540
|
+
*/
|
3541
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3542
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
3543
|
+
}
|
3544
|
+
/**
|
3545
|
+
* Parse the session from ProjectLocationDataStoreSessions resource.
|
3546
|
+
*
|
3547
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3548
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3549
|
+
* @returns {string} A string representing the session.
|
3550
|
+
*/
|
3551
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3552
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
3553
|
+
}
|
3378
3554
|
/**
|
3379
3555
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
3380
3556
|
*
|