@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 UserLicenseServiceClient {
|
|
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
|
enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
|
167
169
|
identityMappingStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}'),
|
168
170
|
projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
|
@@ -177,16 +179,16 @@ class UserLicenseServiceClient {
|
|
177
179
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
178
180
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
179
181
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
180
|
-
projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
181
182
|
projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
183
|
+
projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
182
184
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
183
185
|
projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
184
186
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
185
187
|
projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
|
186
188
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
187
189
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
188
|
-
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
189
190
|
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
191
|
+
projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
190
192
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
191
193
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
192
194
|
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
@@ -196,8 +198,8 @@ class UserLicenseServiceClient {
|
|
196
198
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
197
199
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
198
200
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
199
|
-
projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
200
201
|
projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
202
|
+
projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
201
203
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
202
204
|
projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
203
205
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
@@ -780,6 +782,156 @@ class UserLicenseServiceClient {
|
|
780
782
|
// --------------------
|
781
783
|
// -- Path templates --
|
782
784
|
// --------------------
|
785
|
+
/**
|
786
|
+
* Return a fully-qualified assistAnswer resource name string.
|
787
|
+
*
|
788
|
+
* @param {string} project
|
789
|
+
* @param {string} location
|
790
|
+
* @param {string} collection
|
791
|
+
* @param {string} engine
|
792
|
+
* @param {string} session
|
793
|
+
* @param {string} assist_answer
|
794
|
+
* @returns {string} Resource name string.
|
795
|
+
*/
|
796
|
+
assistAnswerPath(project, location, collection, engine, session, assistAnswer) {
|
797
|
+
return this.pathTemplates.assistAnswerPathTemplate.render({
|
798
|
+
project: project,
|
799
|
+
location: location,
|
800
|
+
collection: collection,
|
801
|
+
engine: engine,
|
802
|
+
session: session,
|
803
|
+
assist_answer: assistAnswer,
|
804
|
+
});
|
805
|
+
}
|
806
|
+
/**
|
807
|
+
* Parse the project from AssistAnswer resource.
|
808
|
+
*
|
809
|
+
* @param {string} assistAnswerName
|
810
|
+
* A fully-qualified path representing AssistAnswer resource.
|
811
|
+
* @returns {string} A string representing the project.
|
812
|
+
*/
|
813
|
+
matchProjectFromAssistAnswerName(assistAnswerName) {
|
814
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).project;
|
815
|
+
}
|
816
|
+
/**
|
817
|
+
* Parse the location from AssistAnswer resource.
|
818
|
+
*
|
819
|
+
* @param {string} assistAnswerName
|
820
|
+
* A fully-qualified path representing AssistAnswer resource.
|
821
|
+
* @returns {string} A string representing the location.
|
822
|
+
*/
|
823
|
+
matchLocationFromAssistAnswerName(assistAnswerName) {
|
824
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).location;
|
825
|
+
}
|
826
|
+
/**
|
827
|
+
* Parse the collection from AssistAnswer resource.
|
828
|
+
*
|
829
|
+
* @param {string} assistAnswerName
|
830
|
+
* A fully-qualified path representing AssistAnswer resource.
|
831
|
+
* @returns {string} A string representing the collection.
|
832
|
+
*/
|
833
|
+
matchCollectionFromAssistAnswerName(assistAnswerName) {
|
834
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).collection;
|
835
|
+
}
|
836
|
+
/**
|
837
|
+
* Parse the engine from AssistAnswer resource.
|
838
|
+
*
|
839
|
+
* @param {string} assistAnswerName
|
840
|
+
* A fully-qualified path representing AssistAnswer resource.
|
841
|
+
* @returns {string} A string representing the engine.
|
842
|
+
*/
|
843
|
+
matchEngineFromAssistAnswerName(assistAnswerName) {
|
844
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).engine;
|
845
|
+
}
|
846
|
+
/**
|
847
|
+
* Parse the session from AssistAnswer resource.
|
848
|
+
*
|
849
|
+
* @param {string} assistAnswerName
|
850
|
+
* A fully-qualified path representing AssistAnswer resource.
|
851
|
+
* @returns {string} A string representing the session.
|
852
|
+
*/
|
853
|
+
matchSessionFromAssistAnswerName(assistAnswerName) {
|
854
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).session;
|
855
|
+
}
|
856
|
+
/**
|
857
|
+
* Parse the assist_answer from AssistAnswer resource.
|
858
|
+
*
|
859
|
+
* @param {string} assistAnswerName
|
860
|
+
* A fully-qualified path representing AssistAnswer resource.
|
861
|
+
* @returns {string} A string representing the assist_answer.
|
862
|
+
*/
|
863
|
+
matchAssistAnswerFromAssistAnswerName(assistAnswerName) {
|
864
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).assist_answer;
|
865
|
+
}
|
866
|
+
/**
|
867
|
+
* Return a fully-qualified assistant resource name string.
|
868
|
+
*
|
869
|
+
* @param {string} project
|
870
|
+
* @param {string} location
|
871
|
+
* @param {string} collection
|
872
|
+
* @param {string} engine
|
873
|
+
* @param {string} assistant
|
874
|
+
* @returns {string} Resource name string.
|
875
|
+
*/
|
876
|
+
assistantPath(project, location, collection, engine, assistant) {
|
877
|
+
return this.pathTemplates.assistantPathTemplate.render({
|
878
|
+
project: project,
|
879
|
+
location: location,
|
880
|
+
collection: collection,
|
881
|
+
engine: engine,
|
882
|
+
assistant: assistant,
|
883
|
+
});
|
884
|
+
}
|
885
|
+
/**
|
886
|
+
* Parse the project from Assistant resource.
|
887
|
+
*
|
888
|
+
* @param {string} assistantName
|
889
|
+
* A fully-qualified path representing Assistant resource.
|
890
|
+
* @returns {string} A string representing the project.
|
891
|
+
*/
|
892
|
+
matchProjectFromAssistantName(assistantName) {
|
893
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).project;
|
894
|
+
}
|
895
|
+
/**
|
896
|
+
* Parse the location from Assistant resource.
|
897
|
+
*
|
898
|
+
* @param {string} assistantName
|
899
|
+
* A fully-qualified path representing Assistant resource.
|
900
|
+
* @returns {string} A string representing the location.
|
901
|
+
*/
|
902
|
+
matchLocationFromAssistantName(assistantName) {
|
903
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).location;
|
904
|
+
}
|
905
|
+
/**
|
906
|
+
* Parse the collection from Assistant resource.
|
907
|
+
*
|
908
|
+
* @param {string} assistantName
|
909
|
+
* A fully-qualified path representing Assistant resource.
|
910
|
+
* @returns {string} A string representing the collection.
|
911
|
+
*/
|
912
|
+
matchCollectionFromAssistantName(assistantName) {
|
913
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).collection;
|
914
|
+
}
|
915
|
+
/**
|
916
|
+
* Parse the engine from Assistant resource.
|
917
|
+
*
|
918
|
+
* @param {string} assistantName
|
919
|
+
* A fully-qualified path representing Assistant resource.
|
920
|
+
* @returns {string} A string representing the engine.
|
921
|
+
*/
|
922
|
+
matchEngineFromAssistantName(assistantName) {
|
923
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).engine;
|
924
|
+
}
|
925
|
+
/**
|
926
|
+
* Parse the assistant from Assistant resource.
|
927
|
+
*
|
928
|
+
* @param {string} assistantName
|
929
|
+
* A fully-qualified path representing Assistant resource.
|
930
|
+
* @returns {string} A string representing the assistant.
|
931
|
+
*/
|
932
|
+
matchAssistantFromAssistantName(assistantName) {
|
933
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).assistant;
|
934
|
+
}
|
783
935
|
/**
|
784
936
|
* Return a fully-qualified engine resource name string.
|
785
937
|
*
|
@@ -1615,154 +1767,154 @@ class UserLicenseServiceClient {
|
|
1615
1767
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1616
1768
|
}
|
1617
1769
|
/**
|
1618
|
-
* Return a fully-qualified
|
1770
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1619
1771
|
*
|
1620
1772
|
* @param {string} project
|
1621
1773
|
* @param {string} location
|
1622
1774
|
* @param {string} collection
|
1623
1775
|
* @param {string} data_store
|
1624
1776
|
* @param {string} session
|
1777
|
+
* @param {string} answer
|
1625
1778
|
* @returns {string} Resource name string.
|
1626
1779
|
*/
|
1627
|
-
|
1628
|
-
return this.pathTemplates.
|
1780
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1781
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1629
1782
|
project: project,
|
1630
1783
|
location: location,
|
1631
1784
|
collection: collection,
|
1632
1785
|
data_store: dataStore,
|
1633
1786
|
session: session,
|
1787
|
+
answer: answer,
|
1634
1788
|
});
|
1635
1789
|
}
|
1636
1790
|
/**
|
1637
|
-
* Parse the project from
|
1791
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1638
1792
|
*
|
1639
|
-
* @param {string}
|
1640
|
-
* A fully-qualified path representing
|
1793
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1794
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1641
1795
|
* @returns {string} A string representing the project.
|
1642
1796
|
*/
|
1643
|
-
|
1644
|
-
return this.pathTemplates.
|
1797
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1798
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1645
1799
|
}
|
1646
1800
|
/**
|
1647
|
-
* Parse the location from
|
1801
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1648
1802
|
*
|
1649
|
-
* @param {string}
|
1650
|
-
* A fully-qualified path representing
|
1803
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1804
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1651
1805
|
* @returns {string} A string representing the location.
|
1652
1806
|
*/
|
1653
|
-
|
1654
|
-
return this.pathTemplates.
|
1807
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1808
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1655
1809
|
}
|
1656
1810
|
/**
|
1657
|
-
* Parse the collection from
|
1811
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1658
1812
|
*
|
1659
|
-
* @param {string}
|
1660
|
-
* A fully-qualified path representing
|
1813
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1814
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1661
1815
|
* @returns {string} A string representing the collection.
|
1662
1816
|
*/
|
1663
|
-
|
1664
|
-
return this.pathTemplates.
|
1817
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1818
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1665
1819
|
}
|
1666
1820
|
/**
|
1667
|
-
* Parse the data_store from
|
1821
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1668
1822
|
*
|
1669
|
-
* @param {string}
|
1670
|
-
* A fully-qualified path representing
|
1823
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1824
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1671
1825
|
* @returns {string} A string representing the data_store.
|
1672
1826
|
*/
|
1673
|
-
|
1674
|
-
return this.pathTemplates.
|
1827
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1828
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1675
1829
|
}
|
1676
1830
|
/**
|
1677
|
-
* Parse the session from
|
1831
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1678
1832
|
*
|
1679
|
-
* @param {string}
|
1680
|
-
* A fully-qualified path representing
|
1833
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1834
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1681
1835
|
* @returns {string} A string representing the session.
|
1682
1836
|
*/
|
1683
|
-
|
1684
|
-
return this.pathTemplates.
|
1837
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1838
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1685
1839
|
}
|
1686
1840
|
/**
|
1687
|
-
*
|
1841
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1842
|
+
*
|
1843
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1844
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1845
|
+
* @returns {string} A string representing the answer.
|
1846
|
+
*/
|
1847
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1848
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1849
|
+
}
|
1850
|
+
/**
|
1851
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
1688
1852
|
*
|
1689
1853
|
* @param {string} project
|
1690
1854
|
* @param {string} location
|
1691
1855
|
* @param {string} collection
|
1692
1856
|
* @param {string} data_store
|
1693
1857
|
* @param {string} session
|
1694
|
-
* @param {string} answer
|
1695
1858
|
* @returns {string} Resource name string.
|
1696
1859
|
*/
|
1697
|
-
|
1698
|
-
return this.pathTemplates.
|
1860
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
1861
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
1699
1862
|
project: project,
|
1700
1863
|
location: location,
|
1701
1864
|
collection: collection,
|
1702
1865
|
data_store: dataStore,
|
1703
1866
|
session: session,
|
1704
|
-
answer: answer,
|
1705
1867
|
});
|
1706
1868
|
}
|
1707
1869
|
/**
|
1708
|
-
* Parse the project from
|
1870
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
1709
1871
|
*
|
1710
|
-
* @param {string}
|
1711
|
-
* A fully-qualified path representing
|
1872
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1873
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1712
1874
|
* @returns {string} A string representing the project.
|
1713
1875
|
*/
|
1714
|
-
|
1715
|
-
return this.pathTemplates.
|
1876
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1877
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
1716
1878
|
}
|
1717
1879
|
/**
|
1718
|
-
* Parse the location from
|
1880
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessions resource.
|
1719
1881
|
*
|
1720
|
-
* @param {string}
|
1721
|
-
* A fully-qualified path representing
|
1882
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1883
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1722
1884
|
* @returns {string} A string representing the location.
|
1723
1885
|
*/
|
1724
|
-
|
1725
|
-
return this.pathTemplates.
|
1886
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1887
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
1726
1888
|
}
|
1727
1889
|
/**
|
1728
|
-
* Parse the collection from
|
1890
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
|
1729
1891
|
*
|
1730
|
-
* @param {string}
|
1731
|
-
* A fully-qualified path representing
|
1892
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1893
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1732
1894
|
* @returns {string} A string representing the collection.
|
1733
1895
|
*/
|
1734
|
-
|
1735
|
-
return this.pathTemplates.
|
1896
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1897
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
1736
1898
|
}
|
1737
1899
|
/**
|
1738
|
-
* Parse the data_store from
|
1900
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
|
1739
1901
|
*
|
1740
|
-
* @param {string}
|
1741
|
-
* A fully-qualified path representing
|
1902
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1903
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1742
1904
|
* @returns {string} A string representing the data_store.
|
1743
1905
|
*/
|
1744
|
-
|
1745
|
-
return this.pathTemplates.
|
1906
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1907
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
1746
1908
|
}
|
1747
1909
|
/**
|
1748
|
-
* Parse the session from
|
1910
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessions resource.
|
1749
1911
|
*
|
1750
|
-
* @param {string}
|
1751
|
-
* A fully-qualified path representing
|
1912
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1913
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1752
1914
|
* @returns {string} A string representing the session.
|
1753
1915
|
*/
|
1754
|
-
|
1755
|
-
return this.pathTemplates.
|
1756
|
-
}
|
1757
|
-
/**
|
1758
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1759
|
-
*
|
1760
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1761
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1762
|
-
* @returns {string} A string representing the answer.
|
1763
|
-
*/
|
1764
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1765
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1916
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1917
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
1766
1918
|
}
|
1767
1919
|
/**
|
1768
1920
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -2167,154 +2319,154 @@ class UserLicenseServiceClient {
|
|
2167
2319
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
2168
2320
|
}
|
2169
2321
|
/**
|
2170
|
-
* Return a fully-qualified
|
2322
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
2171
2323
|
*
|
2172
2324
|
* @param {string} project
|
2173
2325
|
* @param {string} location
|
2174
2326
|
* @param {string} collection
|
2175
2327
|
* @param {string} engine
|
2176
2328
|
* @param {string} session
|
2329
|
+
* @param {string} answer
|
2177
2330
|
* @returns {string} Resource name string.
|
2178
2331
|
*/
|
2179
|
-
|
2180
|
-
return this.pathTemplates.
|
2332
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
2333
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
2181
2334
|
project: project,
|
2182
2335
|
location: location,
|
2183
2336
|
collection: collection,
|
2184
2337
|
engine: engine,
|
2185
2338
|
session: session,
|
2339
|
+
answer: answer,
|
2186
2340
|
});
|
2187
2341
|
}
|
2188
2342
|
/**
|
2189
|
-
* Parse the project from
|
2343
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
2190
2344
|
*
|
2191
|
-
* @param {string}
|
2192
|
-
* A fully-qualified path representing
|
2345
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2346
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2193
2347
|
* @returns {string} A string representing the project.
|
2194
2348
|
*/
|
2195
|
-
|
2196
|
-
return this.pathTemplates.
|
2349
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2350
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
2197
2351
|
}
|
2198
2352
|
/**
|
2199
|
-
* Parse the location from
|
2353
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
2200
2354
|
*
|
2201
|
-
* @param {string}
|
2202
|
-
* A fully-qualified path representing
|
2355
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2356
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2203
2357
|
* @returns {string} A string representing the location.
|
2204
2358
|
*/
|
2205
|
-
|
2206
|
-
return this.pathTemplates.
|
2359
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2360
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
2207
2361
|
}
|
2208
2362
|
/**
|
2209
|
-
* Parse the collection from
|
2363
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
2210
2364
|
*
|
2211
|
-
* @param {string}
|
2212
|
-
* A fully-qualified path representing
|
2365
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2366
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2213
2367
|
* @returns {string} A string representing the collection.
|
2214
2368
|
*/
|
2215
|
-
|
2216
|
-
return this.pathTemplates.
|
2369
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2370
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
2217
2371
|
}
|
2218
2372
|
/**
|
2219
|
-
* Parse the engine from
|
2373
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
2220
2374
|
*
|
2221
|
-
* @param {string}
|
2222
|
-
* A fully-qualified path representing
|
2375
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2376
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2223
2377
|
* @returns {string} A string representing the engine.
|
2224
2378
|
*/
|
2225
|
-
|
2226
|
-
return this.pathTemplates.
|
2379
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2380
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
2227
2381
|
}
|
2228
2382
|
/**
|
2229
|
-
* Parse the session from
|
2383
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
2230
2384
|
*
|
2231
|
-
* @param {string}
|
2232
|
-
* A fully-qualified path representing
|
2385
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2386
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2233
2387
|
* @returns {string} A string representing the session.
|
2234
2388
|
*/
|
2235
|
-
|
2236
|
-
return this.pathTemplates.
|
2389
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2390
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
2237
2391
|
}
|
2238
2392
|
/**
|
2239
|
-
*
|
2393
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2394
|
+
*
|
2395
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2396
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2397
|
+
* @returns {string} A string representing the answer.
|
2398
|
+
*/
|
2399
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2400
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2401
|
+
}
|
2402
|
+
/**
|
2403
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
2240
2404
|
*
|
2241
2405
|
* @param {string} project
|
2242
2406
|
* @param {string} location
|
2243
2407
|
* @param {string} collection
|
2244
2408
|
* @param {string} engine
|
2245
2409
|
* @param {string} session
|
2246
|
-
* @param {string} answer
|
2247
2410
|
* @returns {string} Resource name string.
|
2248
2411
|
*/
|
2249
|
-
|
2250
|
-
return this.pathTemplates.
|
2412
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
2413
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
2251
2414
|
project: project,
|
2252
2415
|
location: location,
|
2253
2416
|
collection: collection,
|
2254
2417
|
engine: engine,
|
2255
2418
|
session: session,
|
2256
|
-
answer: answer,
|
2257
2419
|
});
|
2258
2420
|
}
|
2259
2421
|
/**
|
2260
|
-
* Parse the project from
|
2422
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
2261
2423
|
*
|
2262
|
-
* @param {string}
|
2263
|
-
* A fully-qualified path representing
|
2424
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2425
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2264
2426
|
* @returns {string} A string representing the project.
|
2265
2427
|
*/
|
2266
|
-
|
2267
|
-
return this.pathTemplates.
|
2428
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2429
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
2268
2430
|
}
|
2269
2431
|
/**
|
2270
|
-
* Parse the location from
|
2432
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
2271
2433
|
*
|
2272
|
-
* @param {string}
|
2273
|
-
* A fully-qualified path representing
|
2434
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2435
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2274
2436
|
* @returns {string} A string representing the location.
|
2275
2437
|
*/
|
2276
|
-
|
2277
|
-
return this.pathTemplates.
|
2438
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2439
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
2278
2440
|
}
|
2279
2441
|
/**
|
2280
|
-
* Parse the collection from
|
2442
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
2281
2443
|
*
|
2282
|
-
* @param {string}
|
2283
|
-
* A fully-qualified path representing
|
2444
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2445
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2284
2446
|
* @returns {string} A string representing the collection.
|
2285
2447
|
*/
|
2286
|
-
|
2287
|
-
return this.pathTemplates.
|
2448
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2449
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
2288
2450
|
}
|
2289
2451
|
/**
|
2290
|
-
* Parse the engine from
|
2452
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
2291
2453
|
*
|
2292
|
-
* @param {string}
|
2293
|
-
* A fully-qualified path representing
|
2454
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2455
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2294
2456
|
* @returns {string} A string representing the engine.
|
2295
2457
|
*/
|
2296
|
-
|
2297
|
-
return this.pathTemplates.
|
2458
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2459
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
2298
2460
|
}
|
2299
2461
|
/**
|
2300
|
-
* Parse the session from
|
2462
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
2301
2463
|
*
|
2302
|
-
* @param {string}
|
2303
|
-
* A fully-qualified path representing
|
2464
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2465
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2304
2466
|
* @returns {string} A string representing the session.
|
2305
2467
|
*/
|
2306
|
-
|
2307
|
-
return this.pathTemplates.
|
2308
|
-
}
|
2309
|
-
/**
|
2310
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2311
|
-
*
|
2312
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2313
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2314
|
-
* @returns {string} A string representing the answer.
|
2315
|
-
*/
|
2316
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2317
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2468
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2469
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
2318
2470
|
}
|
2319
2471
|
/**
|
2320
2472
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -2841,63 +2993,6 @@ class UserLicenseServiceClient {
|
|
2841
2993
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
2842
2994
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
2843
2995
|
}
|
2844
|
-
/**
|
2845
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
2846
|
-
*
|
2847
|
-
* @param {string} project
|
2848
|
-
* @param {string} location
|
2849
|
-
* @param {string} data_store
|
2850
|
-
* @param {string} session
|
2851
|
-
* @returns {string} Resource name string.
|
2852
|
-
*/
|
2853
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
2854
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
2855
|
-
project: project,
|
2856
|
-
location: location,
|
2857
|
-
data_store: dataStore,
|
2858
|
-
session: session,
|
2859
|
-
});
|
2860
|
-
}
|
2861
|
-
/**
|
2862
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
2863
|
-
*
|
2864
|
-
* @param {string} projectLocationDataStoreSessionName
|
2865
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2866
|
-
* @returns {string} A string representing the project.
|
2867
|
-
*/
|
2868
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2869
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
2870
|
-
}
|
2871
|
-
/**
|
2872
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
2873
|
-
*
|
2874
|
-
* @param {string} projectLocationDataStoreSessionName
|
2875
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2876
|
-
* @returns {string} A string representing the location.
|
2877
|
-
*/
|
2878
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2879
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
2880
|
-
}
|
2881
|
-
/**
|
2882
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
2883
|
-
*
|
2884
|
-
* @param {string} projectLocationDataStoreSessionName
|
2885
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2886
|
-
* @returns {string} A string representing the data_store.
|
2887
|
-
*/
|
2888
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2889
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
2890
|
-
}
|
2891
|
-
/**
|
2892
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
2893
|
-
*
|
2894
|
-
* @param {string} projectLocationDataStoreSessionName
|
2895
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2896
|
-
* @returns {string} A string representing the session.
|
2897
|
-
*/
|
2898
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2899
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
2900
|
-
}
|
2901
2996
|
/**
|
2902
2997
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
2903
2998
|
*
|
@@ -2967,6 +3062,63 @@ class UserLicenseServiceClient {
|
|
2967
3062
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2968
3063
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
2969
3064
|
}
|
3065
|
+
/**
|
3066
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
3067
|
+
*
|
3068
|
+
* @param {string} project
|
3069
|
+
* @param {string} location
|
3070
|
+
* @param {string} data_store
|
3071
|
+
* @param {string} session
|
3072
|
+
* @returns {string} Resource name string.
|
3073
|
+
*/
|
3074
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
3075
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
3076
|
+
project: project,
|
3077
|
+
location: location,
|
3078
|
+
data_store: dataStore,
|
3079
|
+
session: session,
|
3080
|
+
});
|
3081
|
+
}
|
3082
|
+
/**
|
3083
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
3084
|
+
*
|
3085
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3086
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3087
|
+
* @returns {string} A string representing the project.
|
3088
|
+
*/
|
3089
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3090
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
3091
|
+
}
|
3092
|
+
/**
|
3093
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
3094
|
+
*
|
3095
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3096
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3097
|
+
* @returns {string} A string representing the location.
|
3098
|
+
*/
|
3099
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3100
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
3101
|
+
}
|
3102
|
+
/**
|
3103
|
+
* Parse the data_store from ProjectLocationDataStoreSessions resource.
|
3104
|
+
*
|
3105
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3106
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3107
|
+
* @returns {string} A string representing the data_store.
|
3108
|
+
*/
|
3109
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3110
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
3111
|
+
}
|
3112
|
+
/**
|
3113
|
+
* Parse the session from ProjectLocationDataStoreSessions resource.
|
3114
|
+
*
|
3115
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3116
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3117
|
+
* @returns {string} A string representing the session.
|
3118
|
+
*/
|
3119
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3120
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
3121
|
+
}
|
2970
3122
|
/**
|
2971
3123
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
2972
3124
|
*
|