@google-cloud/discoveryengine 2.2.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 +30 -0
- package/build/protos/google/cloud/discoveryengine/v1/answer.proto +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/chunk.proto +52 -0
- package/build/protos/google/cloud/discoveryengine/v1/cmek_config_service.proto +300 -0
- package/build/protos/google/cloud/discoveryengine/v1/common.proto +67 -0
- package/build/protos/google/cloud/discoveryengine/v1/control.proto +1 -3
- package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +18 -3
- package/build/protos/google/cloud/discoveryengine/v1/data_store.proto +54 -2
- package/build/protos/google/cloud/discoveryengine/v1/data_store_service.proto +14 -0
- package/build/protos/google/cloud/discoveryengine/v1/document.proto +95 -4
- package/build/protos/google/cloud/discoveryengine/v1/document_processing_config.proto +28 -1
- package/build/protos/google/cloud/discoveryengine/v1/engine.proto +131 -6
- package/build/protos/google/cloud/discoveryengine/v1/grounded_generation_service.proto +8 -0
- package/build/protos/google/cloud/discoveryengine/v1/grounding.proto +9 -0
- package/build/protos/google/cloud/discoveryengine/v1/identity_mapping_store.proto +84 -0
- package/build/protos/google/cloud/discoveryengine/v1/identity_mapping_store_service.proto +375 -0
- package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +14 -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/v1/site_search_engine.proto +6 -0
- package/build/protos/google/cloud/discoveryengine/v1/user_license.proto +98 -0
- package/build/protos/google/cloud/discoveryengine/v1/user_license_service.proto +191 -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 +21218 -11675
- package/build/protos/protos.js +92642 -66407
- package/build/protos/protos.json +5854 -2801
- package/build/src/index.d.ts +16 -1
- package/build/src/index.js +12 -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 +2398 -0
- package/build/src/v1/cmek_config_service_client.js +3426 -0
- package/build/src/v1/cmek_config_service_client_config.json +42 -0
- package/build/src/v1/cmek_config_service_proto_list.json +48 -0
- package/build/src/v1/completion_service_client.d.ts +345 -144
- package/build/src/v1/completion_service_client.js +482 -198
- package/build/src/v1/completion_service_proto_list.json +10 -1
- package/build/src/v1/control_service_client.d.ts +345 -144
- package/build/src/v1/control_service_client.js +498 -196
- package/build/src/v1/control_service_proto_list.json +10 -1
- package/build/src/v1/conversational_search_service_client.d.ts +392 -155
- package/build/src/v1/conversational_search_service_client.js +572 -204
- package/build/src/v1/conversational_search_service_proto_list.json +10 -1
- package/build/src/v1/data_store_service_client.d.ts +351 -144
- package/build/src/v1/data_store_service_client.js +488 -198
- package/build/src/v1/data_store_service_proto_list.json +10 -1
- package/build/src/v1/document_service_client.d.ts +345 -144
- package/build/src/v1/document_service_client.js +506 -198
- package/build/src/v1/document_service_proto_list.json +10 -1
- package/build/src/v1/engine_service_client.d.ts +345 -144
- package/build/src/v1/engine_service_client.js +488 -198
- package/build/src/v1/engine_service_proto_list.json +10 -1
- package/build/src/v1/gapic_metadata.json +270 -0
- package/build/src/v1/grounded_generation_service_client.d.ts +345 -144
- package/build/src/v1/grounded_generation_service_client.js +486 -196
- package/build/src/v1/grounded_generation_service_proto_list.json +10 -1
- package/build/src/v1/identity_mapping_store_service_client.d.ts +2581 -0
- package/build/src/v1/identity_mapping_store_service_client.js +3601 -0
- package/build/src/v1/identity_mapping_store_service_client_config.json +54 -0
- package/build/src/v1/identity_mapping_store_service_proto_list.json +48 -0
- package/build/src/v1/index.d.ts +5 -0
- package/build/src/v1/index.js +11 -1
- package/build/src/v1/project_service_client.d.ts +345 -144
- package/build/src/v1/project_service_client.js +476 -198
- package/build/src/v1/project_service_proto_list.json +10 -1
- package/build/src/v1/rank_service_client.d.ts +345 -144
- package/build/src/v1/rank_service_client.js +480 -196
- package/build/src/v1/rank_service_proto_list.json +10 -1
- package/build/src/v1/recommendation_service_client.d.ts +345 -144
- package/build/src/v1/recommendation_service_client.js +480 -196
- package/build/src/v1/recommendation_service_proto_list.json +10 -1
- package/build/src/v1/schema_service_client.d.ts +345 -144
- package/build/src/v1/schema_service_client.js +482 -198
- package/build/src/v1/schema_service_proto_list.json +10 -1
- package/build/src/v1/search_service_client.d.ts +393 -228
- package/build/src/v1/search_service_client.js +506 -252
- package/build/src/v1/search_service_proto_list.json +10 -1
- package/build/src/v1/search_tuning_service_client.d.ts +345 -144
- package/build/src/v1/search_tuning_service_client.js +482 -198
- package/build/src/v1/search_tuning_service_proto_list.json +10 -1
- package/build/src/v1/serving_config_service_client.d.ts +345 -144
- package/build/src/v1/serving_config_service_client.js +480 -196
- package/build/src/v1/serving_config_service_proto_list.json +10 -1
- 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 +345 -144
- package/build/src/v1/site_search_engine_service_client.js +494 -198
- package/build/src/v1/site_search_engine_service_proto_list.json +10 -1
- package/build/src/v1/user_event_service_client.d.ts +345 -144
- package/build/src/v1/user_event_service_client.js +488 -198
- package/build/src/v1/user_event_service_proto_list.json +10 -1
- package/build/src/v1/user_license_service_client.d.ts +2367 -0
- package/build/src/v1/user_license_service_client.js +3346 -0
- package/build/src/v1/user_license_service_client_config.json +34 -0
- package/build/src/v1/user_license_service_proto_list.json +48 -0
- package/build/src/v1alpha/acl_config_service_client.d.ts +144 -144
- package/build/src/v1alpha/acl_config_service_client.js +208 -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 +202 -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 +203 -197
- 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 +220 -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 +310 -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 +221 -197
- 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 +233 -197
- 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 +221 -197
- 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 +197 -197
- 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 +203 -197
- 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 +202 -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 +209 -197
- 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 +202 -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 +202 -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 +221 -197
- 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 +220 -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 +203 -197
- 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 +203 -197
- 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 +208 -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 +215 -197
- 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 +209 -197
- 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 +209 -197
- 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 +220 -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 +308 -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 +209 -197
- 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 +227 -197
- 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 +221 -197
- 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 +203 -197
- 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 +208 -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 +197 -197
- 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 +202 -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 +202 -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 +221 -197
- 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 +220 -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 +203 -197
- 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 +203 -197
- 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 +208 -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 +215 -197
- 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 +209 -197
- package/build/src/v1beta/user_event_service_proto_list.json +1 -0
- package/package.json +7 -7
- package/CHANGELOG.md +0 -274
@@ -164,8 +164,13 @@ class ProjectServiceClient {
|
|
164
164
|
// identifiers to uniquely identify resources within the API.
|
165
165
|
// Create useful helper objects for these.
|
166
166
|
this.pathTemplates = {
|
167
|
+
assistAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/assistAnswers/{assist_answer}'),
|
168
|
+
assistantPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}'),
|
167
169
|
enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
|
170
|
+
identityMappingStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}'),
|
168
171
|
projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
|
172
|
+
projectLocationCmekConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/cmekConfig'),
|
173
|
+
projectLocationCmekConfigsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/cmekConfigs/{cmek_config}'),
|
169
174
|
projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
|
170
175
|
projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
171
176
|
projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
@@ -175,16 +180,16 @@ class ProjectServiceClient {
|
|
175
180
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
176
181
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
177
182
|
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
183
|
projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
184
|
+
projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
180
185
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
181
186
|
projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
182
187
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
183
188
|
projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
|
184
189
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
185
190
|
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
191
|
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
192
|
+
projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
188
193
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
189
194
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
190
195
|
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
@@ -194,13 +199,13 @@ class ProjectServiceClient {
|
|
194
199
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
195
200
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
196
201
|
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
202
|
projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
203
|
+
projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
199
204
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
200
205
|
projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
201
206
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
202
207
|
};
|
203
|
-
const protoFilesRoot = this._gaxModule.
|
208
|
+
const protoFilesRoot = this._gaxModule.protobufFromJSON(jsonProtos);
|
204
209
|
// This API contains "long-running operations", which return a
|
205
210
|
// an Operation object that allows for tracking of the operation,
|
206
211
|
// rather than holding a request open.
|
@@ -210,7 +215,7 @@ class ProjectServiceClient {
|
|
210
215
|
};
|
211
216
|
if (opts.fallback) {
|
212
217
|
lroOptions.protoJson = protoFilesRoot;
|
213
|
-
lroOptions.httpRules = [{ selector: 'google.longrunning.Operations.CancelOperation', post: '/v1/{name=projects/*/operations/*}:cancel', body: '*', additional_bindings: [{ post: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/operations/*}:cancel', body: '*', }, { post: '/v1/{name=projects/*/locations/*/dataStores/*/branches/*/operations/*}:cancel', body: '*', }],
|
218
|
+
lroOptions.httpRules = [{ selector: 'google.longrunning.Operations.CancelOperation', post: '/v1/{name=projects/*/operations/*}:cancel', body: '*', additional_bindings: [{ post: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/operations/*}:cancel', body: '*', }, { post: '/v1/{name=projects/*/locations/*/collections/*/engines/*/operations/*}:cancel', body: '*', }, { post: '/v1/{name=projects/*/locations/*/dataStores/*/branches/*/operations/*}:cancel', body: '*', }],
|
214
219
|
}, { selector: 'google.longrunning.Operations.GetOperation', get: '/v1/{name=projects/*/operations/*}', additional_bindings: [{ get: '/v1/{name=projects/*/locations/*/collections/*/dataConnector/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/models/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/schemas/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/targetSites/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/engines/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/dataStores/*/branches/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/dataStores/*/models/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/dataStores/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/identityMappingStores/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/operations/*}', }, { get: '/v1/{name=projects/*/operations/*}', }],
|
215
220
|
}, { selector: 'google.longrunning.Operations.ListOperations', get: '/v1/{name=projects/*}/operations', additional_bindings: [{ get: '/v1/{name=projects/*/locations/*/collections/*/dataConnector}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/models/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/schemas/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/targetSites}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*/engines/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/dataStores/*/branches/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/dataStores/*/models/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/dataStores/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/identityMappingStores/*}/operations', }, { get: '/v1/{name=projects/*/locations/*}/operations', }, { get: '/v1/{name=projects/*}/operations', }],
|
216
221
|
}];
|
@@ -618,6 +623,156 @@ class ProjectServiceClient {
|
|
618
623
|
// --------------------
|
619
624
|
// -- Path templates --
|
620
625
|
// --------------------
|
626
|
+
/**
|
627
|
+
* Return a fully-qualified assistAnswer resource name string.
|
628
|
+
*
|
629
|
+
* @param {string} project
|
630
|
+
* @param {string} location
|
631
|
+
* @param {string} collection
|
632
|
+
* @param {string} engine
|
633
|
+
* @param {string} session
|
634
|
+
* @param {string} assist_answer
|
635
|
+
* @returns {string} Resource name string.
|
636
|
+
*/
|
637
|
+
assistAnswerPath(project, location, collection, engine, session, assistAnswer) {
|
638
|
+
return this.pathTemplates.assistAnswerPathTemplate.render({
|
639
|
+
project: project,
|
640
|
+
location: location,
|
641
|
+
collection: collection,
|
642
|
+
engine: engine,
|
643
|
+
session: session,
|
644
|
+
assist_answer: assistAnswer,
|
645
|
+
});
|
646
|
+
}
|
647
|
+
/**
|
648
|
+
* Parse the project from AssistAnswer resource.
|
649
|
+
*
|
650
|
+
* @param {string} assistAnswerName
|
651
|
+
* A fully-qualified path representing AssistAnswer resource.
|
652
|
+
* @returns {string} A string representing the project.
|
653
|
+
*/
|
654
|
+
matchProjectFromAssistAnswerName(assistAnswerName) {
|
655
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).project;
|
656
|
+
}
|
657
|
+
/**
|
658
|
+
* Parse the location from AssistAnswer resource.
|
659
|
+
*
|
660
|
+
* @param {string} assistAnswerName
|
661
|
+
* A fully-qualified path representing AssistAnswer resource.
|
662
|
+
* @returns {string} A string representing the location.
|
663
|
+
*/
|
664
|
+
matchLocationFromAssistAnswerName(assistAnswerName) {
|
665
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).location;
|
666
|
+
}
|
667
|
+
/**
|
668
|
+
* Parse the collection from AssistAnswer resource.
|
669
|
+
*
|
670
|
+
* @param {string} assistAnswerName
|
671
|
+
* A fully-qualified path representing AssistAnswer resource.
|
672
|
+
* @returns {string} A string representing the collection.
|
673
|
+
*/
|
674
|
+
matchCollectionFromAssistAnswerName(assistAnswerName) {
|
675
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).collection;
|
676
|
+
}
|
677
|
+
/**
|
678
|
+
* Parse the engine from AssistAnswer resource.
|
679
|
+
*
|
680
|
+
* @param {string} assistAnswerName
|
681
|
+
* A fully-qualified path representing AssistAnswer resource.
|
682
|
+
* @returns {string} A string representing the engine.
|
683
|
+
*/
|
684
|
+
matchEngineFromAssistAnswerName(assistAnswerName) {
|
685
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).engine;
|
686
|
+
}
|
687
|
+
/**
|
688
|
+
* Parse the session from AssistAnswer resource.
|
689
|
+
*
|
690
|
+
* @param {string} assistAnswerName
|
691
|
+
* A fully-qualified path representing AssistAnswer resource.
|
692
|
+
* @returns {string} A string representing the session.
|
693
|
+
*/
|
694
|
+
matchSessionFromAssistAnswerName(assistAnswerName) {
|
695
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).session;
|
696
|
+
}
|
697
|
+
/**
|
698
|
+
* Parse the assist_answer from AssistAnswer resource.
|
699
|
+
*
|
700
|
+
* @param {string} assistAnswerName
|
701
|
+
* A fully-qualified path representing AssistAnswer resource.
|
702
|
+
* @returns {string} A string representing the assist_answer.
|
703
|
+
*/
|
704
|
+
matchAssistAnswerFromAssistAnswerName(assistAnswerName) {
|
705
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).assist_answer;
|
706
|
+
}
|
707
|
+
/**
|
708
|
+
* Return a fully-qualified assistant resource name string.
|
709
|
+
*
|
710
|
+
* @param {string} project
|
711
|
+
* @param {string} location
|
712
|
+
* @param {string} collection
|
713
|
+
* @param {string} engine
|
714
|
+
* @param {string} assistant
|
715
|
+
* @returns {string} Resource name string.
|
716
|
+
*/
|
717
|
+
assistantPath(project, location, collection, engine, assistant) {
|
718
|
+
return this.pathTemplates.assistantPathTemplate.render({
|
719
|
+
project: project,
|
720
|
+
location: location,
|
721
|
+
collection: collection,
|
722
|
+
engine: engine,
|
723
|
+
assistant: assistant,
|
724
|
+
});
|
725
|
+
}
|
726
|
+
/**
|
727
|
+
* Parse the project from Assistant resource.
|
728
|
+
*
|
729
|
+
* @param {string} assistantName
|
730
|
+
* A fully-qualified path representing Assistant resource.
|
731
|
+
* @returns {string} A string representing the project.
|
732
|
+
*/
|
733
|
+
matchProjectFromAssistantName(assistantName) {
|
734
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).project;
|
735
|
+
}
|
736
|
+
/**
|
737
|
+
* Parse the location from Assistant resource.
|
738
|
+
*
|
739
|
+
* @param {string} assistantName
|
740
|
+
* A fully-qualified path representing Assistant resource.
|
741
|
+
* @returns {string} A string representing the location.
|
742
|
+
*/
|
743
|
+
matchLocationFromAssistantName(assistantName) {
|
744
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).location;
|
745
|
+
}
|
746
|
+
/**
|
747
|
+
* Parse the collection from Assistant resource.
|
748
|
+
*
|
749
|
+
* @param {string} assistantName
|
750
|
+
* A fully-qualified path representing Assistant resource.
|
751
|
+
* @returns {string} A string representing the collection.
|
752
|
+
*/
|
753
|
+
matchCollectionFromAssistantName(assistantName) {
|
754
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).collection;
|
755
|
+
}
|
756
|
+
/**
|
757
|
+
* Parse the engine from Assistant resource.
|
758
|
+
*
|
759
|
+
* @param {string} assistantName
|
760
|
+
* A fully-qualified path representing Assistant resource.
|
761
|
+
* @returns {string} A string representing the engine.
|
762
|
+
*/
|
763
|
+
matchEngineFromAssistantName(assistantName) {
|
764
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).engine;
|
765
|
+
}
|
766
|
+
/**
|
767
|
+
* Parse the assistant from Assistant resource.
|
768
|
+
*
|
769
|
+
* @param {string} assistantName
|
770
|
+
* A fully-qualified path representing Assistant resource.
|
771
|
+
* @returns {string} A string representing the assistant.
|
772
|
+
*/
|
773
|
+
matchAssistantFromAssistantName(assistantName) {
|
774
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).assistant;
|
775
|
+
}
|
621
776
|
/**
|
622
777
|
* Return a fully-qualified engine resource name string.
|
623
778
|
*
|
@@ -675,6 +830,51 @@ class ProjectServiceClient {
|
|
675
830
|
matchEngineFromEngineName(engineName) {
|
676
831
|
return this.pathTemplates.enginePathTemplate.match(engineName).engine;
|
677
832
|
}
|
833
|
+
/**
|
834
|
+
* Return a fully-qualified identityMappingStore resource name string.
|
835
|
+
*
|
836
|
+
* @param {string} project
|
837
|
+
* @param {string} location
|
838
|
+
* @param {string} identity_mapping_store
|
839
|
+
* @returns {string} Resource name string.
|
840
|
+
*/
|
841
|
+
identityMappingStorePath(project, location, identityMappingStore) {
|
842
|
+
return this.pathTemplates.identityMappingStorePathTemplate.render({
|
843
|
+
project: project,
|
844
|
+
location: location,
|
845
|
+
identity_mapping_store: identityMappingStore,
|
846
|
+
});
|
847
|
+
}
|
848
|
+
/**
|
849
|
+
* Parse the project from IdentityMappingStore resource.
|
850
|
+
*
|
851
|
+
* @param {string} identityMappingStoreName
|
852
|
+
* A fully-qualified path representing IdentityMappingStore resource.
|
853
|
+
* @returns {string} A string representing the project.
|
854
|
+
*/
|
855
|
+
matchProjectFromIdentityMappingStoreName(identityMappingStoreName) {
|
856
|
+
return this.pathTemplates.identityMappingStorePathTemplate.match(identityMappingStoreName).project;
|
857
|
+
}
|
858
|
+
/**
|
859
|
+
* Parse the location from IdentityMappingStore resource.
|
860
|
+
*
|
861
|
+
* @param {string} identityMappingStoreName
|
862
|
+
* A fully-qualified path representing IdentityMappingStore resource.
|
863
|
+
* @returns {string} A string representing the location.
|
864
|
+
*/
|
865
|
+
matchLocationFromIdentityMappingStoreName(identityMappingStoreName) {
|
866
|
+
return this.pathTemplates.identityMappingStorePathTemplate.match(identityMappingStoreName).location;
|
867
|
+
}
|
868
|
+
/**
|
869
|
+
* Parse the identity_mapping_store from IdentityMappingStore resource.
|
870
|
+
*
|
871
|
+
* @param {string} identityMappingStoreName
|
872
|
+
* A fully-qualified path representing IdentityMappingStore resource.
|
873
|
+
* @returns {string} A string representing the identity_mapping_store.
|
874
|
+
*/
|
875
|
+
matchIdentityMappingStoreFromIdentityMappingStoreName(identityMappingStoreName) {
|
876
|
+
return this.pathTemplates.identityMappingStorePathTemplate.match(identityMappingStoreName).identity_mapping_store;
|
877
|
+
}
|
678
878
|
/**
|
679
879
|
* Return a fully-qualified project resource name string.
|
680
880
|
*
|
@@ -696,6 +896,84 @@ class ProjectServiceClient {
|
|
696
896
|
matchProjectFromProjectName(projectName) {
|
697
897
|
return this.pathTemplates.projectPathTemplate.match(projectName).project;
|
698
898
|
}
|
899
|
+
/**
|
900
|
+
* Return a fully-qualified projectLocationCmekConfig resource name string.
|
901
|
+
*
|
902
|
+
* @param {string} project
|
903
|
+
* @param {string} location
|
904
|
+
* @returns {string} Resource name string.
|
905
|
+
*/
|
906
|
+
projectLocationCmekConfigPath(project, location) {
|
907
|
+
return this.pathTemplates.projectLocationCmekConfigPathTemplate.render({
|
908
|
+
project: project,
|
909
|
+
location: location,
|
910
|
+
});
|
911
|
+
}
|
912
|
+
/**
|
913
|
+
* Parse the project from ProjectLocationCmekConfig resource.
|
914
|
+
*
|
915
|
+
* @param {string} projectLocationCmekConfigName
|
916
|
+
* A fully-qualified path representing project_location_cmekConfig resource.
|
917
|
+
* @returns {string} A string representing the project.
|
918
|
+
*/
|
919
|
+
matchProjectFromProjectLocationCmekConfigName(projectLocationCmekConfigName) {
|
920
|
+
return this.pathTemplates.projectLocationCmekConfigPathTemplate.match(projectLocationCmekConfigName).project;
|
921
|
+
}
|
922
|
+
/**
|
923
|
+
* Parse the location from ProjectLocationCmekConfig resource.
|
924
|
+
*
|
925
|
+
* @param {string} projectLocationCmekConfigName
|
926
|
+
* A fully-qualified path representing project_location_cmekConfig resource.
|
927
|
+
* @returns {string} A string representing the location.
|
928
|
+
*/
|
929
|
+
matchLocationFromProjectLocationCmekConfigName(projectLocationCmekConfigName) {
|
930
|
+
return this.pathTemplates.projectLocationCmekConfigPathTemplate.match(projectLocationCmekConfigName).location;
|
931
|
+
}
|
932
|
+
/**
|
933
|
+
* Return a fully-qualified projectLocationCmekConfigs resource name string.
|
934
|
+
*
|
935
|
+
* @param {string} project
|
936
|
+
* @param {string} location
|
937
|
+
* @param {string} cmek_config
|
938
|
+
* @returns {string} Resource name string.
|
939
|
+
*/
|
940
|
+
projectLocationCmekConfigsPath(project, location, cmekConfig) {
|
941
|
+
return this.pathTemplates.projectLocationCmekConfigsPathTemplate.render({
|
942
|
+
project: project,
|
943
|
+
location: location,
|
944
|
+
cmek_config: cmekConfig,
|
945
|
+
});
|
946
|
+
}
|
947
|
+
/**
|
948
|
+
* Parse the project from ProjectLocationCmekConfigs resource.
|
949
|
+
*
|
950
|
+
* @param {string} projectLocationCmekConfigsName
|
951
|
+
* A fully-qualified path representing project_location_cmekConfigs resource.
|
952
|
+
* @returns {string} A string representing the project.
|
953
|
+
*/
|
954
|
+
matchProjectFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName) {
|
955
|
+
return this.pathTemplates.projectLocationCmekConfigsPathTemplate.match(projectLocationCmekConfigsName).project;
|
956
|
+
}
|
957
|
+
/**
|
958
|
+
* Parse the location from ProjectLocationCmekConfigs resource.
|
959
|
+
*
|
960
|
+
* @param {string} projectLocationCmekConfigsName
|
961
|
+
* A fully-qualified path representing project_location_cmekConfigs resource.
|
962
|
+
* @returns {string} A string representing the location.
|
963
|
+
*/
|
964
|
+
matchLocationFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName) {
|
965
|
+
return this.pathTemplates.projectLocationCmekConfigsPathTemplate.match(projectLocationCmekConfigsName).location;
|
966
|
+
}
|
967
|
+
/**
|
968
|
+
* Parse the cmek_config from ProjectLocationCmekConfigs resource.
|
969
|
+
*
|
970
|
+
* @param {string} projectLocationCmekConfigsName
|
971
|
+
* A fully-qualified path representing project_location_cmekConfigs resource.
|
972
|
+
* @returns {string} A string representing the cmek_config.
|
973
|
+
*/
|
974
|
+
matchCmekConfigFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName) {
|
975
|
+
return this.pathTemplates.projectLocationCmekConfigsPathTemplate.match(projectLocationCmekConfigsName).cmek_config;
|
976
|
+
}
|
699
977
|
/**
|
700
978
|
* Return a fully-qualified projectLocationCollectionDataStore resource name string.
|
701
979
|
*
|
@@ -1330,154 +1608,154 @@ class ProjectServiceClient {
|
|
1330
1608
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1331
1609
|
}
|
1332
1610
|
/**
|
1333
|
-
* Return a fully-qualified
|
1611
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1334
1612
|
*
|
1335
1613
|
* @param {string} project
|
1336
1614
|
* @param {string} location
|
1337
1615
|
* @param {string} collection
|
1338
1616
|
* @param {string} data_store
|
1339
1617
|
* @param {string} session
|
1618
|
+
* @param {string} answer
|
1340
1619
|
* @returns {string} Resource name string.
|
1341
1620
|
*/
|
1342
|
-
|
1343
|
-
return this.pathTemplates.
|
1621
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1622
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1344
1623
|
project: project,
|
1345
1624
|
location: location,
|
1346
1625
|
collection: collection,
|
1347
1626
|
data_store: dataStore,
|
1348
1627
|
session: session,
|
1628
|
+
answer: answer,
|
1349
1629
|
});
|
1350
1630
|
}
|
1351
1631
|
/**
|
1352
|
-
* Parse the project from
|
1632
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1353
1633
|
*
|
1354
|
-
* @param {string}
|
1355
|
-
* A fully-qualified path representing
|
1634
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1635
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1356
1636
|
* @returns {string} A string representing the project.
|
1357
1637
|
*/
|
1358
|
-
|
1359
|
-
return this.pathTemplates.
|
1638
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1639
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1360
1640
|
}
|
1361
1641
|
/**
|
1362
|
-
* Parse the location from
|
1642
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1363
1643
|
*
|
1364
|
-
* @param {string}
|
1365
|
-
* A fully-qualified path representing
|
1644
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1645
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1366
1646
|
* @returns {string} A string representing the location.
|
1367
1647
|
*/
|
1368
|
-
|
1369
|
-
return this.pathTemplates.
|
1648
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1649
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1370
1650
|
}
|
1371
1651
|
/**
|
1372
|
-
* Parse the collection from
|
1652
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1373
1653
|
*
|
1374
|
-
* @param {string}
|
1375
|
-
* A fully-qualified path representing
|
1654
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1655
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1376
1656
|
* @returns {string} A string representing the collection.
|
1377
1657
|
*/
|
1378
|
-
|
1379
|
-
return this.pathTemplates.
|
1658
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1659
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1380
1660
|
}
|
1381
1661
|
/**
|
1382
|
-
* Parse the data_store from
|
1662
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1383
1663
|
*
|
1384
|
-
* @param {string}
|
1385
|
-
* A fully-qualified path representing
|
1664
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1665
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1386
1666
|
* @returns {string} A string representing the data_store.
|
1387
1667
|
*/
|
1388
|
-
|
1389
|
-
return this.pathTemplates.
|
1668
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1669
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1390
1670
|
}
|
1391
1671
|
/**
|
1392
|
-
* Parse the session from
|
1672
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1393
1673
|
*
|
1394
|
-
* @param {string}
|
1395
|
-
* A fully-qualified path representing
|
1674
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1675
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1396
1676
|
* @returns {string} A string representing the session.
|
1397
1677
|
*/
|
1398
|
-
|
1399
|
-
return this.pathTemplates.
|
1678
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1679
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1400
1680
|
}
|
1401
1681
|
/**
|
1402
|
-
*
|
1682
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1683
|
+
*
|
1684
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1685
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1686
|
+
* @returns {string} A string representing the answer.
|
1687
|
+
*/
|
1688
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1689
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1690
|
+
}
|
1691
|
+
/**
|
1692
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
1403
1693
|
*
|
1404
1694
|
* @param {string} project
|
1405
1695
|
* @param {string} location
|
1406
1696
|
* @param {string} collection
|
1407
1697
|
* @param {string} data_store
|
1408
1698
|
* @param {string} session
|
1409
|
-
* @param {string} answer
|
1410
1699
|
* @returns {string} Resource name string.
|
1411
1700
|
*/
|
1412
|
-
|
1413
|
-
return this.pathTemplates.
|
1701
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
1702
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
1414
1703
|
project: project,
|
1415
1704
|
location: location,
|
1416
1705
|
collection: collection,
|
1417
1706
|
data_store: dataStore,
|
1418
1707
|
session: session,
|
1419
|
-
answer: answer,
|
1420
1708
|
});
|
1421
1709
|
}
|
1422
1710
|
/**
|
1423
|
-
* Parse the project from
|
1711
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
1424
1712
|
*
|
1425
|
-
* @param {string}
|
1426
|
-
* A fully-qualified path representing
|
1713
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1714
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1427
1715
|
* @returns {string} A string representing the project.
|
1428
1716
|
*/
|
1429
|
-
|
1430
|
-
return this.pathTemplates.
|
1717
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1718
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
1431
1719
|
}
|
1432
1720
|
/**
|
1433
|
-
* Parse the location from
|
1721
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessions resource.
|
1434
1722
|
*
|
1435
|
-
* @param {string}
|
1436
|
-
* A fully-qualified path representing
|
1723
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1724
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1437
1725
|
* @returns {string} A string representing the location.
|
1438
1726
|
*/
|
1439
|
-
|
1440
|
-
return this.pathTemplates.
|
1727
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1728
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
1441
1729
|
}
|
1442
1730
|
/**
|
1443
|
-
* Parse the collection from
|
1731
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
|
1444
1732
|
*
|
1445
|
-
* @param {string}
|
1446
|
-
* A fully-qualified path representing
|
1733
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1734
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1447
1735
|
* @returns {string} A string representing the collection.
|
1448
1736
|
*/
|
1449
|
-
|
1450
|
-
return this.pathTemplates.
|
1737
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1738
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
1451
1739
|
}
|
1452
1740
|
/**
|
1453
|
-
* Parse the data_store from
|
1741
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
|
1454
1742
|
*
|
1455
|
-
* @param {string}
|
1456
|
-
* A fully-qualified path representing
|
1743
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1744
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1457
1745
|
* @returns {string} A string representing the data_store.
|
1458
1746
|
*/
|
1459
|
-
|
1460
|
-
return this.pathTemplates.
|
1747
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1748
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
1461
1749
|
}
|
1462
1750
|
/**
|
1463
|
-
* Parse the session from
|
1751
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessions resource.
|
1464
1752
|
*
|
1465
|
-
* @param {string}
|
1466
|
-
* A fully-qualified path representing
|
1753
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1754
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1467
1755
|
* @returns {string} A string representing the session.
|
1468
1756
|
*/
|
1469
|
-
|
1470
|
-
return this.pathTemplates.
|
1471
|
-
}
|
1472
|
-
/**
|
1473
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1474
|
-
*
|
1475
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1476
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1477
|
-
* @returns {string} A string representing the answer.
|
1478
|
-
*/
|
1479
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1480
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1757
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1758
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
1481
1759
|
}
|
1482
1760
|
/**
|
1483
1761
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -1882,154 +2160,154 @@ class ProjectServiceClient {
|
|
1882
2160
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
1883
2161
|
}
|
1884
2162
|
/**
|
1885
|
-
* Return a fully-qualified
|
2163
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
1886
2164
|
*
|
1887
2165
|
* @param {string} project
|
1888
2166
|
* @param {string} location
|
1889
2167
|
* @param {string} collection
|
1890
2168
|
* @param {string} engine
|
1891
2169
|
* @param {string} session
|
2170
|
+
* @param {string} answer
|
1892
2171
|
* @returns {string} Resource name string.
|
1893
2172
|
*/
|
1894
|
-
|
1895
|
-
return this.pathTemplates.
|
2173
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
2174
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
1896
2175
|
project: project,
|
1897
2176
|
location: location,
|
1898
2177
|
collection: collection,
|
1899
2178
|
engine: engine,
|
1900
2179
|
session: session,
|
2180
|
+
answer: answer,
|
1901
2181
|
});
|
1902
2182
|
}
|
1903
2183
|
/**
|
1904
|
-
* Parse the project from
|
2184
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
1905
2185
|
*
|
1906
|
-
* @param {string}
|
1907
|
-
* A fully-qualified path representing
|
2186
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2187
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1908
2188
|
* @returns {string} A string representing the project.
|
1909
2189
|
*/
|
1910
|
-
|
1911
|
-
return this.pathTemplates.
|
2190
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2191
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
1912
2192
|
}
|
1913
2193
|
/**
|
1914
|
-
* Parse the location from
|
2194
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
1915
2195
|
*
|
1916
|
-
* @param {string}
|
1917
|
-
* A fully-qualified path representing
|
2196
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2197
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1918
2198
|
* @returns {string} A string representing the location.
|
1919
2199
|
*/
|
1920
|
-
|
1921
|
-
return this.pathTemplates.
|
2200
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2201
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
1922
2202
|
}
|
1923
2203
|
/**
|
1924
|
-
* Parse the collection from
|
2204
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
1925
2205
|
*
|
1926
|
-
* @param {string}
|
1927
|
-
* A fully-qualified path representing
|
2206
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2207
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1928
2208
|
* @returns {string} A string representing the collection.
|
1929
2209
|
*/
|
1930
|
-
|
1931
|
-
return this.pathTemplates.
|
2210
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2211
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
1932
2212
|
}
|
1933
2213
|
/**
|
1934
|
-
* Parse the engine from
|
2214
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
1935
2215
|
*
|
1936
|
-
* @param {string}
|
1937
|
-
* A fully-qualified path representing
|
2216
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2217
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1938
2218
|
* @returns {string} A string representing the engine.
|
1939
2219
|
*/
|
1940
|
-
|
1941
|
-
return this.pathTemplates.
|
2220
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2221
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
1942
2222
|
}
|
1943
2223
|
/**
|
1944
|
-
* Parse the session from
|
2224
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
1945
2225
|
*
|
1946
|
-
* @param {string}
|
1947
|
-
* A fully-qualified path representing
|
2226
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2227
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1948
2228
|
* @returns {string} A string representing the session.
|
1949
2229
|
*/
|
1950
|
-
|
1951
|
-
return this.pathTemplates.
|
2230
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2231
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
1952
2232
|
}
|
1953
2233
|
/**
|
1954
|
-
*
|
2234
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2235
|
+
*
|
2236
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2237
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2238
|
+
* @returns {string} A string representing the answer.
|
2239
|
+
*/
|
2240
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2241
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2242
|
+
}
|
2243
|
+
/**
|
2244
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
1955
2245
|
*
|
1956
2246
|
* @param {string} project
|
1957
2247
|
* @param {string} location
|
1958
2248
|
* @param {string} collection
|
1959
2249
|
* @param {string} engine
|
1960
2250
|
* @param {string} session
|
1961
|
-
* @param {string} answer
|
1962
2251
|
* @returns {string} Resource name string.
|
1963
2252
|
*/
|
1964
|
-
|
1965
|
-
return this.pathTemplates.
|
2253
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
2254
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
1966
2255
|
project: project,
|
1967
2256
|
location: location,
|
1968
2257
|
collection: collection,
|
1969
2258
|
engine: engine,
|
1970
2259
|
session: session,
|
1971
|
-
answer: answer,
|
1972
2260
|
});
|
1973
2261
|
}
|
1974
2262
|
/**
|
1975
|
-
* Parse the project from
|
2263
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
1976
2264
|
*
|
1977
|
-
* @param {string}
|
1978
|
-
* A fully-qualified path representing
|
2265
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2266
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1979
2267
|
* @returns {string} A string representing the project.
|
1980
2268
|
*/
|
1981
|
-
|
1982
|
-
return this.pathTemplates.
|
2269
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2270
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
1983
2271
|
}
|
1984
2272
|
/**
|
1985
|
-
* Parse the location from
|
2273
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
1986
2274
|
*
|
1987
|
-
* @param {string}
|
1988
|
-
* A fully-qualified path representing
|
2275
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2276
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1989
2277
|
* @returns {string} A string representing the location.
|
1990
2278
|
*/
|
1991
|
-
|
1992
|
-
return this.pathTemplates.
|
2279
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2280
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
1993
2281
|
}
|
1994
2282
|
/**
|
1995
|
-
* Parse the collection from
|
2283
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
1996
2284
|
*
|
1997
|
-
* @param {string}
|
1998
|
-
* A fully-qualified path representing
|
2285
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2286
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1999
2287
|
* @returns {string} A string representing the collection.
|
2000
2288
|
*/
|
2001
|
-
|
2002
|
-
return this.pathTemplates.
|
2289
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2290
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
2003
2291
|
}
|
2004
2292
|
/**
|
2005
|
-
* Parse the engine from
|
2293
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
2006
2294
|
*
|
2007
|
-
* @param {string}
|
2008
|
-
* A fully-qualified path representing
|
2295
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2296
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2009
2297
|
* @returns {string} A string representing the engine.
|
2010
2298
|
*/
|
2011
|
-
|
2012
|
-
return this.pathTemplates.
|
2299
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2300
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
2013
2301
|
}
|
2014
2302
|
/**
|
2015
|
-
* Parse the session from
|
2303
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
2016
2304
|
*
|
2017
|
-
* @param {string}
|
2018
|
-
* A fully-qualified path representing
|
2305
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2306
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2019
2307
|
* @returns {string} A string representing the session.
|
2020
2308
|
*/
|
2021
|
-
|
2022
|
-
return this.pathTemplates.
|
2023
|
-
}
|
2024
|
-
/**
|
2025
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2026
|
-
*
|
2027
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2028
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2029
|
-
* @returns {string} A string representing the answer.
|
2030
|
-
*/
|
2031
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2032
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2309
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2310
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
2033
2311
|
}
|
2034
2312
|
/**
|
2035
2313
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -2556,63 +2834,6 @@ class ProjectServiceClient {
|
|
2556
2834
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
2557
2835
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
2558
2836
|
}
|
2559
|
-
/**
|
2560
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
2561
|
-
*
|
2562
|
-
* @param {string} project
|
2563
|
-
* @param {string} location
|
2564
|
-
* @param {string} data_store
|
2565
|
-
* @param {string} session
|
2566
|
-
* @returns {string} Resource name string.
|
2567
|
-
*/
|
2568
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
2569
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
2570
|
-
project: project,
|
2571
|
-
location: location,
|
2572
|
-
data_store: dataStore,
|
2573
|
-
session: session,
|
2574
|
-
});
|
2575
|
-
}
|
2576
|
-
/**
|
2577
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
2578
|
-
*
|
2579
|
-
* @param {string} projectLocationDataStoreSessionName
|
2580
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2581
|
-
* @returns {string} A string representing the project.
|
2582
|
-
*/
|
2583
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2584
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
2585
|
-
}
|
2586
|
-
/**
|
2587
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
2588
|
-
*
|
2589
|
-
* @param {string} projectLocationDataStoreSessionName
|
2590
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2591
|
-
* @returns {string} A string representing the location.
|
2592
|
-
*/
|
2593
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2594
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
2595
|
-
}
|
2596
|
-
/**
|
2597
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
2598
|
-
*
|
2599
|
-
* @param {string} projectLocationDataStoreSessionName
|
2600
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2601
|
-
* @returns {string} A string representing the data_store.
|
2602
|
-
*/
|
2603
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2604
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
2605
|
-
}
|
2606
|
-
/**
|
2607
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
2608
|
-
*
|
2609
|
-
* @param {string} projectLocationDataStoreSessionName
|
2610
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2611
|
-
* @returns {string} A string representing the session.
|
2612
|
-
*/
|
2613
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2614
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
2615
|
-
}
|
2616
2837
|
/**
|
2617
2838
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
2618
2839
|
*
|
@@ -2682,6 +2903,63 @@ class ProjectServiceClient {
|
|
2682
2903
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2683
2904
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
2684
2905
|
}
|
2906
|
+
/**
|
2907
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
2908
|
+
*
|
2909
|
+
* @param {string} project
|
2910
|
+
* @param {string} location
|
2911
|
+
* @param {string} data_store
|
2912
|
+
* @param {string} session
|
2913
|
+
* @returns {string} Resource name string.
|
2914
|
+
*/
|
2915
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
2916
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
2917
|
+
project: project,
|
2918
|
+
location: location,
|
2919
|
+
data_store: dataStore,
|
2920
|
+
session: session,
|
2921
|
+
});
|
2922
|
+
}
|
2923
|
+
/**
|
2924
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
2925
|
+
*
|
2926
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2927
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2928
|
+
* @returns {string} A string representing the project.
|
2929
|
+
*/
|
2930
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2931
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
2932
|
+
}
|
2933
|
+
/**
|
2934
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
2935
|
+
*
|
2936
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2937
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2938
|
+
* @returns {string} A string representing the location.
|
2939
|
+
*/
|
2940
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2941
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
2942
|
+
}
|
2943
|
+
/**
|
2944
|
+
* Parse the data_store from ProjectLocationDataStoreSessions resource.
|
2945
|
+
*
|
2946
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2947
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2948
|
+
* @returns {string} A string representing the data_store.
|
2949
|
+
*/
|
2950
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2951
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
2952
|
+
}
|
2953
|
+
/**
|
2954
|
+
* Parse the session from ProjectLocationDataStoreSessions resource.
|
2955
|
+
*
|
2956
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2957
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2958
|
+
* @returns {string} A string representing the session.
|
2959
|
+
*/
|
2960
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2961
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
2962
|
+
}
|
2685
2963
|
/**
|
2686
2964
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
2687
2965
|
*
|