@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
@@ -175,16 +175,16 @@ class ConversationalSearchServiceClient {
|
|
175
175
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
176
176
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
177
177
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
178
|
-
projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
179
178
|
projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
179
|
+
projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
180
180
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
181
181
|
projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
182
182
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
183
183
|
projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
|
184
184
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
185
185
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
186
|
-
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
187
186
|
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
187
|
+
projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
188
188
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
189
189
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
190
190
|
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
@@ -194,8 +194,8 @@ class ConversationalSearchServiceClient {
|
|
194
194
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
195
195
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
196
196
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
197
|
-
projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
198
197
|
projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
198
|
+
projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
199
199
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
200
200
|
projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
201
201
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
@@ -905,22 +905,39 @@ class ConversationalSearchServiceClient {
|
|
905
905
|
* A page token, received from a previous `ListSessions` call.
|
906
906
|
* Provide this to retrieve the subsequent page.
|
907
907
|
* @param {string} request.filter
|
908
|
-
* A
|
909
|
-
*
|
910
|
-
*
|
911
|
-
*
|
908
|
+
* A comma-separated list of fields to filter by, in EBNF grammar.
|
909
|
+
* The supported fields are:
|
910
|
+
* * `user_pseudo_id`
|
911
|
+
* * `state`
|
912
|
+
* * `display_name`
|
913
|
+
* * `starred`
|
914
|
+
* * `is_pinned`
|
915
|
+
* * `labels`
|
916
|
+
* * `create_time`
|
917
|
+
* * `update_time`
|
918
|
+
*
|
919
|
+
* Examples:
|
912
920
|
* "user_pseudo_id = some_id"
|
921
|
+
* "display_name = \"some_name\""
|
922
|
+
* "starred = true"
|
923
|
+
* "is_pinned=true AND (NOT labels:hidden)"
|
924
|
+
* "create_time > \"1970-01-01T12:00:00Z\""
|
913
925
|
* @param {string} request.orderBy
|
914
926
|
* A comma-separated list of fields to order by, sorted in ascending order.
|
915
927
|
* Use "desc" after a field name for descending.
|
916
928
|
* Supported fields:
|
929
|
+
*
|
917
930
|
* * `update_time`
|
918
931
|
* * `create_time`
|
919
932
|
* * `session_name`
|
933
|
+
* * `is_pinned`
|
920
934
|
*
|
921
935
|
* Example:
|
922
|
-
*
|
923
|
-
* "
|
936
|
+
*
|
937
|
+
* * "update_time desc"
|
938
|
+
* * "create_time"
|
939
|
+
* * "is_pinned desc,update_time desc": list sessions by is_pinned first, then
|
940
|
+
* by update_time.
|
924
941
|
* @param {object} [options]
|
925
942
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
926
943
|
* @returns {Stream}
|
@@ -962,22 +979,39 @@ class ConversationalSearchServiceClient {
|
|
962
979
|
* A page token, received from a previous `ListSessions` call.
|
963
980
|
* Provide this to retrieve the subsequent page.
|
964
981
|
* @param {string} request.filter
|
965
|
-
* A
|
966
|
-
*
|
967
|
-
*
|
968
|
-
*
|
982
|
+
* A comma-separated list of fields to filter by, in EBNF grammar.
|
983
|
+
* The supported fields are:
|
984
|
+
* * `user_pseudo_id`
|
985
|
+
* * `state`
|
986
|
+
* * `display_name`
|
987
|
+
* * `starred`
|
988
|
+
* * `is_pinned`
|
989
|
+
* * `labels`
|
990
|
+
* * `create_time`
|
991
|
+
* * `update_time`
|
992
|
+
*
|
993
|
+
* Examples:
|
969
994
|
* "user_pseudo_id = some_id"
|
995
|
+
* "display_name = \"some_name\""
|
996
|
+
* "starred = true"
|
997
|
+
* "is_pinned=true AND (NOT labels:hidden)"
|
998
|
+
* "create_time > \"1970-01-01T12:00:00Z\""
|
970
999
|
* @param {string} request.orderBy
|
971
1000
|
* A comma-separated list of fields to order by, sorted in ascending order.
|
972
1001
|
* Use "desc" after a field name for descending.
|
973
1002
|
* Supported fields:
|
1003
|
+
*
|
974
1004
|
* * `update_time`
|
975
1005
|
* * `create_time`
|
976
1006
|
* * `session_name`
|
1007
|
+
* * `is_pinned`
|
977
1008
|
*
|
978
1009
|
* Example:
|
979
|
-
*
|
980
|
-
* "
|
1010
|
+
*
|
1011
|
+
* * "update_time desc"
|
1012
|
+
* * "create_time"
|
1013
|
+
* * "is_pinned desc,update_time desc": list sessions by is_pinned first, then
|
1014
|
+
* by update_time.
|
981
1015
|
* @param {object} [options]
|
982
1016
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
983
1017
|
* @returns {Object}
|
@@ -1864,154 +1898,154 @@ class ConversationalSearchServiceClient {
|
|
1864
1898
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1865
1899
|
}
|
1866
1900
|
/**
|
1867
|
-
* Return a fully-qualified
|
1901
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1868
1902
|
*
|
1869
1903
|
* @param {string} project
|
1870
1904
|
* @param {string} location
|
1871
1905
|
* @param {string} collection
|
1872
1906
|
* @param {string} data_store
|
1873
1907
|
* @param {string} session
|
1908
|
+
* @param {string} answer
|
1874
1909
|
* @returns {string} Resource name string.
|
1875
1910
|
*/
|
1876
|
-
|
1877
|
-
return this.pathTemplates.
|
1911
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1912
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1878
1913
|
project: project,
|
1879
1914
|
location: location,
|
1880
1915
|
collection: collection,
|
1881
1916
|
data_store: dataStore,
|
1882
1917
|
session: session,
|
1918
|
+
answer: answer,
|
1883
1919
|
});
|
1884
1920
|
}
|
1885
1921
|
/**
|
1886
|
-
* Parse the project from
|
1922
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1887
1923
|
*
|
1888
|
-
* @param {string}
|
1889
|
-
* A fully-qualified path representing
|
1924
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1925
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1890
1926
|
* @returns {string} A string representing the project.
|
1891
1927
|
*/
|
1892
|
-
|
1893
|
-
return this.pathTemplates.
|
1928
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1929
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1894
1930
|
}
|
1895
1931
|
/**
|
1896
|
-
* Parse the location from
|
1932
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1897
1933
|
*
|
1898
|
-
* @param {string}
|
1899
|
-
* A fully-qualified path representing
|
1934
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1935
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1900
1936
|
* @returns {string} A string representing the location.
|
1901
1937
|
*/
|
1902
|
-
|
1903
|
-
return this.pathTemplates.
|
1938
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1939
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1904
1940
|
}
|
1905
1941
|
/**
|
1906
|
-
* Parse the collection from
|
1942
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1907
1943
|
*
|
1908
|
-
* @param {string}
|
1909
|
-
* A fully-qualified path representing
|
1944
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1945
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1910
1946
|
* @returns {string} A string representing the collection.
|
1911
1947
|
*/
|
1912
|
-
|
1913
|
-
return this.pathTemplates.
|
1948
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1949
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1914
1950
|
}
|
1915
1951
|
/**
|
1916
|
-
* Parse the data_store from
|
1952
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1917
1953
|
*
|
1918
|
-
* @param {string}
|
1919
|
-
* A fully-qualified path representing
|
1954
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1955
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1920
1956
|
* @returns {string} A string representing the data_store.
|
1921
1957
|
*/
|
1922
|
-
|
1923
|
-
return this.pathTemplates.
|
1958
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1959
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1924
1960
|
}
|
1925
1961
|
/**
|
1926
|
-
* Parse the session from
|
1962
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1927
1963
|
*
|
1928
|
-
* @param {string}
|
1929
|
-
* A fully-qualified path representing
|
1964
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1965
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1930
1966
|
* @returns {string} A string representing the session.
|
1931
1967
|
*/
|
1932
|
-
|
1933
|
-
return this.pathTemplates.
|
1968
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1969
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1970
|
+
}
|
1971
|
+
/**
|
1972
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1973
|
+
*
|
1974
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1975
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1976
|
+
* @returns {string} A string representing the answer.
|
1977
|
+
*/
|
1978
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1979
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1934
1980
|
}
|
1935
1981
|
/**
|
1936
|
-
* Return a fully-qualified
|
1982
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
1937
1983
|
*
|
1938
1984
|
* @param {string} project
|
1939
1985
|
* @param {string} location
|
1940
1986
|
* @param {string} collection
|
1941
1987
|
* @param {string} data_store
|
1942
1988
|
* @param {string} session
|
1943
|
-
* @param {string} answer
|
1944
1989
|
* @returns {string} Resource name string.
|
1945
1990
|
*/
|
1946
|
-
|
1947
|
-
return this.pathTemplates.
|
1991
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
1992
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
1948
1993
|
project: project,
|
1949
1994
|
location: location,
|
1950
1995
|
collection: collection,
|
1951
1996
|
data_store: dataStore,
|
1952
1997
|
session: session,
|
1953
|
-
answer: answer,
|
1954
1998
|
});
|
1955
1999
|
}
|
1956
2000
|
/**
|
1957
|
-
* Parse the project from
|
2001
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
1958
2002
|
*
|
1959
|
-
* @param {string}
|
1960
|
-
* A fully-qualified path representing
|
2003
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2004
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1961
2005
|
* @returns {string} A string representing the project.
|
1962
2006
|
*/
|
1963
|
-
|
1964
|
-
return this.pathTemplates.
|
2007
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2008
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
1965
2009
|
}
|
1966
2010
|
/**
|
1967
|
-
* Parse the location from
|
2011
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessions resource.
|
1968
2012
|
*
|
1969
|
-
* @param {string}
|
1970
|
-
* A fully-qualified path representing
|
2013
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2014
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1971
2015
|
* @returns {string} A string representing the location.
|
1972
2016
|
*/
|
1973
|
-
|
1974
|
-
return this.pathTemplates.
|
2017
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2018
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
1975
2019
|
}
|
1976
2020
|
/**
|
1977
|
-
* Parse the collection from
|
2021
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
|
1978
2022
|
*
|
1979
|
-
* @param {string}
|
1980
|
-
* A fully-qualified path representing
|
2023
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2024
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1981
2025
|
* @returns {string} A string representing the collection.
|
1982
2026
|
*/
|
1983
|
-
|
1984
|
-
return this.pathTemplates.
|
2027
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2028
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
1985
2029
|
}
|
1986
2030
|
/**
|
1987
|
-
* Parse the data_store from
|
2031
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
|
1988
2032
|
*
|
1989
|
-
* @param {string}
|
1990
|
-
* A fully-qualified path representing
|
2033
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2034
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1991
2035
|
* @returns {string} A string representing the data_store.
|
1992
2036
|
*/
|
1993
|
-
|
1994
|
-
return this.pathTemplates.
|
2037
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2038
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
1995
2039
|
}
|
1996
2040
|
/**
|
1997
|
-
* Parse the session from
|
2041
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessions resource.
|
1998
2042
|
*
|
1999
|
-
* @param {string}
|
2000
|
-
* A fully-qualified path representing
|
2043
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2044
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
2001
2045
|
* @returns {string} A string representing the session.
|
2002
2046
|
*/
|
2003
|
-
|
2004
|
-
return this.pathTemplates.
|
2005
|
-
}
|
2006
|
-
/**
|
2007
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
2008
|
-
*
|
2009
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
2010
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
2011
|
-
* @returns {string} A string representing the answer.
|
2012
|
-
*/
|
2013
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2014
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
2047
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2048
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
2015
2049
|
}
|
2016
2050
|
/**
|
2017
2051
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -2416,154 +2450,154 @@ class ConversationalSearchServiceClient {
|
|
2416
2450
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
2417
2451
|
}
|
2418
2452
|
/**
|
2419
|
-
* Return a fully-qualified
|
2453
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
2420
2454
|
*
|
2421
2455
|
* @param {string} project
|
2422
2456
|
* @param {string} location
|
2423
2457
|
* @param {string} collection
|
2424
2458
|
* @param {string} engine
|
2425
2459
|
* @param {string} session
|
2460
|
+
* @param {string} answer
|
2426
2461
|
* @returns {string} Resource name string.
|
2427
2462
|
*/
|
2428
|
-
|
2429
|
-
return this.pathTemplates.
|
2463
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
2464
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
2430
2465
|
project: project,
|
2431
2466
|
location: location,
|
2432
2467
|
collection: collection,
|
2433
2468
|
engine: engine,
|
2434
2469
|
session: session,
|
2470
|
+
answer: answer,
|
2435
2471
|
});
|
2436
2472
|
}
|
2437
2473
|
/**
|
2438
|
-
* Parse the project from
|
2474
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
2439
2475
|
*
|
2440
|
-
* @param {string}
|
2441
|
-
* A fully-qualified path representing
|
2476
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2477
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2442
2478
|
* @returns {string} A string representing the project.
|
2443
2479
|
*/
|
2444
|
-
|
2445
|
-
return this.pathTemplates.
|
2480
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2481
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
2446
2482
|
}
|
2447
2483
|
/**
|
2448
|
-
* Parse the location from
|
2484
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
2449
2485
|
*
|
2450
|
-
* @param {string}
|
2451
|
-
* A fully-qualified path representing
|
2486
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2487
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2452
2488
|
* @returns {string} A string representing the location.
|
2453
2489
|
*/
|
2454
|
-
|
2455
|
-
return this.pathTemplates.
|
2490
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2491
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
2456
2492
|
}
|
2457
2493
|
/**
|
2458
|
-
* Parse the collection from
|
2494
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
2459
2495
|
*
|
2460
|
-
* @param {string}
|
2461
|
-
* A fully-qualified path representing
|
2496
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2497
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2462
2498
|
* @returns {string} A string representing the collection.
|
2463
2499
|
*/
|
2464
|
-
|
2465
|
-
return this.pathTemplates.
|
2500
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2501
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
2466
2502
|
}
|
2467
2503
|
/**
|
2468
|
-
* Parse the engine from
|
2504
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
2469
2505
|
*
|
2470
|
-
* @param {string}
|
2471
|
-
* A fully-qualified path representing
|
2506
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2507
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2472
2508
|
* @returns {string} A string representing the engine.
|
2473
2509
|
*/
|
2474
|
-
|
2475
|
-
return this.pathTemplates.
|
2510
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2511
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
2476
2512
|
}
|
2477
2513
|
/**
|
2478
|
-
* Parse the session from
|
2514
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
2479
2515
|
*
|
2480
|
-
* @param {string}
|
2481
|
-
* A fully-qualified path representing
|
2516
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2517
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2482
2518
|
* @returns {string} A string representing the session.
|
2483
2519
|
*/
|
2484
|
-
|
2485
|
-
return this.pathTemplates.
|
2520
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2521
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
2486
2522
|
}
|
2487
2523
|
/**
|
2488
|
-
*
|
2524
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2525
|
+
*
|
2526
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2527
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2528
|
+
* @returns {string} A string representing the answer.
|
2529
|
+
*/
|
2530
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2531
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2532
|
+
}
|
2533
|
+
/**
|
2534
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
2489
2535
|
*
|
2490
2536
|
* @param {string} project
|
2491
2537
|
* @param {string} location
|
2492
2538
|
* @param {string} collection
|
2493
2539
|
* @param {string} engine
|
2494
2540
|
* @param {string} session
|
2495
|
-
* @param {string} answer
|
2496
2541
|
* @returns {string} Resource name string.
|
2497
2542
|
*/
|
2498
|
-
|
2499
|
-
return this.pathTemplates.
|
2543
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
2544
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
2500
2545
|
project: project,
|
2501
2546
|
location: location,
|
2502
2547
|
collection: collection,
|
2503
2548
|
engine: engine,
|
2504
2549
|
session: session,
|
2505
|
-
answer: answer,
|
2506
2550
|
});
|
2507
2551
|
}
|
2508
2552
|
/**
|
2509
|
-
* Parse the project from
|
2553
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
2510
2554
|
*
|
2511
|
-
* @param {string}
|
2512
|
-
* A fully-qualified path representing
|
2555
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2556
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2513
2557
|
* @returns {string} A string representing the project.
|
2514
2558
|
*/
|
2515
|
-
|
2516
|
-
return this.pathTemplates.
|
2559
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2560
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
2517
2561
|
}
|
2518
2562
|
/**
|
2519
|
-
* Parse the location from
|
2563
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
2520
2564
|
*
|
2521
|
-
* @param {string}
|
2522
|
-
* A fully-qualified path representing
|
2565
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2566
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2523
2567
|
* @returns {string} A string representing the location.
|
2524
2568
|
*/
|
2525
|
-
|
2526
|
-
return this.pathTemplates.
|
2569
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2570
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
2527
2571
|
}
|
2528
2572
|
/**
|
2529
|
-
* Parse the collection from
|
2573
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
2530
2574
|
*
|
2531
|
-
* @param {string}
|
2532
|
-
* A fully-qualified path representing
|
2575
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2576
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2533
2577
|
* @returns {string} A string representing the collection.
|
2534
2578
|
*/
|
2535
|
-
|
2536
|
-
return this.pathTemplates.
|
2579
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2580
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
2537
2581
|
}
|
2538
2582
|
/**
|
2539
|
-
* Parse the engine from
|
2583
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
2540
2584
|
*
|
2541
|
-
* @param {string}
|
2542
|
-
* A fully-qualified path representing
|
2585
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2586
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2543
2587
|
* @returns {string} A string representing the engine.
|
2544
2588
|
*/
|
2545
|
-
|
2546
|
-
return this.pathTemplates.
|
2589
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2590
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
2547
2591
|
}
|
2548
2592
|
/**
|
2549
|
-
* Parse the session from
|
2593
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
2550
2594
|
*
|
2551
|
-
* @param {string}
|
2552
|
-
* A fully-qualified path representing
|
2595
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2596
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2553
2597
|
* @returns {string} A string representing the session.
|
2554
2598
|
*/
|
2555
|
-
|
2556
|
-
return this.pathTemplates.
|
2557
|
-
}
|
2558
|
-
/**
|
2559
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2560
|
-
*
|
2561
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2562
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2563
|
-
* @returns {string} A string representing the answer.
|
2564
|
-
*/
|
2565
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2566
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2599
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2600
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
2567
2601
|
}
|
2568
2602
|
/**
|
2569
2603
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -3090,63 +3124,6 @@ class ConversationalSearchServiceClient {
|
|
3090
3124
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
3091
3125
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
3092
3126
|
}
|
3093
|
-
/**
|
3094
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
3095
|
-
*
|
3096
|
-
* @param {string} project
|
3097
|
-
* @param {string} location
|
3098
|
-
* @param {string} data_store
|
3099
|
-
* @param {string} session
|
3100
|
-
* @returns {string} Resource name string.
|
3101
|
-
*/
|
3102
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
3103
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
3104
|
-
project: project,
|
3105
|
-
location: location,
|
3106
|
-
data_store: dataStore,
|
3107
|
-
session: session,
|
3108
|
-
});
|
3109
|
-
}
|
3110
|
-
/**
|
3111
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
3112
|
-
*
|
3113
|
-
* @param {string} projectLocationDataStoreSessionName
|
3114
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3115
|
-
* @returns {string} A string representing the project.
|
3116
|
-
*/
|
3117
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3118
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
3119
|
-
}
|
3120
|
-
/**
|
3121
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
3122
|
-
*
|
3123
|
-
* @param {string} projectLocationDataStoreSessionName
|
3124
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3125
|
-
* @returns {string} A string representing the location.
|
3126
|
-
*/
|
3127
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3128
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
3129
|
-
}
|
3130
|
-
/**
|
3131
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
3132
|
-
*
|
3133
|
-
* @param {string} projectLocationDataStoreSessionName
|
3134
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3135
|
-
* @returns {string} A string representing the data_store.
|
3136
|
-
*/
|
3137
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3138
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
3139
|
-
}
|
3140
|
-
/**
|
3141
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
3142
|
-
*
|
3143
|
-
* @param {string} projectLocationDataStoreSessionName
|
3144
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3145
|
-
* @returns {string} A string representing the session.
|
3146
|
-
*/
|
3147
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3148
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
3149
|
-
}
|
3150
3127
|
/**
|
3151
3128
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
3152
3129
|
*
|
@@ -3216,6 +3193,63 @@ class ConversationalSearchServiceClient {
|
|
3216
3193
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
3217
3194
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
3218
3195
|
}
|
3196
|
+
/**
|
3197
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
3198
|
+
*
|
3199
|
+
* @param {string} project
|
3200
|
+
* @param {string} location
|
3201
|
+
* @param {string} data_store
|
3202
|
+
* @param {string} session
|
3203
|
+
* @returns {string} Resource name string.
|
3204
|
+
*/
|
3205
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
3206
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
3207
|
+
project: project,
|
3208
|
+
location: location,
|
3209
|
+
data_store: dataStore,
|
3210
|
+
session: session,
|
3211
|
+
});
|
3212
|
+
}
|
3213
|
+
/**
|
3214
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
3215
|
+
*
|
3216
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3217
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3218
|
+
* @returns {string} A string representing the project.
|
3219
|
+
*/
|
3220
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3221
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
3222
|
+
}
|
3223
|
+
/**
|
3224
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
3225
|
+
*
|
3226
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3227
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3228
|
+
* @returns {string} A string representing the location.
|
3229
|
+
*/
|
3230
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3231
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
3232
|
+
}
|
3233
|
+
/**
|
3234
|
+
* Parse the data_store from ProjectLocationDataStoreSessions resource.
|
3235
|
+
*
|
3236
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3237
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3238
|
+
* @returns {string} A string representing the data_store.
|
3239
|
+
*/
|
3240
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3241
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
3242
|
+
}
|
3243
|
+
/**
|
3244
|
+
* Parse the session from ProjectLocationDataStoreSessions resource.
|
3245
|
+
*
|
3246
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3247
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3248
|
+
* @returns {string} A string representing the session.
|
3249
|
+
*/
|
3250
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3251
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
3252
|
+
}
|
3219
3253
|
/**
|
3220
3254
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
3221
3255
|
*
|