@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
@@ -176,15 +176,15 @@ class SiteSearchEngineServiceClient {
|
|
176
176
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
177
177
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
178
178
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
179
|
-
projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
180
179
|
projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
180
|
+
projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
181
181
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
182
182
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
183
183
|
projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
|
184
184
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
185
185
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
186
|
-
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
187
186
|
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
187
|
+
projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
188
188
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
189
189
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
190
190
|
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
@@ -194,8 +194,8 @@ class SiteSearchEngineServiceClient {
|
|
194
194
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
195
195
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
196
196
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
197
|
-
projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
198
197
|
projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
198
|
+
projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
199
199
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
200
200
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
201
201
|
sampleQueryPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}'),
|
@@ -2191,154 +2191,154 @@ class SiteSearchEngineServiceClient {
|
|
2191
2191
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
2192
2192
|
}
|
2193
2193
|
/**
|
2194
|
-
* Return a fully-qualified
|
2194
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
2195
2195
|
*
|
2196
2196
|
* @param {string} project
|
2197
2197
|
* @param {string} location
|
2198
2198
|
* @param {string} collection
|
2199
2199
|
* @param {string} data_store
|
2200
2200
|
* @param {string} session
|
2201
|
+
* @param {string} answer
|
2201
2202
|
* @returns {string} Resource name string.
|
2202
2203
|
*/
|
2203
|
-
|
2204
|
-
return this.pathTemplates.
|
2204
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
2205
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
2205
2206
|
project: project,
|
2206
2207
|
location: location,
|
2207
2208
|
collection: collection,
|
2208
2209
|
data_store: dataStore,
|
2209
2210
|
session: session,
|
2211
|
+
answer: answer,
|
2210
2212
|
});
|
2211
2213
|
}
|
2212
2214
|
/**
|
2213
|
-
* Parse the project from
|
2215
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
2214
2216
|
*
|
2215
|
-
* @param {string}
|
2216
|
-
* A fully-qualified path representing
|
2217
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
2218
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
2217
2219
|
* @returns {string} A string representing the project.
|
2218
2220
|
*/
|
2219
|
-
|
2220
|
-
return this.pathTemplates.
|
2221
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2222
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
2221
2223
|
}
|
2222
2224
|
/**
|
2223
|
-
* Parse the location from
|
2225
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
2224
2226
|
*
|
2225
|
-
* @param {string}
|
2226
|
-
* A fully-qualified path representing
|
2227
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
2228
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
2227
2229
|
* @returns {string} A string representing the location.
|
2228
2230
|
*/
|
2229
|
-
|
2230
|
-
return this.pathTemplates.
|
2231
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2232
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
2231
2233
|
}
|
2232
2234
|
/**
|
2233
|
-
* Parse the collection from
|
2235
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
2234
2236
|
*
|
2235
|
-
* @param {string}
|
2236
|
-
* A fully-qualified path representing
|
2237
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
2238
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
2237
2239
|
* @returns {string} A string representing the collection.
|
2238
2240
|
*/
|
2239
|
-
|
2240
|
-
return this.pathTemplates.
|
2241
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2242
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
2241
2243
|
}
|
2242
2244
|
/**
|
2243
|
-
* Parse the data_store from
|
2245
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
2244
2246
|
*
|
2245
|
-
* @param {string}
|
2246
|
-
* A fully-qualified path representing
|
2247
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
2248
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
2247
2249
|
* @returns {string} A string representing the data_store.
|
2248
2250
|
*/
|
2249
|
-
|
2250
|
-
return this.pathTemplates.
|
2251
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2252
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
2251
2253
|
}
|
2252
2254
|
/**
|
2253
|
-
* Parse the session from
|
2255
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
2254
2256
|
*
|
2255
|
-
* @param {string}
|
2256
|
-
* A fully-qualified path representing
|
2257
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
2258
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
2257
2259
|
* @returns {string} A string representing the session.
|
2258
2260
|
*/
|
2259
|
-
|
2260
|
-
return this.pathTemplates.
|
2261
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2262
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
2261
2263
|
}
|
2262
2264
|
/**
|
2263
|
-
*
|
2265
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
2266
|
+
*
|
2267
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
2268
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
2269
|
+
* @returns {string} A string representing the answer.
|
2270
|
+
*/
|
2271
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2272
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
2273
|
+
}
|
2274
|
+
/**
|
2275
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
2264
2276
|
*
|
2265
2277
|
* @param {string} project
|
2266
2278
|
* @param {string} location
|
2267
2279
|
* @param {string} collection
|
2268
2280
|
* @param {string} data_store
|
2269
2281
|
* @param {string} session
|
2270
|
-
* @param {string} answer
|
2271
2282
|
* @returns {string} Resource name string.
|
2272
2283
|
*/
|
2273
|
-
|
2274
|
-
return this.pathTemplates.
|
2284
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
2285
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
2275
2286
|
project: project,
|
2276
2287
|
location: location,
|
2277
2288
|
collection: collection,
|
2278
2289
|
data_store: dataStore,
|
2279
2290
|
session: session,
|
2280
|
-
answer: answer,
|
2281
2291
|
});
|
2282
2292
|
}
|
2283
2293
|
/**
|
2284
|
-
* Parse the project from
|
2294
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
2285
2295
|
*
|
2286
|
-
* @param {string}
|
2287
|
-
* A fully-qualified path representing
|
2296
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2297
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
2288
2298
|
* @returns {string} A string representing the project.
|
2289
2299
|
*/
|
2290
|
-
|
2291
|
-
return this.pathTemplates.
|
2300
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2301
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
2292
2302
|
}
|
2293
2303
|
/**
|
2294
|
-
* Parse the location from
|
2304
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessions resource.
|
2295
2305
|
*
|
2296
|
-
* @param {string}
|
2297
|
-
* A fully-qualified path representing
|
2306
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2307
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
2298
2308
|
* @returns {string} A string representing the location.
|
2299
2309
|
*/
|
2300
|
-
|
2301
|
-
return this.pathTemplates.
|
2310
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2311
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
2302
2312
|
}
|
2303
2313
|
/**
|
2304
|
-
* Parse the collection from
|
2314
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
|
2305
2315
|
*
|
2306
|
-
* @param {string}
|
2307
|
-
* A fully-qualified path representing
|
2316
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2317
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
2308
2318
|
* @returns {string} A string representing the collection.
|
2309
2319
|
*/
|
2310
|
-
|
2311
|
-
return this.pathTemplates.
|
2320
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2321
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
2312
2322
|
}
|
2313
2323
|
/**
|
2314
|
-
* Parse the data_store from
|
2324
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
|
2315
2325
|
*
|
2316
|
-
* @param {string}
|
2317
|
-
* A fully-qualified path representing
|
2326
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2327
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
2318
2328
|
* @returns {string} A string representing the data_store.
|
2319
2329
|
*/
|
2320
|
-
|
2321
|
-
return this.pathTemplates.
|
2330
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2331
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
2322
2332
|
}
|
2323
2333
|
/**
|
2324
|
-
* Parse the session from
|
2334
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessions resource.
|
2325
2335
|
*
|
2326
|
-
* @param {string}
|
2327
|
-
* A fully-qualified path representing
|
2336
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2337
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
2328
2338
|
* @returns {string} A string representing the session.
|
2329
2339
|
*/
|
2330
|
-
|
2331
|
-
return this.pathTemplates.
|
2332
|
-
}
|
2333
|
-
/**
|
2334
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
2335
|
-
*
|
2336
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
2337
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
2338
|
-
* @returns {string} A string representing the answer.
|
2339
|
-
*/
|
2340
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2341
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
2340
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2341
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
2342
2342
|
}
|
2343
2343
|
/**
|
2344
2344
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -2674,154 +2674,154 @@ class SiteSearchEngineServiceClient {
|
|
2674
2674
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
2675
2675
|
}
|
2676
2676
|
/**
|
2677
|
-
* Return a fully-qualified
|
2677
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
2678
2678
|
*
|
2679
2679
|
* @param {string} project
|
2680
2680
|
* @param {string} location
|
2681
2681
|
* @param {string} collection
|
2682
2682
|
* @param {string} engine
|
2683
2683
|
* @param {string} session
|
2684
|
+
* @param {string} answer
|
2684
2685
|
* @returns {string} Resource name string.
|
2685
2686
|
*/
|
2686
|
-
|
2687
|
-
return this.pathTemplates.
|
2687
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
2688
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
2688
2689
|
project: project,
|
2689
2690
|
location: location,
|
2690
2691
|
collection: collection,
|
2691
2692
|
engine: engine,
|
2692
2693
|
session: session,
|
2694
|
+
answer: answer,
|
2693
2695
|
});
|
2694
2696
|
}
|
2695
2697
|
/**
|
2696
|
-
* Parse the project from
|
2698
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
2697
2699
|
*
|
2698
|
-
* @param {string}
|
2699
|
-
* A fully-qualified path representing
|
2700
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2701
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2700
2702
|
* @returns {string} A string representing the project.
|
2701
2703
|
*/
|
2702
|
-
|
2703
|
-
return this.pathTemplates.
|
2704
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2705
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
2704
2706
|
}
|
2705
2707
|
/**
|
2706
|
-
* Parse the location from
|
2708
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
2707
2709
|
*
|
2708
|
-
* @param {string}
|
2709
|
-
* A fully-qualified path representing
|
2710
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2711
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2710
2712
|
* @returns {string} A string representing the location.
|
2711
2713
|
*/
|
2712
|
-
|
2713
|
-
return this.pathTemplates.
|
2714
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2715
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
2714
2716
|
}
|
2715
2717
|
/**
|
2716
|
-
* Parse the collection from
|
2718
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
2717
2719
|
*
|
2718
|
-
* @param {string}
|
2719
|
-
* A fully-qualified path representing
|
2720
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2721
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2720
2722
|
* @returns {string} A string representing the collection.
|
2721
2723
|
*/
|
2722
|
-
|
2723
|
-
return this.pathTemplates.
|
2724
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2725
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
2724
2726
|
}
|
2725
2727
|
/**
|
2726
|
-
* Parse the engine from
|
2728
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
2727
2729
|
*
|
2728
|
-
* @param {string}
|
2729
|
-
* A fully-qualified path representing
|
2730
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2731
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2730
2732
|
* @returns {string} A string representing the engine.
|
2731
2733
|
*/
|
2732
|
-
|
2733
|
-
return this.pathTemplates.
|
2734
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2735
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
2734
2736
|
}
|
2735
2737
|
/**
|
2736
|
-
* Parse the session from
|
2738
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
2737
2739
|
*
|
2738
|
-
* @param {string}
|
2739
|
-
* A fully-qualified path representing
|
2740
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2741
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2740
2742
|
* @returns {string} A string representing the session.
|
2741
2743
|
*/
|
2742
|
-
|
2743
|
-
return this.pathTemplates.
|
2744
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2745
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
2744
2746
|
}
|
2745
2747
|
/**
|
2746
|
-
*
|
2748
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2749
|
+
*
|
2750
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2751
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2752
|
+
* @returns {string} A string representing the answer.
|
2753
|
+
*/
|
2754
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2755
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2756
|
+
}
|
2757
|
+
/**
|
2758
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
2747
2759
|
*
|
2748
2760
|
* @param {string} project
|
2749
2761
|
* @param {string} location
|
2750
2762
|
* @param {string} collection
|
2751
2763
|
* @param {string} engine
|
2752
2764
|
* @param {string} session
|
2753
|
-
* @param {string} answer
|
2754
2765
|
* @returns {string} Resource name string.
|
2755
2766
|
*/
|
2756
|
-
|
2757
|
-
return this.pathTemplates.
|
2767
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
2768
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
2758
2769
|
project: project,
|
2759
2770
|
location: location,
|
2760
2771
|
collection: collection,
|
2761
2772
|
engine: engine,
|
2762
2773
|
session: session,
|
2763
|
-
answer: answer,
|
2764
2774
|
});
|
2765
2775
|
}
|
2766
2776
|
/**
|
2767
|
-
* Parse the project from
|
2777
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
2768
2778
|
*
|
2769
|
-
* @param {string}
|
2770
|
-
* A fully-qualified path representing
|
2779
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2780
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2771
2781
|
* @returns {string} A string representing the project.
|
2772
2782
|
*/
|
2773
|
-
|
2774
|
-
return this.pathTemplates.
|
2783
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2784
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
2775
2785
|
}
|
2776
2786
|
/**
|
2777
|
-
* Parse the location from
|
2787
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
2778
2788
|
*
|
2779
|
-
* @param {string}
|
2780
|
-
* A fully-qualified path representing
|
2789
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2790
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2781
2791
|
* @returns {string} A string representing the location.
|
2782
2792
|
*/
|
2783
|
-
|
2784
|
-
return this.pathTemplates.
|
2793
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2794
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
2785
2795
|
}
|
2786
2796
|
/**
|
2787
|
-
* Parse the collection from
|
2797
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
2788
2798
|
*
|
2789
|
-
* @param {string}
|
2790
|
-
* A fully-qualified path representing
|
2799
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2800
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2791
2801
|
* @returns {string} A string representing the collection.
|
2792
2802
|
*/
|
2793
|
-
|
2794
|
-
return this.pathTemplates.
|
2803
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2804
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
2795
2805
|
}
|
2796
2806
|
/**
|
2797
|
-
* Parse the engine from
|
2807
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
2798
2808
|
*
|
2799
|
-
* @param {string}
|
2800
|
-
* A fully-qualified path representing
|
2809
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2810
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2801
2811
|
* @returns {string} A string representing the engine.
|
2802
2812
|
*/
|
2803
|
-
|
2804
|
-
return this.pathTemplates.
|
2813
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2814
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
2805
2815
|
}
|
2806
2816
|
/**
|
2807
|
-
* Parse the session from
|
2817
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
2808
2818
|
*
|
2809
|
-
* @param {string}
|
2810
|
-
* A fully-qualified path representing
|
2819
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2820
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2811
2821
|
* @returns {string} A string representing the session.
|
2812
2822
|
*/
|
2813
|
-
|
2814
|
-
return this.pathTemplates.
|
2815
|
-
}
|
2816
|
-
/**
|
2817
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2818
|
-
*
|
2819
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2820
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2821
|
-
* @returns {string} A string representing the answer.
|
2822
|
-
*/
|
2823
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2824
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2823
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2824
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
2825
2825
|
}
|
2826
2826
|
/**
|
2827
2827
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -3348,63 +3348,6 @@ class SiteSearchEngineServiceClient {
|
|
3348
3348
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
3349
3349
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
3350
3350
|
}
|
3351
|
-
/**
|
3352
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
3353
|
-
*
|
3354
|
-
* @param {string} project
|
3355
|
-
* @param {string} location
|
3356
|
-
* @param {string} data_store
|
3357
|
-
* @param {string} session
|
3358
|
-
* @returns {string} Resource name string.
|
3359
|
-
*/
|
3360
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
3361
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
3362
|
-
project: project,
|
3363
|
-
location: location,
|
3364
|
-
data_store: dataStore,
|
3365
|
-
session: session,
|
3366
|
-
});
|
3367
|
-
}
|
3368
|
-
/**
|
3369
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
3370
|
-
*
|
3371
|
-
* @param {string} projectLocationDataStoreSessionName
|
3372
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3373
|
-
* @returns {string} A string representing the project.
|
3374
|
-
*/
|
3375
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3376
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
3377
|
-
}
|
3378
|
-
/**
|
3379
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
3380
|
-
*
|
3381
|
-
* @param {string} projectLocationDataStoreSessionName
|
3382
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3383
|
-
* @returns {string} A string representing the location.
|
3384
|
-
*/
|
3385
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3386
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
3387
|
-
}
|
3388
|
-
/**
|
3389
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
3390
|
-
*
|
3391
|
-
* @param {string} projectLocationDataStoreSessionName
|
3392
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3393
|
-
* @returns {string} A string representing the data_store.
|
3394
|
-
*/
|
3395
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3396
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
3397
|
-
}
|
3398
|
-
/**
|
3399
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
3400
|
-
*
|
3401
|
-
* @param {string} projectLocationDataStoreSessionName
|
3402
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3403
|
-
* @returns {string} A string representing the session.
|
3404
|
-
*/
|
3405
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3406
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
3407
|
-
}
|
3408
3351
|
/**
|
3409
3352
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
3410
3353
|
*
|
@@ -3474,6 +3417,63 @@ class SiteSearchEngineServiceClient {
|
|
3474
3417
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
3475
3418
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
3476
3419
|
}
|
3420
|
+
/**
|
3421
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
3422
|
+
*
|
3423
|
+
* @param {string} project
|
3424
|
+
* @param {string} location
|
3425
|
+
* @param {string} data_store
|
3426
|
+
* @param {string} session
|
3427
|
+
* @returns {string} Resource name string.
|
3428
|
+
*/
|
3429
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
3430
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
3431
|
+
project: project,
|
3432
|
+
location: location,
|
3433
|
+
data_store: dataStore,
|
3434
|
+
session: session,
|
3435
|
+
});
|
3436
|
+
}
|
3437
|
+
/**
|
3438
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
3439
|
+
*
|
3440
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3441
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3442
|
+
* @returns {string} A string representing the project.
|
3443
|
+
*/
|
3444
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3445
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
3446
|
+
}
|
3447
|
+
/**
|
3448
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
3449
|
+
*
|
3450
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3451
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3452
|
+
* @returns {string} A string representing the location.
|
3453
|
+
*/
|
3454
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3455
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
3456
|
+
}
|
3457
|
+
/**
|
3458
|
+
* Parse the data_store from ProjectLocationDataStoreSessions resource.
|
3459
|
+
*
|
3460
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3461
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3462
|
+
* @returns {string} A string representing the data_store.
|
3463
|
+
*/
|
3464
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3465
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
3466
|
+
}
|
3467
|
+
/**
|
3468
|
+
* Parse the session from ProjectLocationDataStoreSessions resource.
|
3469
|
+
*
|
3470
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3471
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3472
|
+
* @returns {string} A string representing the session.
|
3473
|
+
*/
|
3474
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3475
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
3476
|
+
}
|
3477
3477
|
/**
|
3478
3478
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
3479
3479
|
*
|
@@ -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",
|