@google-cloud/discoveryengine 1.7.0 → 1.9.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/CHANGELOG.md +16 -0
- package/README.md +33 -4
- package/build/protos/google/cloud/discoveryengine/v1/answer.proto +337 -0
- package/build/protos/google/cloud/discoveryengine/v1/common.proto +34 -1
- package/build/protos/google/cloud/discoveryengine/v1/completion.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1/completion_service.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1/control.proto +214 -0
- package/build/protos/google/cloud/discoveryengine/v1/control_service.proto +236 -0
- package/build/protos/google/cloud/discoveryengine/v1/conversation.proto +3 -3
- package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +570 -1
- package/build/protos/google/cloud/discoveryengine/v1/data_store.proto +5 -1
- package/build/protos/google/cloud/discoveryengine/v1/data_store_service.proto +3 -3
- package/build/protos/google/cloud/discoveryengine/v1/document.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1/document_processing_config.proto +92 -0
- package/build/protos/google/cloud/discoveryengine/v1/document_service.proto +7 -7
- package/build/protos/google/cloud/discoveryengine/v1/engine.proto +5 -5
- package/build/protos/google/cloud/discoveryengine/v1/engine_service.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1/grounded_generation_service.proto +149 -0
- package/build/protos/google/cloud/discoveryengine/v1/grounding.proto +58 -0
- package/build/protos/google/cloud/discoveryengine/v1/import_config.proto +5 -5
- package/build/protos/google/cloud/discoveryengine/v1/project.proto +103 -0
- package/build/protos/google/cloud/discoveryengine/v1/project_service.proto +90 -0
- package/build/protos/google/cloud/discoveryengine/v1/purge_config.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1/rank_service.proto +131 -0
- package/build/protos/google/cloud/discoveryengine/v1/recommendation_service.proto +21 -20
- package/build/protos/google/cloud/discoveryengine/v1/schema.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1/schema_service.proto +6 -6
- package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +24 -19
- package/build/protos/google/cloud/discoveryengine/v1/session.proto +97 -0
- package/build/protos/google/cloud/discoveryengine/v1/site_search_engine.proto +4 -1
- package/build/protos/google/cloud/discoveryengine/v1/site_search_engine_service.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1/user_event.proto +29 -4
- package/build/protos/google/cloud/discoveryengine/v1/user_event_service.proto +19 -3
- package/build/protos/google/cloud/discoveryengine/v1alpha/acl_config.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/acl_config_service.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/answer.proto +10 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/chunk.proto +8 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/chunk_service.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +17 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/completion.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/completion_service.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/control.proto +217 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/control_service.proto +236 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/conversation.proto +3 -3
- package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +20 -4
- package/build/protos/google/cloud/discoveryengine/v1alpha/custom_tuning_model.proto +87 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/data_store.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/data_store_service.proto +3 -3
- package/build/protos/google/cloud/discoveryengine/v1alpha/document.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/document_processing_config.proto +2 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/document_service.proto +13 -10
- package/build/protos/google/cloud/discoveryengine/v1alpha/engine.proto +5 -5
- package/build/protos/google/cloud/discoveryengine/v1alpha/engine_service.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/estimate_billing_service.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/grounded_generation_service.proto +31 -2
- package/build/protos/google/cloud/discoveryengine/v1alpha/grounding.proto +4 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/import_config.proto +5 -5
- package/build/protos/google/cloud/discoveryengine/v1alpha/project.proto +2 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/project_service.proto +3 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/purge_config.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/rank_service.proto +20 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/recommendation_service.proto +21 -20
- package/build/protos/google/cloud/discoveryengine/v1alpha/schema.proto +38 -3
- package/build/protos/google/cloud/discoveryengine/v1alpha/schema_service.proto +7 -7
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +29 -32
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_tuning_service.proto +40 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/serving_config.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/serving_config_service.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/session.proto +4 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine.proto +4 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine_service.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/user_event.proto +30 -4
- package/build/protos/google/cloud/discoveryengine/v1alpha/user_event_service.proto +19 -3
- package/build/protos/google/cloud/discoveryengine/v1beta/answer.proto +11 -2
- package/build/protos/google/cloud/discoveryengine/v1beta/common.proto +17 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/completion.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/completion_service.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/control.proto +216 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/control_service.proto +236 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/conversation.proto +3 -3
- package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +20 -4
- package/build/protos/google/cloud/discoveryengine/v1beta/custom_tuning_model.proto +87 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/data_store.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/data_store_service.proto +3 -3
- package/build/protos/google/cloud/discoveryengine/v1beta/document.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/document_processing_config.proto +2 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/document_service.proto +8 -9
- package/build/protos/google/cloud/discoveryengine/v1beta/engine.proto +5 -5
- package/build/protos/google/cloud/discoveryengine/v1beta/engine_service.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/grounded_generation_service.proto +31 -2
- package/build/protos/google/cloud/discoveryengine/v1beta/grounding.proto +4 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/import_config.proto +5 -5
- package/build/protos/google/cloud/discoveryengine/v1beta/project.proto +103 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/project_service.proto +90 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/purge_config.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/rank_service.proto +20 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/recommendation_service.proto +21 -20
- package/build/protos/google/cloud/discoveryengine/v1beta/schema.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/schema_service.proto +6 -6
- package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +31 -25
- package/build/protos/google/cloud/discoveryengine/v1beta/search_tuning_service.proto +40 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/serving_config.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/serving_config_service.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/session.proto +5 -2
- package/build/protos/google/cloud/discoveryengine/v1beta/site_search_engine.proto +4 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/site_search_engine_service.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/user_event.proto +29 -4
- package/build/protos/google/cloud/discoveryengine/v1beta/user_event_service.proto +19 -3
- package/build/protos/protos.d.ts +52350 -38733
- package/build/protos/protos.js +136479 -103212
- package/build/protos/protos.json +9460 -5916
- package/build/src/index.d.ts +13 -1
- package/build/src/index.js +13 -1
- package/build/src/v1/completion_service_client.d.ts +549 -0
- package/build/src/v1/completion_service_client.js +771 -0
- package/build/src/v1/control_service_client.d.ts +1623 -0
- package/build/src/v1/control_service_client.js +2218 -0
- package/build/src/v1/control_service_client_config.json +63 -0
- package/build/src/v1/conversational_search_service_client.d.ts +893 -0
- package/build/src/v1/conversational_search_service_client.js +1040 -14
- package/build/src/v1/conversational_search_service_client_config.json +35 -0
- package/build/src/v1/data_store_service_client.d.ts +555 -6
- package/build/src/v1/data_store_service_client.js +775 -4
- package/build/src/v1/document_service_client.d.ts +557 -8
- package/build/src/v1/document_service_client.js +773 -2
- package/build/src/v1/engine_service_client.d.ts +549 -0
- package/build/src/v1/engine_service_client.js +771 -0
- package/build/src/v1/grounded_generation_service_client.d.ts +1439 -0
- package/build/src/v1/grounded_generation_service_client.js +2036 -0
- package/build/src/v1/grounded_generation_service_client_config.json +43 -0
- package/build/src/v1/index.d.ts +4 -0
- package/build/src/v1/index.js +9 -1
- package/build/src/v1/project_service_client.d.ts +1533 -0
- package/build/src/v1/project_service_client.js +2255 -0
- package/build/src/v1/project_service_client_config.json +43 -0
- package/build/src/v1/rank_service_client.d.ts +1449 -0
- package/build/src/v1/rank_service_client.js +2037 -0
- package/build/src/v1/rank_service_client_config.json +43 -0
- package/build/src/v1/recommendation_service_client.d.ts +568 -18
- package/build/src/v1/recommendation_service_client.js +756 -0
- package/build/src/v1/schema_service_client.d.ts +558 -9
- package/build/src/v1/schema_service_client.js +775 -4
- package/build/src/v1/search_service_client.d.ts +579 -21
- package/build/src/v1/search_service_client.js +776 -14
- package/build/src/v1/site_search_engine_service_client.d.ts +549 -0
- package/build/src/v1/site_search_engine_service_client.js +771 -0
- package/build/src/v1/user_event_service_client.d.ts +562 -2
- package/build/src/v1/user_event_service_client.js +771 -0
- package/build/src/v1alpha/acl_config_service_client.d.ts +237 -0
- package/build/src/v1alpha/acl_config_service_client.js +326 -0
- package/build/src/v1alpha/chunk_service_client.d.ts +237 -0
- package/build/src/v1alpha/chunk_service_client.js +326 -0
- package/build/src/v1alpha/completion_service_client.d.ts +237 -0
- package/build/src/v1alpha/completion_service_client.js +340 -0
- package/build/src/v1alpha/control_service_client.d.ts +2013 -0
- package/build/src/v1alpha/control_service_client.js +2757 -0
- package/build/src/v1alpha/control_service_client_config.json +63 -0
- package/build/src/v1alpha/conversational_search_service_client.d.ts +239 -2
- package/build/src/v1alpha/conversational_search_service_client.js +326 -0
- package/build/src/v1alpha/data_store_service_client.d.ts +243 -6
- package/build/src/v1alpha/data_store_service_client.js +344 -4
- package/build/src/v1alpha/document_service_client.d.ts +246 -9
- package/build/src/v1alpha/document_service_client.js +342 -2
- package/build/src/v1alpha/engine_service_client.d.ts +237 -0
- package/build/src/v1alpha/engine_service_client.js +340 -0
- package/build/src/v1alpha/estimate_billing_service_client.d.ts +237 -0
- package/build/src/v1alpha/estimate_billing_service_client.js +340 -0
- package/build/src/v1alpha/grounded_generation_service_client.d.ts +256 -1
- package/build/src/v1alpha/grounded_generation_service_client.js +326 -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 +239 -0
- package/build/src/v1alpha/project_service_client.js +340 -0
- package/build/src/v1alpha/project_service_client_config.json +21 -6
- package/build/src/v1alpha/rank_service_client.d.ts +255 -0
- package/build/src/v1alpha/rank_service_client.js +326 -0
- package/build/src/v1alpha/recommendation_service_client.d.ts +256 -18
- package/build/src/v1alpha/recommendation_service_client.js +326 -0
- package/build/src/v1alpha/schema_service_client.d.ts +247 -10
- package/build/src/v1alpha/schema_service_client.js +344 -4
- package/build/src/v1alpha/search_service_client.d.ts +267 -21
- package/build/src/v1alpha/search_service_client.js +346 -14
- package/build/src/v1alpha/search_tuning_service_client.d.ts +265 -0
- package/build/src/v1alpha/search_tuning_service_client.js +365 -1
- package/build/src/v1alpha/search_tuning_service_client_config.json +4 -0
- package/build/src/v1alpha/serving_config_service_client.d.ts +237 -0
- package/build/src/v1alpha/serving_config_service_client.js +326 -0
- package/build/src/v1alpha/site_search_engine_service_client.d.ts +237 -0
- package/build/src/v1alpha/site_search_engine_service_client.js +340 -0
- package/build/src/v1alpha/user_event_service_client.d.ts +250 -2
- package/build/src/v1alpha/user_event_service_client.js +340 -0
- package/build/src/v1beta/completion_service_client.d.ts +252 -0
- package/build/src/v1beta/completion_service_client.js +359 -0
- package/build/src/v1beta/control_service_client.d.ts +1860 -0
- package/build/src/v1beta/control_service_client.js +2545 -0
- package/build/src/v1beta/control_service_client_config.json +63 -0
- package/build/src/v1beta/conversational_search_service_client.d.ts +254 -2
- package/build/src/v1beta/conversational_search_service_client.js +348 -0
- package/build/src/v1beta/data_store_service_client.d.ts +258 -6
- package/build/src/v1beta/data_store_service_client.js +363 -4
- package/build/src/v1beta/document_service_client.d.ts +261 -10
- package/build/src/v1beta/document_service_client.js +361 -2
- package/build/src/v1beta/engine_service_client.d.ts +252 -0
- package/build/src/v1beta/engine_service_client.js +359 -0
- package/build/src/v1beta/grounded_generation_service_client.d.ts +271 -1
- package/build/src/v1beta/grounded_generation_service_client.js +348 -0
- package/build/src/v1beta/index.d.ts +2 -0
- package/build/src/v1beta/index.js +5 -1
- package/build/src/v1beta/project_service_client.d.ts +1770 -0
- package/build/src/v1beta/project_service_client.js +2576 -0
- package/build/src/v1beta/project_service_client_config.json +43 -0
- package/build/src/v1beta/rank_service_client.d.ts +270 -0
- package/build/src/v1beta/rank_service_client.js +348 -0
- package/build/src/v1beta/recommendation_service_client.d.ts +271 -18
- package/build/src/v1beta/recommendation_service_client.js +348 -0
- package/build/src/v1beta/schema_service_client.d.ts +261 -9
- package/build/src/v1beta/schema_service_client.js +363 -4
- package/build/src/v1beta/search_service_client.d.ts +282 -21
- package/build/src/v1beta/search_service_client.js +368 -14
- package/build/src/v1beta/search_tuning_service_client.d.ts +280 -0
- package/build/src/v1beta/search_tuning_service_client.js +384 -1
- package/build/src/v1beta/search_tuning_service_client_config.json +4 -0
- package/build/src/v1beta/serving_config_service_client.d.ts +237 -0
- package/build/src/v1beta/serving_config_service_client.js +326 -0
- package/build/src/v1beta/site_search_engine_service_client.d.ts +252 -0
- package/build/src/v1beta/site_search_engine_service_client.js +359 -0
- package/build/src/v1beta/user_event_service_client.d.ts +265 -2
- package/build/src/v1beta/user_event_service_client.js +359 -0
- package/package.json +2 -2
@@ -150,22 +150,34 @@ class SearchServiceClient {
|
|
150
150
|
// Create useful helper objects for these.
|
151
151
|
this.pathTemplates = {
|
152
152
|
enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
|
153
|
+
projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
|
153
154
|
projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
|
154
155
|
projectLocationCollectionDataStoreBranchPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}'),
|
155
156
|
projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
157
|
+
projectLocationCollectionDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/controls/{control}'),
|
156
158
|
projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
|
159
|
+
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
157
160
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
158
161
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
162
|
+
projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
163
|
+
projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
159
164
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
160
165
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
166
|
+
projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
|
161
167
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
162
168
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
169
|
+
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
170
|
+
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
163
171
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
164
172
|
projectLocationDataStoreBranchPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}'),
|
165
173
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
174
|
+
projectLocationDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/controls/{control}'),
|
166
175
|
projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
|
176
|
+
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
167
177
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
168
178
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
179
|
+
projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
180
|
+
projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
169
181
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
170
182
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
171
183
|
};
|
@@ -356,7 +368,10 @@ class SearchServiceClient {
|
|
356
368
|
*
|
357
369
|
* If this field is negative, an `INVALID_ARGUMENT` is returned.
|
358
370
|
* @param {number[]} request.dataStoreSpecs
|
359
|
-
*
|
371
|
+
* Specs defining dataStores to filter on in a search call and configurations
|
372
|
+
* for those dataStores. This is only considered for engines with multiple
|
373
|
+
* dataStores use case. For single dataStore within an engine, they should
|
374
|
+
* use the specs at the top level.
|
360
375
|
* @param {string} request.filter
|
361
376
|
* The filter syntax consists of an expression language for constructing a
|
362
377
|
* predicate from one or more fields of the documents being filtered. Filter
|
@@ -390,7 +405,9 @@ class SearchServiceClient {
|
|
390
405
|
* The order in which documents are returned. Documents can be ordered by
|
391
406
|
* a field in an {@link protos.google.cloud.discoveryengine.v1.Document|Document} object.
|
392
407
|
* Leave it unset if ordered by relevance. `order_by` expression is
|
393
|
-
* case-sensitive.
|
408
|
+
* case-sensitive.
|
409
|
+
*
|
410
|
+
* For more information on ordering for retail search, see
|
394
411
|
* [Ordering](https://cloud.google.com/retail/docs/filter-and-order#order)
|
395
412
|
*
|
396
413
|
* If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
|
@@ -407,7 +424,7 @@ class SearchServiceClient {
|
|
407
424
|
* @param {google.cloud.discoveryengine.v1.SearchRequest.BoostSpec} request.boostSpec
|
408
425
|
* Boost specification to boost certain documents.
|
409
426
|
* For more information on boosting, see
|
410
|
-
* [Boosting](https://cloud.google.com/
|
427
|
+
* [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results)
|
411
428
|
* @param {number[]} request.params
|
412
429
|
* Additional search parameters.
|
413
430
|
*
|
@@ -415,8 +432,7 @@ class SearchServiceClient {
|
|
415
432
|
*
|
416
433
|
* * `user_country_code`: string. Default empty. If set to non-empty, results
|
417
434
|
* are restricted or boosted based on the location provided.
|
418
|
-
*
|
419
|
-
* user_country_code: "au"
|
435
|
+
* For example, `user_country_code: "au"`
|
420
436
|
*
|
421
437
|
* For available codes see [Country
|
422
438
|
* Codes](https://developers.google.com/custom-search/docs/json_api_reference#countryCodes)
|
@@ -424,8 +440,7 @@ class SearchServiceClient {
|
|
424
440
|
* * `search_type`: double. Default empty. Enables non-webpage searching
|
425
441
|
* depending on the value. The only valid non-default value is 1,
|
426
442
|
* which enables image searching.
|
427
|
-
*
|
428
|
-
* search_type: 1
|
443
|
+
* For example, `search_type: 1`
|
429
444
|
* @param {google.cloud.discoveryengine.v1.SearchRequest.QueryExpansionSpec} request.queryExpansionSpec
|
430
445
|
* The query expansion specification that specifies the conditions under which
|
431
446
|
* query expansion occurs.
|
@@ -548,7 +563,10 @@ class SearchServiceClient {
|
|
548
563
|
*
|
549
564
|
* If this field is negative, an `INVALID_ARGUMENT` is returned.
|
550
565
|
* @param {number[]} request.dataStoreSpecs
|
551
|
-
*
|
566
|
+
* Specs defining dataStores to filter on in a search call and configurations
|
567
|
+
* for those dataStores. This is only considered for engines with multiple
|
568
|
+
* dataStores use case. For single dataStore within an engine, they should
|
569
|
+
* use the specs at the top level.
|
552
570
|
* @param {string} request.filter
|
553
571
|
* The filter syntax consists of an expression language for constructing a
|
554
572
|
* predicate from one or more fields of the documents being filtered. Filter
|
@@ -582,7 +600,9 @@ class SearchServiceClient {
|
|
582
600
|
* The order in which documents are returned. Documents can be ordered by
|
583
601
|
* a field in an {@link protos.google.cloud.discoveryengine.v1.Document|Document} object.
|
584
602
|
* Leave it unset if ordered by relevance. `order_by` expression is
|
585
|
-
* case-sensitive.
|
603
|
+
* case-sensitive.
|
604
|
+
*
|
605
|
+
* For more information on ordering for retail search, see
|
586
606
|
* [Ordering](https://cloud.google.com/retail/docs/filter-and-order#order)
|
587
607
|
*
|
588
608
|
* If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
|
@@ -599,7 +619,7 @@ class SearchServiceClient {
|
|
599
619
|
* @param {google.cloud.discoveryengine.v1.SearchRequest.BoostSpec} request.boostSpec
|
600
620
|
* Boost specification to boost certain documents.
|
601
621
|
* For more information on boosting, see
|
602
|
-
* [Boosting](https://cloud.google.com/
|
622
|
+
* [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results)
|
603
623
|
* @param {number[]} request.params
|
604
624
|
* Additional search parameters.
|
605
625
|
*
|
@@ -607,8 +627,7 @@ class SearchServiceClient {
|
|
607
627
|
*
|
608
628
|
* * `user_country_code`: string. Default empty. If set to non-empty, results
|
609
629
|
* are restricted or boosted based on the location provided.
|
610
|
-
*
|
611
|
-
* user_country_code: "au"
|
630
|
+
* For example, `user_country_code: "au"`
|
612
631
|
*
|
613
632
|
* For available codes see [Country
|
614
633
|
* Codes](https://developers.google.com/custom-search/docs/json_api_reference#countryCodes)
|
@@ -616,8 +635,7 @@ class SearchServiceClient {
|
|
616
635
|
* * `search_type`: double. Default empty. Enables non-webpage searching
|
617
636
|
* depending on the value. The only valid non-default value is 1,
|
618
637
|
* which enables image searching.
|
619
|
-
*
|
620
|
-
* search_type: 1
|
638
|
+
* For example, `search_type: 1`
|
621
639
|
* @param {google.cloud.discoveryengine.v1.SearchRequest.QueryExpansionSpec} request.queryExpansionSpec
|
622
640
|
* The query expansion specification that specifies the conditions under which
|
623
641
|
* query expansion occurs.
|
@@ -804,6 +822,27 @@ class SearchServiceClient {
|
|
804
822
|
matchEngineFromEngineName(engineName) {
|
805
823
|
return this.pathTemplates.enginePathTemplate.match(engineName).engine;
|
806
824
|
}
|
825
|
+
/**
|
826
|
+
* Return a fully-qualified project resource name string.
|
827
|
+
*
|
828
|
+
* @param {string} project
|
829
|
+
* @returns {string} Resource name string.
|
830
|
+
*/
|
831
|
+
projectPath(project) {
|
832
|
+
return this.pathTemplates.projectPathTemplate.render({
|
833
|
+
project: project,
|
834
|
+
});
|
835
|
+
}
|
836
|
+
/**
|
837
|
+
* Parse the project from Project resource.
|
838
|
+
*
|
839
|
+
* @param {string} projectName
|
840
|
+
* A fully-qualified path representing Project resource.
|
841
|
+
* @returns {string} A string representing the project.
|
842
|
+
*/
|
843
|
+
matchProjectFromProjectName(projectName) {
|
844
|
+
return this.pathTemplates.projectPathTemplate.match(projectName).project;
|
845
|
+
}
|
807
846
|
/**
|
808
847
|
* Return a fully-qualified projectLocationCollectionDataStore resource name string.
|
809
848
|
*
|
@@ -1011,6 +1050,75 @@ class SearchServiceClient {
|
|
1011
1050
|
matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName) {
|
1012
1051
|
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentName).document;
|
1013
1052
|
}
|
1053
|
+
/**
|
1054
|
+
* Return a fully-qualified projectLocationCollectionDataStoreControl resource name string.
|
1055
|
+
*
|
1056
|
+
* @param {string} project
|
1057
|
+
* @param {string} location
|
1058
|
+
* @param {string} collection
|
1059
|
+
* @param {string} data_store
|
1060
|
+
* @param {string} control
|
1061
|
+
* @returns {string} Resource name string.
|
1062
|
+
*/
|
1063
|
+
projectLocationCollectionDataStoreControlPath(project, location, collection, dataStore, control) {
|
1064
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.render({
|
1065
|
+
project: project,
|
1066
|
+
location: location,
|
1067
|
+
collection: collection,
|
1068
|
+
data_store: dataStore,
|
1069
|
+
control: control,
|
1070
|
+
});
|
1071
|
+
}
|
1072
|
+
/**
|
1073
|
+
* Parse the project from ProjectLocationCollectionDataStoreControl resource.
|
1074
|
+
*
|
1075
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
1076
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
1077
|
+
* @returns {string} A string representing the project.
|
1078
|
+
*/
|
1079
|
+
matchProjectFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
1080
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).project;
|
1081
|
+
}
|
1082
|
+
/**
|
1083
|
+
* Parse the location from ProjectLocationCollectionDataStoreControl resource.
|
1084
|
+
*
|
1085
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
1086
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
1087
|
+
* @returns {string} A string representing the location.
|
1088
|
+
*/
|
1089
|
+
matchLocationFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
1090
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).location;
|
1091
|
+
}
|
1092
|
+
/**
|
1093
|
+
* Parse the collection from ProjectLocationCollectionDataStoreControl resource.
|
1094
|
+
*
|
1095
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
1096
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
1097
|
+
* @returns {string} A string representing the collection.
|
1098
|
+
*/
|
1099
|
+
matchCollectionFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
1100
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).collection;
|
1101
|
+
}
|
1102
|
+
/**
|
1103
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreControl resource.
|
1104
|
+
*
|
1105
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
1106
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
1107
|
+
* @returns {string} A string representing the data_store.
|
1108
|
+
*/
|
1109
|
+
matchDataStoreFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
1110
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).data_store;
|
1111
|
+
}
|
1112
|
+
/**
|
1113
|
+
* Parse the control from ProjectLocationCollectionDataStoreControl resource.
|
1114
|
+
*
|
1115
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
1116
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
1117
|
+
* @returns {string} A string representing the control.
|
1118
|
+
*/
|
1119
|
+
matchControlFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
1120
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).control;
|
1121
|
+
}
|
1014
1122
|
/**
|
1015
1123
|
* Return a fully-qualified projectLocationCollectionDataStoreConversation resource name string.
|
1016
1124
|
*
|
@@ -1080,6 +1188,63 @@ class SearchServiceClient {
|
|
1080
1188
|
matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
|
1081
1189
|
return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).conversation;
|
1082
1190
|
}
|
1191
|
+
/**
|
1192
|
+
* Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
|
1193
|
+
*
|
1194
|
+
* @param {string} project
|
1195
|
+
* @param {string} location
|
1196
|
+
* @param {string} collection
|
1197
|
+
* @param {string} data_store
|
1198
|
+
* @returns {string} Resource name string.
|
1199
|
+
*/
|
1200
|
+
projectLocationCollectionDataStoreDocumentProcessingConfigPath(project, location, collection, dataStore) {
|
1201
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.render({
|
1202
|
+
project: project,
|
1203
|
+
location: location,
|
1204
|
+
collection: collection,
|
1205
|
+
data_store: dataStore,
|
1206
|
+
});
|
1207
|
+
}
|
1208
|
+
/**
|
1209
|
+
* Parse the project from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
1210
|
+
*
|
1211
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
1212
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
1213
|
+
* @returns {string} A string representing the project.
|
1214
|
+
*/
|
1215
|
+
matchProjectFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
1216
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).project;
|
1217
|
+
}
|
1218
|
+
/**
|
1219
|
+
* Parse the location from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
1220
|
+
*
|
1221
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
1222
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
1223
|
+
* @returns {string} A string representing the location.
|
1224
|
+
*/
|
1225
|
+
matchLocationFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
1226
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).location;
|
1227
|
+
}
|
1228
|
+
/**
|
1229
|
+
* Parse the collection from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
1230
|
+
*
|
1231
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
1232
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
1233
|
+
* @returns {string} A string representing the collection.
|
1234
|
+
*/
|
1235
|
+
matchCollectionFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
1236
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).collection;
|
1237
|
+
}
|
1238
|
+
/**
|
1239
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
1240
|
+
*
|
1241
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
1242
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
1243
|
+
* @returns {string} A string representing the data_store.
|
1244
|
+
*/
|
1245
|
+
matchDataStoreFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
1246
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).data_store;
|
1247
|
+
}
|
1083
1248
|
/**
|
1084
1249
|
* Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
|
1085
1250
|
*
|
@@ -1218,6 +1383,156 @@ class SearchServiceClient {
|
|
1218
1383
|
matchServingConfigFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
|
1219
1384
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1220
1385
|
}
|
1386
|
+
/**
|
1387
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
|
1388
|
+
*
|
1389
|
+
* @param {string} project
|
1390
|
+
* @param {string} location
|
1391
|
+
* @param {string} collection
|
1392
|
+
* @param {string} data_store
|
1393
|
+
* @param {string} session
|
1394
|
+
* @returns {string} Resource name string.
|
1395
|
+
*/
|
1396
|
+
projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
|
1397
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
|
1398
|
+
project: project,
|
1399
|
+
location: location,
|
1400
|
+
collection: collection,
|
1401
|
+
data_store: dataStore,
|
1402
|
+
session: session,
|
1403
|
+
});
|
1404
|
+
}
|
1405
|
+
/**
|
1406
|
+
* Parse the project from ProjectLocationCollectionDataStoreSession resource.
|
1407
|
+
*
|
1408
|
+
* @param {string} projectLocationCollectionDataStoreSessionName
|
1409
|
+
* A fully-qualified path representing project_location_collection_data_store_session resource.
|
1410
|
+
* @returns {string} A string representing the project.
|
1411
|
+
*/
|
1412
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
|
1413
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
|
1414
|
+
}
|
1415
|
+
/**
|
1416
|
+
* Parse the location from ProjectLocationCollectionDataStoreSession resource.
|
1417
|
+
*
|
1418
|
+
* @param {string} projectLocationCollectionDataStoreSessionName
|
1419
|
+
* A fully-qualified path representing project_location_collection_data_store_session resource.
|
1420
|
+
* @returns {string} A string representing the location.
|
1421
|
+
*/
|
1422
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
|
1423
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
|
1424
|
+
}
|
1425
|
+
/**
|
1426
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSession resource.
|
1427
|
+
*
|
1428
|
+
* @param {string} projectLocationCollectionDataStoreSessionName
|
1429
|
+
* A fully-qualified path representing project_location_collection_data_store_session resource.
|
1430
|
+
* @returns {string} A string representing the collection.
|
1431
|
+
*/
|
1432
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
|
1433
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
|
1434
|
+
}
|
1435
|
+
/**
|
1436
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
|
1437
|
+
*
|
1438
|
+
* @param {string} projectLocationCollectionDataStoreSessionName
|
1439
|
+
* A fully-qualified path representing project_location_collection_data_store_session resource.
|
1440
|
+
* @returns {string} A string representing the data_store.
|
1441
|
+
*/
|
1442
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
|
1443
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
|
1444
|
+
}
|
1445
|
+
/**
|
1446
|
+
* Parse the session from ProjectLocationCollectionDataStoreSession resource.
|
1447
|
+
*
|
1448
|
+
* @param {string} projectLocationCollectionDataStoreSessionName
|
1449
|
+
* A fully-qualified path representing project_location_collection_data_store_session resource.
|
1450
|
+
* @returns {string} A string representing the session.
|
1451
|
+
*/
|
1452
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
|
1453
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
|
1454
|
+
}
|
1455
|
+
/**
|
1456
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1457
|
+
*
|
1458
|
+
* @param {string} project
|
1459
|
+
* @param {string} location
|
1460
|
+
* @param {string} collection
|
1461
|
+
* @param {string} data_store
|
1462
|
+
* @param {string} session
|
1463
|
+
* @param {string} answer
|
1464
|
+
* @returns {string} Resource name string.
|
1465
|
+
*/
|
1466
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1467
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1468
|
+
project: project,
|
1469
|
+
location: location,
|
1470
|
+
collection: collection,
|
1471
|
+
data_store: dataStore,
|
1472
|
+
session: session,
|
1473
|
+
answer: answer,
|
1474
|
+
});
|
1475
|
+
}
|
1476
|
+
/**
|
1477
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1478
|
+
*
|
1479
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1480
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1481
|
+
* @returns {string} A string representing the project.
|
1482
|
+
*/
|
1483
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1484
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1485
|
+
}
|
1486
|
+
/**
|
1487
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1488
|
+
*
|
1489
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1490
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1491
|
+
* @returns {string} A string representing the location.
|
1492
|
+
*/
|
1493
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1494
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1495
|
+
}
|
1496
|
+
/**
|
1497
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1498
|
+
*
|
1499
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1500
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1501
|
+
* @returns {string} A string representing the collection.
|
1502
|
+
*/
|
1503
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1504
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1505
|
+
}
|
1506
|
+
/**
|
1507
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1508
|
+
*
|
1509
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1510
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1511
|
+
* @returns {string} A string representing the data_store.
|
1512
|
+
*/
|
1513
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1514
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1515
|
+
}
|
1516
|
+
/**
|
1517
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1518
|
+
*
|
1519
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1520
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1521
|
+
* @returns {string} A string representing the session.
|
1522
|
+
*/
|
1523
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1524
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1525
|
+
}
|
1526
|
+
/**
|
1527
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1528
|
+
*
|
1529
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1530
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1531
|
+
* @returns {string} A string representing the answer.
|
1532
|
+
*/
|
1533
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1534
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1535
|
+
}
|
1221
1536
|
/**
|
1222
1537
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
1223
1538
|
*
|
@@ -1344,6 +1659,75 @@ class SearchServiceClient {
|
|
1344
1659
|
matchTargetSiteFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
|
1345
1660
|
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).target_site;
|
1346
1661
|
}
|
1662
|
+
/**
|
1663
|
+
* Return a fully-qualified projectLocationCollectionEngineControl resource name string.
|
1664
|
+
*
|
1665
|
+
* @param {string} project
|
1666
|
+
* @param {string} location
|
1667
|
+
* @param {string} collection
|
1668
|
+
* @param {string} engine
|
1669
|
+
* @param {string} control
|
1670
|
+
* @returns {string} Resource name string.
|
1671
|
+
*/
|
1672
|
+
projectLocationCollectionEngineControlPath(project, location, collection, engine, control) {
|
1673
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.render({
|
1674
|
+
project: project,
|
1675
|
+
location: location,
|
1676
|
+
collection: collection,
|
1677
|
+
engine: engine,
|
1678
|
+
control: control,
|
1679
|
+
});
|
1680
|
+
}
|
1681
|
+
/**
|
1682
|
+
* Parse the project from ProjectLocationCollectionEngineControl resource.
|
1683
|
+
*
|
1684
|
+
* @param {string} projectLocationCollectionEngineControlName
|
1685
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
1686
|
+
* @returns {string} A string representing the project.
|
1687
|
+
*/
|
1688
|
+
matchProjectFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
1689
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).project;
|
1690
|
+
}
|
1691
|
+
/**
|
1692
|
+
* Parse the location from ProjectLocationCollectionEngineControl resource.
|
1693
|
+
*
|
1694
|
+
* @param {string} projectLocationCollectionEngineControlName
|
1695
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
1696
|
+
* @returns {string} A string representing the location.
|
1697
|
+
*/
|
1698
|
+
matchLocationFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
1699
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).location;
|
1700
|
+
}
|
1701
|
+
/**
|
1702
|
+
* Parse the collection from ProjectLocationCollectionEngineControl resource.
|
1703
|
+
*
|
1704
|
+
* @param {string} projectLocationCollectionEngineControlName
|
1705
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
1706
|
+
* @returns {string} A string representing the collection.
|
1707
|
+
*/
|
1708
|
+
matchCollectionFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
1709
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).collection;
|
1710
|
+
}
|
1711
|
+
/**
|
1712
|
+
* Parse the engine from ProjectLocationCollectionEngineControl resource.
|
1713
|
+
*
|
1714
|
+
* @param {string} projectLocationCollectionEngineControlName
|
1715
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
1716
|
+
* @returns {string} A string representing the engine.
|
1717
|
+
*/
|
1718
|
+
matchEngineFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
1719
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).engine;
|
1720
|
+
}
|
1721
|
+
/**
|
1722
|
+
* Parse the control from ProjectLocationCollectionEngineControl resource.
|
1723
|
+
*
|
1724
|
+
* @param {string} projectLocationCollectionEngineControlName
|
1725
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
1726
|
+
* @returns {string} A string representing the control.
|
1727
|
+
*/
|
1728
|
+
matchControlFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
1729
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).control;
|
1730
|
+
}
|
1347
1731
|
/**
|
1348
1732
|
* Return a fully-qualified projectLocationCollectionEngineConversation resource name string.
|
1349
1733
|
*
|
@@ -1482,6 +1866,156 @@ class SearchServiceClient {
|
|
1482
1866
|
matchServingConfigFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
|
1483
1867
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
1484
1868
|
}
|
1869
|
+
/**
|
1870
|
+
* Return a fully-qualified projectLocationCollectionEngineSession resource name string.
|
1871
|
+
*
|
1872
|
+
* @param {string} project
|
1873
|
+
* @param {string} location
|
1874
|
+
* @param {string} collection
|
1875
|
+
* @param {string} engine
|
1876
|
+
* @param {string} session
|
1877
|
+
* @returns {string} Resource name string.
|
1878
|
+
*/
|
1879
|
+
projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
|
1880
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
|
1881
|
+
project: project,
|
1882
|
+
location: location,
|
1883
|
+
collection: collection,
|
1884
|
+
engine: engine,
|
1885
|
+
session: session,
|
1886
|
+
});
|
1887
|
+
}
|
1888
|
+
/**
|
1889
|
+
* Parse the project from ProjectLocationCollectionEngineSession resource.
|
1890
|
+
*
|
1891
|
+
* @param {string} projectLocationCollectionEngineSessionName
|
1892
|
+
* A fully-qualified path representing project_location_collection_engine_session resource.
|
1893
|
+
* @returns {string} A string representing the project.
|
1894
|
+
*/
|
1895
|
+
matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
|
1896
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
|
1897
|
+
}
|
1898
|
+
/**
|
1899
|
+
* Parse the location from ProjectLocationCollectionEngineSession resource.
|
1900
|
+
*
|
1901
|
+
* @param {string} projectLocationCollectionEngineSessionName
|
1902
|
+
* A fully-qualified path representing project_location_collection_engine_session resource.
|
1903
|
+
* @returns {string} A string representing the location.
|
1904
|
+
*/
|
1905
|
+
matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
|
1906
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
|
1907
|
+
}
|
1908
|
+
/**
|
1909
|
+
* Parse the collection from ProjectLocationCollectionEngineSession resource.
|
1910
|
+
*
|
1911
|
+
* @param {string} projectLocationCollectionEngineSessionName
|
1912
|
+
* A fully-qualified path representing project_location_collection_engine_session resource.
|
1913
|
+
* @returns {string} A string representing the collection.
|
1914
|
+
*/
|
1915
|
+
matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
|
1916
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
|
1917
|
+
}
|
1918
|
+
/**
|
1919
|
+
* Parse the engine from ProjectLocationCollectionEngineSession resource.
|
1920
|
+
*
|
1921
|
+
* @param {string} projectLocationCollectionEngineSessionName
|
1922
|
+
* A fully-qualified path representing project_location_collection_engine_session resource.
|
1923
|
+
* @returns {string} A string representing the engine.
|
1924
|
+
*/
|
1925
|
+
matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
|
1926
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
|
1927
|
+
}
|
1928
|
+
/**
|
1929
|
+
* Parse the session from ProjectLocationCollectionEngineSession resource.
|
1930
|
+
*
|
1931
|
+
* @param {string} projectLocationCollectionEngineSessionName
|
1932
|
+
* A fully-qualified path representing project_location_collection_engine_session resource.
|
1933
|
+
* @returns {string} A string representing the session.
|
1934
|
+
*/
|
1935
|
+
matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
|
1936
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
|
1937
|
+
}
|
1938
|
+
/**
|
1939
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
1940
|
+
*
|
1941
|
+
* @param {string} project
|
1942
|
+
* @param {string} location
|
1943
|
+
* @param {string} collection
|
1944
|
+
* @param {string} engine
|
1945
|
+
* @param {string} session
|
1946
|
+
* @param {string} answer
|
1947
|
+
* @returns {string} Resource name string.
|
1948
|
+
*/
|
1949
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
1950
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
1951
|
+
project: project,
|
1952
|
+
location: location,
|
1953
|
+
collection: collection,
|
1954
|
+
engine: engine,
|
1955
|
+
session: session,
|
1956
|
+
answer: answer,
|
1957
|
+
});
|
1958
|
+
}
|
1959
|
+
/**
|
1960
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
1961
|
+
*
|
1962
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1963
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1964
|
+
* @returns {string} A string representing the project.
|
1965
|
+
*/
|
1966
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1967
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
1968
|
+
}
|
1969
|
+
/**
|
1970
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
1971
|
+
*
|
1972
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1973
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1974
|
+
* @returns {string} A string representing the location.
|
1975
|
+
*/
|
1976
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1977
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
1978
|
+
}
|
1979
|
+
/**
|
1980
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
1981
|
+
*
|
1982
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1983
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1984
|
+
* @returns {string} A string representing the collection.
|
1985
|
+
*/
|
1986
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1987
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
1988
|
+
}
|
1989
|
+
/**
|
1990
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
1991
|
+
*
|
1992
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1993
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1994
|
+
* @returns {string} A string representing the engine.
|
1995
|
+
*/
|
1996
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1997
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
1998
|
+
}
|
1999
|
+
/**
|
2000
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
2001
|
+
*
|
2002
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2003
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2004
|
+
* @returns {string} A string representing the session.
|
2005
|
+
*/
|
2006
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2007
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
2008
|
+
}
|
2009
|
+
/**
|
2010
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2011
|
+
*
|
2012
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2013
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2014
|
+
* @returns {string} A string representing the answer.
|
2015
|
+
*/
|
2016
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2017
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2018
|
+
}
|
1485
2019
|
/**
|
1486
2020
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
1487
2021
|
*
|
@@ -1653,6 +2187,63 @@ class SearchServiceClient {
|
|
1653
2187
|
matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName) {
|
1654
2188
|
return this.pathTemplates.projectLocationDataStoreBranchDocumentPathTemplate.match(projectLocationDataStoreBranchDocumentName).document;
|
1655
2189
|
}
|
2190
|
+
/**
|
2191
|
+
* Return a fully-qualified projectLocationDataStoreControl resource name string.
|
2192
|
+
*
|
2193
|
+
* @param {string} project
|
2194
|
+
* @param {string} location
|
2195
|
+
* @param {string} data_store
|
2196
|
+
* @param {string} control
|
2197
|
+
* @returns {string} Resource name string.
|
2198
|
+
*/
|
2199
|
+
projectLocationDataStoreControlPath(project, location, dataStore, control) {
|
2200
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.render({
|
2201
|
+
project: project,
|
2202
|
+
location: location,
|
2203
|
+
data_store: dataStore,
|
2204
|
+
control: control,
|
2205
|
+
});
|
2206
|
+
}
|
2207
|
+
/**
|
2208
|
+
* Parse the project from ProjectLocationDataStoreControl resource.
|
2209
|
+
*
|
2210
|
+
* @param {string} projectLocationDataStoreControlName
|
2211
|
+
* A fully-qualified path representing project_location_data_store_control resource.
|
2212
|
+
* @returns {string} A string representing the project.
|
2213
|
+
*/
|
2214
|
+
matchProjectFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
|
2215
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).project;
|
2216
|
+
}
|
2217
|
+
/**
|
2218
|
+
* Parse the location from ProjectLocationDataStoreControl resource.
|
2219
|
+
*
|
2220
|
+
* @param {string} projectLocationDataStoreControlName
|
2221
|
+
* A fully-qualified path representing project_location_data_store_control resource.
|
2222
|
+
* @returns {string} A string representing the location.
|
2223
|
+
*/
|
2224
|
+
matchLocationFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
|
2225
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).location;
|
2226
|
+
}
|
2227
|
+
/**
|
2228
|
+
* Parse the data_store from ProjectLocationDataStoreControl resource.
|
2229
|
+
*
|
2230
|
+
* @param {string} projectLocationDataStoreControlName
|
2231
|
+
* A fully-qualified path representing project_location_data_store_control resource.
|
2232
|
+
* @returns {string} A string representing the data_store.
|
2233
|
+
*/
|
2234
|
+
matchDataStoreFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
|
2235
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).data_store;
|
2236
|
+
}
|
2237
|
+
/**
|
2238
|
+
* Parse the control from ProjectLocationDataStoreControl resource.
|
2239
|
+
*
|
2240
|
+
* @param {string} projectLocationDataStoreControlName
|
2241
|
+
* A fully-qualified path representing project_location_data_store_control resource.
|
2242
|
+
* @returns {string} A string representing the control.
|
2243
|
+
*/
|
2244
|
+
matchControlFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
|
2245
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).control;
|
2246
|
+
}
|
1656
2247
|
/**
|
1657
2248
|
* Return a fully-qualified projectLocationDataStoreConversation resource name string.
|
1658
2249
|
*
|
@@ -1710,6 +2301,51 @@ class SearchServiceClient {
|
|
1710
2301
|
matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
|
1711
2302
|
return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).conversation;
|
1712
2303
|
}
|
2304
|
+
/**
|
2305
|
+
* Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
|
2306
|
+
*
|
2307
|
+
* @param {string} project
|
2308
|
+
* @param {string} location
|
2309
|
+
* @param {string} data_store
|
2310
|
+
* @returns {string} Resource name string.
|
2311
|
+
*/
|
2312
|
+
projectLocationDataStoreDocumentProcessingConfigPath(project, location, dataStore) {
|
2313
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.render({
|
2314
|
+
project: project,
|
2315
|
+
location: location,
|
2316
|
+
data_store: dataStore,
|
2317
|
+
});
|
2318
|
+
}
|
2319
|
+
/**
|
2320
|
+
* Parse the project from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
2321
|
+
*
|
2322
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
2323
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
2324
|
+
* @returns {string} A string representing the project.
|
2325
|
+
*/
|
2326
|
+
matchProjectFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
|
2327
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).project;
|
2328
|
+
}
|
2329
|
+
/**
|
2330
|
+
* Parse the location from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
2331
|
+
*
|
2332
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
2333
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
2334
|
+
* @returns {string} A string representing the location.
|
2335
|
+
*/
|
2336
|
+
matchLocationFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
|
2337
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).location;
|
2338
|
+
}
|
2339
|
+
/**
|
2340
|
+
* Parse the data_store from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
2341
|
+
*
|
2342
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
2343
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
2344
|
+
* @returns {string} A string representing the data_store.
|
2345
|
+
*/
|
2346
|
+
matchDataStoreFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
|
2347
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).data_store;
|
2348
|
+
}
|
1713
2349
|
/**
|
1714
2350
|
* Return a fully-qualified projectLocationDataStoreSchema resource name string.
|
1715
2351
|
*
|
@@ -1824,6 +2460,132 @@ class SearchServiceClient {
|
|
1824
2460
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
1825
2461
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
1826
2462
|
}
|
2463
|
+
/**
|
2464
|
+
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
2465
|
+
*
|
2466
|
+
* @param {string} project
|
2467
|
+
* @param {string} location
|
2468
|
+
* @param {string} data_store
|
2469
|
+
* @param {string} session
|
2470
|
+
* @returns {string} Resource name string.
|
2471
|
+
*/
|
2472
|
+
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
2473
|
+
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
2474
|
+
project: project,
|
2475
|
+
location: location,
|
2476
|
+
data_store: dataStore,
|
2477
|
+
session: session,
|
2478
|
+
});
|
2479
|
+
}
|
2480
|
+
/**
|
2481
|
+
* Parse the project from ProjectLocationDataStoreSession resource.
|
2482
|
+
*
|
2483
|
+
* @param {string} projectLocationDataStoreSessionName
|
2484
|
+
* A fully-qualified path representing project_location_data_store_session resource.
|
2485
|
+
* @returns {string} A string representing the project.
|
2486
|
+
*/
|
2487
|
+
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2488
|
+
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
2489
|
+
}
|
2490
|
+
/**
|
2491
|
+
* Parse the location from ProjectLocationDataStoreSession resource.
|
2492
|
+
*
|
2493
|
+
* @param {string} projectLocationDataStoreSessionName
|
2494
|
+
* A fully-qualified path representing project_location_data_store_session resource.
|
2495
|
+
* @returns {string} A string representing the location.
|
2496
|
+
*/
|
2497
|
+
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2498
|
+
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
2499
|
+
}
|
2500
|
+
/**
|
2501
|
+
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
2502
|
+
*
|
2503
|
+
* @param {string} projectLocationDataStoreSessionName
|
2504
|
+
* A fully-qualified path representing project_location_data_store_session resource.
|
2505
|
+
* @returns {string} A string representing the data_store.
|
2506
|
+
*/
|
2507
|
+
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2508
|
+
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
2509
|
+
}
|
2510
|
+
/**
|
2511
|
+
* Parse the session from ProjectLocationDataStoreSession resource.
|
2512
|
+
*
|
2513
|
+
* @param {string} projectLocationDataStoreSessionName
|
2514
|
+
* A fully-qualified path representing project_location_data_store_session resource.
|
2515
|
+
* @returns {string} A string representing the session.
|
2516
|
+
*/
|
2517
|
+
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2518
|
+
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
2519
|
+
}
|
2520
|
+
/**
|
2521
|
+
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
2522
|
+
*
|
2523
|
+
* @param {string} project
|
2524
|
+
* @param {string} location
|
2525
|
+
* @param {string} data_store
|
2526
|
+
* @param {string} session
|
2527
|
+
* @param {string} answer
|
2528
|
+
* @returns {string} Resource name string.
|
2529
|
+
*/
|
2530
|
+
projectLocationDataStoreSessionAnswerPath(project, location, dataStore, session, answer) {
|
2531
|
+
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.render({
|
2532
|
+
project: project,
|
2533
|
+
location: location,
|
2534
|
+
data_store: dataStore,
|
2535
|
+
session: session,
|
2536
|
+
answer: answer,
|
2537
|
+
});
|
2538
|
+
}
|
2539
|
+
/**
|
2540
|
+
* Parse the project from ProjectLocationDataStoreSessionAnswer resource.
|
2541
|
+
*
|
2542
|
+
* @param {string} projectLocationDataStoreSessionAnswerName
|
2543
|
+
* A fully-qualified path representing project_location_data_store_session_answer resource.
|
2544
|
+
* @returns {string} A string representing the project.
|
2545
|
+
*/
|
2546
|
+
matchProjectFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2547
|
+
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).project;
|
2548
|
+
}
|
2549
|
+
/**
|
2550
|
+
* Parse the location from ProjectLocationDataStoreSessionAnswer resource.
|
2551
|
+
*
|
2552
|
+
* @param {string} projectLocationDataStoreSessionAnswerName
|
2553
|
+
* A fully-qualified path representing project_location_data_store_session_answer resource.
|
2554
|
+
* @returns {string} A string representing the location.
|
2555
|
+
*/
|
2556
|
+
matchLocationFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2557
|
+
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).location;
|
2558
|
+
}
|
2559
|
+
/**
|
2560
|
+
* Parse the data_store from ProjectLocationDataStoreSessionAnswer resource.
|
2561
|
+
*
|
2562
|
+
* @param {string} projectLocationDataStoreSessionAnswerName
|
2563
|
+
* A fully-qualified path representing project_location_data_store_session_answer resource.
|
2564
|
+
* @returns {string} A string representing the data_store.
|
2565
|
+
*/
|
2566
|
+
matchDataStoreFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2567
|
+
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).data_store;
|
2568
|
+
}
|
2569
|
+
/**
|
2570
|
+
* Parse the session from ProjectLocationDataStoreSessionAnswer resource.
|
2571
|
+
*
|
2572
|
+
* @param {string} projectLocationDataStoreSessionAnswerName
|
2573
|
+
* A fully-qualified path representing project_location_data_store_session_answer resource.
|
2574
|
+
* @returns {string} A string representing the session.
|
2575
|
+
*/
|
2576
|
+
matchSessionFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2577
|
+
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).session;
|
2578
|
+
}
|
2579
|
+
/**
|
2580
|
+
* Parse the answer from ProjectLocationDataStoreSessionAnswer resource.
|
2581
|
+
*
|
2582
|
+
* @param {string} projectLocationDataStoreSessionAnswerName
|
2583
|
+
* A fully-qualified path representing project_location_data_store_session_answer resource.
|
2584
|
+
* @returns {string} A string representing the answer.
|
2585
|
+
*/
|
2586
|
+
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2587
|
+
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
2588
|
+
}
|
1827
2589
|
/**
|
1828
2590
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
1829
2591
|
*
|