@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 CompletionServiceClient {
|
|
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 CompletionServiceClient {
|
|
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 CompletionServiceClient {
|
|
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}'),
|
@@ -809,6 +811,156 @@ class CompletionServiceClient {
|
|
809
811
|
// --------------------
|
810
812
|
// -- Path templates --
|
811
813
|
// --------------------
|
814
|
+
/**
|
815
|
+
* Return a fully-qualified assistAnswer resource name string.
|
816
|
+
*
|
817
|
+
* @param {string} project
|
818
|
+
* @param {string} location
|
819
|
+
* @param {string} collection
|
820
|
+
* @param {string} engine
|
821
|
+
* @param {string} session
|
822
|
+
* @param {string} assist_answer
|
823
|
+
* @returns {string} Resource name string.
|
824
|
+
*/
|
825
|
+
assistAnswerPath(project, location, collection, engine, session, assistAnswer) {
|
826
|
+
return this.pathTemplates.assistAnswerPathTemplate.render({
|
827
|
+
project: project,
|
828
|
+
location: location,
|
829
|
+
collection: collection,
|
830
|
+
engine: engine,
|
831
|
+
session: session,
|
832
|
+
assist_answer: assistAnswer,
|
833
|
+
});
|
834
|
+
}
|
835
|
+
/**
|
836
|
+
* Parse the project from AssistAnswer resource.
|
837
|
+
*
|
838
|
+
* @param {string} assistAnswerName
|
839
|
+
* A fully-qualified path representing AssistAnswer resource.
|
840
|
+
* @returns {string} A string representing the project.
|
841
|
+
*/
|
842
|
+
matchProjectFromAssistAnswerName(assistAnswerName) {
|
843
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).project;
|
844
|
+
}
|
845
|
+
/**
|
846
|
+
* Parse the location from AssistAnswer resource.
|
847
|
+
*
|
848
|
+
* @param {string} assistAnswerName
|
849
|
+
* A fully-qualified path representing AssistAnswer resource.
|
850
|
+
* @returns {string} A string representing the location.
|
851
|
+
*/
|
852
|
+
matchLocationFromAssistAnswerName(assistAnswerName) {
|
853
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).location;
|
854
|
+
}
|
855
|
+
/**
|
856
|
+
* Parse the collection from AssistAnswer resource.
|
857
|
+
*
|
858
|
+
* @param {string} assistAnswerName
|
859
|
+
* A fully-qualified path representing AssistAnswer resource.
|
860
|
+
* @returns {string} A string representing the collection.
|
861
|
+
*/
|
862
|
+
matchCollectionFromAssistAnswerName(assistAnswerName) {
|
863
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).collection;
|
864
|
+
}
|
865
|
+
/**
|
866
|
+
* Parse the engine from AssistAnswer resource.
|
867
|
+
*
|
868
|
+
* @param {string} assistAnswerName
|
869
|
+
* A fully-qualified path representing AssistAnswer resource.
|
870
|
+
* @returns {string} A string representing the engine.
|
871
|
+
*/
|
872
|
+
matchEngineFromAssistAnswerName(assistAnswerName) {
|
873
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).engine;
|
874
|
+
}
|
875
|
+
/**
|
876
|
+
* Parse the session from AssistAnswer resource.
|
877
|
+
*
|
878
|
+
* @param {string} assistAnswerName
|
879
|
+
* A fully-qualified path representing AssistAnswer resource.
|
880
|
+
* @returns {string} A string representing the session.
|
881
|
+
*/
|
882
|
+
matchSessionFromAssistAnswerName(assistAnswerName) {
|
883
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).session;
|
884
|
+
}
|
885
|
+
/**
|
886
|
+
* Parse the assist_answer from AssistAnswer resource.
|
887
|
+
*
|
888
|
+
* @param {string} assistAnswerName
|
889
|
+
* A fully-qualified path representing AssistAnswer resource.
|
890
|
+
* @returns {string} A string representing the assist_answer.
|
891
|
+
*/
|
892
|
+
matchAssistAnswerFromAssistAnswerName(assistAnswerName) {
|
893
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).assist_answer;
|
894
|
+
}
|
895
|
+
/**
|
896
|
+
* Return a fully-qualified assistant resource name string.
|
897
|
+
*
|
898
|
+
* @param {string} project
|
899
|
+
* @param {string} location
|
900
|
+
* @param {string} collection
|
901
|
+
* @param {string} engine
|
902
|
+
* @param {string} assistant
|
903
|
+
* @returns {string} Resource name string.
|
904
|
+
*/
|
905
|
+
assistantPath(project, location, collection, engine, assistant) {
|
906
|
+
return this.pathTemplates.assistantPathTemplate.render({
|
907
|
+
project: project,
|
908
|
+
location: location,
|
909
|
+
collection: collection,
|
910
|
+
engine: engine,
|
911
|
+
assistant: assistant,
|
912
|
+
});
|
913
|
+
}
|
914
|
+
/**
|
915
|
+
* Parse the project from Assistant resource.
|
916
|
+
*
|
917
|
+
* @param {string} assistantName
|
918
|
+
* A fully-qualified path representing Assistant resource.
|
919
|
+
* @returns {string} A string representing the project.
|
920
|
+
*/
|
921
|
+
matchProjectFromAssistantName(assistantName) {
|
922
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).project;
|
923
|
+
}
|
924
|
+
/**
|
925
|
+
* Parse the location from Assistant resource.
|
926
|
+
*
|
927
|
+
* @param {string} assistantName
|
928
|
+
* A fully-qualified path representing Assistant resource.
|
929
|
+
* @returns {string} A string representing the location.
|
930
|
+
*/
|
931
|
+
matchLocationFromAssistantName(assistantName) {
|
932
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).location;
|
933
|
+
}
|
934
|
+
/**
|
935
|
+
* Parse the collection from Assistant resource.
|
936
|
+
*
|
937
|
+
* @param {string} assistantName
|
938
|
+
* A fully-qualified path representing Assistant resource.
|
939
|
+
* @returns {string} A string representing the collection.
|
940
|
+
*/
|
941
|
+
matchCollectionFromAssistantName(assistantName) {
|
942
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).collection;
|
943
|
+
}
|
944
|
+
/**
|
945
|
+
* Parse the engine from Assistant resource.
|
946
|
+
*
|
947
|
+
* @param {string} assistantName
|
948
|
+
* A fully-qualified path representing Assistant resource.
|
949
|
+
* @returns {string} A string representing the engine.
|
950
|
+
*/
|
951
|
+
matchEngineFromAssistantName(assistantName) {
|
952
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).engine;
|
953
|
+
}
|
954
|
+
/**
|
955
|
+
* Parse the assistant from Assistant resource.
|
956
|
+
*
|
957
|
+
* @param {string} assistantName
|
958
|
+
* A fully-qualified path representing Assistant resource.
|
959
|
+
* @returns {string} A string representing the assistant.
|
960
|
+
*/
|
961
|
+
matchAssistantFromAssistantName(assistantName) {
|
962
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).assistant;
|
963
|
+
}
|
812
964
|
/**
|
813
965
|
* Return a fully-qualified engine resource name string.
|
814
966
|
*
|
@@ -1644,154 +1796,154 @@ class CompletionServiceClient {
|
|
1644
1796
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1645
1797
|
}
|
1646
1798
|
/**
|
1647
|
-
* Return a fully-qualified
|
1799
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1648
1800
|
*
|
1649
1801
|
* @param {string} project
|
1650
1802
|
* @param {string} location
|
1651
1803
|
* @param {string} collection
|
1652
1804
|
* @param {string} data_store
|
1653
1805
|
* @param {string} session
|
1806
|
+
* @param {string} answer
|
1654
1807
|
* @returns {string} Resource name string.
|
1655
1808
|
*/
|
1656
|
-
|
1657
|
-
return this.pathTemplates.
|
1809
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1810
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1658
1811
|
project: project,
|
1659
1812
|
location: location,
|
1660
1813
|
collection: collection,
|
1661
1814
|
data_store: dataStore,
|
1662
1815
|
session: session,
|
1816
|
+
answer: answer,
|
1663
1817
|
});
|
1664
1818
|
}
|
1665
1819
|
/**
|
1666
|
-
* Parse the project from
|
1820
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1667
1821
|
*
|
1668
|
-
* @param {string}
|
1669
|
-
* A fully-qualified path representing
|
1822
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1823
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1670
1824
|
* @returns {string} A string representing the project.
|
1671
1825
|
*/
|
1672
|
-
|
1673
|
-
return this.pathTemplates.
|
1826
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1827
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1674
1828
|
}
|
1675
1829
|
/**
|
1676
|
-
* Parse the location from
|
1830
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1677
1831
|
*
|
1678
|
-
* @param {string}
|
1679
|
-
* A fully-qualified path representing
|
1832
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1833
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1680
1834
|
* @returns {string} A string representing the location.
|
1681
1835
|
*/
|
1682
|
-
|
1683
|
-
return this.pathTemplates.
|
1836
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1837
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1684
1838
|
}
|
1685
1839
|
/**
|
1686
|
-
* Parse the collection from
|
1840
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1687
1841
|
*
|
1688
|
-
* @param {string}
|
1689
|
-
* A fully-qualified path representing
|
1842
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1843
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1690
1844
|
* @returns {string} A string representing the collection.
|
1691
1845
|
*/
|
1692
|
-
|
1693
|
-
return this.pathTemplates.
|
1846
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1847
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1694
1848
|
}
|
1695
1849
|
/**
|
1696
|
-
* Parse the data_store from
|
1850
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1697
1851
|
*
|
1698
|
-
* @param {string}
|
1699
|
-
* A fully-qualified path representing
|
1852
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1853
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1700
1854
|
* @returns {string} A string representing the data_store.
|
1701
1855
|
*/
|
1702
|
-
|
1703
|
-
return this.pathTemplates.
|
1856
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1857
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1704
1858
|
}
|
1705
1859
|
/**
|
1706
|
-
* Parse the session from
|
1860
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1707
1861
|
*
|
1708
|
-
* @param {string}
|
1709
|
-
* A fully-qualified path representing
|
1862
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1863
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1710
1864
|
* @returns {string} A string representing the session.
|
1711
1865
|
*/
|
1712
|
-
|
1713
|
-
return this.pathTemplates.
|
1866
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1867
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1714
1868
|
}
|
1715
1869
|
/**
|
1716
|
-
*
|
1870
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1871
|
+
*
|
1872
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1873
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1874
|
+
* @returns {string} A string representing the answer.
|
1875
|
+
*/
|
1876
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1877
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1878
|
+
}
|
1879
|
+
/**
|
1880
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
1717
1881
|
*
|
1718
1882
|
* @param {string} project
|
1719
1883
|
* @param {string} location
|
1720
1884
|
* @param {string} collection
|
1721
1885
|
* @param {string} data_store
|
1722
1886
|
* @param {string} session
|
1723
|
-
* @param {string} answer
|
1724
1887
|
* @returns {string} Resource name string.
|
1725
1888
|
*/
|
1726
|
-
|
1727
|
-
return this.pathTemplates.
|
1889
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
1890
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
1728
1891
|
project: project,
|
1729
1892
|
location: location,
|
1730
1893
|
collection: collection,
|
1731
1894
|
data_store: dataStore,
|
1732
1895
|
session: session,
|
1733
|
-
answer: answer,
|
1734
1896
|
});
|
1735
1897
|
}
|
1736
1898
|
/**
|
1737
|
-
* Parse the project from
|
1899
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
1738
1900
|
*
|
1739
|
-
* @param {string}
|
1740
|
-
* A fully-qualified path representing
|
1901
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1902
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1741
1903
|
* @returns {string} A string representing the project.
|
1742
1904
|
*/
|
1743
|
-
|
1744
|
-
return this.pathTemplates.
|
1905
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1906
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
1745
1907
|
}
|
1746
1908
|
/**
|
1747
|
-
* Parse the location from
|
1909
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessions resource.
|
1748
1910
|
*
|
1749
|
-
* @param {string}
|
1750
|
-
* A fully-qualified path representing
|
1911
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1912
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1751
1913
|
* @returns {string} A string representing the location.
|
1752
1914
|
*/
|
1753
|
-
|
1754
|
-
return this.pathTemplates.
|
1915
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1916
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
1755
1917
|
}
|
1756
1918
|
/**
|
1757
|
-
* Parse the collection from
|
1919
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
|
1758
1920
|
*
|
1759
|
-
* @param {string}
|
1760
|
-
* A fully-qualified path representing
|
1921
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1922
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1761
1923
|
* @returns {string} A string representing the collection.
|
1762
1924
|
*/
|
1763
|
-
|
1764
|
-
return this.pathTemplates.
|
1925
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1926
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
1765
1927
|
}
|
1766
1928
|
/**
|
1767
|
-
* Parse the data_store from
|
1929
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
|
1768
1930
|
*
|
1769
|
-
* @param {string}
|
1770
|
-
* A fully-qualified path representing
|
1931
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1932
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1771
1933
|
* @returns {string} A string representing the data_store.
|
1772
1934
|
*/
|
1773
|
-
|
1774
|
-
return this.pathTemplates.
|
1935
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1936
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
1775
1937
|
}
|
1776
1938
|
/**
|
1777
|
-
* Parse the session from
|
1939
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessions resource.
|
1778
1940
|
*
|
1779
|
-
* @param {string}
|
1780
|
-
* A fully-qualified path representing
|
1941
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1942
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1781
1943
|
* @returns {string} A string representing the session.
|
1782
1944
|
*/
|
1783
|
-
|
1784
|
-
return this.pathTemplates.
|
1785
|
-
}
|
1786
|
-
/**
|
1787
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1788
|
-
*
|
1789
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1790
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1791
|
-
* @returns {string} A string representing the answer.
|
1792
|
-
*/
|
1793
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1794
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1945
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1946
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
1795
1947
|
}
|
1796
1948
|
/**
|
1797
1949
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -2196,154 +2348,154 @@ class CompletionServiceClient {
|
|
2196
2348
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
2197
2349
|
}
|
2198
2350
|
/**
|
2199
|
-
* Return a fully-qualified
|
2351
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
2200
2352
|
*
|
2201
2353
|
* @param {string} project
|
2202
2354
|
* @param {string} location
|
2203
2355
|
* @param {string} collection
|
2204
2356
|
* @param {string} engine
|
2205
2357
|
* @param {string} session
|
2358
|
+
* @param {string} answer
|
2206
2359
|
* @returns {string} Resource name string.
|
2207
2360
|
*/
|
2208
|
-
|
2209
|
-
return this.pathTemplates.
|
2361
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
2362
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
2210
2363
|
project: project,
|
2211
2364
|
location: location,
|
2212
2365
|
collection: collection,
|
2213
2366
|
engine: engine,
|
2214
2367
|
session: session,
|
2368
|
+
answer: answer,
|
2215
2369
|
});
|
2216
2370
|
}
|
2217
2371
|
/**
|
2218
|
-
* Parse the project from
|
2372
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
2219
2373
|
*
|
2220
|
-
* @param {string}
|
2221
|
-
* A fully-qualified path representing
|
2374
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2375
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2222
2376
|
* @returns {string} A string representing the project.
|
2223
2377
|
*/
|
2224
|
-
|
2225
|
-
return this.pathTemplates.
|
2378
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2379
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
2226
2380
|
}
|
2227
2381
|
/**
|
2228
|
-
* Parse the location from
|
2382
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
2229
2383
|
*
|
2230
|
-
* @param {string}
|
2231
|
-
* A fully-qualified path representing
|
2384
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2385
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2232
2386
|
* @returns {string} A string representing the location.
|
2233
2387
|
*/
|
2234
|
-
|
2235
|
-
return this.pathTemplates.
|
2388
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2389
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
2236
2390
|
}
|
2237
2391
|
/**
|
2238
|
-
* Parse the collection from
|
2392
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
2239
2393
|
*
|
2240
|
-
* @param {string}
|
2241
|
-
* A fully-qualified path representing
|
2394
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2395
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2242
2396
|
* @returns {string} A string representing the collection.
|
2243
2397
|
*/
|
2244
|
-
|
2245
|
-
return this.pathTemplates.
|
2398
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2399
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
2246
2400
|
}
|
2247
2401
|
/**
|
2248
|
-
* Parse the engine from
|
2402
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
2249
2403
|
*
|
2250
|
-
* @param {string}
|
2251
|
-
* A fully-qualified path representing
|
2404
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2405
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2252
2406
|
* @returns {string} A string representing the engine.
|
2253
2407
|
*/
|
2254
|
-
|
2255
|
-
return this.pathTemplates.
|
2408
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2409
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
2256
2410
|
}
|
2257
2411
|
/**
|
2258
|
-
* Parse the session from
|
2412
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
2259
2413
|
*
|
2260
|
-
* @param {string}
|
2261
|
-
* A fully-qualified path representing
|
2414
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2415
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2262
2416
|
* @returns {string} A string representing the session.
|
2263
2417
|
*/
|
2264
|
-
|
2265
|
-
return this.pathTemplates.
|
2418
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2419
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
2266
2420
|
}
|
2267
2421
|
/**
|
2268
|
-
*
|
2422
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2423
|
+
*
|
2424
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2425
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2426
|
+
* @returns {string} A string representing the answer.
|
2427
|
+
*/
|
2428
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2429
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2430
|
+
}
|
2431
|
+
/**
|
2432
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
2269
2433
|
*
|
2270
2434
|
* @param {string} project
|
2271
2435
|
* @param {string} location
|
2272
2436
|
* @param {string} collection
|
2273
2437
|
* @param {string} engine
|
2274
2438
|
* @param {string} session
|
2275
|
-
* @param {string} answer
|
2276
2439
|
* @returns {string} Resource name string.
|
2277
2440
|
*/
|
2278
|
-
|
2279
|
-
return this.pathTemplates.
|
2441
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
2442
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
2280
2443
|
project: project,
|
2281
2444
|
location: location,
|
2282
2445
|
collection: collection,
|
2283
2446
|
engine: engine,
|
2284
2447
|
session: session,
|
2285
|
-
answer: answer,
|
2286
2448
|
});
|
2287
2449
|
}
|
2288
2450
|
/**
|
2289
|
-
* Parse the project from
|
2451
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
2290
2452
|
*
|
2291
|
-
* @param {string}
|
2292
|
-
* A fully-qualified path representing
|
2453
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2454
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2293
2455
|
* @returns {string} A string representing the project.
|
2294
2456
|
*/
|
2295
|
-
|
2296
|
-
return this.pathTemplates.
|
2457
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2458
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
2297
2459
|
}
|
2298
2460
|
/**
|
2299
|
-
* Parse the location from
|
2461
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
2300
2462
|
*
|
2301
|
-
* @param {string}
|
2302
|
-
* A fully-qualified path representing
|
2463
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2464
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2303
2465
|
* @returns {string} A string representing the location.
|
2304
2466
|
*/
|
2305
|
-
|
2306
|
-
return this.pathTemplates.
|
2467
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2468
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
2307
2469
|
}
|
2308
2470
|
/**
|
2309
|
-
* Parse the collection from
|
2471
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
2310
2472
|
*
|
2311
|
-
* @param {string}
|
2312
|
-
* A fully-qualified path representing
|
2473
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2474
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2313
2475
|
* @returns {string} A string representing the collection.
|
2314
2476
|
*/
|
2315
|
-
|
2316
|
-
return this.pathTemplates.
|
2477
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2478
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
2317
2479
|
}
|
2318
2480
|
/**
|
2319
|
-
* Parse the engine from
|
2481
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
2320
2482
|
*
|
2321
|
-
* @param {string}
|
2322
|
-
* A fully-qualified path representing
|
2483
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2484
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2323
2485
|
* @returns {string} A string representing the engine.
|
2324
2486
|
*/
|
2325
|
-
|
2326
|
-
return this.pathTemplates.
|
2487
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2488
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
2327
2489
|
}
|
2328
2490
|
/**
|
2329
|
-
* Parse the session from
|
2491
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
2330
2492
|
*
|
2331
|
-
* @param {string}
|
2332
|
-
* A fully-qualified path representing
|
2493
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2494
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2333
2495
|
* @returns {string} A string representing the session.
|
2334
2496
|
*/
|
2335
|
-
|
2336
|
-
return this.pathTemplates.
|
2337
|
-
}
|
2338
|
-
/**
|
2339
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2340
|
-
*
|
2341
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2342
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2343
|
-
* @returns {string} A string representing the answer.
|
2344
|
-
*/
|
2345
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2346
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2497
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2498
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
2347
2499
|
}
|
2348
2500
|
/**
|
2349
2501
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -2870,63 +3022,6 @@ class CompletionServiceClient {
|
|
2870
3022
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
2871
3023
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
2872
3024
|
}
|
2873
|
-
/**
|
2874
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
2875
|
-
*
|
2876
|
-
* @param {string} project
|
2877
|
-
* @param {string} location
|
2878
|
-
* @param {string} data_store
|
2879
|
-
* @param {string} session
|
2880
|
-
* @returns {string} Resource name string.
|
2881
|
-
*/
|
2882
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
2883
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
2884
|
-
project: project,
|
2885
|
-
location: location,
|
2886
|
-
data_store: dataStore,
|
2887
|
-
session: session,
|
2888
|
-
});
|
2889
|
-
}
|
2890
|
-
/**
|
2891
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
2892
|
-
*
|
2893
|
-
* @param {string} projectLocationDataStoreSessionName
|
2894
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2895
|
-
* @returns {string} A string representing the project.
|
2896
|
-
*/
|
2897
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2898
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
2899
|
-
}
|
2900
|
-
/**
|
2901
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
2902
|
-
*
|
2903
|
-
* @param {string} projectLocationDataStoreSessionName
|
2904
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2905
|
-
* @returns {string} A string representing the location.
|
2906
|
-
*/
|
2907
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2908
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
2909
|
-
}
|
2910
|
-
/**
|
2911
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
2912
|
-
*
|
2913
|
-
* @param {string} projectLocationDataStoreSessionName
|
2914
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2915
|
-
* @returns {string} A string representing the data_store.
|
2916
|
-
*/
|
2917
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2918
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
2919
|
-
}
|
2920
|
-
/**
|
2921
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
2922
|
-
*
|
2923
|
-
* @param {string} projectLocationDataStoreSessionName
|
2924
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2925
|
-
* @returns {string} A string representing the session.
|
2926
|
-
*/
|
2927
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2928
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
2929
|
-
}
|
2930
3025
|
/**
|
2931
3026
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
2932
3027
|
*
|
@@ -2996,6 +3091,63 @@ class CompletionServiceClient {
|
|
2996
3091
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2997
3092
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
2998
3093
|
}
|
3094
|
+
/**
|
3095
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
3096
|
+
*
|
3097
|
+
* @param {string} project
|
3098
|
+
* @param {string} location
|
3099
|
+
* @param {string} data_store
|
3100
|
+
* @param {string} session
|
3101
|
+
* @returns {string} Resource name string.
|
3102
|
+
*/
|
3103
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
3104
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
3105
|
+
project: project,
|
3106
|
+
location: location,
|
3107
|
+
data_store: dataStore,
|
3108
|
+
session: session,
|
3109
|
+
});
|
3110
|
+
}
|
3111
|
+
/**
|
3112
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
3113
|
+
*
|
3114
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3115
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3116
|
+
* @returns {string} A string representing the project.
|
3117
|
+
*/
|
3118
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3119
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
3120
|
+
}
|
3121
|
+
/**
|
3122
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
3123
|
+
*
|
3124
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3125
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3126
|
+
* @returns {string} A string representing the location.
|
3127
|
+
*/
|
3128
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3129
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
3130
|
+
}
|
3131
|
+
/**
|
3132
|
+
* Parse the data_store from ProjectLocationDataStoreSessions resource.
|
3133
|
+
*
|
3134
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3135
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3136
|
+
* @returns {string} A string representing the data_store.
|
3137
|
+
*/
|
3138
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3139
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
3140
|
+
}
|
3141
|
+
/**
|
3142
|
+
* Parse the session from ProjectLocationDataStoreSessions resource.
|
3143
|
+
*
|
3144
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3145
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3146
|
+
* @returns {string} A string representing the session.
|
3147
|
+
*/
|
3148
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3149
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
3150
|
+
}
|
2999
3151
|
/**
|
3000
3152
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
3001
3153
|
*
|