@google-cloud/discoveryengine 1.2.0 → 1.3.1
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/CHANGELOG.md +14 -0
- package/README.md +25 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +38 -8
- package/build/protos/google/cloud/discoveryengine/v1alpha/conversation.proto +3 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +39 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/data_store.proto +98 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/data_store_service.proto +307 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/document.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/engine.proto +370 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/engine_service.proto +336 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/recommendation_service.proto +9 -3
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +123 -3
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_tuning_service.proto +147 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine.proto +164 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine_service.proto +540 -0
- package/build/protos/protos.d.ts +10923 -3222
- package/build/protos/protos.js +29891 -12914
- package/build/protos/protos.json +2367 -668
- package/build/src/index.js +1 -1
- package/build/src/v1/completion_service_client.js +1 -1
- package/build/src/v1/conversational_search_service_client.js +1 -1
- package/build/src/v1/document_service_client.js +1 -1
- package/build/src/v1/index.js +1 -1
- package/build/src/v1/schema_service_client.js +1 -1
- package/build/src/v1/search_service_client.js +1 -1
- package/build/src/v1/user_event_service_client.js +1 -1
- package/build/src/v1alpha/completion_service_client.d.ts +261 -0
- package/build/src/v1alpha/completion_service_client.js +360 -0
- package/build/src/v1alpha/conversational_search_service_client.d.ts +278 -0
- package/build/src/v1alpha/conversational_search_service_client.js +360 -0
- package/build/src/v1alpha/data_store_service_client.d.ts +1279 -0
- package/build/src/v1alpha/data_store_service_client.js +1739 -0
- package/build/src/v1alpha/data_store_service_client_config.json +46 -0
- package/build/src/v1alpha/document_service_client.d.ts +336 -0
- package/build/src/v1alpha/document_service_client.js +472 -2
- package/build/src/v1alpha/engine_service_client.d.ts +1298 -0
- package/build/src/v1alpha/engine_service_client.js +1789 -0
- package/build/src/v1alpha/engine_service_client_config.json +58 -0
- package/build/src/v1alpha/index.d.ts +3 -0
- package/build/src/v1alpha/index.js +7 -1
- package/build/src/v1alpha/recommendation_service_client.d.ts +345 -3
- package/build/src/v1alpha/recommendation_service_client.js +464 -0
- package/build/src/v1alpha/schema_service_client.d.ts +261 -0
- package/build/src/v1alpha/schema_service_client.js +368 -2
- package/build/src/v1alpha/search_service_client.d.ts +453 -9
- package/build/src/v1alpha/search_service_client.js +542 -6
- package/build/src/v1alpha/search_tuning_service_client.d.ts +968 -0
- package/build/src/v1alpha/search_tuning_service_client.js +1452 -0
- package/build/src/v1alpha/search_tuning_service_client_config.json +30 -0
- package/build/src/v1alpha/site_search_engine_service_client.d.ts +856 -1
- package/build/src/v1alpha/site_search_engine_service_client.js +993 -34
- package/build/src/v1alpha/site_search_engine_service_client_config.json +44 -0
- package/build/src/v1alpha/user_event_service_client.d.ts +261 -0
- package/build/src/v1alpha/user_event_service_client.js +368 -2
- package/build/src/v1beta/completion_service_client.js +1 -1
- package/build/src/v1beta/conversational_search_service_client.js +1 -1
- package/build/src/v1beta/document_service_client.js +1 -1
- package/build/src/v1beta/index.js +1 -1
- package/build/src/v1beta/recommendation_service_client.js +1 -1
- package/build/src/v1beta/schema_service_client.js +1 -1
- package/build/src/v1beta/search_service_client.js +1 -1
- package/build/src/v1beta/user_event_service_client.js +1 -1
- package/package.json +4 -4
|
@@ -138,17 +138,25 @@ class SearchServiceClient {
|
|
|
138
138
|
// identifiers to uniquely identify resources within the API.
|
|
139
139
|
// Create useful helper objects for these.
|
|
140
140
|
this.pathTemplates = {
|
|
141
|
+
enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
|
|
142
|
+
projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
|
|
141
143
|
projectLocationCollectionDataStoreBranchPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}'),
|
|
142
144
|
projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
|
143
145
|
projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
|
|
144
146
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
|
145
147
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
|
148
|
+
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
|
149
|
+
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
|
150
|
+
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
|
146
151
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
|
152
|
+
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
|
147
153
|
projectLocationDataStoreBranchPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}'),
|
|
148
154
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
|
149
155
|
projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
|
|
150
156
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
|
151
157
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
|
158
|
+
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
|
159
|
+
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
|
152
160
|
};
|
|
153
161
|
// Some of the methods on this service return "paged" results,
|
|
154
162
|
// (e.g. 50 results at a time, with tokens to get subsequent
|
|
@@ -275,6 +283,8 @@ class SearchServiceClient {
|
|
|
275
283
|
* The request object that will be sent.
|
|
276
284
|
* @param {string} request.servingConfig
|
|
277
285
|
* Required. The resource name of the Search serving config, such as
|
|
286
|
+
* `projects/* /locations/global/collections/default_collection/engines/* /servingConfigs/default_serving_config`,
|
|
287
|
+
* or
|
|
278
288
|
* `projects/* /locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`.
|
|
279
289
|
* This field is used to identify the serving configuration name, set
|
|
280
290
|
* of models used to make the search.
|
|
@@ -319,11 +329,35 @@ class SearchServiceClient {
|
|
|
319
329
|
* expression is case-sensitive.
|
|
320
330
|
*
|
|
321
331
|
* If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
|
|
332
|
+
*
|
|
333
|
+
* Filtering in Vertex AI Search is done by mapping the LHS filter key to a
|
|
334
|
+
* key property defined in the Vertex AI Search backend -- this mapping is
|
|
335
|
+
* defined by the customer in their schema. For example a media customer might
|
|
336
|
+
* have a field 'name' in their schema. In this case the filter would look
|
|
337
|
+
* like this: filter --> name:'ANY("king kong")'
|
|
338
|
+
*
|
|
339
|
+
* For more information about filtering including syntax and filter
|
|
340
|
+
* operators, see
|
|
341
|
+
* [Filter](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata)
|
|
342
|
+
* @param {string} request.canonicalFilter
|
|
343
|
+
* The default filter that is applied when a user performs a search without
|
|
344
|
+
* checking any filters on the search page.
|
|
345
|
+
*
|
|
346
|
+
* The filter applied to every search request when quality improvement such as
|
|
347
|
+
* query expansion is needed. In the case a query does not have a sufficient
|
|
348
|
+
* amount of results this filter will be used to determine whether or not to
|
|
349
|
+
* enable the query expansion flow. The original filter will still be used for
|
|
350
|
+
* the query expanded search.
|
|
351
|
+
* This field is strongly recommended to achieve high search quality.
|
|
352
|
+
*
|
|
353
|
+
* For more information about filter syntax, see
|
|
354
|
+
* {@link protos.google.cloud.discoveryengine.v1alpha.SearchRequest.filter|SearchRequest.filter}.
|
|
322
355
|
* @param {string} request.orderBy
|
|
323
356
|
* The order in which documents are returned. Documents can be ordered by
|
|
324
357
|
* a field in an {@link protos.google.cloud.discoveryengine.v1alpha.Document|Document}
|
|
325
358
|
* object. Leave it unset if ordered by relevance. `order_by` expression is
|
|
326
|
-
* case-sensitive.
|
|
359
|
+
* case-sensitive. For more information on ordering, see
|
|
360
|
+
* [Ordering](https://cloud.google.com/retail/docs/filter-and-order#order)
|
|
327
361
|
*
|
|
328
362
|
* If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
|
|
329
363
|
* @param {google.cloud.discoveryengine.v1alpha.UserInfo} request.userInfo
|
|
@@ -338,6 +372,8 @@ class SearchServiceClient {
|
|
|
338
372
|
* error is returned.
|
|
339
373
|
* @param {google.cloud.discoveryengine.v1alpha.SearchRequest.BoostSpec} request.boostSpec
|
|
340
374
|
* Boost specification to boost certain documents.
|
|
375
|
+
* For more information on boosting, see
|
|
376
|
+
* [Boosting](https://cloud.google.com/retail/docs/boosting#boost)
|
|
341
377
|
* @param {number[]} request.params
|
|
342
378
|
* Additional search parameters.
|
|
343
379
|
*
|
|
@@ -345,9 +381,17 @@ class SearchServiceClient {
|
|
|
345
381
|
*
|
|
346
382
|
* * `user_country_code`: string. Default empty. If set to non-empty, results
|
|
347
383
|
* are restricted or boosted based on the location provided.
|
|
384
|
+
* Example:
|
|
385
|
+
* user_country_code: "au"
|
|
386
|
+
*
|
|
387
|
+
* For available codes see [Country
|
|
388
|
+
* Codes](https://developers.google.com/custom-search/docs/json_api_reference#countryCodes)
|
|
389
|
+
*
|
|
348
390
|
* * `search_type`: double. Default empty. Enables non-webpage searching
|
|
349
|
-
*
|
|
350
|
-
*
|
|
391
|
+
* depending on the value. The only valid non-default value is 1,
|
|
392
|
+
* which enables image searching.
|
|
393
|
+
* Example:
|
|
394
|
+
* search_type: 1
|
|
351
395
|
* @param {google.cloud.discoveryengine.v1alpha.SearchRequest.QueryExpansionSpec} request.queryExpansionSpec
|
|
352
396
|
* The query expansion specification that specifies the conditions under which
|
|
353
397
|
* query expansion occurs.
|
|
@@ -456,6 +500,8 @@ class SearchServiceClient {
|
|
|
456
500
|
* The request object that will be sent.
|
|
457
501
|
* @param {string} request.servingConfig
|
|
458
502
|
* Required. The resource name of the Search serving config, such as
|
|
503
|
+
* `projects/* /locations/global/collections/default_collection/engines/* /servingConfigs/default_serving_config`,
|
|
504
|
+
* or
|
|
459
505
|
* `projects/* /locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`.
|
|
460
506
|
* This field is used to identify the serving configuration name, set
|
|
461
507
|
* of models used to make the search.
|
|
@@ -500,11 +546,35 @@ class SearchServiceClient {
|
|
|
500
546
|
* expression is case-sensitive.
|
|
501
547
|
*
|
|
502
548
|
* If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
|
|
549
|
+
*
|
|
550
|
+
* Filtering in Vertex AI Search is done by mapping the LHS filter key to a
|
|
551
|
+
* key property defined in the Vertex AI Search backend -- this mapping is
|
|
552
|
+
* defined by the customer in their schema. For example a media customer might
|
|
553
|
+
* have a field 'name' in their schema. In this case the filter would look
|
|
554
|
+
* like this: filter --> name:'ANY("king kong")'
|
|
555
|
+
*
|
|
556
|
+
* For more information about filtering including syntax and filter
|
|
557
|
+
* operators, see
|
|
558
|
+
* [Filter](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata)
|
|
559
|
+
* @param {string} request.canonicalFilter
|
|
560
|
+
* The default filter that is applied when a user performs a search without
|
|
561
|
+
* checking any filters on the search page.
|
|
562
|
+
*
|
|
563
|
+
* The filter applied to every search request when quality improvement such as
|
|
564
|
+
* query expansion is needed. In the case a query does not have a sufficient
|
|
565
|
+
* amount of results this filter will be used to determine whether or not to
|
|
566
|
+
* enable the query expansion flow. The original filter will still be used for
|
|
567
|
+
* the query expanded search.
|
|
568
|
+
* This field is strongly recommended to achieve high search quality.
|
|
569
|
+
*
|
|
570
|
+
* For more information about filter syntax, see
|
|
571
|
+
* {@link protos.google.cloud.discoveryengine.v1alpha.SearchRequest.filter|SearchRequest.filter}.
|
|
503
572
|
* @param {string} request.orderBy
|
|
504
573
|
* The order in which documents are returned. Documents can be ordered by
|
|
505
574
|
* a field in an {@link protos.google.cloud.discoveryengine.v1alpha.Document|Document}
|
|
506
575
|
* object. Leave it unset if ordered by relevance. `order_by` expression is
|
|
507
|
-
* case-sensitive.
|
|
576
|
+
* case-sensitive. For more information on ordering, see
|
|
577
|
+
* [Ordering](https://cloud.google.com/retail/docs/filter-and-order#order)
|
|
508
578
|
*
|
|
509
579
|
* If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
|
|
510
580
|
* @param {google.cloud.discoveryengine.v1alpha.UserInfo} request.userInfo
|
|
@@ -519,6 +589,8 @@ class SearchServiceClient {
|
|
|
519
589
|
* error is returned.
|
|
520
590
|
* @param {google.cloud.discoveryengine.v1alpha.SearchRequest.BoostSpec} request.boostSpec
|
|
521
591
|
* Boost specification to boost certain documents.
|
|
592
|
+
* For more information on boosting, see
|
|
593
|
+
* [Boosting](https://cloud.google.com/retail/docs/boosting#boost)
|
|
522
594
|
* @param {number[]} request.params
|
|
523
595
|
* Additional search parameters.
|
|
524
596
|
*
|
|
@@ -526,9 +598,17 @@ class SearchServiceClient {
|
|
|
526
598
|
*
|
|
527
599
|
* * `user_country_code`: string. Default empty. If set to non-empty, results
|
|
528
600
|
* are restricted or boosted based on the location provided.
|
|
601
|
+
* Example:
|
|
602
|
+
* user_country_code: "au"
|
|
603
|
+
*
|
|
604
|
+
* For available codes see [Country
|
|
605
|
+
* Codes](https://developers.google.com/custom-search/docs/json_api_reference#countryCodes)
|
|
606
|
+
*
|
|
529
607
|
* * `search_type`: double. Default empty. Enables non-webpage searching
|
|
530
|
-
*
|
|
531
|
-
*
|
|
608
|
+
* depending on the value. The only valid non-default value is 1,
|
|
609
|
+
* which enables image searching.
|
|
610
|
+
* Example:
|
|
611
|
+
* search_type: 1
|
|
532
612
|
* @param {google.cloud.discoveryengine.v1alpha.SearchRequest.QueryExpansionSpec} request.queryExpansionSpec
|
|
533
613
|
* The query expansion specification that specifies the conditions under which
|
|
534
614
|
* query expansion occurs.
|
|
@@ -688,6 +768,120 @@ class SearchServiceClient {
|
|
|
688
768
|
// --------------------
|
|
689
769
|
// -- Path templates --
|
|
690
770
|
// --------------------
|
|
771
|
+
/**
|
|
772
|
+
* Return a fully-qualified engine resource name string.
|
|
773
|
+
*
|
|
774
|
+
* @param {string} project
|
|
775
|
+
* @param {string} location
|
|
776
|
+
* @param {string} collection
|
|
777
|
+
* @param {string} engine
|
|
778
|
+
* @returns {string} Resource name string.
|
|
779
|
+
*/
|
|
780
|
+
enginePath(project, location, collection, engine) {
|
|
781
|
+
return this.pathTemplates.enginePathTemplate.render({
|
|
782
|
+
project: project,
|
|
783
|
+
location: location,
|
|
784
|
+
collection: collection,
|
|
785
|
+
engine: engine,
|
|
786
|
+
});
|
|
787
|
+
}
|
|
788
|
+
/**
|
|
789
|
+
* Parse the project from Engine resource.
|
|
790
|
+
*
|
|
791
|
+
* @param {string} engineName
|
|
792
|
+
* A fully-qualified path representing Engine resource.
|
|
793
|
+
* @returns {string} A string representing the project.
|
|
794
|
+
*/
|
|
795
|
+
matchProjectFromEngineName(engineName) {
|
|
796
|
+
return this.pathTemplates.enginePathTemplate.match(engineName).project;
|
|
797
|
+
}
|
|
798
|
+
/**
|
|
799
|
+
* Parse the location from Engine resource.
|
|
800
|
+
*
|
|
801
|
+
* @param {string} engineName
|
|
802
|
+
* A fully-qualified path representing Engine resource.
|
|
803
|
+
* @returns {string} A string representing the location.
|
|
804
|
+
*/
|
|
805
|
+
matchLocationFromEngineName(engineName) {
|
|
806
|
+
return this.pathTemplates.enginePathTemplate.match(engineName).location;
|
|
807
|
+
}
|
|
808
|
+
/**
|
|
809
|
+
* Parse the collection from Engine resource.
|
|
810
|
+
*
|
|
811
|
+
* @param {string} engineName
|
|
812
|
+
* A fully-qualified path representing Engine resource.
|
|
813
|
+
* @returns {string} A string representing the collection.
|
|
814
|
+
*/
|
|
815
|
+
matchCollectionFromEngineName(engineName) {
|
|
816
|
+
return this.pathTemplates.enginePathTemplate.match(engineName).collection;
|
|
817
|
+
}
|
|
818
|
+
/**
|
|
819
|
+
* Parse the engine from Engine resource.
|
|
820
|
+
*
|
|
821
|
+
* @param {string} engineName
|
|
822
|
+
* A fully-qualified path representing Engine resource.
|
|
823
|
+
* @returns {string} A string representing the engine.
|
|
824
|
+
*/
|
|
825
|
+
matchEngineFromEngineName(engineName) {
|
|
826
|
+
return this.pathTemplates.enginePathTemplate.match(engineName).engine;
|
|
827
|
+
}
|
|
828
|
+
/**
|
|
829
|
+
* Return a fully-qualified projectLocationCollectionDataStore resource name string.
|
|
830
|
+
*
|
|
831
|
+
* @param {string} project
|
|
832
|
+
* @param {string} location
|
|
833
|
+
* @param {string} collection
|
|
834
|
+
* @param {string} data_store
|
|
835
|
+
* @returns {string} Resource name string.
|
|
836
|
+
*/
|
|
837
|
+
projectLocationCollectionDataStorePath(project, location, collection, dataStore) {
|
|
838
|
+
return this.pathTemplates.projectLocationCollectionDataStorePathTemplate.render({
|
|
839
|
+
project: project,
|
|
840
|
+
location: location,
|
|
841
|
+
collection: collection,
|
|
842
|
+
data_store: dataStore,
|
|
843
|
+
});
|
|
844
|
+
}
|
|
845
|
+
/**
|
|
846
|
+
* Parse the project from ProjectLocationCollectionDataStore resource.
|
|
847
|
+
*
|
|
848
|
+
* @param {string} projectLocationCollectionDataStoreName
|
|
849
|
+
* A fully-qualified path representing project_location_collection_data_store resource.
|
|
850
|
+
* @returns {string} A string representing the project.
|
|
851
|
+
*/
|
|
852
|
+
matchProjectFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName) {
|
|
853
|
+
return this.pathTemplates.projectLocationCollectionDataStorePathTemplate.match(projectLocationCollectionDataStoreName).project;
|
|
854
|
+
}
|
|
855
|
+
/**
|
|
856
|
+
* Parse the location from ProjectLocationCollectionDataStore resource.
|
|
857
|
+
*
|
|
858
|
+
* @param {string} projectLocationCollectionDataStoreName
|
|
859
|
+
* A fully-qualified path representing project_location_collection_data_store resource.
|
|
860
|
+
* @returns {string} A string representing the location.
|
|
861
|
+
*/
|
|
862
|
+
matchLocationFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName) {
|
|
863
|
+
return this.pathTemplates.projectLocationCollectionDataStorePathTemplate.match(projectLocationCollectionDataStoreName).location;
|
|
864
|
+
}
|
|
865
|
+
/**
|
|
866
|
+
* Parse the collection from ProjectLocationCollectionDataStore resource.
|
|
867
|
+
*
|
|
868
|
+
* @param {string} projectLocationCollectionDataStoreName
|
|
869
|
+
* A fully-qualified path representing project_location_collection_data_store resource.
|
|
870
|
+
* @returns {string} A string representing the collection.
|
|
871
|
+
*/
|
|
872
|
+
matchCollectionFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName) {
|
|
873
|
+
return this.pathTemplates.projectLocationCollectionDataStorePathTemplate.match(projectLocationCollectionDataStoreName).collection;
|
|
874
|
+
}
|
|
875
|
+
/**
|
|
876
|
+
* Parse the data_store from ProjectLocationCollectionDataStore resource.
|
|
877
|
+
*
|
|
878
|
+
* @param {string} projectLocationCollectionDataStoreName
|
|
879
|
+
* A fully-qualified path representing project_location_collection_data_store resource.
|
|
880
|
+
* @returns {string} A string representing the data_store.
|
|
881
|
+
*/
|
|
882
|
+
matchDataStoreFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName) {
|
|
883
|
+
return this.pathTemplates.projectLocationCollectionDataStorePathTemplate.match(projectLocationCollectionDataStoreName).data_store;
|
|
884
|
+
}
|
|
691
885
|
/**
|
|
692
886
|
* Return a fully-qualified projectLocationCollectionDataStoreBranch resource name string.
|
|
693
887
|
*
|
|
@@ -1045,6 +1239,201 @@ class SearchServiceClient {
|
|
|
1045
1239
|
matchServingConfigFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
|
|
1046
1240
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
|
1047
1241
|
}
|
|
1242
|
+
/**
|
|
1243
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
|
1244
|
+
*
|
|
1245
|
+
* @param {string} project
|
|
1246
|
+
* @param {string} location
|
|
1247
|
+
* @param {string} collection
|
|
1248
|
+
* @param {string} data_store
|
|
1249
|
+
* @returns {string} Resource name string.
|
|
1250
|
+
*/
|
|
1251
|
+
projectLocationCollectionDataStoreSiteSearchEnginePath(project, location, collection, dataStore) {
|
|
1252
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.render({
|
|
1253
|
+
project: project,
|
|
1254
|
+
location: location,
|
|
1255
|
+
collection: collection,
|
|
1256
|
+
data_store: dataStore,
|
|
1257
|
+
});
|
|
1258
|
+
}
|
|
1259
|
+
/**
|
|
1260
|
+
* Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
|
|
1261
|
+
*
|
|
1262
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
|
|
1263
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
|
|
1264
|
+
* @returns {string} A string representing the project.
|
|
1265
|
+
*/
|
|
1266
|
+
matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
|
|
1267
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).project;
|
|
1268
|
+
}
|
|
1269
|
+
/**
|
|
1270
|
+
* Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
|
|
1271
|
+
*
|
|
1272
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
|
|
1273
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
|
|
1274
|
+
* @returns {string} A string representing the location.
|
|
1275
|
+
*/
|
|
1276
|
+
matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
|
|
1277
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).location;
|
|
1278
|
+
}
|
|
1279
|
+
/**
|
|
1280
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
|
|
1281
|
+
*
|
|
1282
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
|
|
1283
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
|
|
1284
|
+
* @returns {string} A string representing the collection.
|
|
1285
|
+
*/
|
|
1286
|
+
matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
|
|
1287
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).collection;
|
|
1288
|
+
}
|
|
1289
|
+
/**
|
|
1290
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
|
|
1291
|
+
*
|
|
1292
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
|
|
1293
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
|
|
1294
|
+
* @returns {string} A string representing the data_store.
|
|
1295
|
+
*/
|
|
1296
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
|
|
1297
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).data_store;
|
|
1298
|
+
}
|
|
1299
|
+
/**
|
|
1300
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngineTargetSite resource name string.
|
|
1301
|
+
*
|
|
1302
|
+
* @param {string} project
|
|
1303
|
+
* @param {string} location
|
|
1304
|
+
* @param {string} collection
|
|
1305
|
+
* @param {string} data_store
|
|
1306
|
+
* @param {string} target_site
|
|
1307
|
+
* @returns {string} Resource name string.
|
|
1308
|
+
*/
|
|
1309
|
+
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePath(project, location, collection, dataStore, targetSite) {
|
|
1310
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.render({
|
|
1311
|
+
project: project,
|
|
1312
|
+
location: location,
|
|
1313
|
+
collection: collection,
|
|
1314
|
+
data_store: dataStore,
|
|
1315
|
+
target_site: targetSite,
|
|
1316
|
+
});
|
|
1317
|
+
}
|
|
1318
|
+
/**
|
|
1319
|
+
* Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
|
|
1320
|
+
*
|
|
1321
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
|
|
1322
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
|
|
1323
|
+
* @returns {string} A string representing the project.
|
|
1324
|
+
*/
|
|
1325
|
+
matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
|
|
1326
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).project;
|
|
1327
|
+
}
|
|
1328
|
+
/**
|
|
1329
|
+
* Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
|
|
1330
|
+
*
|
|
1331
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
|
|
1332
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
|
|
1333
|
+
* @returns {string} A string representing the location.
|
|
1334
|
+
*/
|
|
1335
|
+
matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
|
|
1336
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).location;
|
|
1337
|
+
}
|
|
1338
|
+
/**
|
|
1339
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
|
|
1340
|
+
*
|
|
1341
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
|
|
1342
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
|
|
1343
|
+
* @returns {string} A string representing the collection.
|
|
1344
|
+
*/
|
|
1345
|
+
matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
|
|
1346
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).collection;
|
|
1347
|
+
}
|
|
1348
|
+
/**
|
|
1349
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
|
|
1350
|
+
*
|
|
1351
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
|
|
1352
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
|
|
1353
|
+
* @returns {string} A string representing the data_store.
|
|
1354
|
+
*/
|
|
1355
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
|
|
1356
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).data_store;
|
|
1357
|
+
}
|
|
1358
|
+
/**
|
|
1359
|
+
* Parse the target_site from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
|
|
1360
|
+
*
|
|
1361
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
|
|
1362
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
|
|
1363
|
+
* @returns {string} A string representing the target_site.
|
|
1364
|
+
*/
|
|
1365
|
+
matchTargetSiteFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
|
|
1366
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).target_site;
|
|
1367
|
+
}
|
|
1368
|
+
/**
|
|
1369
|
+
* Return a fully-qualified projectLocationCollectionEngineConversation resource name string.
|
|
1370
|
+
*
|
|
1371
|
+
* @param {string} project
|
|
1372
|
+
* @param {string} location
|
|
1373
|
+
* @param {string} collection
|
|
1374
|
+
* @param {string} engine
|
|
1375
|
+
* @param {string} conversation
|
|
1376
|
+
* @returns {string} Resource name string.
|
|
1377
|
+
*/
|
|
1378
|
+
projectLocationCollectionEngineConversationPath(project, location, collection, engine, conversation) {
|
|
1379
|
+
return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.render({
|
|
1380
|
+
project: project,
|
|
1381
|
+
location: location,
|
|
1382
|
+
collection: collection,
|
|
1383
|
+
engine: engine,
|
|
1384
|
+
conversation: conversation,
|
|
1385
|
+
});
|
|
1386
|
+
}
|
|
1387
|
+
/**
|
|
1388
|
+
* Parse the project from ProjectLocationCollectionEngineConversation resource.
|
|
1389
|
+
*
|
|
1390
|
+
* @param {string} projectLocationCollectionEngineConversationName
|
|
1391
|
+
* A fully-qualified path representing project_location_collection_engine_conversation resource.
|
|
1392
|
+
* @returns {string} A string representing the project.
|
|
1393
|
+
*/
|
|
1394
|
+
matchProjectFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
|
|
1395
|
+
return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).project;
|
|
1396
|
+
}
|
|
1397
|
+
/**
|
|
1398
|
+
* Parse the location from ProjectLocationCollectionEngineConversation resource.
|
|
1399
|
+
*
|
|
1400
|
+
* @param {string} projectLocationCollectionEngineConversationName
|
|
1401
|
+
* A fully-qualified path representing project_location_collection_engine_conversation resource.
|
|
1402
|
+
* @returns {string} A string representing the location.
|
|
1403
|
+
*/
|
|
1404
|
+
matchLocationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
|
|
1405
|
+
return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).location;
|
|
1406
|
+
}
|
|
1407
|
+
/**
|
|
1408
|
+
* Parse the collection from ProjectLocationCollectionEngineConversation resource.
|
|
1409
|
+
*
|
|
1410
|
+
* @param {string} projectLocationCollectionEngineConversationName
|
|
1411
|
+
* A fully-qualified path representing project_location_collection_engine_conversation resource.
|
|
1412
|
+
* @returns {string} A string representing the collection.
|
|
1413
|
+
*/
|
|
1414
|
+
matchCollectionFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
|
|
1415
|
+
return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).collection;
|
|
1416
|
+
}
|
|
1417
|
+
/**
|
|
1418
|
+
* Parse the engine from ProjectLocationCollectionEngineConversation resource.
|
|
1419
|
+
*
|
|
1420
|
+
* @param {string} projectLocationCollectionEngineConversationName
|
|
1421
|
+
* A fully-qualified path representing project_location_collection_engine_conversation resource.
|
|
1422
|
+
* @returns {string} A string representing the engine.
|
|
1423
|
+
*/
|
|
1424
|
+
matchEngineFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
|
|
1425
|
+
return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).engine;
|
|
1426
|
+
}
|
|
1427
|
+
/**
|
|
1428
|
+
* Parse the conversation from ProjectLocationCollectionEngineConversation resource.
|
|
1429
|
+
*
|
|
1430
|
+
* @param {string} projectLocationCollectionEngineConversationName
|
|
1431
|
+
* A fully-qualified path representing project_location_collection_engine_conversation resource.
|
|
1432
|
+
* @returns {string} A string representing the conversation.
|
|
1433
|
+
*/
|
|
1434
|
+
matchConversationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
|
|
1435
|
+
return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).conversation;
|
|
1436
|
+
}
|
|
1048
1437
|
/**
|
|
1049
1438
|
* Return a fully-qualified projectLocationCollectionEngineServingConfig resource name string.
|
|
1050
1439
|
*
|
|
@@ -1114,6 +1503,51 @@ class SearchServiceClient {
|
|
|
1114
1503
|
matchServingConfigFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
|
|
1115
1504
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
|
1116
1505
|
}
|
|
1506
|
+
/**
|
|
1507
|
+
* Return a fully-qualified projectLocationDataStore resource name string.
|
|
1508
|
+
*
|
|
1509
|
+
* @param {string} project
|
|
1510
|
+
* @param {string} location
|
|
1511
|
+
* @param {string} data_store
|
|
1512
|
+
* @returns {string} Resource name string.
|
|
1513
|
+
*/
|
|
1514
|
+
projectLocationDataStorePath(project, location, dataStore) {
|
|
1515
|
+
return this.pathTemplates.projectLocationDataStorePathTemplate.render({
|
|
1516
|
+
project: project,
|
|
1517
|
+
location: location,
|
|
1518
|
+
data_store: dataStore,
|
|
1519
|
+
});
|
|
1520
|
+
}
|
|
1521
|
+
/**
|
|
1522
|
+
* Parse the project from ProjectLocationDataStore resource.
|
|
1523
|
+
*
|
|
1524
|
+
* @param {string} projectLocationDataStoreName
|
|
1525
|
+
* A fully-qualified path representing project_location_data_store resource.
|
|
1526
|
+
* @returns {string} A string representing the project.
|
|
1527
|
+
*/
|
|
1528
|
+
matchProjectFromProjectLocationDataStoreName(projectLocationDataStoreName) {
|
|
1529
|
+
return this.pathTemplates.projectLocationDataStorePathTemplate.match(projectLocationDataStoreName).project;
|
|
1530
|
+
}
|
|
1531
|
+
/**
|
|
1532
|
+
* Parse the location from ProjectLocationDataStore resource.
|
|
1533
|
+
*
|
|
1534
|
+
* @param {string} projectLocationDataStoreName
|
|
1535
|
+
* A fully-qualified path representing project_location_data_store resource.
|
|
1536
|
+
* @returns {string} A string representing the location.
|
|
1537
|
+
*/
|
|
1538
|
+
matchLocationFromProjectLocationDataStoreName(projectLocationDataStoreName) {
|
|
1539
|
+
return this.pathTemplates.projectLocationDataStorePathTemplate.match(projectLocationDataStoreName).location;
|
|
1540
|
+
}
|
|
1541
|
+
/**
|
|
1542
|
+
* Parse the data_store from ProjectLocationDataStore resource.
|
|
1543
|
+
*
|
|
1544
|
+
* @param {string} projectLocationDataStoreName
|
|
1545
|
+
* A fully-qualified path representing project_location_data_store resource.
|
|
1546
|
+
* @returns {string} A string representing the data_store.
|
|
1547
|
+
*/
|
|
1548
|
+
matchDataStoreFromProjectLocationDataStoreName(projectLocationDataStoreName) {
|
|
1549
|
+
return this.pathTemplates.projectLocationDataStorePathTemplate.match(projectLocationDataStoreName).data_store;
|
|
1550
|
+
}
|
|
1117
1551
|
/**
|
|
1118
1552
|
* Return a fully-qualified projectLocationDataStoreBranch resource name string.
|
|
1119
1553
|
*
|
|
@@ -1411,6 +1845,108 @@ class SearchServiceClient {
|
|
|
1411
1845
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
|
1412
1846
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
|
1413
1847
|
}
|
|
1848
|
+
/**
|
|
1849
|
+
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
|
1850
|
+
*
|
|
1851
|
+
* @param {string} project
|
|
1852
|
+
* @param {string} location
|
|
1853
|
+
* @param {string} data_store
|
|
1854
|
+
* @returns {string} Resource name string.
|
|
1855
|
+
*/
|
|
1856
|
+
projectLocationDataStoreSiteSearchEnginePath(project, location, dataStore) {
|
|
1857
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.render({
|
|
1858
|
+
project: project,
|
|
1859
|
+
location: location,
|
|
1860
|
+
data_store: dataStore,
|
|
1861
|
+
});
|
|
1862
|
+
}
|
|
1863
|
+
/**
|
|
1864
|
+
* Parse the project from ProjectLocationDataStoreSiteSearchEngine resource.
|
|
1865
|
+
*
|
|
1866
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineName
|
|
1867
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
|
|
1868
|
+
* @returns {string} A string representing the project.
|
|
1869
|
+
*/
|
|
1870
|
+
matchProjectFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName) {
|
|
1871
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.match(projectLocationDataStoreSiteSearchEngineName).project;
|
|
1872
|
+
}
|
|
1873
|
+
/**
|
|
1874
|
+
* Parse the location from ProjectLocationDataStoreSiteSearchEngine resource.
|
|
1875
|
+
*
|
|
1876
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineName
|
|
1877
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
|
|
1878
|
+
* @returns {string} A string representing the location.
|
|
1879
|
+
*/
|
|
1880
|
+
matchLocationFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName) {
|
|
1881
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.match(projectLocationDataStoreSiteSearchEngineName).location;
|
|
1882
|
+
}
|
|
1883
|
+
/**
|
|
1884
|
+
* Parse the data_store from ProjectLocationDataStoreSiteSearchEngine resource.
|
|
1885
|
+
*
|
|
1886
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineName
|
|
1887
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
|
|
1888
|
+
* @returns {string} A string representing the data_store.
|
|
1889
|
+
*/
|
|
1890
|
+
matchDataStoreFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName) {
|
|
1891
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.match(projectLocationDataStoreSiteSearchEngineName).data_store;
|
|
1892
|
+
}
|
|
1893
|
+
/**
|
|
1894
|
+
* Return a fully-qualified projectLocationDataStoreSiteSearchEngineTargetSite resource name string.
|
|
1895
|
+
*
|
|
1896
|
+
* @param {string} project
|
|
1897
|
+
* @param {string} location
|
|
1898
|
+
* @param {string} data_store
|
|
1899
|
+
* @param {string} target_site
|
|
1900
|
+
* @returns {string} Resource name string.
|
|
1901
|
+
*/
|
|
1902
|
+
projectLocationDataStoreSiteSearchEngineTargetSitePath(project, location, dataStore, targetSite) {
|
|
1903
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.render({
|
|
1904
|
+
project: project,
|
|
1905
|
+
location: location,
|
|
1906
|
+
data_store: dataStore,
|
|
1907
|
+
target_site: targetSite,
|
|
1908
|
+
});
|
|
1909
|
+
}
|
|
1910
|
+
/**
|
|
1911
|
+
* Parse the project from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
|
|
1912
|
+
*
|
|
1913
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
|
|
1914
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
|
|
1915
|
+
* @returns {string} A string representing the project.
|
|
1916
|
+
*/
|
|
1917
|
+
matchProjectFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
|
|
1918
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).project;
|
|
1919
|
+
}
|
|
1920
|
+
/**
|
|
1921
|
+
* Parse the location from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
|
|
1922
|
+
*
|
|
1923
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
|
|
1924
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
|
|
1925
|
+
* @returns {string} A string representing the location.
|
|
1926
|
+
*/
|
|
1927
|
+
matchLocationFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
|
|
1928
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).location;
|
|
1929
|
+
}
|
|
1930
|
+
/**
|
|
1931
|
+
* Parse the data_store from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
|
|
1932
|
+
*
|
|
1933
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
|
|
1934
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
|
|
1935
|
+
* @returns {string} A string representing the data_store.
|
|
1936
|
+
*/
|
|
1937
|
+
matchDataStoreFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
|
|
1938
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).data_store;
|
|
1939
|
+
}
|
|
1940
|
+
/**
|
|
1941
|
+
* Parse the target_site from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
|
|
1942
|
+
*
|
|
1943
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
|
|
1944
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
|
|
1945
|
+
* @returns {string} A string representing the target_site.
|
|
1946
|
+
*/
|
|
1947
|
+
matchTargetSiteFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
|
|
1948
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).target_site;
|
|
1949
|
+
}
|
|
1414
1950
|
/**
|
|
1415
1951
|
* Terminate the gRPC channel and close the client.
|
|
1416
1952
|
*
|