@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
@@ -179,15 +179,15 @@ class DocumentServiceClient {
|
|
179
179
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
180
180
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
181
181
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
182
|
-
projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
183
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}'),
|
184
184
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
185
185
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
186
186
|
projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
|
187
187
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
188
188
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
189
|
-
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
190
189
|
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
190
|
+
projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
191
191
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
192
192
|
projectLocationDataStoreBranchPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}'),
|
193
193
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
@@ -198,8 +198,8 @@ class DocumentServiceClient {
|
|
198
198
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
199
199
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
200
200
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
201
|
-
projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
202
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}'),
|
203
203
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
204
204
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
205
205
|
sampleQueryPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}'),
|
@@ -1904,154 +1904,154 @@ class DocumentServiceClient {
|
|
1904
1904
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1905
1905
|
}
|
1906
1906
|
/**
|
1907
|
-
* Return a fully-qualified
|
1907
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1908
1908
|
*
|
1909
1909
|
* @param {string} project
|
1910
1910
|
* @param {string} location
|
1911
1911
|
* @param {string} collection
|
1912
1912
|
* @param {string} data_store
|
1913
1913
|
* @param {string} session
|
1914
|
+
* @param {string} answer
|
1914
1915
|
* @returns {string} Resource name string.
|
1915
1916
|
*/
|
1916
|
-
|
1917
|
-
return this.pathTemplates.
|
1917
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1918
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1918
1919
|
project: project,
|
1919
1920
|
location: location,
|
1920
1921
|
collection: collection,
|
1921
1922
|
data_store: dataStore,
|
1922
1923
|
session: session,
|
1924
|
+
answer: answer,
|
1923
1925
|
});
|
1924
1926
|
}
|
1925
1927
|
/**
|
1926
|
-
* Parse the project from
|
1928
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1927
1929
|
*
|
1928
|
-
* @param {string}
|
1929
|
-
* A fully-qualified path representing
|
1930
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1931
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1930
1932
|
* @returns {string} A string representing the project.
|
1931
1933
|
*/
|
1932
|
-
|
1933
|
-
return this.pathTemplates.
|
1934
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1935
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1934
1936
|
}
|
1935
1937
|
/**
|
1936
|
-
* Parse the location from
|
1938
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1937
1939
|
*
|
1938
|
-
* @param {string}
|
1939
|
-
* A fully-qualified path representing
|
1940
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1941
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1940
1942
|
* @returns {string} A string representing the location.
|
1941
1943
|
*/
|
1942
|
-
|
1943
|
-
return this.pathTemplates.
|
1944
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1945
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1944
1946
|
}
|
1945
1947
|
/**
|
1946
|
-
* Parse the collection from
|
1948
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1947
1949
|
*
|
1948
|
-
* @param {string}
|
1949
|
-
* A fully-qualified path representing
|
1950
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1951
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1950
1952
|
* @returns {string} A string representing the collection.
|
1951
1953
|
*/
|
1952
|
-
|
1953
|
-
return this.pathTemplates.
|
1954
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1955
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1954
1956
|
}
|
1955
1957
|
/**
|
1956
|
-
* Parse the data_store from
|
1958
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1957
1959
|
*
|
1958
|
-
* @param {string}
|
1959
|
-
* A fully-qualified path representing
|
1960
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1961
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1960
1962
|
* @returns {string} A string representing the data_store.
|
1961
1963
|
*/
|
1962
|
-
|
1963
|
-
return this.pathTemplates.
|
1964
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1965
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1964
1966
|
}
|
1965
1967
|
/**
|
1966
|
-
* Parse the session from
|
1968
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1967
1969
|
*
|
1968
|
-
* @param {string}
|
1969
|
-
* A fully-qualified path representing
|
1970
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1971
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1970
1972
|
* @returns {string} A string representing the session.
|
1971
1973
|
*/
|
1972
|
-
|
1973
|
-
return this.pathTemplates.
|
1974
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1975
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1974
1976
|
}
|
1975
1977
|
/**
|
1976
|
-
*
|
1978
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1979
|
+
*
|
1980
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1981
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1982
|
+
* @returns {string} A string representing the answer.
|
1983
|
+
*/
|
1984
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1985
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1986
|
+
}
|
1987
|
+
/**
|
1988
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
1977
1989
|
*
|
1978
1990
|
* @param {string} project
|
1979
1991
|
* @param {string} location
|
1980
1992
|
* @param {string} collection
|
1981
1993
|
* @param {string} data_store
|
1982
1994
|
* @param {string} session
|
1983
|
-
* @param {string} answer
|
1984
1995
|
* @returns {string} Resource name string.
|
1985
1996
|
*/
|
1986
|
-
|
1987
|
-
return this.pathTemplates.
|
1997
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
1998
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
1988
1999
|
project: project,
|
1989
2000
|
location: location,
|
1990
2001
|
collection: collection,
|
1991
2002
|
data_store: dataStore,
|
1992
2003
|
session: session,
|
1993
|
-
answer: answer,
|
1994
2004
|
});
|
1995
2005
|
}
|
1996
2006
|
/**
|
1997
|
-
* Parse the project from
|
2007
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
1998
2008
|
*
|
1999
|
-
* @param {string}
|
2000
|
-
* A fully-qualified path representing
|
2009
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2010
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
2001
2011
|
* @returns {string} A string representing the project.
|
2002
2012
|
*/
|
2003
|
-
|
2004
|
-
return this.pathTemplates.
|
2013
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2014
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
2005
2015
|
}
|
2006
2016
|
/**
|
2007
|
-
* Parse the location from
|
2017
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessions resource.
|
2008
2018
|
*
|
2009
|
-
* @param {string}
|
2010
|
-
* A fully-qualified path representing
|
2019
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2020
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
2011
2021
|
* @returns {string} A string representing the location.
|
2012
2022
|
*/
|
2013
|
-
|
2014
|
-
return this.pathTemplates.
|
2023
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2024
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
2015
2025
|
}
|
2016
2026
|
/**
|
2017
|
-
* Parse the collection from
|
2027
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
|
2018
2028
|
*
|
2019
|
-
* @param {string}
|
2020
|
-
* A fully-qualified path representing
|
2029
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2030
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
2021
2031
|
* @returns {string} A string representing the collection.
|
2022
2032
|
*/
|
2023
|
-
|
2024
|
-
return this.pathTemplates.
|
2033
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2034
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
2025
2035
|
}
|
2026
2036
|
/**
|
2027
|
-
* Parse the data_store from
|
2037
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
|
2028
2038
|
*
|
2029
|
-
* @param {string}
|
2030
|
-
* A fully-qualified path representing
|
2039
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2040
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
2031
2041
|
* @returns {string} A string representing the data_store.
|
2032
2042
|
*/
|
2033
|
-
|
2034
|
-
return this.pathTemplates.
|
2043
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2044
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
2035
2045
|
}
|
2036
2046
|
/**
|
2037
|
-
* Parse the session from
|
2047
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessions resource.
|
2038
2048
|
*
|
2039
|
-
* @param {string}
|
2040
|
-
* A fully-qualified path representing
|
2049
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2050
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
2041
2051
|
* @returns {string} A string representing the session.
|
2042
2052
|
*/
|
2043
|
-
|
2044
|
-
return this.pathTemplates.
|
2045
|
-
}
|
2046
|
-
/**
|
2047
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
2048
|
-
*
|
2049
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
2050
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
2051
|
-
* @returns {string} A string representing the answer.
|
2052
|
-
*/
|
2053
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2054
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
2053
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2054
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
2055
2055
|
}
|
2056
2056
|
/**
|
2057
2057
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -2387,154 +2387,154 @@ class DocumentServiceClient {
|
|
2387
2387
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
2388
2388
|
}
|
2389
2389
|
/**
|
2390
|
-
* Return a fully-qualified
|
2390
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
2391
2391
|
*
|
2392
2392
|
* @param {string} project
|
2393
2393
|
* @param {string} location
|
2394
2394
|
* @param {string} collection
|
2395
2395
|
* @param {string} engine
|
2396
2396
|
* @param {string} session
|
2397
|
+
* @param {string} answer
|
2397
2398
|
* @returns {string} Resource name string.
|
2398
2399
|
*/
|
2399
|
-
|
2400
|
-
return this.pathTemplates.
|
2400
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
2401
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
2401
2402
|
project: project,
|
2402
2403
|
location: location,
|
2403
2404
|
collection: collection,
|
2404
2405
|
engine: engine,
|
2405
2406
|
session: session,
|
2407
|
+
answer: answer,
|
2406
2408
|
});
|
2407
2409
|
}
|
2408
2410
|
/**
|
2409
|
-
* Parse the project from
|
2411
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
2410
2412
|
*
|
2411
|
-
* @param {string}
|
2412
|
-
* A fully-qualified path representing
|
2413
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2414
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2413
2415
|
* @returns {string} A string representing the project.
|
2414
2416
|
*/
|
2415
|
-
|
2416
|
-
return this.pathTemplates.
|
2417
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2418
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
2417
2419
|
}
|
2418
2420
|
/**
|
2419
|
-
* Parse the location from
|
2421
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
2420
2422
|
*
|
2421
|
-
* @param {string}
|
2422
|
-
* A fully-qualified path representing
|
2423
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2424
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2423
2425
|
* @returns {string} A string representing the location.
|
2424
2426
|
*/
|
2425
|
-
|
2426
|
-
return this.pathTemplates.
|
2427
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2428
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
2427
2429
|
}
|
2428
2430
|
/**
|
2429
|
-
* Parse the collection from
|
2431
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
2430
2432
|
*
|
2431
|
-
* @param {string}
|
2432
|
-
* A fully-qualified path representing
|
2433
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2434
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2433
2435
|
* @returns {string} A string representing the collection.
|
2434
2436
|
*/
|
2435
|
-
|
2436
|
-
return this.pathTemplates.
|
2437
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2438
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
2437
2439
|
}
|
2438
2440
|
/**
|
2439
|
-
* Parse the engine from
|
2441
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
2440
2442
|
*
|
2441
|
-
* @param {string}
|
2442
|
-
* A fully-qualified path representing
|
2443
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2444
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2443
2445
|
* @returns {string} A string representing the engine.
|
2444
2446
|
*/
|
2445
|
-
|
2446
|
-
return this.pathTemplates.
|
2447
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2448
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
2447
2449
|
}
|
2448
2450
|
/**
|
2449
|
-
* Parse the session from
|
2451
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
2450
2452
|
*
|
2451
|
-
* @param {string}
|
2452
|
-
* A fully-qualified path representing
|
2453
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2454
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2453
2455
|
* @returns {string} A string representing the session.
|
2454
2456
|
*/
|
2455
|
-
|
2456
|
-
return this.pathTemplates.
|
2457
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2458
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
2457
2459
|
}
|
2458
2460
|
/**
|
2459
|
-
*
|
2461
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2462
|
+
*
|
2463
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2464
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2465
|
+
* @returns {string} A string representing the answer.
|
2466
|
+
*/
|
2467
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2468
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2469
|
+
}
|
2470
|
+
/**
|
2471
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
2460
2472
|
*
|
2461
2473
|
* @param {string} project
|
2462
2474
|
* @param {string} location
|
2463
2475
|
* @param {string} collection
|
2464
2476
|
* @param {string} engine
|
2465
2477
|
* @param {string} session
|
2466
|
-
* @param {string} answer
|
2467
2478
|
* @returns {string} Resource name string.
|
2468
2479
|
*/
|
2469
|
-
|
2470
|
-
return this.pathTemplates.
|
2480
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
2481
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
2471
2482
|
project: project,
|
2472
2483
|
location: location,
|
2473
2484
|
collection: collection,
|
2474
2485
|
engine: engine,
|
2475
2486
|
session: session,
|
2476
|
-
answer: answer,
|
2477
2487
|
});
|
2478
2488
|
}
|
2479
2489
|
/**
|
2480
|
-
* Parse the project from
|
2490
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
2481
2491
|
*
|
2482
|
-
* @param {string}
|
2483
|
-
* A fully-qualified path representing
|
2492
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2493
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2484
2494
|
* @returns {string} A string representing the project.
|
2485
2495
|
*/
|
2486
|
-
|
2487
|
-
return this.pathTemplates.
|
2496
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2497
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
2488
2498
|
}
|
2489
2499
|
/**
|
2490
|
-
* Parse the location from
|
2500
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
2491
2501
|
*
|
2492
|
-
* @param {string}
|
2493
|
-
* A fully-qualified path representing
|
2502
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2503
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2494
2504
|
* @returns {string} A string representing the location.
|
2495
2505
|
*/
|
2496
|
-
|
2497
|
-
return this.pathTemplates.
|
2506
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2507
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
2498
2508
|
}
|
2499
2509
|
/**
|
2500
|
-
* Parse the collection from
|
2510
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
2501
2511
|
*
|
2502
|
-
* @param {string}
|
2503
|
-
* A fully-qualified path representing
|
2512
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2513
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2504
2514
|
* @returns {string} A string representing the collection.
|
2505
2515
|
*/
|
2506
|
-
|
2507
|
-
return this.pathTemplates.
|
2516
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2517
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
2508
2518
|
}
|
2509
2519
|
/**
|
2510
|
-
* Parse the engine from
|
2520
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
2511
2521
|
*
|
2512
|
-
* @param {string}
|
2513
|
-
* A fully-qualified path representing
|
2522
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2523
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2514
2524
|
* @returns {string} A string representing the engine.
|
2515
2525
|
*/
|
2516
|
-
|
2517
|
-
return this.pathTemplates.
|
2526
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2527
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
2518
2528
|
}
|
2519
2529
|
/**
|
2520
|
-
* Parse the session from
|
2530
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
2521
2531
|
*
|
2522
|
-
* @param {string}
|
2523
|
-
* A fully-qualified path representing
|
2532
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2533
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2524
2534
|
* @returns {string} A string representing the session.
|
2525
2535
|
*/
|
2526
|
-
|
2527
|
-
return this.pathTemplates.
|
2528
|
-
}
|
2529
|
-
/**
|
2530
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2531
|
-
*
|
2532
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2533
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2534
|
-
* @returns {string} A string representing the answer.
|
2535
|
-
*/
|
2536
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2537
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2536
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2537
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
2538
2538
|
}
|
2539
2539
|
/**
|
2540
2540
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -3118,63 +3118,6 @@ class DocumentServiceClient {
|
|
3118
3118
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
3119
3119
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
3120
3120
|
}
|
3121
|
-
/**
|
3122
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
3123
|
-
*
|
3124
|
-
* @param {string} project
|
3125
|
-
* @param {string} location
|
3126
|
-
* @param {string} data_store
|
3127
|
-
* @param {string} session
|
3128
|
-
* @returns {string} Resource name string.
|
3129
|
-
*/
|
3130
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
3131
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
3132
|
-
project: project,
|
3133
|
-
location: location,
|
3134
|
-
data_store: dataStore,
|
3135
|
-
session: session,
|
3136
|
-
});
|
3137
|
-
}
|
3138
|
-
/**
|
3139
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
3140
|
-
*
|
3141
|
-
* @param {string} projectLocationDataStoreSessionName
|
3142
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3143
|
-
* @returns {string} A string representing the project.
|
3144
|
-
*/
|
3145
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3146
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
3147
|
-
}
|
3148
|
-
/**
|
3149
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
3150
|
-
*
|
3151
|
-
* @param {string} projectLocationDataStoreSessionName
|
3152
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3153
|
-
* @returns {string} A string representing the location.
|
3154
|
-
*/
|
3155
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3156
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
3157
|
-
}
|
3158
|
-
/**
|
3159
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
3160
|
-
*
|
3161
|
-
* @param {string} projectLocationDataStoreSessionName
|
3162
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3163
|
-
* @returns {string} A string representing the data_store.
|
3164
|
-
*/
|
3165
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3166
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
3167
|
-
}
|
3168
|
-
/**
|
3169
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
3170
|
-
*
|
3171
|
-
* @param {string} projectLocationDataStoreSessionName
|
3172
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3173
|
-
* @returns {string} A string representing the session.
|
3174
|
-
*/
|
3175
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3176
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
3177
|
-
}
|
3178
3121
|
/**
|
3179
3122
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
3180
3123
|
*
|
@@ -3244,6 +3187,63 @@ class DocumentServiceClient {
|
|
3244
3187
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
3245
3188
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
3246
3189
|
}
|
3190
|
+
/**
|
3191
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
3192
|
+
*
|
3193
|
+
* @param {string} project
|
3194
|
+
* @param {string} location
|
3195
|
+
* @param {string} data_store
|
3196
|
+
* @param {string} session
|
3197
|
+
* @returns {string} Resource name string.
|
3198
|
+
*/
|
3199
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
3200
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
3201
|
+
project: project,
|
3202
|
+
location: location,
|
3203
|
+
data_store: dataStore,
|
3204
|
+
session: session,
|
3205
|
+
});
|
3206
|
+
}
|
3207
|
+
/**
|
3208
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
3209
|
+
*
|
3210
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3211
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3212
|
+
* @returns {string} A string representing the project.
|
3213
|
+
*/
|
3214
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3215
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
3216
|
+
}
|
3217
|
+
/**
|
3218
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
3219
|
+
*
|
3220
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3221
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3222
|
+
* @returns {string} A string representing the location.
|
3223
|
+
*/
|
3224
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3225
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
3226
|
+
}
|
3227
|
+
/**
|
3228
|
+
* Parse the data_store from ProjectLocationDataStoreSessions resource.
|
3229
|
+
*
|
3230
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3231
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3232
|
+
* @returns {string} A string representing the data_store.
|
3233
|
+
*/
|
3234
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3235
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
3236
|
+
}
|
3237
|
+
/**
|
3238
|
+
* Parse the session from ProjectLocationDataStoreSessions resource.
|
3239
|
+
*
|
3240
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3241
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3242
|
+
* @returns {string} A string representing the session.
|
3243
|
+
*/
|
3244
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3245
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
3246
|
+
}
|
3247
3247
|
/**
|
3248
3248
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
3249
3249
|
*
|
@@ -41,6 +41,7 @@
|
|
41
41
|
"../../protos/google/cloud/discoveryengine/v1alpha/serving_config.proto",
|
42
42
|
"../../protos/google/cloud/discoveryengine/v1alpha/serving_config_service.proto",
|
43
43
|
"../../protos/google/cloud/discoveryengine/v1alpha/session.proto",
|
44
|
+
"../../protos/google/cloud/discoveryengine/v1alpha/session_service.proto",
|
44
45
|
"../../protos/google/cloud/discoveryengine/v1alpha/site_search_engine.proto",
|
45
46
|
"../../protos/google/cloud/discoveryengine/v1alpha/site_search_engine_service.proto",
|
46
47
|
"../../protos/google/cloud/discoveryengine/v1alpha/user_event.proto",
|