@google-cloud/discoveryengine 1.3.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.
Files changed (57) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/README.md +12 -0
  3. package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +0 -5
  4. package/build/protos/google/cloud/discoveryengine/v1alpha/conversation.proto +3 -0
  5. package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +39 -0
  6. package/build/protos/google/cloud/discoveryengine/v1alpha/document.proto +1 -1
  7. package/build/protos/google/cloud/discoveryengine/v1alpha/engine_service.proto +1 -1
  8. package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +97 -0
  9. package/build/protos/google/cloud/discoveryengine/v1alpha/search_tuning_service.proto +147 -0
  10. package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine.proto +164 -0
  11. package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine_service.proto +540 -0
  12. package/build/protos/protos.d.ts +4473 -550
  13. package/build/protos/protos.js +27437 -19222
  14. package/build/protos/protos.json +1060 -358
  15. package/build/src/index.js +1 -1
  16. package/build/src/v1/completion_service_client.js +1 -1
  17. package/build/src/v1/conversational_search_service_client.js +1 -1
  18. package/build/src/v1/document_service_client.js +1 -1
  19. package/build/src/v1/index.js +1 -1
  20. package/build/src/v1/schema_service_client.js +1 -1
  21. package/build/src/v1/search_service_client.js +1 -1
  22. package/build/src/v1/user_event_service_client.js +1 -1
  23. package/build/src/v1alpha/completion_service_client.d.ts +219 -0
  24. package/build/src/v1alpha/completion_service_client.js +302 -0
  25. package/build/src/v1alpha/conversational_search_service_client.d.ts +236 -0
  26. package/build/src/v1alpha/conversational_search_service_client.js +302 -0
  27. package/build/src/v1alpha/data_store_service_client.d.ts +219 -0
  28. package/build/src/v1alpha/data_store_service_client.js +310 -2
  29. package/build/src/v1alpha/document_service_client.d.ts +219 -0
  30. package/build/src/v1alpha/document_service_client.js +310 -2
  31. package/build/src/v1alpha/engine_service_client.d.ts +220 -1
  32. package/build/src/v1alpha/engine_service_client.js +310 -2
  33. package/build/src/v1alpha/index.d.ts +1 -0
  34. package/build/src/v1alpha/index.js +3 -1
  35. package/build/src/v1alpha/recommendation_service_client.d.ts +219 -0
  36. package/build/src/v1alpha/recommendation_service_client.js +302 -0
  37. package/build/src/v1alpha/schema_service_client.d.ts +219 -0
  38. package/build/src/v1alpha/schema_service_client.js +310 -2
  39. package/build/src/v1alpha/search_service_client.d.ts +258 -0
  40. package/build/src/v1alpha/search_service_client.js +328 -0
  41. package/build/src/v1alpha/search_tuning_service_client.d.ts +968 -0
  42. package/build/src/v1alpha/search_tuning_service_client.js +1452 -0
  43. package/build/src/v1alpha/search_tuning_service_client_config.json +30 -0
  44. package/build/src/v1alpha/site_search_engine_service_client.d.ts +739 -1
  45. package/build/src/v1alpha/site_search_engine_service_client.js +801 -4
  46. package/build/src/v1alpha/site_search_engine_service_client_config.json +44 -0
  47. package/build/src/v1alpha/user_event_service_client.d.ts +219 -0
  48. package/build/src/v1alpha/user_event_service_client.js +310 -2
  49. package/build/src/v1beta/completion_service_client.js +1 -1
  50. package/build/src/v1beta/conversational_search_service_client.js +1 -1
  51. package/build/src/v1beta/document_service_client.js +1 -1
  52. package/build/src/v1beta/index.js +1 -1
  53. package/build/src/v1beta/recommendation_service_client.js +1 -1
  54. package/build/src/v1beta/schema_service_client.js +1 -1
  55. package/build/src/v1beta/search_service_client.js +1 -1
  56. package/build/src/v1beta/user_event_service_client.js +1 -1
  57. package/package.json +2 -2
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright 2023 Google LLC
2
+ // Copyright 2024 Google LLC
3
3
  //
4
4
  // Licensed under the Apache License, Version 2.0 (the "License");
5
5
  // you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright 2023 Google LLC
2
+ // Copyright 2024 Google LLC
3
3
  //
4
4
  // Licensed under the Apache License, Version 2.0 (the "License");
5
5
  // you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright 2023 Google LLC
2
+ // Copyright 2024 Google LLC
3
3
  //
4
4
  // Licensed under the Apache License, Version 2.0 (the "License");
5
5
  // you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright 2023 Google LLC
2
+ // Copyright 2024 Google LLC
3
3
  //
4
4
  // Licensed under the Apache License, Version 2.0 (the "License");
5
5
  // you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright 2023 Google LLC
2
+ // Copyright 2024 Google LLC
3
3
  //
4
4
  // Licensed under the Apache License, Version 2.0 (the "License");
5
5
  // you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright 2023 Google LLC
2
+ // Copyright 2024 Google LLC
3
3
  //
4
4
  // Licensed under the Apache License, Version 2.0 (the "License");
5
5
  // you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright 2023 Google LLC
2
+ // Copyright 2024 Google LLC
3
3
  //
4
4
  // Licensed under the Apache License, Version 2.0 (the "License");
5
5
  // you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright 2023 Google LLC
2
+ // Copyright 2024 Google LLC
3
3
  //
4
4
  // Licensed under the Apache License, Version 2.0 (the "License");
5
5
  // you may not use this file except in compliance with the License.
@@ -467,6 +467,150 @@ export declare class CompletionServiceClient {
467
467
  * @returns {string} A string representing the schema.
468
468
  */
469
469
  matchSchemaFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
470
+ /**
471
+ * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
472
+ *
473
+ * @param {string} project
474
+ * @param {string} location
475
+ * @param {string} collection
476
+ * @param {string} data_store
477
+ * @returns {string} Resource name string.
478
+ */
479
+ projectLocationCollectionDataStoreSiteSearchEnginePath(project: string, location: string, collection: string, dataStore: string): string;
480
+ /**
481
+ * Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
482
+ *
483
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
484
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
485
+ * @returns {string} A string representing the project.
486
+ */
487
+ matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
488
+ /**
489
+ * Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
490
+ *
491
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
492
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
493
+ * @returns {string} A string representing the location.
494
+ */
495
+ matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
496
+ /**
497
+ * Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
498
+ *
499
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
500
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
501
+ * @returns {string} A string representing the collection.
502
+ */
503
+ matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
504
+ /**
505
+ * Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
506
+ *
507
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
508
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
509
+ * @returns {string} A string representing the data_store.
510
+ */
511
+ matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
512
+ /**
513
+ * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngineTargetSite resource name string.
514
+ *
515
+ * @param {string} project
516
+ * @param {string} location
517
+ * @param {string} collection
518
+ * @param {string} data_store
519
+ * @param {string} target_site
520
+ * @returns {string} Resource name string.
521
+ */
522
+ projectLocationCollectionDataStoreSiteSearchEngineTargetSitePath(project: string, location: string, collection: string, dataStore: string, targetSite: string): string;
523
+ /**
524
+ * Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
525
+ *
526
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
527
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
528
+ * @returns {string} A string representing the project.
529
+ */
530
+ matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
531
+ /**
532
+ * Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
533
+ *
534
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
535
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
536
+ * @returns {string} A string representing the location.
537
+ */
538
+ matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
539
+ /**
540
+ * Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
541
+ *
542
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
543
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
544
+ * @returns {string} A string representing the collection.
545
+ */
546
+ matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
547
+ /**
548
+ * Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
549
+ *
550
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
551
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
552
+ * @returns {string} A string representing the data_store.
553
+ */
554
+ matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
555
+ /**
556
+ * Parse the target_site from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
557
+ *
558
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
559
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
560
+ * @returns {string} A string representing the target_site.
561
+ */
562
+ matchTargetSiteFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
563
+ /**
564
+ * Return a fully-qualified projectLocationCollectionEngineConversation resource name string.
565
+ *
566
+ * @param {string} project
567
+ * @param {string} location
568
+ * @param {string} collection
569
+ * @param {string} engine
570
+ * @param {string} conversation
571
+ * @returns {string} Resource name string.
572
+ */
573
+ projectLocationCollectionEngineConversationPath(project: string, location: string, collection: string, engine: string, conversation: string): string;
574
+ /**
575
+ * Parse the project from ProjectLocationCollectionEngineConversation resource.
576
+ *
577
+ * @param {string} projectLocationCollectionEngineConversationName
578
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
579
+ * @returns {string} A string representing the project.
580
+ */
581
+ matchProjectFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
582
+ /**
583
+ * Parse the location from ProjectLocationCollectionEngineConversation resource.
584
+ *
585
+ * @param {string} projectLocationCollectionEngineConversationName
586
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
587
+ * @returns {string} A string representing the location.
588
+ */
589
+ matchLocationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
590
+ /**
591
+ * Parse the collection from ProjectLocationCollectionEngineConversation resource.
592
+ *
593
+ * @param {string} projectLocationCollectionEngineConversationName
594
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
595
+ * @returns {string} A string representing the collection.
596
+ */
597
+ matchCollectionFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
598
+ /**
599
+ * Parse the engine from ProjectLocationCollectionEngineConversation resource.
600
+ *
601
+ * @param {string} projectLocationCollectionEngineConversationName
602
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
603
+ * @returns {string} A string representing the engine.
604
+ */
605
+ matchEngineFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
606
+ /**
607
+ * Parse the conversation from ProjectLocationCollectionEngineConversation resource.
608
+ *
609
+ * @param {string} projectLocationCollectionEngineConversationName
610
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
611
+ * @returns {string} A string representing the conversation.
612
+ */
613
+ matchConversationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
470
614
  /**
471
615
  * Return a fully-qualified projectLocationDataStore resource name string.
472
616
  *
@@ -635,6 +779,81 @@ export declare class CompletionServiceClient {
635
779
  * @returns {string} A string representing the schema.
636
780
  */
637
781
  matchSchemaFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName: string): string | number;
782
+ /**
783
+ * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
784
+ *
785
+ * @param {string} project
786
+ * @param {string} location
787
+ * @param {string} data_store
788
+ * @returns {string} Resource name string.
789
+ */
790
+ projectLocationDataStoreSiteSearchEnginePath(project: string, location: string, dataStore: string): string;
791
+ /**
792
+ * Parse the project from ProjectLocationDataStoreSiteSearchEngine resource.
793
+ *
794
+ * @param {string} projectLocationDataStoreSiteSearchEngineName
795
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
796
+ * @returns {string} A string representing the project.
797
+ */
798
+ matchProjectFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName: string): string | number;
799
+ /**
800
+ * Parse the location from ProjectLocationDataStoreSiteSearchEngine resource.
801
+ *
802
+ * @param {string} projectLocationDataStoreSiteSearchEngineName
803
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
804
+ * @returns {string} A string representing the location.
805
+ */
806
+ matchLocationFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName: string): string | number;
807
+ /**
808
+ * Parse the data_store from ProjectLocationDataStoreSiteSearchEngine resource.
809
+ *
810
+ * @param {string} projectLocationDataStoreSiteSearchEngineName
811
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
812
+ * @returns {string} A string representing the data_store.
813
+ */
814
+ matchDataStoreFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName: string): string | number;
815
+ /**
816
+ * Return a fully-qualified projectLocationDataStoreSiteSearchEngineTargetSite resource name string.
817
+ *
818
+ * @param {string} project
819
+ * @param {string} location
820
+ * @param {string} data_store
821
+ * @param {string} target_site
822
+ * @returns {string} Resource name string.
823
+ */
824
+ projectLocationDataStoreSiteSearchEngineTargetSitePath(project: string, location: string, dataStore: string, targetSite: string): string;
825
+ /**
826
+ * Parse the project from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
827
+ *
828
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
829
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
830
+ * @returns {string} A string representing the project.
831
+ */
832
+ matchProjectFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName: string): string | number;
833
+ /**
834
+ * Parse the location from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
835
+ *
836
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
837
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
838
+ * @returns {string} A string representing the location.
839
+ */
840
+ matchLocationFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName: string): string | number;
841
+ /**
842
+ * Parse the data_store from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
843
+ *
844
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
845
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
846
+ * @returns {string} A string representing the data_store.
847
+ */
848
+ matchDataStoreFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName: string): string | number;
849
+ /**
850
+ * Parse the target_site from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
851
+ *
852
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
853
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
854
+ * @returns {string} A string representing the target_site.
855
+ */
856
+ matchTargetSiteFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName: string): string | number;
638
857
  /**
639
858
  * Terminate the gRPC channel and close the client.
640
859
  *
@@ -143,10 +143,15 @@ class CompletionServiceClient {
143
143
  projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
144
144
  projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
145
145
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
146
+ projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
147
+ projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
148
+ projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
146
149
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
147
150
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
148
151
  projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
149
152
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
153
+ projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
154
+ projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
150
155
  };
151
156
  // Put together the default options sent with requests.
152
157
  this._defaults = this._gaxGrpc.constructSettings('google.cloud.discoveryengine.v1alpha.CompletionService', gapicConfig, opts.clientConfig || {}, { 'x-goog-api-client': clientHeader.join(' ') });
@@ -652,6 +657,201 @@ class CompletionServiceClient {
652
657
  matchSchemaFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName) {
653
658
  return this.pathTemplates.projectLocationCollectionDataStoreSchemaPathTemplate.match(projectLocationCollectionDataStoreSchemaName).schema;
654
659
  }
660
+ /**
661
+ * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
662
+ *
663
+ * @param {string} project
664
+ * @param {string} location
665
+ * @param {string} collection
666
+ * @param {string} data_store
667
+ * @returns {string} Resource name string.
668
+ */
669
+ projectLocationCollectionDataStoreSiteSearchEnginePath(project, location, collection, dataStore) {
670
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.render({
671
+ project: project,
672
+ location: location,
673
+ collection: collection,
674
+ data_store: dataStore,
675
+ });
676
+ }
677
+ /**
678
+ * Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
679
+ *
680
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
681
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
682
+ * @returns {string} A string representing the project.
683
+ */
684
+ matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
685
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).project;
686
+ }
687
+ /**
688
+ * Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
689
+ *
690
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
691
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
692
+ * @returns {string} A string representing the location.
693
+ */
694
+ matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
695
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).location;
696
+ }
697
+ /**
698
+ * Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
699
+ *
700
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
701
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
702
+ * @returns {string} A string representing the collection.
703
+ */
704
+ matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
705
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).collection;
706
+ }
707
+ /**
708
+ * Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
709
+ *
710
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
711
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
712
+ * @returns {string} A string representing the data_store.
713
+ */
714
+ matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
715
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).data_store;
716
+ }
717
+ /**
718
+ * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngineTargetSite resource name string.
719
+ *
720
+ * @param {string} project
721
+ * @param {string} location
722
+ * @param {string} collection
723
+ * @param {string} data_store
724
+ * @param {string} target_site
725
+ * @returns {string} Resource name string.
726
+ */
727
+ projectLocationCollectionDataStoreSiteSearchEngineTargetSitePath(project, location, collection, dataStore, targetSite) {
728
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.render({
729
+ project: project,
730
+ location: location,
731
+ collection: collection,
732
+ data_store: dataStore,
733
+ target_site: targetSite,
734
+ });
735
+ }
736
+ /**
737
+ * Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
738
+ *
739
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
740
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
741
+ * @returns {string} A string representing the project.
742
+ */
743
+ matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
744
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).project;
745
+ }
746
+ /**
747
+ * Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
748
+ *
749
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
750
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
751
+ * @returns {string} A string representing the location.
752
+ */
753
+ matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
754
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).location;
755
+ }
756
+ /**
757
+ * Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
758
+ *
759
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
760
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
761
+ * @returns {string} A string representing the collection.
762
+ */
763
+ matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
764
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).collection;
765
+ }
766
+ /**
767
+ * Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
768
+ *
769
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
770
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
771
+ * @returns {string} A string representing the data_store.
772
+ */
773
+ matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
774
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).data_store;
775
+ }
776
+ /**
777
+ * Parse the target_site from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
778
+ *
779
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
780
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
781
+ * @returns {string} A string representing the target_site.
782
+ */
783
+ matchTargetSiteFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
784
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).target_site;
785
+ }
786
+ /**
787
+ * Return a fully-qualified projectLocationCollectionEngineConversation resource name string.
788
+ *
789
+ * @param {string} project
790
+ * @param {string} location
791
+ * @param {string} collection
792
+ * @param {string} engine
793
+ * @param {string} conversation
794
+ * @returns {string} Resource name string.
795
+ */
796
+ projectLocationCollectionEngineConversationPath(project, location, collection, engine, conversation) {
797
+ return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.render({
798
+ project: project,
799
+ location: location,
800
+ collection: collection,
801
+ engine: engine,
802
+ conversation: conversation,
803
+ });
804
+ }
805
+ /**
806
+ * Parse the project from ProjectLocationCollectionEngineConversation resource.
807
+ *
808
+ * @param {string} projectLocationCollectionEngineConversationName
809
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
810
+ * @returns {string} A string representing the project.
811
+ */
812
+ matchProjectFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
813
+ return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).project;
814
+ }
815
+ /**
816
+ * Parse the location from ProjectLocationCollectionEngineConversation resource.
817
+ *
818
+ * @param {string} projectLocationCollectionEngineConversationName
819
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
820
+ * @returns {string} A string representing the location.
821
+ */
822
+ matchLocationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
823
+ return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).location;
824
+ }
825
+ /**
826
+ * Parse the collection from ProjectLocationCollectionEngineConversation resource.
827
+ *
828
+ * @param {string} projectLocationCollectionEngineConversationName
829
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
830
+ * @returns {string} A string representing the collection.
831
+ */
832
+ matchCollectionFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
833
+ return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).collection;
834
+ }
835
+ /**
836
+ * Parse the engine from ProjectLocationCollectionEngineConversation resource.
837
+ *
838
+ * @param {string} projectLocationCollectionEngineConversationName
839
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
840
+ * @returns {string} A string representing the engine.
841
+ */
842
+ matchEngineFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
843
+ return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).engine;
844
+ }
845
+ /**
846
+ * Parse the conversation from ProjectLocationCollectionEngineConversation resource.
847
+ *
848
+ * @param {string} projectLocationCollectionEngineConversationName
849
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
850
+ * @returns {string} A string representing the conversation.
851
+ */
852
+ matchConversationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
853
+ return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).conversation;
854
+ }
655
855
  /**
656
856
  * Return a fully-qualified projectLocationDataStore resource name string.
657
857
  *
@@ -880,6 +1080,108 @@ class CompletionServiceClient {
880
1080
  matchSchemaFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName) {
881
1081
  return this.pathTemplates.projectLocationDataStoreSchemaPathTemplate.match(projectLocationDataStoreSchemaName).schema;
882
1082
  }
1083
+ /**
1084
+ * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
1085
+ *
1086
+ * @param {string} project
1087
+ * @param {string} location
1088
+ * @param {string} data_store
1089
+ * @returns {string} Resource name string.
1090
+ */
1091
+ projectLocationDataStoreSiteSearchEnginePath(project, location, dataStore) {
1092
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.render({
1093
+ project: project,
1094
+ location: location,
1095
+ data_store: dataStore,
1096
+ });
1097
+ }
1098
+ /**
1099
+ * Parse the project from ProjectLocationDataStoreSiteSearchEngine resource.
1100
+ *
1101
+ * @param {string} projectLocationDataStoreSiteSearchEngineName
1102
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
1103
+ * @returns {string} A string representing the project.
1104
+ */
1105
+ matchProjectFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName) {
1106
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.match(projectLocationDataStoreSiteSearchEngineName).project;
1107
+ }
1108
+ /**
1109
+ * Parse the location from ProjectLocationDataStoreSiteSearchEngine resource.
1110
+ *
1111
+ * @param {string} projectLocationDataStoreSiteSearchEngineName
1112
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
1113
+ * @returns {string} A string representing the location.
1114
+ */
1115
+ matchLocationFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName) {
1116
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.match(projectLocationDataStoreSiteSearchEngineName).location;
1117
+ }
1118
+ /**
1119
+ * Parse the data_store from ProjectLocationDataStoreSiteSearchEngine resource.
1120
+ *
1121
+ * @param {string} projectLocationDataStoreSiteSearchEngineName
1122
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
1123
+ * @returns {string} A string representing the data_store.
1124
+ */
1125
+ matchDataStoreFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName) {
1126
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.match(projectLocationDataStoreSiteSearchEngineName).data_store;
1127
+ }
1128
+ /**
1129
+ * Return a fully-qualified projectLocationDataStoreSiteSearchEngineTargetSite resource name string.
1130
+ *
1131
+ * @param {string} project
1132
+ * @param {string} location
1133
+ * @param {string} data_store
1134
+ * @param {string} target_site
1135
+ * @returns {string} Resource name string.
1136
+ */
1137
+ projectLocationDataStoreSiteSearchEngineTargetSitePath(project, location, dataStore, targetSite) {
1138
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.render({
1139
+ project: project,
1140
+ location: location,
1141
+ data_store: dataStore,
1142
+ target_site: targetSite,
1143
+ });
1144
+ }
1145
+ /**
1146
+ * Parse the project from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1147
+ *
1148
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1149
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1150
+ * @returns {string} A string representing the project.
1151
+ */
1152
+ matchProjectFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
1153
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).project;
1154
+ }
1155
+ /**
1156
+ * Parse the location from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1157
+ *
1158
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1159
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1160
+ * @returns {string} A string representing the location.
1161
+ */
1162
+ matchLocationFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
1163
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).location;
1164
+ }
1165
+ /**
1166
+ * Parse the data_store from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1167
+ *
1168
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1169
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1170
+ * @returns {string} A string representing the data_store.
1171
+ */
1172
+ matchDataStoreFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
1173
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).data_store;
1174
+ }
1175
+ /**
1176
+ * Parse the target_site from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1177
+ *
1178
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1179
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1180
+ * @returns {string} A string representing the target_site.
1181
+ */
1182
+ matchTargetSiteFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
1183
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).target_site;
1184
+ }
883
1185
  /**
884
1186
  * Terminate the gRPC channel and close the client.
885
1187
  *