@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
@@ -162,8 +162,13 @@ class RankServiceClient {
|
|
162
162
|
// identifiers to uniquely identify resources within the API.
|
163
163
|
// Create useful helper objects for these.
|
164
164
|
this.pathTemplates = {
|
165
|
+
assistAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/assistAnswers/{assist_answer}'),
|
166
|
+
assistantPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}'),
|
165
167
|
enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
|
168
|
+
identityMappingStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}'),
|
166
169
|
projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
|
170
|
+
projectLocationCmekConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/cmekConfig'),
|
171
|
+
projectLocationCmekConfigsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/cmekConfigs/{cmek_config}'),
|
167
172
|
projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
|
168
173
|
projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
169
174
|
projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
@@ -173,16 +178,16 @@ class RankServiceClient {
|
|
173
178
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
174
179
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
175
180
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
176
|
-
projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
177
181
|
projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
182
|
+
projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
178
183
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
179
184
|
projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
180
185
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
181
186
|
projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
|
182
187
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
183
188
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
184
|
-
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
185
189
|
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
190
|
+
projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
186
191
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
187
192
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
188
193
|
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
@@ -192,8 +197,8 @@ class RankServiceClient {
|
|
192
197
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
193
198
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
194
199
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
195
|
-
projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
196
200
|
projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
201
|
+
projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
197
202
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
198
203
|
projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
199
204
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
@@ -337,6 +342,12 @@ class RankServiceClient {
|
|
337
342
|
?.then(([response, options, rawResponse]) => {
|
338
343
|
this._log.info('rank response %j', response);
|
339
344
|
return [response, options, rawResponse];
|
345
|
+
}).catch((error) => {
|
346
|
+
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
|
347
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
348
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
349
|
+
}
|
350
|
+
throw error;
|
340
351
|
});
|
341
352
|
}
|
342
353
|
/**
|
@@ -397,6 +408,156 @@ class RankServiceClient {
|
|
397
408
|
// --------------------
|
398
409
|
// -- Path templates --
|
399
410
|
// --------------------
|
411
|
+
/**
|
412
|
+
* Return a fully-qualified assistAnswer resource name string.
|
413
|
+
*
|
414
|
+
* @param {string} project
|
415
|
+
* @param {string} location
|
416
|
+
* @param {string} collection
|
417
|
+
* @param {string} engine
|
418
|
+
* @param {string} session
|
419
|
+
* @param {string} assist_answer
|
420
|
+
* @returns {string} Resource name string.
|
421
|
+
*/
|
422
|
+
assistAnswerPath(project, location, collection, engine, session, assistAnswer) {
|
423
|
+
return this.pathTemplates.assistAnswerPathTemplate.render({
|
424
|
+
project: project,
|
425
|
+
location: location,
|
426
|
+
collection: collection,
|
427
|
+
engine: engine,
|
428
|
+
session: session,
|
429
|
+
assist_answer: assistAnswer,
|
430
|
+
});
|
431
|
+
}
|
432
|
+
/**
|
433
|
+
* Parse the project from AssistAnswer resource.
|
434
|
+
*
|
435
|
+
* @param {string} assistAnswerName
|
436
|
+
* A fully-qualified path representing AssistAnswer resource.
|
437
|
+
* @returns {string} A string representing the project.
|
438
|
+
*/
|
439
|
+
matchProjectFromAssistAnswerName(assistAnswerName) {
|
440
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).project;
|
441
|
+
}
|
442
|
+
/**
|
443
|
+
* Parse the location from AssistAnswer resource.
|
444
|
+
*
|
445
|
+
* @param {string} assistAnswerName
|
446
|
+
* A fully-qualified path representing AssistAnswer resource.
|
447
|
+
* @returns {string} A string representing the location.
|
448
|
+
*/
|
449
|
+
matchLocationFromAssistAnswerName(assistAnswerName) {
|
450
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).location;
|
451
|
+
}
|
452
|
+
/**
|
453
|
+
* Parse the collection from AssistAnswer resource.
|
454
|
+
*
|
455
|
+
* @param {string} assistAnswerName
|
456
|
+
* A fully-qualified path representing AssistAnswer resource.
|
457
|
+
* @returns {string} A string representing the collection.
|
458
|
+
*/
|
459
|
+
matchCollectionFromAssistAnswerName(assistAnswerName) {
|
460
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).collection;
|
461
|
+
}
|
462
|
+
/**
|
463
|
+
* Parse the engine from AssistAnswer resource.
|
464
|
+
*
|
465
|
+
* @param {string} assistAnswerName
|
466
|
+
* A fully-qualified path representing AssistAnswer resource.
|
467
|
+
* @returns {string} A string representing the engine.
|
468
|
+
*/
|
469
|
+
matchEngineFromAssistAnswerName(assistAnswerName) {
|
470
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).engine;
|
471
|
+
}
|
472
|
+
/**
|
473
|
+
* Parse the session from AssistAnswer resource.
|
474
|
+
*
|
475
|
+
* @param {string} assistAnswerName
|
476
|
+
* A fully-qualified path representing AssistAnswer resource.
|
477
|
+
* @returns {string} A string representing the session.
|
478
|
+
*/
|
479
|
+
matchSessionFromAssistAnswerName(assistAnswerName) {
|
480
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).session;
|
481
|
+
}
|
482
|
+
/**
|
483
|
+
* Parse the assist_answer from AssistAnswer resource.
|
484
|
+
*
|
485
|
+
* @param {string} assistAnswerName
|
486
|
+
* A fully-qualified path representing AssistAnswer resource.
|
487
|
+
* @returns {string} A string representing the assist_answer.
|
488
|
+
*/
|
489
|
+
matchAssistAnswerFromAssistAnswerName(assistAnswerName) {
|
490
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).assist_answer;
|
491
|
+
}
|
492
|
+
/**
|
493
|
+
* Return a fully-qualified assistant resource name string.
|
494
|
+
*
|
495
|
+
* @param {string} project
|
496
|
+
* @param {string} location
|
497
|
+
* @param {string} collection
|
498
|
+
* @param {string} engine
|
499
|
+
* @param {string} assistant
|
500
|
+
* @returns {string} Resource name string.
|
501
|
+
*/
|
502
|
+
assistantPath(project, location, collection, engine, assistant) {
|
503
|
+
return this.pathTemplates.assistantPathTemplate.render({
|
504
|
+
project: project,
|
505
|
+
location: location,
|
506
|
+
collection: collection,
|
507
|
+
engine: engine,
|
508
|
+
assistant: assistant,
|
509
|
+
});
|
510
|
+
}
|
511
|
+
/**
|
512
|
+
* Parse the project from Assistant resource.
|
513
|
+
*
|
514
|
+
* @param {string} assistantName
|
515
|
+
* A fully-qualified path representing Assistant resource.
|
516
|
+
* @returns {string} A string representing the project.
|
517
|
+
*/
|
518
|
+
matchProjectFromAssistantName(assistantName) {
|
519
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).project;
|
520
|
+
}
|
521
|
+
/**
|
522
|
+
* Parse the location from Assistant resource.
|
523
|
+
*
|
524
|
+
* @param {string} assistantName
|
525
|
+
* A fully-qualified path representing Assistant resource.
|
526
|
+
* @returns {string} A string representing the location.
|
527
|
+
*/
|
528
|
+
matchLocationFromAssistantName(assistantName) {
|
529
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).location;
|
530
|
+
}
|
531
|
+
/**
|
532
|
+
* Parse the collection from Assistant resource.
|
533
|
+
*
|
534
|
+
* @param {string} assistantName
|
535
|
+
* A fully-qualified path representing Assistant resource.
|
536
|
+
* @returns {string} A string representing the collection.
|
537
|
+
*/
|
538
|
+
matchCollectionFromAssistantName(assistantName) {
|
539
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).collection;
|
540
|
+
}
|
541
|
+
/**
|
542
|
+
* Parse the engine from Assistant resource.
|
543
|
+
*
|
544
|
+
* @param {string} assistantName
|
545
|
+
* A fully-qualified path representing Assistant resource.
|
546
|
+
* @returns {string} A string representing the engine.
|
547
|
+
*/
|
548
|
+
matchEngineFromAssistantName(assistantName) {
|
549
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).engine;
|
550
|
+
}
|
551
|
+
/**
|
552
|
+
* Parse the assistant from Assistant resource.
|
553
|
+
*
|
554
|
+
* @param {string} assistantName
|
555
|
+
* A fully-qualified path representing Assistant resource.
|
556
|
+
* @returns {string} A string representing the assistant.
|
557
|
+
*/
|
558
|
+
matchAssistantFromAssistantName(assistantName) {
|
559
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).assistant;
|
560
|
+
}
|
400
561
|
/**
|
401
562
|
* Return a fully-qualified engine resource name string.
|
402
563
|
*
|
@@ -454,6 +615,51 @@ class RankServiceClient {
|
|
454
615
|
matchEngineFromEngineName(engineName) {
|
455
616
|
return this.pathTemplates.enginePathTemplate.match(engineName).engine;
|
456
617
|
}
|
618
|
+
/**
|
619
|
+
* Return a fully-qualified identityMappingStore resource name string.
|
620
|
+
*
|
621
|
+
* @param {string} project
|
622
|
+
* @param {string} location
|
623
|
+
* @param {string} identity_mapping_store
|
624
|
+
* @returns {string} Resource name string.
|
625
|
+
*/
|
626
|
+
identityMappingStorePath(project, location, identityMappingStore) {
|
627
|
+
return this.pathTemplates.identityMappingStorePathTemplate.render({
|
628
|
+
project: project,
|
629
|
+
location: location,
|
630
|
+
identity_mapping_store: identityMappingStore,
|
631
|
+
});
|
632
|
+
}
|
633
|
+
/**
|
634
|
+
* Parse the project from IdentityMappingStore resource.
|
635
|
+
*
|
636
|
+
* @param {string} identityMappingStoreName
|
637
|
+
* A fully-qualified path representing IdentityMappingStore resource.
|
638
|
+
* @returns {string} A string representing the project.
|
639
|
+
*/
|
640
|
+
matchProjectFromIdentityMappingStoreName(identityMappingStoreName) {
|
641
|
+
return this.pathTemplates.identityMappingStorePathTemplate.match(identityMappingStoreName).project;
|
642
|
+
}
|
643
|
+
/**
|
644
|
+
* Parse the location from IdentityMappingStore resource.
|
645
|
+
*
|
646
|
+
* @param {string} identityMappingStoreName
|
647
|
+
* A fully-qualified path representing IdentityMappingStore resource.
|
648
|
+
* @returns {string} A string representing the location.
|
649
|
+
*/
|
650
|
+
matchLocationFromIdentityMappingStoreName(identityMappingStoreName) {
|
651
|
+
return this.pathTemplates.identityMappingStorePathTemplate.match(identityMappingStoreName).location;
|
652
|
+
}
|
653
|
+
/**
|
654
|
+
* Parse the identity_mapping_store from IdentityMappingStore resource.
|
655
|
+
*
|
656
|
+
* @param {string} identityMappingStoreName
|
657
|
+
* A fully-qualified path representing IdentityMappingStore resource.
|
658
|
+
* @returns {string} A string representing the identity_mapping_store.
|
659
|
+
*/
|
660
|
+
matchIdentityMappingStoreFromIdentityMappingStoreName(identityMappingStoreName) {
|
661
|
+
return this.pathTemplates.identityMappingStorePathTemplate.match(identityMappingStoreName).identity_mapping_store;
|
662
|
+
}
|
457
663
|
/**
|
458
664
|
* Return a fully-qualified project resource name string.
|
459
665
|
*
|
@@ -475,6 +681,84 @@ class RankServiceClient {
|
|
475
681
|
matchProjectFromProjectName(projectName) {
|
476
682
|
return this.pathTemplates.projectPathTemplate.match(projectName).project;
|
477
683
|
}
|
684
|
+
/**
|
685
|
+
* Return a fully-qualified projectLocationCmekConfig resource name string.
|
686
|
+
*
|
687
|
+
* @param {string} project
|
688
|
+
* @param {string} location
|
689
|
+
* @returns {string} Resource name string.
|
690
|
+
*/
|
691
|
+
projectLocationCmekConfigPath(project, location) {
|
692
|
+
return this.pathTemplates.projectLocationCmekConfigPathTemplate.render({
|
693
|
+
project: project,
|
694
|
+
location: location,
|
695
|
+
});
|
696
|
+
}
|
697
|
+
/**
|
698
|
+
* Parse the project from ProjectLocationCmekConfig resource.
|
699
|
+
*
|
700
|
+
* @param {string} projectLocationCmekConfigName
|
701
|
+
* A fully-qualified path representing project_location_cmekConfig resource.
|
702
|
+
* @returns {string} A string representing the project.
|
703
|
+
*/
|
704
|
+
matchProjectFromProjectLocationCmekConfigName(projectLocationCmekConfigName) {
|
705
|
+
return this.pathTemplates.projectLocationCmekConfigPathTemplate.match(projectLocationCmekConfigName).project;
|
706
|
+
}
|
707
|
+
/**
|
708
|
+
* Parse the location from ProjectLocationCmekConfig resource.
|
709
|
+
*
|
710
|
+
* @param {string} projectLocationCmekConfigName
|
711
|
+
* A fully-qualified path representing project_location_cmekConfig resource.
|
712
|
+
* @returns {string} A string representing the location.
|
713
|
+
*/
|
714
|
+
matchLocationFromProjectLocationCmekConfigName(projectLocationCmekConfigName) {
|
715
|
+
return this.pathTemplates.projectLocationCmekConfigPathTemplate.match(projectLocationCmekConfigName).location;
|
716
|
+
}
|
717
|
+
/**
|
718
|
+
* Return a fully-qualified projectLocationCmekConfigs resource name string.
|
719
|
+
*
|
720
|
+
* @param {string} project
|
721
|
+
* @param {string} location
|
722
|
+
* @param {string} cmek_config
|
723
|
+
* @returns {string} Resource name string.
|
724
|
+
*/
|
725
|
+
projectLocationCmekConfigsPath(project, location, cmekConfig) {
|
726
|
+
return this.pathTemplates.projectLocationCmekConfigsPathTemplate.render({
|
727
|
+
project: project,
|
728
|
+
location: location,
|
729
|
+
cmek_config: cmekConfig,
|
730
|
+
});
|
731
|
+
}
|
732
|
+
/**
|
733
|
+
* Parse the project from ProjectLocationCmekConfigs resource.
|
734
|
+
*
|
735
|
+
* @param {string} projectLocationCmekConfigsName
|
736
|
+
* A fully-qualified path representing project_location_cmekConfigs resource.
|
737
|
+
* @returns {string} A string representing the project.
|
738
|
+
*/
|
739
|
+
matchProjectFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName) {
|
740
|
+
return this.pathTemplates.projectLocationCmekConfigsPathTemplate.match(projectLocationCmekConfigsName).project;
|
741
|
+
}
|
742
|
+
/**
|
743
|
+
* Parse the location from ProjectLocationCmekConfigs resource.
|
744
|
+
*
|
745
|
+
* @param {string} projectLocationCmekConfigsName
|
746
|
+
* A fully-qualified path representing project_location_cmekConfigs resource.
|
747
|
+
* @returns {string} A string representing the location.
|
748
|
+
*/
|
749
|
+
matchLocationFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName) {
|
750
|
+
return this.pathTemplates.projectLocationCmekConfigsPathTemplate.match(projectLocationCmekConfigsName).location;
|
751
|
+
}
|
752
|
+
/**
|
753
|
+
* Parse the cmek_config from ProjectLocationCmekConfigs resource.
|
754
|
+
*
|
755
|
+
* @param {string} projectLocationCmekConfigsName
|
756
|
+
* A fully-qualified path representing project_location_cmekConfigs resource.
|
757
|
+
* @returns {string} A string representing the cmek_config.
|
758
|
+
*/
|
759
|
+
matchCmekConfigFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName) {
|
760
|
+
return this.pathTemplates.projectLocationCmekConfigsPathTemplate.match(projectLocationCmekConfigsName).cmek_config;
|
761
|
+
}
|
478
762
|
/**
|
479
763
|
* Return a fully-qualified projectLocationCollectionDataStore resource name string.
|
480
764
|
*
|
@@ -1109,154 +1393,154 @@ class RankServiceClient {
|
|
1109
1393
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1110
1394
|
}
|
1111
1395
|
/**
|
1112
|
-
* Return a fully-qualified
|
1396
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1113
1397
|
*
|
1114
1398
|
* @param {string} project
|
1115
1399
|
* @param {string} location
|
1116
1400
|
* @param {string} collection
|
1117
1401
|
* @param {string} data_store
|
1118
1402
|
* @param {string} session
|
1403
|
+
* @param {string} answer
|
1119
1404
|
* @returns {string} Resource name string.
|
1120
1405
|
*/
|
1121
|
-
|
1122
|
-
return this.pathTemplates.
|
1406
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1407
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1123
1408
|
project: project,
|
1124
1409
|
location: location,
|
1125
1410
|
collection: collection,
|
1126
1411
|
data_store: dataStore,
|
1127
1412
|
session: session,
|
1413
|
+
answer: answer,
|
1128
1414
|
});
|
1129
1415
|
}
|
1130
1416
|
/**
|
1131
|
-
* Parse the project from
|
1417
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1132
1418
|
*
|
1133
|
-
* @param {string}
|
1134
|
-
* A fully-qualified path representing
|
1419
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1420
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1135
1421
|
* @returns {string} A string representing the project.
|
1136
1422
|
*/
|
1137
|
-
|
1138
|
-
return this.pathTemplates.
|
1423
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1424
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1139
1425
|
}
|
1140
1426
|
/**
|
1141
|
-
* Parse the location from
|
1427
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1142
1428
|
*
|
1143
|
-
* @param {string}
|
1144
|
-
* A fully-qualified path representing
|
1429
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1430
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1145
1431
|
* @returns {string} A string representing the location.
|
1146
1432
|
*/
|
1147
|
-
|
1148
|
-
return this.pathTemplates.
|
1433
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1434
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1149
1435
|
}
|
1150
1436
|
/**
|
1151
|
-
* Parse the collection from
|
1437
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1152
1438
|
*
|
1153
|
-
* @param {string}
|
1154
|
-
* A fully-qualified path representing
|
1439
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1440
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1155
1441
|
* @returns {string} A string representing the collection.
|
1156
1442
|
*/
|
1157
|
-
|
1158
|
-
return this.pathTemplates.
|
1443
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1444
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1159
1445
|
}
|
1160
1446
|
/**
|
1161
|
-
* Parse the data_store from
|
1447
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1162
1448
|
*
|
1163
|
-
* @param {string}
|
1164
|
-
* A fully-qualified path representing
|
1449
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1450
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1165
1451
|
* @returns {string} A string representing the data_store.
|
1166
1452
|
*/
|
1167
|
-
|
1168
|
-
return this.pathTemplates.
|
1453
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1454
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1169
1455
|
}
|
1170
1456
|
/**
|
1171
|
-
* Parse the session from
|
1457
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1172
1458
|
*
|
1173
|
-
* @param {string}
|
1174
|
-
* A fully-qualified path representing
|
1459
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1460
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1175
1461
|
* @returns {string} A string representing the session.
|
1176
1462
|
*/
|
1177
|
-
|
1178
|
-
return this.pathTemplates.
|
1463
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1464
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1179
1465
|
}
|
1180
1466
|
/**
|
1181
|
-
*
|
1467
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1468
|
+
*
|
1469
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1470
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1471
|
+
* @returns {string} A string representing the answer.
|
1472
|
+
*/
|
1473
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1474
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1475
|
+
}
|
1476
|
+
/**
|
1477
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
1182
1478
|
*
|
1183
1479
|
* @param {string} project
|
1184
1480
|
* @param {string} location
|
1185
1481
|
* @param {string} collection
|
1186
1482
|
* @param {string} data_store
|
1187
1483
|
* @param {string} session
|
1188
|
-
* @param {string} answer
|
1189
1484
|
* @returns {string} Resource name string.
|
1190
1485
|
*/
|
1191
|
-
|
1192
|
-
return this.pathTemplates.
|
1486
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
1487
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
1193
1488
|
project: project,
|
1194
1489
|
location: location,
|
1195
1490
|
collection: collection,
|
1196
1491
|
data_store: dataStore,
|
1197
1492
|
session: session,
|
1198
|
-
answer: answer,
|
1199
1493
|
});
|
1200
1494
|
}
|
1201
1495
|
/**
|
1202
|
-
* Parse the project from
|
1496
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
1203
1497
|
*
|
1204
|
-
* @param {string}
|
1205
|
-
* A fully-qualified path representing
|
1498
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1499
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1206
1500
|
* @returns {string} A string representing the project.
|
1207
1501
|
*/
|
1208
|
-
|
1209
|
-
return this.pathTemplates.
|
1502
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1503
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
1210
1504
|
}
|
1211
1505
|
/**
|
1212
|
-
* Parse the location from
|
1506
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessions resource.
|
1213
1507
|
*
|
1214
|
-
* @param {string}
|
1215
|
-
* A fully-qualified path representing
|
1508
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1509
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1216
1510
|
* @returns {string} A string representing the location.
|
1217
1511
|
*/
|
1218
|
-
|
1219
|
-
return this.pathTemplates.
|
1512
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1513
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
1220
1514
|
}
|
1221
1515
|
/**
|
1222
|
-
* Parse the collection from
|
1516
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
|
1223
1517
|
*
|
1224
|
-
* @param {string}
|
1225
|
-
* A fully-qualified path representing
|
1518
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1519
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1226
1520
|
* @returns {string} A string representing the collection.
|
1227
1521
|
*/
|
1228
|
-
|
1229
|
-
return this.pathTemplates.
|
1522
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1523
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
1230
1524
|
}
|
1231
1525
|
/**
|
1232
|
-
* Parse the data_store from
|
1526
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
|
1233
1527
|
*
|
1234
|
-
* @param {string}
|
1235
|
-
* A fully-qualified path representing
|
1528
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1529
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1236
1530
|
* @returns {string} A string representing the data_store.
|
1237
1531
|
*/
|
1238
|
-
|
1239
|
-
return this.pathTemplates.
|
1532
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1533
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
1240
1534
|
}
|
1241
1535
|
/**
|
1242
|
-
* Parse the session from
|
1536
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessions resource.
|
1243
1537
|
*
|
1244
|
-
* @param {string}
|
1245
|
-
* A fully-qualified path representing
|
1538
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1539
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1246
1540
|
* @returns {string} A string representing the session.
|
1247
1541
|
*/
|
1248
|
-
|
1249
|
-
return this.pathTemplates.
|
1250
|
-
}
|
1251
|
-
/**
|
1252
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1253
|
-
*
|
1254
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1255
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1256
|
-
* @returns {string} A string representing the answer.
|
1257
|
-
*/
|
1258
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1259
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1542
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1543
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
1260
1544
|
}
|
1261
1545
|
/**
|
1262
1546
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -1661,154 +1945,154 @@ class RankServiceClient {
|
|
1661
1945
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
1662
1946
|
}
|
1663
1947
|
/**
|
1664
|
-
* Return a fully-qualified
|
1948
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
1665
1949
|
*
|
1666
1950
|
* @param {string} project
|
1667
1951
|
* @param {string} location
|
1668
1952
|
* @param {string} collection
|
1669
1953
|
* @param {string} engine
|
1670
1954
|
* @param {string} session
|
1955
|
+
* @param {string} answer
|
1671
1956
|
* @returns {string} Resource name string.
|
1672
1957
|
*/
|
1673
|
-
|
1674
|
-
return this.pathTemplates.
|
1958
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
1959
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
1675
1960
|
project: project,
|
1676
1961
|
location: location,
|
1677
1962
|
collection: collection,
|
1678
1963
|
engine: engine,
|
1679
1964
|
session: session,
|
1965
|
+
answer: answer,
|
1680
1966
|
});
|
1681
1967
|
}
|
1682
1968
|
/**
|
1683
|
-
* Parse the project from
|
1969
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
1684
1970
|
*
|
1685
|
-
* @param {string}
|
1686
|
-
* A fully-qualified path representing
|
1971
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1972
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1687
1973
|
* @returns {string} A string representing the project.
|
1688
1974
|
*/
|
1689
|
-
|
1690
|
-
return this.pathTemplates.
|
1975
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1976
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
1691
1977
|
}
|
1692
1978
|
/**
|
1693
|
-
* Parse the location from
|
1979
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
1694
1980
|
*
|
1695
|
-
* @param {string}
|
1696
|
-
* A fully-qualified path representing
|
1981
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1982
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1697
1983
|
* @returns {string} A string representing the location.
|
1698
1984
|
*/
|
1699
|
-
|
1700
|
-
return this.pathTemplates.
|
1985
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1986
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
1701
1987
|
}
|
1702
1988
|
/**
|
1703
|
-
* Parse the collection from
|
1989
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
1704
1990
|
*
|
1705
|
-
* @param {string}
|
1706
|
-
* A fully-qualified path representing
|
1991
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1992
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1707
1993
|
* @returns {string} A string representing the collection.
|
1708
1994
|
*/
|
1709
|
-
|
1710
|
-
return this.pathTemplates.
|
1995
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1996
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
1711
1997
|
}
|
1712
1998
|
/**
|
1713
|
-
* Parse the engine from
|
1999
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
1714
2000
|
*
|
1715
|
-
* @param {string}
|
1716
|
-
* A fully-qualified path representing
|
2001
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2002
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1717
2003
|
* @returns {string} A string representing the engine.
|
1718
2004
|
*/
|
1719
|
-
|
1720
|
-
return this.pathTemplates.
|
2005
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2006
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
1721
2007
|
}
|
1722
2008
|
/**
|
1723
|
-
* Parse the session from
|
2009
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
1724
2010
|
*
|
1725
|
-
* @param {string}
|
1726
|
-
* A fully-qualified path representing
|
2011
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2012
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1727
2013
|
* @returns {string} A string representing the session.
|
1728
2014
|
*/
|
1729
|
-
|
1730
|
-
return this.pathTemplates.
|
2015
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2016
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
1731
2017
|
}
|
1732
2018
|
/**
|
1733
|
-
*
|
2019
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2020
|
+
*
|
2021
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2022
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2023
|
+
* @returns {string} A string representing the answer.
|
2024
|
+
*/
|
2025
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2026
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2027
|
+
}
|
2028
|
+
/**
|
2029
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
1734
2030
|
*
|
1735
2031
|
* @param {string} project
|
1736
2032
|
* @param {string} location
|
1737
2033
|
* @param {string} collection
|
1738
2034
|
* @param {string} engine
|
1739
2035
|
* @param {string} session
|
1740
|
-
* @param {string} answer
|
1741
2036
|
* @returns {string} Resource name string.
|
1742
2037
|
*/
|
1743
|
-
|
1744
|
-
return this.pathTemplates.
|
2038
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
2039
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
1745
2040
|
project: project,
|
1746
2041
|
location: location,
|
1747
2042
|
collection: collection,
|
1748
2043
|
engine: engine,
|
1749
2044
|
session: session,
|
1750
|
-
answer: answer,
|
1751
2045
|
});
|
1752
2046
|
}
|
1753
2047
|
/**
|
1754
|
-
* Parse the project from
|
2048
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
1755
2049
|
*
|
1756
|
-
* @param {string}
|
1757
|
-
* A fully-qualified path representing
|
2050
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2051
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1758
2052
|
* @returns {string} A string representing the project.
|
1759
2053
|
*/
|
1760
|
-
|
1761
|
-
return this.pathTemplates.
|
2054
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2055
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
1762
2056
|
}
|
1763
2057
|
/**
|
1764
|
-
* Parse the location from
|
2058
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
1765
2059
|
*
|
1766
|
-
* @param {string}
|
1767
|
-
* A fully-qualified path representing
|
2060
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2061
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1768
2062
|
* @returns {string} A string representing the location.
|
1769
2063
|
*/
|
1770
|
-
|
1771
|
-
return this.pathTemplates.
|
2064
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2065
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
1772
2066
|
}
|
1773
2067
|
/**
|
1774
|
-
* Parse the collection from
|
2068
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
1775
2069
|
*
|
1776
|
-
* @param {string}
|
1777
|
-
* A fully-qualified path representing
|
2070
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2071
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1778
2072
|
* @returns {string} A string representing the collection.
|
1779
2073
|
*/
|
1780
|
-
|
1781
|
-
return this.pathTemplates.
|
2074
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2075
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
1782
2076
|
}
|
1783
2077
|
/**
|
1784
|
-
* Parse the engine from
|
2078
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
1785
2079
|
*
|
1786
|
-
* @param {string}
|
1787
|
-
* A fully-qualified path representing
|
2080
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2081
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1788
2082
|
* @returns {string} A string representing the engine.
|
1789
2083
|
*/
|
1790
|
-
|
1791
|
-
return this.pathTemplates.
|
2084
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2085
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
1792
2086
|
}
|
1793
2087
|
/**
|
1794
|
-
* Parse the session from
|
2088
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
1795
2089
|
*
|
1796
|
-
* @param {string}
|
1797
|
-
* A fully-qualified path representing
|
2090
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2091
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1798
2092
|
* @returns {string} A string representing the session.
|
1799
2093
|
*/
|
1800
|
-
|
1801
|
-
return this.pathTemplates.
|
1802
|
-
}
|
1803
|
-
/**
|
1804
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
1805
|
-
*
|
1806
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1807
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1808
|
-
* @returns {string} A string representing the answer.
|
1809
|
-
*/
|
1810
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1811
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2094
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2095
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
1812
2096
|
}
|
1813
2097
|
/**
|
1814
2098
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -2335,63 +2619,6 @@ class RankServiceClient {
|
|
2335
2619
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
2336
2620
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
2337
2621
|
}
|
2338
|
-
/**
|
2339
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
2340
|
-
*
|
2341
|
-
* @param {string} project
|
2342
|
-
* @param {string} location
|
2343
|
-
* @param {string} data_store
|
2344
|
-
* @param {string} session
|
2345
|
-
* @returns {string} Resource name string.
|
2346
|
-
*/
|
2347
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
2348
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
2349
|
-
project: project,
|
2350
|
-
location: location,
|
2351
|
-
data_store: dataStore,
|
2352
|
-
session: session,
|
2353
|
-
});
|
2354
|
-
}
|
2355
|
-
/**
|
2356
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
2357
|
-
*
|
2358
|
-
* @param {string} projectLocationDataStoreSessionName
|
2359
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2360
|
-
* @returns {string} A string representing the project.
|
2361
|
-
*/
|
2362
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2363
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
2364
|
-
}
|
2365
|
-
/**
|
2366
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
2367
|
-
*
|
2368
|
-
* @param {string} projectLocationDataStoreSessionName
|
2369
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2370
|
-
* @returns {string} A string representing the location.
|
2371
|
-
*/
|
2372
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2373
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
2374
|
-
}
|
2375
|
-
/**
|
2376
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
2377
|
-
*
|
2378
|
-
* @param {string} projectLocationDataStoreSessionName
|
2379
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2380
|
-
* @returns {string} A string representing the data_store.
|
2381
|
-
*/
|
2382
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2383
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
2384
|
-
}
|
2385
|
-
/**
|
2386
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
2387
|
-
*
|
2388
|
-
* @param {string} projectLocationDataStoreSessionName
|
2389
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2390
|
-
* @returns {string} A string representing the session.
|
2391
|
-
*/
|
2392
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2393
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
2394
|
-
}
|
2395
2622
|
/**
|
2396
2623
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
2397
2624
|
*
|
@@ -2461,6 +2688,63 @@ class RankServiceClient {
|
|
2461
2688
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2462
2689
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
2463
2690
|
}
|
2691
|
+
/**
|
2692
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
2693
|
+
*
|
2694
|
+
* @param {string} project
|
2695
|
+
* @param {string} location
|
2696
|
+
* @param {string} data_store
|
2697
|
+
* @param {string} session
|
2698
|
+
* @returns {string} Resource name string.
|
2699
|
+
*/
|
2700
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
2701
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
2702
|
+
project: project,
|
2703
|
+
location: location,
|
2704
|
+
data_store: dataStore,
|
2705
|
+
session: session,
|
2706
|
+
});
|
2707
|
+
}
|
2708
|
+
/**
|
2709
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
2710
|
+
*
|
2711
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2712
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2713
|
+
* @returns {string} A string representing the project.
|
2714
|
+
*/
|
2715
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2716
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
2717
|
+
}
|
2718
|
+
/**
|
2719
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
2720
|
+
*
|
2721
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2722
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2723
|
+
* @returns {string} A string representing the location.
|
2724
|
+
*/
|
2725
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2726
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
2727
|
+
}
|
2728
|
+
/**
|
2729
|
+
* Parse the data_store from ProjectLocationDataStoreSessions resource.
|
2730
|
+
*
|
2731
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2732
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2733
|
+
* @returns {string} A string representing the data_store.
|
2734
|
+
*/
|
2735
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2736
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
2737
|
+
}
|
2738
|
+
/**
|
2739
|
+
* Parse the session from ProjectLocationDataStoreSessions resource.
|
2740
|
+
*
|
2741
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2742
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2743
|
+
* @returns {string} A string representing the session.
|
2744
|
+
*/
|
2745
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2746
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
2747
|
+
}
|
2464
2748
|
/**
|
2465
2749
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
2466
2750
|
*
|