@google-cloud/discoveryengine 2.3.0 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -0
- package/build/protos/google/cloud/discoveryengine/v1/assist_answer.proto +251 -0
- package/build/protos/google/cloud/discoveryengine/v1/assistant.proto +44 -0
- package/build/protos/google/cloud/discoveryengine/v1/assistant_service.proto +217 -0
- package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +15 -3
- package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +8 -14
- package/build/protos/google/cloud/discoveryengine/v1/session.proto +21 -8
- package/build/protos/google/cloud/discoveryengine/v1/session_service.proto +128 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +15 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +30 -9
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +8 -14
- package/build/protos/google/cloud/discoveryengine/v1alpha/session.proto +238 -8
- package/build/protos/google/cloud/discoveryengine/v1alpha/session_service.proto +201 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +26 -5
- package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +8 -14
- package/build/protos/google/cloud/discoveryengine/v1beta/session.proto +40 -8
- package/build/protos/google/cloud/discoveryengine/v1beta/session_service.proto +128 -0
- package/build/protos/protos.d.ts +15057 -10636
- package/build/protos/protos.js +45523 -34174
- package/build/protos/protos.json +4835 -3203
- package/build/src/index.d.ts +7 -1
- package/build/src/index.js +6 -2
- package/build/src/v1/assistant_service_client.d.ts +2058 -0
- package/build/src/v1/assistant_service_client.js +2957 -0
- package/build/src/v1/assistant_service_client_config.json +43 -0
- package/build/src/v1/assistant_service_proto_list.json +48 -0
- package/build/src/v1/cmek_config_service_client.d.ts +255 -144
- package/build/src/v1/cmek_config_service_client.js +348 -196
- package/build/src/v1/cmek_config_service_proto_list.json +4 -0
- package/build/src/v1/completion_service_client.d.ts +255 -144
- package/build/src/v1/completion_service_client.js +348 -196
- package/build/src/v1/completion_service_proto_list.json +4 -0
- package/build/src/v1/control_service_client.d.ts +255 -144
- package/build/src/v1/control_service_client.js +348 -196
- package/build/src/v1/control_service_proto_list.json +4 -0
- package/build/src/v1/conversational_search_service_client.d.ts +302 -155
- package/build/src/v1/conversational_search_service_client.js +380 -204
- package/build/src/v1/conversational_search_service_proto_list.json +4 -0
- package/build/src/v1/data_store_service_client.d.ts +255 -144
- package/build/src/v1/data_store_service_client.js +348 -196
- package/build/src/v1/data_store_service_proto_list.json +4 -0
- package/build/src/v1/document_service_client.d.ts +255 -144
- package/build/src/v1/document_service_client.js +348 -196
- package/build/src/v1/document_service_proto_list.json +4 -0
- package/build/src/v1/engine_service_client.d.ts +255 -144
- package/build/src/v1/engine_service_client.js +348 -196
- package/build/src/v1/engine_service_proto_list.json +4 -0
- package/build/src/v1/gapic_metadata.json +86 -0
- package/build/src/v1/grounded_generation_service_client.d.ts +255 -144
- package/build/src/v1/grounded_generation_service_client.js +348 -196
- package/build/src/v1/grounded_generation_service_proto_list.json +4 -0
- package/build/src/v1/identity_mapping_store_service_client.d.ts +255 -144
- package/build/src/v1/identity_mapping_store_service_client.js +348 -196
- package/build/src/v1/identity_mapping_store_service_proto_list.json +4 -0
- package/build/src/v1/index.d.ts +2 -0
- package/build/src/v1/index.js +5 -1
- package/build/src/v1/project_service_client.d.ts +255 -144
- package/build/src/v1/project_service_client.js +348 -196
- package/build/src/v1/project_service_proto_list.json +4 -0
- package/build/src/v1/rank_service_client.d.ts +255 -144
- package/build/src/v1/rank_service_client.js +348 -196
- package/build/src/v1/rank_service_proto_list.json +4 -0
- package/build/src/v1/recommendation_service_client.d.ts +255 -144
- package/build/src/v1/recommendation_service_client.js +348 -196
- package/build/src/v1/recommendation_service_proto_list.json +4 -0
- package/build/src/v1/schema_service_client.d.ts +255 -144
- package/build/src/v1/schema_service_client.js +348 -196
- package/build/src/v1/schema_service_proto_list.json +4 -0
- package/build/src/v1/search_service_client.d.ts +303 -228
- package/build/src/v1/search_service_client.js +380 -252
- package/build/src/v1/search_service_proto_list.json +4 -0
- package/build/src/v1/search_tuning_service_client.d.ts +255 -144
- package/build/src/v1/search_tuning_service_client.js +348 -196
- package/build/src/v1/search_tuning_service_proto_list.json +4 -0
- package/build/src/v1/serving_config_service_client.d.ts +255 -144
- package/build/src/v1/serving_config_service_client.js +348 -196
- package/build/src/v1/serving_config_service_proto_list.json +4 -0
- package/build/src/v1/session_service_client.d.ts +2326 -0
- package/build/src/v1/session_service_client.js +3218 -0
- package/build/src/v1/session_service_client_config.json +63 -0
- package/build/src/v1/session_service_proto_list.json +48 -0
- package/build/src/v1/site_search_engine_service_client.d.ts +255 -144
- package/build/src/v1/site_search_engine_service_client.js +348 -196
- package/build/src/v1/site_search_engine_service_proto_list.json +4 -0
- package/build/src/v1/user_event_service_client.d.ts +255 -144
- package/build/src/v1/user_event_service_client.js +348 -196
- package/build/src/v1/user_event_service_proto_list.json +4 -0
- package/build/src/v1/user_license_service_client.d.ts +255 -144
- package/build/src/v1/user_license_service_client.js +348 -196
- package/build/src/v1/user_license_service_proto_list.json +4 -0
- package/build/src/v1alpha/acl_config_service_client.d.ts +144 -144
- package/build/src/v1alpha/acl_config_service_client.js +196 -196
- package/build/src/v1alpha/acl_config_service_proto_list.json +1 -0
- package/build/src/v1alpha/chunk_service_client.d.ts +144 -144
- package/build/src/v1alpha/chunk_service_client.js +196 -196
- package/build/src/v1alpha/chunk_service_proto_list.json +1 -0
- package/build/src/v1alpha/completion_service_client.d.ts +144 -144
- package/build/src/v1alpha/completion_service_client.js +196 -196
- package/build/src/v1alpha/completion_service_proto_list.json +1 -0
- package/build/src/v1alpha/control_service_client.d.ts +144 -144
- package/build/src/v1alpha/control_service_client.js +196 -196
- package/build/src/v1alpha/control_service_proto_list.json +1 -0
- package/build/src/v1alpha/conversational_search_service_client.d.ts +221 -167
- package/build/src/v1alpha/conversational_search_service_client.js +244 -210
- package/build/src/v1alpha/conversational_search_service_proto_list.json +1 -0
- package/build/src/v1alpha/data_store_service_client.d.ts +144 -144
- package/build/src/v1alpha/data_store_service_client.js +196 -196
- package/build/src/v1alpha/data_store_service_proto_list.json +1 -0
- package/build/src/v1alpha/document_service_client.d.ts +144 -144
- package/build/src/v1alpha/document_service_client.js +196 -196
- package/build/src/v1alpha/document_service_proto_list.json +1 -0
- package/build/src/v1alpha/engine_service_client.d.ts +144 -144
- package/build/src/v1alpha/engine_service_client.js +196 -196
- package/build/src/v1alpha/engine_service_proto_list.json +1 -0
- package/build/src/v1alpha/estimate_billing_service_client.d.ts +144 -144
- package/build/src/v1alpha/estimate_billing_service_client.js +196 -196
- package/build/src/v1alpha/estimate_billing_service_proto_list.json +1 -0
- package/build/src/v1alpha/evaluation_service_client.d.ts +144 -144
- package/build/src/v1alpha/evaluation_service_client.js +196 -196
- package/build/src/v1alpha/evaluation_service_proto_list.json +1 -0
- package/build/src/v1alpha/gapic_metadata.json +82 -0
- package/build/src/v1alpha/grounded_generation_service_client.d.ts +144 -144
- package/build/src/v1alpha/grounded_generation_service_client.js +196 -196
- package/build/src/v1alpha/grounded_generation_service_proto_list.json +1 -0
- package/build/src/v1alpha/index.d.ts +1 -0
- package/build/src/v1alpha/index.js +3 -1
- package/build/src/v1alpha/project_service_client.d.ts +144 -144
- package/build/src/v1alpha/project_service_client.js +196 -196
- package/build/src/v1alpha/project_service_proto_list.json +1 -0
- package/build/src/v1alpha/rank_service_client.d.ts +144 -144
- package/build/src/v1alpha/rank_service_client.js +196 -196
- package/build/src/v1alpha/rank_service_proto_list.json +1 -0
- package/build/src/v1alpha/recommendation_service_client.d.ts +144 -144
- package/build/src/v1alpha/recommendation_service_client.js +196 -196
- package/build/src/v1alpha/recommendation_service_proto_list.json +1 -0
- package/build/src/v1alpha/sample_query_service_client.d.ts +144 -144
- package/build/src/v1alpha/sample_query_service_client.js +196 -196
- package/build/src/v1alpha/sample_query_service_proto_list.json +1 -0
- package/build/src/v1alpha/sample_query_set_service_client.d.ts +144 -144
- package/build/src/v1alpha/sample_query_set_service_client.js +196 -196
- package/build/src/v1alpha/sample_query_set_service_proto_list.json +1 -0
- package/build/src/v1alpha/schema_service_client.d.ts +144 -144
- package/build/src/v1alpha/schema_service_client.js +196 -196
- package/build/src/v1alpha/schema_service_proto_list.json +1 -0
- package/build/src/v1alpha/search_service_client.d.ts +168 -186
- package/build/src/v1alpha/search_service_client.js +212 -224
- package/build/src/v1alpha/search_service_proto_list.json +1 -0
- package/build/src/v1alpha/search_tuning_service_client.d.ts +144 -144
- package/build/src/v1alpha/search_tuning_service_client.js +196 -196
- package/build/src/v1alpha/search_tuning_service_proto_list.json +1 -0
- package/build/src/v1alpha/serving_config_service_client.d.ts +144 -144
- package/build/src/v1alpha/serving_config_service_client.js +196 -196
- package/build/src/v1alpha/serving_config_service_proto_list.json +1 -0
- package/build/src/v1alpha/session_service_client.d.ts +2331 -0
- package/build/src/v1alpha/session_service_client.js +3161 -0
- package/build/src/v1alpha/session_service_client_config.json +68 -0
- package/build/src/v1alpha/session_service_proto_list.json +49 -0
- package/build/src/v1alpha/site_search_engine_service_client.d.ts +144 -144
- package/build/src/v1alpha/site_search_engine_service_client.js +196 -196
- package/build/src/v1alpha/site_search_engine_service_proto_list.json +1 -0
- package/build/src/v1alpha/user_event_service_client.d.ts +144 -144
- package/build/src/v1alpha/user_event_service_client.js +196 -196
- package/build/src/v1alpha/user_event_service_proto_list.json +1 -0
- package/build/src/v1beta/completion_service_client.d.ts +144 -144
- package/build/src/v1beta/completion_service_client.js +196 -196
- package/build/src/v1beta/completion_service_proto_list.json +1 -0
- package/build/src/v1beta/control_service_client.d.ts +144 -144
- package/build/src/v1beta/control_service_client.js +196 -196
- package/build/src/v1beta/control_service_proto_list.json +1 -0
- package/build/src/v1beta/conversational_search_service_client.d.ts +215 -161
- package/build/src/v1beta/conversational_search_service_client.js +242 -208
- package/build/src/v1beta/conversational_search_service_proto_list.json +1 -0
- package/build/src/v1beta/data_store_service_client.d.ts +144 -144
- package/build/src/v1beta/data_store_service_client.js +196 -196
- package/build/src/v1beta/data_store_service_proto_list.json +1 -0
- package/build/src/v1beta/document_service_client.d.ts +144 -144
- package/build/src/v1beta/document_service_client.js +196 -196
- package/build/src/v1beta/document_service_proto_list.json +1 -0
- package/build/src/v1beta/engine_service_client.d.ts +144 -144
- package/build/src/v1beta/engine_service_client.js +196 -196
- package/build/src/v1beta/engine_service_proto_list.json +1 -0
- package/build/src/v1beta/evaluation_service_client.d.ts +144 -144
- package/build/src/v1beta/evaluation_service_client.js +196 -196
- package/build/src/v1beta/evaluation_service_proto_list.json +1 -0
- package/build/src/v1beta/gapic_metadata.json +68 -0
- package/build/src/v1beta/grounded_generation_service_client.d.ts +144 -144
- package/build/src/v1beta/grounded_generation_service_client.js +196 -196
- package/build/src/v1beta/grounded_generation_service_proto_list.json +1 -0
- package/build/src/v1beta/index.d.ts +1 -0
- package/build/src/v1beta/index.js +3 -1
- package/build/src/v1beta/project_service_client.d.ts +144 -144
- package/build/src/v1beta/project_service_client.js +196 -196
- package/build/src/v1beta/project_service_proto_list.json +1 -0
- package/build/src/v1beta/rank_service_client.d.ts +144 -144
- package/build/src/v1beta/rank_service_client.js +196 -196
- package/build/src/v1beta/rank_service_proto_list.json +1 -0
- package/build/src/v1beta/recommendation_service_client.d.ts +144 -144
- package/build/src/v1beta/recommendation_service_client.js +196 -196
- package/build/src/v1beta/recommendation_service_proto_list.json +1 -0
- package/build/src/v1beta/sample_query_service_client.d.ts +144 -144
- package/build/src/v1beta/sample_query_service_client.js +196 -196
- package/build/src/v1beta/sample_query_service_proto_list.json +1 -0
- package/build/src/v1beta/sample_query_set_service_client.d.ts +144 -144
- package/build/src/v1beta/sample_query_set_service_client.js +196 -196
- package/build/src/v1beta/sample_query_set_service_proto_list.json +1 -0
- package/build/src/v1beta/schema_service_client.d.ts +144 -144
- package/build/src/v1beta/schema_service_client.js +196 -196
- package/build/src/v1beta/schema_service_proto_list.json +1 -0
- package/build/src/v1beta/search_service_client.d.ts +192 -228
- package/build/src/v1beta/search_service_client.js +228 -252
- package/build/src/v1beta/search_service_proto_list.json +1 -0
- package/build/src/v1beta/search_tuning_service_client.d.ts +144 -144
- package/build/src/v1beta/search_tuning_service_client.js +196 -196
- package/build/src/v1beta/search_tuning_service_proto_list.json +1 -0
- package/build/src/v1beta/serving_config_service_client.d.ts +144 -144
- package/build/src/v1beta/serving_config_service_client.js +196 -196
- package/build/src/v1beta/serving_config_service_proto_list.json +1 -0
- package/build/src/v1beta/session_service_client.d.ts +2266 -0
- package/build/src/v1beta/session_service_client.js +3136 -0
- package/build/src/v1beta/session_service_client_config.json +63 -0
- package/build/src/v1beta/session_service_proto_list.json +45 -0
- package/build/src/v1beta/site_search_engine_service_client.d.ts +144 -144
- package/build/src/v1beta/site_search_engine_service_client.js +196 -196
- package/build/src/v1beta/site_search_engine_service_proto_list.json +1 -0
- package/build/src/v1beta/user_event_service_client.d.ts +144 -144
- package/build/src/v1beta/user_event_service_client.js +196 -196
- package/build/src/v1beta/user_event_service_proto_list.json +1 -0
- package/package.json +1 -1
@@ -163,6 +163,8 @@ class CmekConfigServiceClient {
|
|
163
163
|
// identifiers to uniquely identify resources within the API.
|
164
164
|
// Create useful helper objects for these.
|
165
165
|
this.pathTemplates = {
|
166
|
+
assistAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/assistAnswers/{assist_answer}'),
|
167
|
+
assistantPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}'),
|
166
168
|
cryptoKeyVersionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}'),
|
167
169
|
cryptoKeysPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}'),
|
168
170
|
enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
|
@@ -180,16 +182,16 @@ class CmekConfigServiceClient {
|
|
180
182
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
181
183
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
182
184
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
183
|
-
projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
184
185
|
projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
186
|
+
projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
185
187
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
186
188
|
projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
187
189
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
188
190
|
projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
|
189
191
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
190
192
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
191
|
-
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
192
193
|
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
194
|
+
projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
193
195
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
194
196
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
195
197
|
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
@@ -199,8 +201,8 @@ class CmekConfigServiceClient {
|
|
199
201
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
200
202
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
201
203
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
202
|
-
projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
203
204
|
projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
205
|
+
projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
204
206
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
205
207
|
projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
206
208
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
@@ -746,6 +748,156 @@ class CmekConfigServiceClient {
|
|
746
748
|
// --------------------
|
747
749
|
// -- Path templates --
|
748
750
|
// --------------------
|
751
|
+
/**
|
752
|
+
* Return a fully-qualified assistAnswer resource name string.
|
753
|
+
*
|
754
|
+
* @param {string} project
|
755
|
+
* @param {string} location
|
756
|
+
* @param {string} collection
|
757
|
+
* @param {string} engine
|
758
|
+
* @param {string} session
|
759
|
+
* @param {string} assist_answer
|
760
|
+
* @returns {string} Resource name string.
|
761
|
+
*/
|
762
|
+
assistAnswerPath(project, location, collection, engine, session, assistAnswer) {
|
763
|
+
return this.pathTemplates.assistAnswerPathTemplate.render({
|
764
|
+
project: project,
|
765
|
+
location: location,
|
766
|
+
collection: collection,
|
767
|
+
engine: engine,
|
768
|
+
session: session,
|
769
|
+
assist_answer: assistAnswer,
|
770
|
+
});
|
771
|
+
}
|
772
|
+
/**
|
773
|
+
* Parse the project from AssistAnswer resource.
|
774
|
+
*
|
775
|
+
* @param {string} assistAnswerName
|
776
|
+
* A fully-qualified path representing AssistAnswer resource.
|
777
|
+
* @returns {string} A string representing the project.
|
778
|
+
*/
|
779
|
+
matchProjectFromAssistAnswerName(assistAnswerName) {
|
780
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).project;
|
781
|
+
}
|
782
|
+
/**
|
783
|
+
* Parse the location from AssistAnswer resource.
|
784
|
+
*
|
785
|
+
* @param {string} assistAnswerName
|
786
|
+
* A fully-qualified path representing AssistAnswer resource.
|
787
|
+
* @returns {string} A string representing the location.
|
788
|
+
*/
|
789
|
+
matchLocationFromAssistAnswerName(assistAnswerName) {
|
790
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).location;
|
791
|
+
}
|
792
|
+
/**
|
793
|
+
* Parse the collection from AssistAnswer resource.
|
794
|
+
*
|
795
|
+
* @param {string} assistAnswerName
|
796
|
+
* A fully-qualified path representing AssistAnswer resource.
|
797
|
+
* @returns {string} A string representing the collection.
|
798
|
+
*/
|
799
|
+
matchCollectionFromAssistAnswerName(assistAnswerName) {
|
800
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).collection;
|
801
|
+
}
|
802
|
+
/**
|
803
|
+
* Parse the engine from AssistAnswer resource.
|
804
|
+
*
|
805
|
+
* @param {string} assistAnswerName
|
806
|
+
* A fully-qualified path representing AssistAnswer resource.
|
807
|
+
* @returns {string} A string representing the engine.
|
808
|
+
*/
|
809
|
+
matchEngineFromAssistAnswerName(assistAnswerName) {
|
810
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).engine;
|
811
|
+
}
|
812
|
+
/**
|
813
|
+
* Parse the session from AssistAnswer resource.
|
814
|
+
*
|
815
|
+
* @param {string} assistAnswerName
|
816
|
+
* A fully-qualified path representing AssistAnswer resource.
|
817
|
+
* @returns {string} A string representing the session.
|
818
|
+
*/
|
819
|
+
matchSessionFromAssistAnswerName(assistAnswerName) {
|
820
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).session;
|
821
|
+
}
|
822
|
+
/**
|
823
|
+
* Parse the assist_answer from AssistAnswer resource.
|
824
|
+
*
|
825
|
+
* @param {string} assistAnswerName
|
826
|
+
* A fully-qualified path representing AssistAnswer resource.
|
827
|
+
* @returns {string} A string representing the assist_answer.
|
828
|
+
*/
|
829
|
+
matchAssistAnswerFromAssistAnswerName(assistAnswerName) {
|
830
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).assist_answer;
|
831
|
+
}
|
832
|
+
/**
|
833
|
+
* Return a fully-qualified assistant resource name string.
|
834
|
+
*
|
835
|
+
* @param {string} project
|
836
|
+
* @param {string} location
|
837
|
+
* @param {string} collection
|
838
|
+
* @param {string} engine
|
839
|
+
* @param {string} assistant
|
840
|
+
* @returns {string} Resource name string.
|
841
|
+
*/
|
842
|
+
assistantPath(project, location, collection, engine, assistant) {
|
843
|
+
return this.pathTemplates.assistantPathTemplate.render({
|
844
|
+
project: project,
|
845
|
+
location: location,
|
846
|
+
collection: collection,
|
847
|
+
engine: engine,
|
848
|
+
assistant: assistant,
|
849
|
+
});
|
850
|
+
}
|
851
|
+
/**
|
852
|
+
* Parse the project from Assistant resource.
|
853
|
+
*
|
854
|
+
* @param {string} assistantName
|
855
|
+
* A fully-qualified path representing Assistant resource.
|
856
|
+
* @returns {string} A string representing the project.
|
857
|
+
*/
|
858
|
+
matchProjectFromAssistantName(assistantName) {
|
859
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).project;
|
860
|
+
}
|
861
|
+
/**
|
862
|
+
* Parse the location from Assistant resource.
|
863
|
+
*
|
864
|
+
* @param {string} assistantName
|
865
|
+
* A fully-qualified path representing Assistant resource.
|
866
|
+
* @returns {string} A string representing the location.
|
867
|
+
*/
|
868
|
+
matchLocationFromAssistantName(assistantName) {
|
869
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).location;
|
870
|
+
}
|
871
|
+
/**
|
872
|
+
* Parse the collection from Assistant resource.
|
873
|
+
*
|
874
|
+
* @param {string} assistantName
|
875
|
+
* A fully-qualified path representing Assistant resource.
|
876
|
+
* @returns {string} A string representing the collection.
|
877
|
+
*/
|
878
|
+
matchCollectionFromAssistantName(assistantName) {
|
879
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).collection;
|
880
|
+
}
|
881
|
+
/**
|
882
|
+
* Parse the engine from Assistant resource.
|
883
|
+
*
|
884
|
+
* @param {string} assistantName
|
885
|
+
* A fully-qualified path representing Assistant resource.
|
886
|
+
* @returns {string} A string representing the engine.
|
887
|
+
*/
|
888
|
+
matchEngineFromAssistantName(assistantName) {
|
889
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).engine;
|
890
|
+
}
|
891
|
+
/**
|
892
|
+
* Parse the assistant from Assistant resource.
|
893
|
+
*
|
894
|
+
* @param {string} assistantName
|
895
|
+
* A fully-qualified path representing Assistant resource.
|
896
|
+
* @returns {string} A string representing the assistant.
|
897
|
+
*/
|
898
|
+
matchAssistantFromAssistantName(assistantName) {
|
899
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).assistant;
|
900
|
+
}
|
749
901
|
/**
|
750
902
|
* Return a fully-qualified cryptoKeyVersions resource name string.
|
751
903
|
*
|
@@ -1740,154 +1892,154 @@ class CmekConfigServiceClient {
|
|
1740
1892
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1741
1893
|
}
|
1742
1894
|
/**
|
1743
|
-
* Return a fully-qualified
|
1895
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1744
1896
|
*
|
1745
1897
|
* @param {string} project
|
1746
1898
|
* @param {string} location
|
1747
1899
|
* @param {string} collection
|
1748
1900
|
* @param {string} data_store
|
1749
1901
|
* @param {string} session
|
1902
|
+
* @param {string} answer
|
1750
1903
|
* @returns {string} Resource name string.
|
1751
1904
|
*/
|
1752
|
-
|
1753
|
-
return this.pathTemplates.
|
1905
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1906
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1754
1907
|
project: project,
|
1755
1908
|
location: location,
|
1756
1909
|
collection: collection,
|
1757
1910
|
data_store: dataStore,
|
1758
1911
|
session: session,
|
1912
|
+
answer: answer,
|
1759
1913
|
});
|
1760
1914
|
}
|
1761
1915
|
/**
|
1762
|
-
* Parse the project from
|
1916
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1763
1917
|
*
|
1764
|
-
* @param {string}
|
1765
|
-
* A fully-qualified path representing
|
1918
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1919
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1766
1920
|
* @returns {string} A string representing the project.
|
1767
1921
|
*/
|
1768
|
-
|
1769
|
-
return this.pathTemplates.
|
1922
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1923
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1770
1924
|
}
|
1771
1925
|
/**
|
1772
|
-
* Parse the location from
|
1926
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1773
1927
|
*
|
1774
|
-
* @param {string}
|
1775
|
-
* A fully-qualified path representing
|
1928
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1929
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1776
1930
|
* @returns {string} A string representing the location.
|
1777
1931
|
*/
|
1778
|
-
|
1779
|
-
return this.pathTemplates.
|
1932
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1933
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1780
1934
|
}
|
1781
1935
|
/**
|
1782
|
-
* Parse the collection from
|
1936
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1783
1937
|
*
|
1784
|
-
* @param {string}
|
1785
|
-
* A fully-qualified path representing
|
1938
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1939
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1786
1940
|
* @returns {string} A string representing the collection.
|
1787
1941
|
*/
|
1788
|
-
|
1789
|
-
return this.pathTemplates.
|
1942
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1943
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1790
1944
|
}
|
1791
1945
|
/**
|
1792
|
-
* Parse the data_store from
|
1946
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1793
1947
|
*
|
1794
|
-
* @param {string}
|
1795
|
-
* A fully-qualified path representing
|
1948
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1949
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1796
1950
|
* @returns {string} A string representing the data_store.
|
1797
1951
|
*/
|
1798
|
-
|
1799
|
-
return this.pathTemplates.
|
1952
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1953
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1800
1954
|
}
|
1801
1955
|
/**
|
1802
|
-
* Parse the session from
|
1956
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1803
1957
|
*
|
1804
|
-
* @param {string}
|
1805
|
-
* A fully-qualified path representing
|
1958
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1959
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1806
1960
|
* @returns {string} A string representing the session.
|
1807
1961
|
*/
|
1808
|
-
|
1809
|
-
return this.pathTemplates.
|
1962
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1963
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1810
1964
|
}
|
1811
1965
|
/**
|
1812
|
-
*
|
1966
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1967
|
+
*
|
1968
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1969
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1970
|
+
* @returns {string} A string representing the answer.
|
1971
|
+
*/
|
1972
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1973
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1974
|
+
}
|
1975
|
+
/**
|
1976
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
1813
1977
|
*
|
1814
1978
|
* @param {string} project
|
1815
1979
|
* @param {string} location
|
1816
1980
|
* @param {string} collection
|
1817
1981
|
* @param {string} data_store
|
1818
1982
|
* @param {string} session
|
1819
|
-
* @param {string} answer
|
1820
1983
|
* @returns {string} Resource name string.
|
1821
1984
|
*/
|
1822
|
-
|
1823
|
-
return this.pathTemplates.
|
1985
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
1986
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
1824
1987
|
project: project,
|
1825
1988
|
location: location,
|
1826
1989
|
collection: collection,
|
1827
1990
|
data_store: dataStore,
|
1828
1991
|
session: session,
|
1829
|
-
answer: answer,
|
1830
1992
|
});
|
1831
1993
|
}
|
1832
1994
|
/**
|
1833
|
-
* Parse the project from
|
1995
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
1834
1996
|
*
|
1835
|
-
* @param {string}
|
1836
|
-
* A fully-qualified path representing
|
1997
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1998
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1837
1999
|
* @returns {string} A string representing the project.
|
1838
2000
|
*/
|
1839
|
-
|
1840
|
-
return this.pathTemplates.
|
2001
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2002
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
1841
2003
|
}
|
1842
2004
|
/**
|
1843
|
-
* Parse the location from
|
2005
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessions resource.
|
1844
2006
|
*
|
1845
|
-
* @param {string}
|
1846
|
-
* A fully-qualified path representing
|
2007
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2008
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1847
2009
|
* @returns {string} A string representing the location.
|
1848
2010
|
*/
|
1849
|
-
|
1850
|
-
return this.pathTemplates.
|
2011
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2012
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
1851
2013
|
}
|
1852
2014
|
/**
|
1853
|
-
* Parse the collection from
|
2015
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
|
1854
2016
|
*
|
1855
|
-
* @param {string}
|
1856
|
-
* A fully-qualified path representing
|
2017
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2018
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1857
2019
|
* @returns {string} A string representing the collection.
|
1858
2020
|
*/
|
1859
|
-
|
1860
|
-
return this.pathTemplates.
|
2021
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2022
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
1861
2023
|
}
|
1862
2024
|
/**
|
1863
|
-
* Parse the data_store from
|
2025
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
|
1864
2026
|
*
|
1865
|
-
* @param {string}
|
1866
|
-
* A fully-qualified path representing
|
2027
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2028
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1867
2029
|
* @returns {string} A string representing the data_store.
|
1868
2030
|
*/
|
1869
|
-
|
1870
|
-
return this.pathTemplates.
|
2031
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2032
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
1871
2033
|
}
|
1872
2034
|
/**
|
1873
|
-
* Parse the session from
|
2035
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessions resource.
|
1874
2036
|
*
|
1875
|
-
* @param {string}
|
1876
|
-
* A fully-qualified path representing
|
2037
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2038
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1877
2039
|
* @returns {string} A string representing the session.
|
1878
2040
|
*/
|
1879
|
-
|
1880
|
-
return this.pathTemplates.
|
1881
|
-
}
|
1882
|
-
/**
|
1883
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1884
|
-
*
|
1885
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1886
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1887
|
-
* @returns {string} A string representing the answer.
|
1888
|
-
*/
|
1889
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1890
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
2041
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2042
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
1891
2043
|
}
|
1892
2044
|
/**
|
1893
2045
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -2292,154 +2444,154 @@ class CmekConfigServiceClient {
|
|
2292
2444
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
2293
2445
|
}
|
2294
2446
|
/**
|
2295
|
-
* Return a fully-qualified
|
2447
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
2296
2448
|
*
|
2297
2449
|
* @param {string} project
|
2298
2450
|
* @param {string} location
|
2299
2451
|
* @param {string} collection
|
2300
2452
|
* @param {string} engine
|
2301
2453
|
* @param {string} session
|
2454
|
+
* @param {string} answer
|
2302
2455
|
* @returns {string} Resource name string.
|
2303
2456
|
*/
|
2304
|
-
|
2305
|
-
return this.pathTemplates.
|
2457
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
2458
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
2306
2459
|
project: project,
|
2307
2460
|
location: location,
|
2308
2461
|
collection: collection,
|
2309
2462
|
engine: engine,
|
2310
2463
|
session: session,
|
2464
|
+
answer: answer,
|
2311
2465
|
});
|
2312
2466
|
}
|
2313
2467
|
/**
|
2314
|
-
* Parse the project from
|
2468
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
2315
2469
|
*
|
2316
|
-
* @param {string}
|
2317
|
-
* A fully-qualified path representing
|
2470
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2471
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2318
2472
|
* @returns {string} A string representing the project.
|
2319
2473
|
*/
|
2320
|
-
|
2321
|
-
return this.pathTemplates.
|
2474
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2475
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
2322
2476
|
}
|
2323
2477
|
/**
|
2324
|
-
* Parse the location from
|
2478
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
2325
2479
|
*
|
2326
|
-
* @param {string}
|
2327
|
-
* A fully-qualified path representing
|
2480
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2481
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2328
2482
|
* @returns {string} A string representing the location.
|
2329
2483
|
*/
|
2330
|
-
|
2331
|
-
return this.pathTemplates.
|
2484
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2485
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
2332
2486
|
}
|
2333
2487
|
/**
|
2334
|
-
* Parse the collection from
|
2488
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
2335
2489
|
*
|
2336
|
-
* @param {string}
|
2337
|
-
* A fully-qualified path representing
|
2490
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2491
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2338
2492
|
* @returns {string} A string representing the collection.
|
2339
2493
|
*/
|
2340
|
-
|
2341
|
-
return this.pathTemplates.
|
2494
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2495
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
2342
2496
|
}
|
2343
2497
|
/**
|
2344
|
-
* Parse the engine from
|
2498
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
2345
2499
|
*
|
2346
|
-
* @param {string}
|
2347
|
-
* A fully-qualified path representing
|
2500
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2501
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2348
2502
|
* @returns {string} A string representing the engine.
|
2349
2503
|
*/
|
2350
|
-
|
2351
|
-
return this.pathTemplates.
|
2504
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2505
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
2352
2506
|
}
|
2353
2507
|
/**
|
2354
|
-
* Parse the session from
|
2508
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
2355
2509
|
*
|
2356
|
-
* @param {string}
|
2357
|
-
* A fully-qualified path representing
|
2510
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2511
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2358
2512
|
* @returns {string} A string representing the session.
|
2359
2513
|
*/
|
2360
|
-
|
2361
|
-
return this.pathTemplates.
|
2514
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2515
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
2362
2516
|
}
|
2363
2517
|
/**
|
2364
|
-
*
|
2518
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2519
|
+
*
|
2520
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2521
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2522
|
+
* @returns {string} A string representing the answer.
|
2523
|
+
*/
|
2524
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2525
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2526
|
+
}
|
2527
|
+
/**
|
2528
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
2365
2529
|
*
|
2366
2530
|
* @param {string} project
|
2367
2531
|
* @param {string} location
|
2368
2532
|
* @param {string} collection
|
2369
2533
|
* @param {string} engine
|
2370
2534
|
* @param {string} session
|
2371
|
-
* @param {string} answer
|
2372
2535
|
* @returns {string} Resource name string.
|
2373
2536
|
*/
|
2374
|
-
|
2375
|
-
return this.pathTemplates.
|
2537
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
2538
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
2376
2539
|
project: project,
|
2377
2540
|
location: location,
|
2378
2541
|
collection: collection,
|
2379
2542
|
engine: engine,
|
2380
2543
|
session: session,
|
2381
|
-
answer: answer,
|
2382
2544
|
});
|
2383
2545
|
}
|
2384
2546
|
/**
|
2385
|
-
* Parse the project from
|
2547
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
2386
2548
|
*
|
2387
|
-
* @param {string}
|
2388
|
-
* A fully-qualified path representing
|
2549
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2550
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2389
2551
|
* @returns {string} A string representing the project.
|
2390
2552
|
*/
|
2391
|
-
|
2392
|
-
return this.pathTemplates.
|
2553
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2554
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
2393
2555
|
}
|
2394
2556
|
/**
|
2395
|
-
* Parse the location from
|
2557
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
2396
2558
|
*
|
2397
|
-
* @param {string}
|
2398
|
-
* A fully-qualified path representing
|
2559
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2560
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2399
2561
|
* @returns {string} A string representing the location.
|
2400
2562
|
*/
|
2401
|
-
|
2402
|
-
return this.pathTemplates.
|
2563
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2564
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
2403
2565
|
}
|
2404
2566
|
/**
|
2405
|
-
* Parse the collection from
|
2567
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
2406
2568
|
*
|
2407
|
-
* @param {string}
|
2408
|
-
* A fully-qualified path representing
|
2569
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2570
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2409
2571
|
* @returns {string} A string representing the collection.
|
2410
2572
|
*/
|
2411
|
-
|
2412
|
-
return this.pathTemplates.
|
2573
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2574
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
2413
2575
|
}
|
2414
2576
|
/**
|
2415
|
-
* Parse the engine from
|
2577
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
2416
2578
|
*
|
2417
|
-
* @param {string}
|
2418
|
-
* A fully-qualified path representing
|
2579
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2580
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2419
2581
|
* @returns {string} A string representing the engine.
|
2420
2582
|
*/
|
2421
|
-
|
2422
|
-
return this.pathTemplates.
|
2583
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2584
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
2423
2585
|
}
|
2424
2586
|
/**
|
2425
|
-
* Parse the session from
|
2587
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
2426
2588
|
*
|
2427
|
-
* @param {string}
|
2428
|
-
* A fully-qualified path representing
|
2589
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2590
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2429
2591
|
* @returns {string} A string representing the session.
|
2430
2592
|
*/
|
2431
|
-
|
2432
|
-
return this.pathTemplates.
|
2433
|
-
}
|
2434
|
-
/**
|
2435
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2436
|
-
*
|
2437
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2438
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2439
|
-
* @returns {string} A string representing the answer.
|
2440
|
-
*/
|
2441
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2442
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2593
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2594
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
2443
2595
|
}
|
2444
2596
|
/**
|
2445
2597
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -2966,63 +3118,6 @@ class CmekConfigServiceClient {
|
|
2966
3118
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
2967
3119
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
2968
3120
|
}
|
2969
|
-
/**
|
2970
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
2971
|
-
*
|
2972
|
-
* @param {string} project
|
2973
|
-
* @param {string} location
|
2974
|
-
* @param {string} data_store
|
2975
|
-
* @param {string} session
|
2976
|
-
* @returns {string} Resource name string.
|
2977
|
-
*/
|
2978
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
2979
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
2980
|
-
project: project,
|
2981
|
-
location: location,
|
2982
|
-
data_store: dataStore,
|
2983
|
-
session: session,
|
2984
|
-
});
|
2985
|
-
}
|
2986
|
-
/**
|
2987
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
2988
|
-
*
|
2989
|
-
* @param {string} projectLocationDataStoreSessionName
|
2990
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2991
|
-
* @returns {string} A string representing the project.
|
2992
|
-
*/
|
2993
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2994
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
2995
|
-
}
|
2996
|
-
/**
|
2997
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
2998
|
-
*
|
2999
|
-
* @param {string} projectLocationDataStoreSessionName
|
3000
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3001
|
-
* @returns {string} A string representing the location.
|
3002
|
-
*/
|
3003
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3004
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
3005
|
-
}
|
3006
|
-
/**
|
3007
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
3008
|
-
*
|
3009
|
-
* @param {string} projectLocationDataStoreSessionName
|
3010
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3011
|
-
* @returns {string} A string representing the data_store.
|
3012
|
-
*/
|
3013
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3014
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
3015
|
-
}
|
3016
|
-
/**
|
3017
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
3018
|
-
*
|
3019
|
-
* @param {string} projectLocationDataStoreSessionName
|
3020
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3021
|
-
* @returns {string} A string representing the session.
|
3022
|
-
*/
|
3023
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3024
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
3025
|
-
}
|
3026
3121
|
/**
|
3027
3122
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
3028
3123
|
*
|
@@ -3092,6 +3187,63 @@ class CmekConfigServiceClient {
|
|
3092
3187
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
3093
3188
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
3094
3189
|
}
|
3190
|
+
/**
|
3191
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
3192
|
+
*
|
3193
|
+
* @param {string} project
|
3194
|
+
* @param {string} location
|
3195
|
+
* @param {string} data_store
|
3196
|
+
* @param {string} session
|
3197
|
+
* @returns {string} Resource name string.
|
3198
|
+
*/
|
3199
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
3200
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
3201
|
+
project: project,
|
3202
|
+
location: location,
|
3203
|
+
data_store: dataStore,
|
3204
|
+
session: session,
|
3205
|
+
});
|
3206
|
+
}
|
3207
|
+
/**
|
3208
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
3209
|
+
*
|
3210
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3211
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3212
|
+
* @returns {string} A string representing the project.
|
3213
|
+
*/
|
3214
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3215
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
3216
|
+
}
|
3217
|
+
/**
|
3218
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
3219
|
+
*
|
3220
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3221
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3222
|
+
* @returns {string} A string representing the location.
|
3223
|
+
*/
|
3224
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3225
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
3226
|
+
}
|
3227
|
+
/**
|
3228
|
+
* Parse the data_store from ProjectLocationDataStoreSessions resource.
|
3229
|
+
*
|
3230
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3231
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3232
|
+
* @returns {string} A string representing the data_store.
|
3233
|
+
*/
|
3234
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3235
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
3236
|
+
}
|
3237
|
+
/**
|
3238
|
+
* Parse the session from ProjectLocationDataStoreSessions resource.
|
3239
|
+
*
|
3240
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3241
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3242
|
+
* @returns {string} A string representing the session.
|
3243
|
+
*/
|
3244
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3245
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
3246
|
+
}
|
3095
3247
|
/**
|
3096
3248
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
3097
3249
|
*
|