@google-cloud/discoveryengine 1.10.0 → 1.12.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.
Files changed (129) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/README.md +33 -0
  3. package/build/protos/google/cloud/discoveryengine/v1alpha/evaluation.proto +232 -0
  4. package/build/protos/google/cloud/discoveryengine/v1alpha/evaluation_service.proto +252 -0
  5. package/build/protos/google/cloud/discoveryengine/v1alpha/import_config.proto +83 -0
  6. package/build/protos/google/cloud/discoveryengine/v1alpha/sample_query.proto +86 -0
  7. package/build/protos/google/cloud/discoveryengine/v1alpha/sample_query_service.proto +264 -0
  8. package/build/protos/google/cloud/discoveryengine/v1alpha/sample_query_set.proto +64 -0
  9. package/build/protos/google/cloud/discoveryengine/v1alpha/sample_query_set_service.proto +258 -0
  10. package/build/protos/google/cloud/discoveryengine/v1beta/answer.proto +14 -0
  11. package/build/protos/google/cloud/discoveryengine/v1beta/chunk.proto +119 -0
  12. package/build/protos/google/cloud/discoveryengine/v1beta/common.proto +0 -5
  13. package/build/protos/google/cloud/discoveryengine/v1beta/completion.proto +31 -0
  14. package/build/protos/google/cloud/discoveryengine/v1beta/completion_service.proto +38 -0
  15. package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +29 -2
  16. package/build/protos/google/cloud/discoveryengine/v1beta/custom_tuning_model.proto +7 -1
  17. package/build/protos/google/cloud/discoveryengine/v1beta/data_store.proto +23 -0
  18. package/build/protos/google/cloud/discoveryengine/v1beta/data_store_service.proto +10 -0
  19. package/build/protos/google/cloud/discoveryengine/v1beta/document.proto +1 -1
  20. package/build/protos/google/cloud/discoveryengine/v1beta/document_processing_config.proto +37 -2
  21. package/build/protos/google/cloud/discoveryengine/v1beta/evaluation.proto +231 -0
  22. package/build/protos/google/cloud/discoveryengine/v1beta/evaluation_service.proto +252 -0
  23. package/build/protos/google/cloud/discoveryengine/v1beta/import_config.proto +191 -0
  24. package/build/protos/google/cloud/discoveryengine/v1beta/purge_config.proto +111 -0
  25. package/build/protos/google/cloud/discoveryengine/v1beta/sample_query.proto +86 -0
  26. package/build/protos/google/cloud/discoveryengine/v1beta/sample_query_service.proto +264 -0
  27. package/build/protos/google/cloud/discoveryengine/v1beta/sample_query_set.proto +64 -0
  28. package/build/protos/google/cloud/discoveryengine/v1beta/sample_query_set_service.proto +256 -0
  29. package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +370 -8
  30. package/build/protos/google/cloud/discoveryengine/v1beta/serving_config.proto +11 -5
  31. package/build/protos/google/cloud/discoveryengine/v1beta/user_event_service.proto +24 -0
  32. package/build/protos/protos.d.ts +32735 -21073
  33. package/build/protos/protos.js +80768 -53241
  34. package/build/protos/protos.json +5309 -2481
  35. package/build/src/v1alpha/acl_config_service_client.d.ts +108 -0
  36. package/build/src/v1alpha/acl_config_service_client.js +157 -0
  37. package/build/src/v1alpha/chunk_service_client.d.ts +108 -0
  38. package/build/src/v1alpha/chunk_service_client.js +157 -0
  39. package/build/src/v1alpha/completion_service_client.d.ts +108 -0
  40. package/build/src/v1alpha/completion_service_client.js +157 -0
  41. package/build/src/v1alpha/control_service_client.d.ts +108 -0
  42. package/build/src/v1alpha/control_service_client.js +157 -0
  43. package/build/src/v1alpha/conversational_search_service_client.d.ts +108 -0
  44. package/build/src/v1alpha/conversational_search_service_client.js +157 -0
  45. package/build/src/v1alpha/data_store_service_client.d.ts +108 -0
  46. package/build/src/v1alpha/data_store_service_client.js +157 -0
  47. package/build/src/v1alpha/document_service_client.d.ts +108 -0
  48. package/build/src/v1alpha/document_service_client.js +157 -0
  49. package/build/src/v1alpha/engine_service_client.d.ts +108 -0
  50. package/build/src/v1alpha/engine_service_client.js +157 -0
  51. package/build/src/v1alpha/estimate_billing_service_client.d.ts +108 -0
  52. package/build/src/v1alpha/estimate_billing_service_client.js +157 -0
  53. package/build/src/v1alpha/evaluation_service_client.d.ts +2349 -0
  54. package/build/src/v1alpha/evaluation_service_client.js +3288 -0
  55. package/build/src/v1alpha/evaluation_service_client_config.json +58 -0
  56. package/build/src/v1alpha/grounded_generation_service_client.d.ts +108 -0
  57. package/build/src/v1alpha/grounded_generation_service_client.js +157 -0
  58. package/build/src/v1alpha/index.d.ts +3 -0
  59. package/build/src/v1alpha/index.js +7 -1
  60. package/build/src/v1alpha/project_service_client.d.ts +108 -0
  61. package/build/src/v1alpha/project_service_client.js +157 -0
  62. package/build/src/v1alpha/rank_service_client.d.ts +108 -0
  63. package/build/src/v1alpha/rank_service_client.js +157 -0
  64. package/build/src/v1alpha/recommendation_service_client.d.ts +108 -0
  65. package/build/src/v1alpha/recommendation_service_client.js +157 -0
  66. package/build/src/v1alpha/sample_query_service_client.d.ts +2317 -0
  67. package/build/src/v1alpha/sample_query_service_client.js +3186 -0
  68. package/build/src/v1alpha/sample_query_service_client_config.json +68 -0
  69. package/build/src/v1alpha/sample_query_set_service_client.d.ts +2176 -0
  70. package/build/src/v1alpha/sample_query_set_service_client.js +2931 -0
  71. package/build/src/v1alpha/sample_query_set_service_client_config.json +63 -0
  72. package/build/src/v1alpha/schema_service_client.d.ts +108 -0
  73. package/build/src/v1alpha/schema_service_client.js +157 -0
  74. package/build/src/v1alpha/search_service_client.d.ts +108 -0
  75. package/build/src/v1alpha/search_service_client.js +157 -0
  76. package/build/src/v1alpha/search_tuning_service_client.d.ts +108 -0
  77. package/build/src/v1alpha/search_tuning_service_client.js +157 -0
  78. package/build/src/v1alpha/serving_config_service_client.d.ts +108 -0
  79. package/build/src/v1alpha/serving_config_service_client.js +157 -0
  80. package/build/src/v1alpha/site_search_engine_service_client.d.ts +108 -0
  81. package/build/src/v1alpha/site_search_engine_service_client.js +157 -0
  82. package/build/src/v1alpha/user_event_service_client.d.ts +108 -0
  83. package/build/src/v1alpha/user_event_service_client.js +157 -0
  84. package/build/src/v1beta/completion_service_client.d.ts +328 -0
  85. package/build/src/v1beta/completion_service_client.js +423 -0
  86. package/build/src/v1beta/completion_service_client_config.json +10 -0
  87. package/build/src/v1beta/control_service_client.d.ts +237 -0
  88. package/build/src/v1beta/control_service_client.js +333 -0
  89. package/build/src/v1beta/conversational_search_service_client.d.ts +255 -0
  90. package/build/src/v1beta/conversational_search_service_client.js +333 -0
  91. package/build/src/v1beta/data_store_service_client.d.ts +246 -0
  92. package/build/src/v1beta/data_store_service_client.js +339 -0
  93. package/build/src/v1beta/document_service_client.d.ts +239 -0
  94. package/build/src/v1beta/document_service_client.js +339 -0
  95. package/build/src/v1beta/engine_service_client.d.ts +237 -0
  96. package/build/src/v1beta/engine_service_client.js +339 -0
  97. package/build/src/v1beta/evaluation_service_client.d.ts +2325 -0
  98. package/build/src/v1beta/evaluation_service_client.js +3252 -0
  99. package/build/src/v1beta/evaluation_service_client_config.json +58 -0
  100. package/build/src/v1beta/grounded_generation_service_client.d.ts +237 -0
  101. package/build/src/v1beta/grounded_generation_service_client.js +333 -0
  102. package/build/src/v1beta/index.d.ts +3 -0
  103. package/build/src/v1beta/index.js +7 -1
  104. package/build/src/v1beta/project_service_client.d.ts +237 -0
  105. package/build/src/v1beta/project_service_client.js +339 -0
  106. package/build/src/v1beta/rank_service_client.d.ts +237 -0
  107. package/build/src/v1beta/rank_service_client.js +333 -0
  108. package/build/src/v1beta/recommendation_service_client.d.ts +237 -0
  109. package/build/src/v1beta/recommendation_service_client.js +333 -0
  110. package/build/src/v1beta/sample_query_service_client.d.ts +2293 -0
  111. package/build/src/v1beta/sample_query_service_client.js +3150 -0
  112. package/build/src/v1beta/sample_query_service_client_config.json +68 -0
  113. package/build/src/v1beta/sample_query_set_service_client.d.ts +2150 -0
  114. package/build/src/v1beta/sample_query_set_service_client.js +2895 -0
  115. package/build/src/v1beta/sample_query_set_service_client_config.json +63 -0
  116. package/build/src/v1beta/schema_service_client.d.ts +237 -0
  117. package/build/src/v1beta/schema_service_client.js +339 -0
  118. package/build/src/v1beta/search_service_client.d.ts +414 -12
  119. package/build/src/v1beta/search_service_client.js +451 -8
  120. package/build/src/v1beta/search_tuning_service_client.d.ts +237 -0
  121. package/build/src/v1beta/search_tuning_service_client.js +339 -0
  122. package/build/src/v1beta/serving_config_service_client.d.ts +237 -0
  123. package/build/src/v1beta/serving_config_service_client.js +333 -0
  124. package/build/src/v1beta/site_search_engine_service_client.d.ts +237 -0
  125. package/build/src/v1beta/site_search_engine_service_client.js +339 -0
  126. package/build/src/v1beta/user_event_service_client.d.ts +312 -0
  127. package/build/src/v1beta/user_event_service_client.js +381 -0
  128. package/build/src/v1beta/user_event_service_client_config.json +5 -0
  129. package/package.json +1 -1
@@ -394,6 +394,39 @@ export declare class EstimateBillingServiceClient {
394
394
  * @returns {string} A string representing the engine.
395
395
  */
396
396
  matchEngineFromEngineName(engineName: string): string | number;
397
+ /**
398
+ * Return a fully-qualified evaluation resource name string.
399
+ *
400
+ * @param {string} project
401
+ * @param {string} location
402
+ * @param {string} evaluation
403
+ * @returns {string} Resource name string.
404
+ */
405
+ evaluationPath(project: string, location: string, evaluation: string): string;
406
+ /**
407
+ * Parse the project from Evaluation resource.
408
+ *
409
+ * @param {string} evaluationName
410
+ * A fully-qualified path representing Evaluation resource.
411
+ * @returns {string} A string representing the project.
412
+ */
413
+ matchProjectFromEvaluationName(evaluationName: string): string | number;
414
+ /**
415
+ * Parse the location from Evaluation resource.
416
+ *
417
+ * @param {string} evaluationName
418
+ * A fully-qualified path representing Evaluation resource.
419
+ * @returns {string} A string representing the location.
420
+ */
421
+ matchLocationFromEvaluationName(evaluationName: string): string | number;
422
+ /**
423
+ * Parse the evaluation from Evaluation resource.
424
+ *
425
+ * @param {string} evaluationName
426
+ * A fully-qualified path representing Evaluation resource.
427
+ * @returns {string} A string representing the evaluation.
428
+ */
429
+ matchEvaluationFromEvaluationName(evaluationName: string): string | number;
397
430
  /**
398
431
  * Return a fully-qualified location resource name string.
399
432
  *
@@ -1924,6 +1957,81 @@ export declare class EstimateBillingServiceClient {
1924
1957
  * @returns {string} A string representing the target_site.
1925
1958
  */
1926
1959
  matchTargetSiteFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName: string): string | number;
1960
+ /**
1961
+ * Return a fully-qualified sampleQuery resource name string.
1962
+ *
1963
+ * @param {string} project
1964
+ * @param {string} location
1965
+ * @param {string} sample_query_set
1966
+ * @param {string} sample_query
1967
+ * @returns {string} Resource name string.
1968
+ */
1969
+ sampleQueryPath(project: string, location: string, sampleQuerySet: string, sampleQuery: string): string;
1970
+ /**
1971
+ * Parse the project from SampleQuery resource.
1972
+ *
1973
+ * @param {string} sampleQueryName
1974
+ * A fully-qualified path representing SampleQuery resource.
1975
+ * @returns {string} A string representing the project.
1976
+ */
1977
+ matchProjectFromSampleQueryName(sampleQueryName: string): string | number;
1978
+ /**
1979
+ * Parse the location from SampleQuery resource.
1980
+ *
1981
+ * @param {string} sampleQueryName
1982
+ * A fully-qualified path representing SampleQuery resource.
1983
+ * @returns {string} A string representing the location.
1984
+ */
1985
+ matchLocationFromSampleQueryName(sampleQueryName: string): string | number;
1986
+ /**
1987
+ * Parse the sample_query_set from SampleQuery resource.
1988
+ *
1989
+ * @param {string} sampleQueryName
1990
+ * A fully-qualified path representing SampleQuery resource.
1991
+ * @returns {string} A string representing the sample_query_set.
1992
+ */
1993
+ matchSampleQuerySetFromSampleQueryName(sampleQueryName: string): string | number;
1994
+ /**
1995
+ * Parse the sample_query from SampleQuery resource.
1996
+ *
1997
+ * @param {string} sampleQueryName
1998
+ * A fully-qualified path representing SampleQuery resource.
1999
+ * @returns {string} A string representing the sample_query.
2000
+ */
2001
+ matchSampleQueryFromSampleQueryName(sampleQueryName: string): string | number;
2002
+ /**
2003
+ * Return a fully-qualified sampleQuerySet resource name string.
2004
+ *
2005
+ * @param {string} project
2006
+ * @param {string} location
2007
+ * @param {string} sample_query_set
2008
+ * @returns {string} Resource name string.
2009
+ */
2010
+ sampleQuerySetPath(project: string, location: string, sampleQuerySet: string): string;
2011
+ /**
2012
+ * Parse the project from SampleQuerySet resource.
2013
+ *
2014
+ * @param {string} sampleQuerySetName
2015
+ * A fully-qualified path representing SampleQuerySet resource.
2016
+ * @returns {string} A string representing the project.
2017
+ */
2018
+ matchProjectFromSampleQuerySetName(sampleQuerySetName: string): string | number;
2019
+ /**
2020
+ * Parse the location from SampleQuerySet resource.
2021
+ *
2022
+ * @param {string} sampleQuerySetName
2023
+ * A fully-qualified path representing SampleQuerySet resource.
2024
+ * @returns {string} A string representing the location.
2025
+ */
2026
+ matchLocationFromSampleQuerySetName(sampleQuerySetName: string): string | number;
2027
+ /**
2028
+ * Parse the sample_query_set from SampleQuerySet resource.
2029
+ *
2030
+ * @param {string} sampleQuerySetName
2031
+ * A fully-qualified path representing SampleQuerySet resource.
2032
+ * @returns {string} A string representing the sample_query_set.
2033
+ */
2034
+ matchSampleQuerySetFromSampleQuerySetName(sampleQuerySetName: string): string | number;
1927
2035
  /**
1928
2036
  * Terminate the gRPC channel and close the client.
1929
2037
  *
@@ -152,6 +152,7 @@ class EstimateBillingServiceClient {
152
152
  this.pathTemplates = {
153
153
  aclConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/aclConfig'),
154
154
  enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
155
+ evaluationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/evaluations/{evaluation}'),
155
156
  locationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}'),
156
157
  projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
157
158
  projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
@@ -185,6 +186,8 @@ class EstimateBillingServiceClient {
185
186
  projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
186
187
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
187
188
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
189
+ sampleQueryPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}'),
190
+ sampleQuerySetPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}'),
188
191
  };
189
192
  const protoFilesRoot = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
190
193
  // This API contains "long-running operations", which return a
@@ -733,6 +736,54 @@ class EstimateBillingServiceClient {
733
736
  matchEngineFromEngineName(engineName) {
734
737
  return this.pathTemplates.enginePathTemplate.match(engineName).engine;
735
738
  }
739
+ /**
740
+ * Return a fully-qualified evaluation resource name string.
741
+ *
742
+ * @param {string} project
743
+ * @param {string} location
744
+ * @param {string} evaluation
745
+ * @returns {string} Resource name string.
746
+ */
747
+ evaluationPath(project, location, evaluation) {
748
+ return this.pathTemplates.evaluationPathTemplate.render({
749
+ project: project,
750
+ location: location,
751
+ evaluation: evaluation,
752
+ });
753
+ }
754
+ /**
755
+ * Parse the project from Evaluation resource.
756
+ *
757
+ * @param {string} evaluationName
758
+ * A fully-qualified path representing Evaluation resource.
759
+ * @returns {string} A string representing the project.
760
+ */
761
+ matchProjectFromEvaluationName(evaluationName) {
762
+ return this.pathTemplates.evaluationPathTemplate.match(evaluationName)
763
+ .project;
764
+ }
765
+ /**
766
+ * Parse the location from Evaluation resource.
767
+ *
768
+ * @param {string} evaluationName
769
+ * A fully-qualified path representing Evaluation resource.
770
+ * @returns {string} A string representing the location.
771
+ */
772
+ matchLocationFromEvaluationName(evaluationName) {
773
+ return this.pathTemplates.evaluationPathTemplate.match(evaluationName)
774
+ .location;
775
+ }
776
+ /**
777
+ * Parse the evaluation from Evaluation resource.
778
+ *
779
+ * @param {string} evaluationName
780
+ * A fully-qualified path representing Evaluation resource.
781
+ * @returns {string} A string representing the evaluation.
782
+ */
783
+ matchEvaluationFromEvaluationName(evaluationName) {
784
+ return this.pathTemplates.evaluationPathTemplate.match(evaluationName)
785
+ .evaluation;
786
+ }
736
787
  /**
737
788
  * Return a fully-qualified location resource name string.
738
789
  *
@@ -2806,6 +2857,112 @@ class EstimateBillingServiceClient {
2806
2857
  matchTargetSiteFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
2807
2858
  return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).target_site;
2808
2859
  }
2860
+ /**
2861
+ * Return a fully-qualified sampleQuery resource name string.
2862
+ *
2863
+ * @param {string} project
2864
+ * @param {string} location
2865
+ * @param {string} sample_query_set
2866
+ * @param {string} sample_query
2867
+ * @returns {string} Resource name string.
2868
+ */
2869
+ sampleQueryPath(project, location, sampleQuerySet, sampleQuery) {
2870
+ return this.pathTemplates.sampleQueryPathTemplate.render({
2871
+ project: project,
2872
+ location: location,
2873
+ sample_query_set: sampleQuerySet,
2874
+ sample_query: sampleQuery,
2875
+ });
2876
+ }
2877
+ /**
2878
+ * Parse the project from SampleQuery resource.
2879
+ *
2880
+ * @param {string} sampleQueryName
2881
+ * A fully-qualified path representing SampleQuery resource.
2882
+ * @returns {string} A string representing the project.
2883
+ */
2884
+ matchProjectFromSampleQueryName(sampleQueryName) {
2885
+ return this.pathTemplates.sampleQueryPathTemplate.match(sampleQueryName)
2886
+ .project;
2887
+ }
2888
+ /**
2889
+ * Parse the location from SampleQuery resource.
2890
+ *
2891
+ * @param {string} sampleQueryName
2892
+ * A fully-qualified path representing SampleQuery resource.
2893
+ * @returns {string} A string representing the location.
2894
+ */
2895
+ matchLocationFromSampleQueryName(sampleQueryName) {
2896
+ return this.pathTemplates.sampleQueryPathTemplate.match(sampleQueryName)
2897
+ .location;
2898
+ }
2899
+ /**
2900
+ * Parse the sample_query_set from SampleQuery resource.
2901
+ *
2902
+ * @param {string} sampleQueryName
2903
+ * A fully-qualified path representing SampleQuery resource.
2904
+ * @returns {string} A string representing the sample_query_set.
2905
+ */
2906
+ matchSampleQuerySetFromSampleQueryName(sampleQueryName) {
2907
+ return this.pathTemplates.sampleQueryPathTemplate.match(sampleQueryName)
2908
+ .sample_query_set;
2909
+ }
2910
+ /**
2911
+ * Parse the sample_query from SampleQuery resource.
2912
+ *
2913
+ * @param {string} sampleQueryName
2914
+ * A fully-qualified path representing SampleQuery resource.
2915
+ * @returns {string} A string representing the sample_query.
2916
+ */
2917
+ matchSampleQueryFromSampleQueryName(sampleQueryName) {
2918
+ return this.pathTemplates.sampleQueryPathTemplate.match(sampleQueryName)
2919
+ .sample_query;
2920
+ }
2921
+ /**
2922
+ * Return a fully-qualified sampleQuerySet resource name string.
2923
+ *
2924
+ * @param {string} project
2925
+ * @param {string} location
2926
+ * @param {string} sample_query_set
2927
+ * @returns {string} Resource name string.
2928
+ */
2929
+ sampleQuerySetPath(project, location, sampleQuerySet) {
2930
+ return this.pathTemplates.sampleQuerySetPathTemplate.render({
2931
+ project: project,
2932
+ location: location,
2933
+ sample_query_set: sampleQuerySet,
2934
+ });
2935
+ }
2936
+ /**
2937
+ * Parse the project from SampleQuerySet resource.
2938
+ *
2939
+ * @param {string} sampleQuerySetName
2940
+ * A fully-qualified path representing SampleQuerySet resource.
2941
+ * @returns {string} A string representing the project.
2942
+ */
2943
+ matchProjectFromSampleQuerySetName(sampleQuerySetName) {
2944
+ return this.pathTemplates.sampleQuerySetPathTemplate.match(sampleQuerySetName).project;
2945
+ }
2946
+ /**
2947
+ * Parse the location from SampleQuerySet resource.
2948
+ *
2949
+ * @param {string} sampleQuerySetName
2950
+ * A fully-qualified path representing SampleQuerySet resource.
2951
+ * @returns {string} A string representing the location.
2952
+ */
2953
+ matchLocationFromSampleQuerySetName(sampleQuerySetName) {
2954
+ return this.pathTemplates.sampleQuerySetPathTemplate.match(sampleQuerySetName).location;
2955
+ }
2956
+ /**
2957
+ * Parse the sample_query_set from SampleQuerySet resource.
2958
+ *
2959
+ * @param {string} sampleQuerySetName
2960
+ * A fully-qualified path representing SampleQuerySet resource.
2961
+ * @returns {string} A string representing the sample_query_set.
2962
+ */
2963
+ matchSampleQuerySetFromSampleQuerySetName(sampleQuerySetName) {
2964
+ return this.pathTemplates.sampleQuerySetPathTemplate.match(sampleQuerySetName).sample_query_set;
2965
+ }
2809
2966
  /**
2810
2967
  * Terminate the gRPC channel and close the client.
2811
2968
  *