@google-cloud/discoveryengine 1.9.0 → 1.11.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 (160) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/README.md +32 -0
  3. package/build/protos/google/cloud/discoveryengine/v1/answer.proto +13 -0
  4. package/build/protos/google/cloud/discoveryengine/v1/chunk.proto +119 -0
  5. package/build/protos/google/cloud/discoveryengine/v1/common.proto +0 -5
  6. package/build/protos/google/cloud/discoveryengine/v1/completion.proto +31 -0
  7. package/build/protos/google/cloud/discoveryengine/v1/completion_service.proto +38 -0
  8. package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +35 -0
  9. package/build/protos/google/cloud/discoveryengine/v1/document.proto +1 -1
  10. package/build/protos/google/cloud/discoveryengine/v1/document_processing_config.proto +37 -2
  11. package/build/protos/google/cloud/discoveryengine/v1/import_config.proto +108 -0
  12. package/build/protos/google/cloud/discoveryengine/v1/purge_config.proto +38 -0
  13. package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +200 -4
  14. package/build/protos/google/cloud/discoveryengine/v1/user_event_service.proto +3 -0
  15. package/build/protos/google/cloud/discoveryengine/v1alpha/evaluation.proto +232 -0
  16. package/build/protos/google/cloud/discoveryengine/v1alpha/evaluation_service.proto +252 -0
  17. package/build/protos/google/cloud/discoveryengine/v1alpha/import_config.proto +83 -0
  18. package/build/protos/google/cloud/discoveryengine/v1alpha/sample_query.proto +86 -0
  19. package/build/protos/google/cloud/discoveryengine/v1alpha/sample_query_service.proto +264 -0
  20. package/build/protos/google/cloud/discoveryengine/v1alpha/sample_query_set.proto +64 -0
  21. package/build/protos/google/cloud/discoveryengine/v1alpha/sample_query_set_service.proto +258 -0
  22. package/build/protos/google/cloud/discoveryengine/v1beta/chunk.proto +119 -0
  23. package/build/protos/google/cloud/discoveryengine/v1beta/common.proto +0 -5
  24. package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +10 -2
  25. package/build/protos/google/cloud/discoveryengine/v1beta/document.proto +1 -1
  26. package/build/protos/google/cloud/discoveryengine/v1beta/document_processing_config.proto +37 -2
  27. package/build/protos/google/cloud/discoveryengine/v1beta/evaluation.proto +231 -0
  28. package/build/protos/google/cloud/discoveryengine/v1beta/evaluation_service.proto +252 -0
  29. package/build/protos/google/cloud/discoveryengine/v1beta/import_config.proto +83 -0
  30. package/build/protos/google/cloud/discoveryengine/v1beta/sample_query.proto +86 -0
  31. package/build/protos/google/cloud/discoveryengine/v1beta/sample_query_service.proto +264 -0
  32. package/build/protos/google/cloud/discoveryengine/v1beta/sample_query_set.proto +64 -0
  33. package/build/protos/google/cloud/discoveryengine/v1beta/sample_query_set_service.proto +256 -0
  34. package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +67 -8
  35. package/build/protos/google/cloud/discoveryengine/v1beta/serving_config.proto +11 -5
  36. package/build/protos/protos.d.ts +31310 -20211
  37. package/build/protos/protos.js +86710 -60571
  38. package/build/protos/protos.json +7720 -5011
  39. package/build/src/v1/completion_service_client.d.ts +220 -0
  40. package/build/src/v1/completion_service_client.js +260 -0
  41. package/build/src/v1/completion_service_client_config.json +10 -0
  42. package/build/src/v1/control_service_client.d.ts +129 -1
  43. package/build/src/v1/control_service_client.js +176 -0
  44. package/build/src/v1/conversational_search_service_client.d.ts +147 -1
  45. package/build/src/v1/conversational_search_service_client.js +176 -0
  46. package/build/src/v1/data_store_service_client.d.ts +129 -1
  47. package/build/src/v1/data_store_service_client.js +176 -0
  48. package/build/src/v1/document_service_client.d.ts +131 -1
  49. package/build/src/v1/document_service_client.js +176 -0
  50. package/build/src/v1/engine_service_client.d.ts +129 -1
  51. package/build/src/v1/engine_service_client.js +176 -0
  52. package/build/src/v1/grounded_generation_service_client.d.ts +129 -0
  53. package/build/src/v1/grounded_generation_service_client.js +176 -0
  54. package/build/src/v1/project_service_client.d.ts +129 -0
  55. package/build/src/v1/project_service_client.js +176 -0
  56. package/build/src/v1/rank_service_client.d.ts +129 -0
  57. package/build/src/v1/rank_service_client.js +176 -0
  58. package/build/src/v1/recommendation_service_client.d.ts +129 -0
  59. package/build/src/v1/recommendation_service_client.js +176 -0
  60. package/build/src/v1/schema_service_client.d.ts +129 -1
  61. package/build/src/v1/schema_service_client.js +176 -0
  62. package/build/src/v1/search_service_client.d.ts +252 -1
  63. package/build/src/v1/search_service_client.js +258 -0
  64. package/build/src/v1/site_search_engine_service_client.d.ts +129 -1
  65. package/build/src/v1/site_search_engine_service_client.js +176 -0
  66. package/build/src/v1/user_event_service_client.d.ts +129 -0
  67. package/build/src/v1/user_event_service_client.js +176 -0
  68. package/build/src/v1alpha/acl_config_service_client.d.ts +108 -0
  69. package/build/src/v1alpha/acl_config_service_client.js +157 -0
  70. package/build/src/v1alpha/chunk_service_client.d.ts +108 -1
  71. package/build/src/v1alpha/chunk_service_client.js +157 -0
  72. package/build/src/v1alpha/completion_service_client.d.ts +108 -0
  73. package/build/src/v1alpha/completion_service_client.js +157 -0
  74. package/build/src/v1alpha/control_service_client.d.ts +108 -1
  75. package/build/src/v1alpha/control_service_client.js +157 -0
  76. package/build/src/v1alpha/conversational_search_service_client.d.ts +108 -1
  77. package/build/src/v1alpha/conversational_search_service_client.js +157 -0
  78. package/build/src/v1alpha/data_store_service_client.d.ts +108 -1
  79. package/build/src/v1alpha/data_store_service_client.js +157 -0
  80. package/build/src/v1alpha/document_service_client.d.ts +108 -1
  81. package/build/src/v1alpha/document_service_client.js +157 -0
  82. package/build/src/v1alpha/engine_service_client.d.ts +108 -1
  83. package/build/src/v1alpha/engine_service_client.js +157 -0
  84. package/build/src/v1alpha/estimate_billing_service_client.d.ts +108 -0
  85. package/build/src/v1alpha/estimate_billing_service_client.js +157 -0
  86. package/build/src/v1alpha/evaluation_service_client.d.ts +2349 -0
  87. package/build/src/v1alpha/evaluation_service_client.js +3288 -0
  88. package/build/src/v1alpha/evaluation_service_client_config.json +58 -0
  89. package/build/src/v1alpha/grounded_generation_service_client.d.ts +108 -0
  90. package/build/src/v1alpha/grounded_generation_service_client.js +157 -0
  91. package/build/src/v1alpha/index.d.ts +3 -0
  92. package/build/src/v1alpha/index.js +7 -1
  93. package/build/src/v1alpha/project_service_client.d.ts +108 -0
  94. package/build/src/v1alpha/project_service_client.js +157 -0
  95. package/build/src/v1alpha/rank_service_client.d.ts +108 -0
  96. package/build/src/v1alpha/rank_service_client.js +157 -0
  97. package/build/src/v1alpha/recommendation_service_client.d.ts +108 -0
  98. package/build/src/v1alpha/recommendation_service_client.js +157 -0
  99. package/build/src/v1alpha/sample_query_service_client.d.ts +2317 -0
  100. package/build/src/v1alpha/sample_query_service_client.js +3186 -0
  101. package/build/src/v1alpha/sample_query_service_client_config.json +68 -0
  102. package/build/src/v1alpha/sample_query_set_service_client.d.ts +2176 -0
  103. package/build/src/v1alpha/sample_query_set_service_client.js +2931 -0
  104. package/build/src/v1alpha/sample_query_set_service_client_config.json +63 -0
  105. package/build/src/v1alpha/schema_service_client.d.ts +108 -1
  106. package/build/src/v1alpha/schema_service_client.js +157 -0
  107. package/build/src/v1alpha/search_service_client.d.ts +108 -1
  108. package/build/src/v1alpha/search_service_client.js +157 -0
  109. package/build/src/v1alpha/search_tuning_service_client.d.ts +108 -0
  110. package/build/src/v1alpha/search_tuning_service_client.js +157 -0
  111. package/build/src/v1alpha/serving_config_service_client.d.ts +108 -1
  112. package/build/src/v1alpha/serving_config_service_client.js +157 -0
  113. package/build/src/v1alpha/site_search_engine_service_client.d.ts +108 -1
  114. package/build/src/v1alpha/site_search_engine_service_client.js +157 -0
  115. package/build/src/v1alpha/user_event_service_client.d.ts +108 -0
  116. package/build/src/v1alpha/user_event_service_client.js +157 -0
  117. package/build/src/v1beta/completion_service_client.d.ts +237 -0
  118. package/build/src/v1beta/completion_service_client.js +339 -0
  119. package/build/src/v1beta/control_service_client.d.ts +237 -1
  120. package/build/src/v1beta/control_service_client.js +333 -0
  121. package/build/src/v1beta/conversational_search_service_client.d.ts +237 -1
  122. package/build/src/v1beta/conversational_search_service_client.js +333 -0
  123. package/build/src/v1beta/data_store_service_client.d.ts +237 -1
  124. package/build/src/v1beta/data_store_service_client.js +339 -0
  125. package/build/src/v1beta/document_service_client.d.ts +237 -1
  126. package/build/src/v1beta/document_service_client.js +339 -0
  127. package/build/src/v1beta/engine_service_client.d.ts +237 -1
  128. package/build/src/v1beta/engine_service_client.js +339 -0
  129. package/build/src/v1beta/evaluation_service_client.d.ts +2325 -0
  130. package/build/src/v1beta/evaluation_service_client.js +3252 -0
  131. package/build/src/v1beta/evaluation_service_client_config.json +58 -0
  132. package/build/src/v1beta/grounded_generation_service_client.d.ts +237 -0
  133. package/build/src/v1beta/grounded_generation_service_client.js +333 -0
  134. package/build/src/v1beta/index.d.ts +3 -0
  135. package/build/src/v1beta/index.js +7 -1
  136. package/build/src/v1beta/project_service_client.d.ts +237 -0
  137. package/build/src/v1beta/project_service_client.js +339 -0
  138. package/build/src/v1beta/rank_service_client.d.ts +237 -0
  139. package/build/src/v1beta/rank_service_client.js +333 -0
  140. package/build/src/v1beta/recommendation_service_client.d.ts +237 -0
  141. package/build/src/v1beta/recommendation_service_client.js +333 -0
  142. package/build/src/v1beta/sample_query_service_client.d.ts +2293 -0
  143. package/build/src/v1beta/sample_query_service_client.js +3150 -0
  144. package/build/src/v1beta/sample_query_service_client_config.json +68 -0
  145. package/build/src/v1beta/sample_query_set_service_client.d.ts +2150 -0
  146. package/build/src/v1beta/sample_query_set_service_client.js +2895 -0
  147. package/build/src/v1beta/sample_query_set_service_client_config.json +63 -0
  148. package/build/src/v1beta/schema_service_client.d.ts +237 -1
  149. package/build/src/v1beta/schema_service_client.js +339 -0
  150. package/build/src/v1beta/search_service_client.d.ts +267 -13
  151. package/build/src/v1beta/search_service_client.js +353 -8
  152. package/build/src/v1beta/search_tuning_service_client.d.ts +237 -0
  153. package/build/src/v1beta/search_tuning_service_client.js +339 -0
  154. package/build/src/v1beta/serving_config_service_client.d.ts +237 -1
  155. package/build/src/v1beta/serving_config_service_client.js +333 -0
  156. package/build/src/v1beta/site_search_engine_service_client.d.ts +237 -1
  157. package/build/src/v1beta/site_search_engine_service_client.js +339 -0
  158. package/build/src/v1beta/user_event_service_client.d.ts +237 -0
  159. package/build/src/v1beta/user_event_service_client.js +339 -0
  160. package/package.json +1 -1
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import type * as gax from 'google-gax';
3
2
  import type { Callback, CallOptions, Descriptors, ClientOptions, LROperation, PaginationCallback, LocationsClient, LocationProtos } from 'google-gax';
4
3
  import { Transform } from 'stream';
@@ -812,6 +811,39 @@ export declare class DocumentServiceClient {
812
811
  * @returns {string} A string representing the engine.
813
812
  */
814
813
  matchEngineFromEngineName(engineName: string): string | number;
814
+ /**
815
+ * Return a fully-qualified evaluation resource name string.
816
+ *
817
+ * @param {string} project
818
+ * @param {string} location
819
+ * @param {string} evaluation
820
+ * @returns {string} Resource name string.
821
+ */
822
+ evaluationPath(project: string, location: string, evaluation: string): string;
823
+ /**
824
+ * Parse the project from Evaluation resource.
825
+ *
826
+ * @param {string} evaluationName
827
+ * A fully-qualified path representing Evaluation resource.
828
+ * @returns {string} A string representing the project.
829
+ */
830
+ matchProjectFromEvaluationName(evaluationName: string): string | number;
831
+ /**
832
+ * Parse the location from Evaluation resource.
833
+ *
834
+ * @param {string} evaluationName
835
+ * A fully-qualified path representing Evaluation resource.
836
+ * @returns {string} A string representing the location.
837
+ */
838
+ matchLocationFromEvaluationName(evaluationName: string): string | number;
839
+ /**
840
+ * Parse the evaluation from Evaluation resource.
841
+ *
842
+ * @param {string} evaluationName
843
+ * A fully-qualified path representing Evaluation resource.
844
+ * @returns {string} A string representing the evaluation.
845
+ */
846
+ matchEvaluationFromEvaluationName(evaluationName: string): string | number;
815
847
  /**
816
848
  * Return a fully-qualified project resource name string.
817
849
  *
@@ -980,6 +1012,75 @@ export declare class DocumentServiceClient {
980
1012
  * @returns {string} A string representing the document.
981
1013
  */
982
1014
  matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
1015
+ /**
1016
+ * Return a fully-qualified projectLocationCollectionDataStoreBranchDocumentChunk resource name string.
1017
+ *
1018
+ * @param {string} project
1019
+ * @param {string} location
1020
+ * @param {string} collection
1021
+ * @param {string} data_store
1022
+ * @param {string} branch
1023
+ * @param {string} document
1024
+ * @param {string} chunk
1025
+ * @returns {string} Resource name string.
1026
+ */
1027
+ projectLocationCollectionDataStoreBranchDocumentChunkPath(project: string, location: string, collection: string, dataStore: string, branch: string, document: string, chunk: string): string;
1028
+ /**
1029
+ * Parse the project from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1030
+ *
1031
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1032
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1033
+ * @returns {string} A string representing the project.
1034
+ */
1035
+ matchProjectFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
1036
+ /**
1037
+ * Parse the location from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1038
+ *
1039
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1040
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1041
+ * @returns {string} A string representing the location.
1042
+ */
1043
+ matchLocationFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
1044
+ /**
1045
+ * Parse the collection from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1046
+ *
1047
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1048
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1049
+ * @returns {string} A string representing the collection.
1050
+ */
1051
+ matchCollectionFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
1052
+ /**
1053
+ * Parse the data_store from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1054
+ *
1055
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1056
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1057
+ * @returns {string} A string representing the data_store.
1058
+ */
1059
+ matchDataStoreFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
1060
+ /**
1061
+ * Parse the branch from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1062
+ *
1063
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1064
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1065
+ * @returns {string} A string representing the branch.
1066
+ */
1067
+ matchBranchFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
1068
+ /**
1069
+ * Parse the document from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1070
+ *
1071
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1072
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1073
+ * @returns {string} A string representing the document.
1074
+ */
1075
+ matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
1076
+ /**
1077
+ * Parse the chunk from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1078
+ *
1079
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1080
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1081
+ * @returns {string} A string representing the chunk.
1082
+ */
1083
+ matchChunkFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
983
1084
  /**
984
1085
  * Return a fully-qualified projectLocationCollectionDataStoreControl resource name string.
985
1086
  *
@@ -1871,6 +1972,66 @@ export declare class DocumentServiceClient {
1871
1972
  * @returns {string} A string representing the document.
1872
1973
  */
1873
1974
  matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
1975
+ /**
1976
+ * Return a fully-qualified projectLocationDataStoreBranchDocumentChunk resource name string.
1977
+ *
1978
+ * @param {string} project
1979
+ * @param {string} location
1980
+ * @param {string} data_store
1981
+ * @param {string} branch
1982
+ * @param {string} document
1983
+ * @param {string} chunk
1984
+ * @returns {string} Resource name string.
1985
+ */
1986
+ projectLocationDataStoreBranchDocumentChunkPath(project: string, location: string, dataStore: string, branch: string, document: string, chunk: string): string;
1987
+ /**
1988
+ * Parse the project from ProjectLocationDataStoreBranchDocumentChunk resource.
1989
+ *
1990
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1991
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1992
+ * @returns {string} A string representing the project.
1993
+ */
1994
+ matchProjectFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
1995
+ /**
1996
+ * Parse the location from ProjectLocationDataStoreBranchDocumentChunk resource.
1997
+ *
1998
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1999
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
2000
+ * @returns {string} A string representing the location.
2001
+ */
2002
+ matchLocationFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
2003
+ /**
2004
+ * Parse the data_store from ProjectLocationDataStoreBranchDocumentChunk resource.
2005
+ *
2006
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
2007
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
2008
+ * @returns {string} A string representing the data_store.
2009
+ */
2010
+ matchDataStoreFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
2011
+ /**
2012
+ * Parse the branch from ProjectLocationDataStoreBranchDocumentChunk resource.
2013
+ *
2014
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
2015
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
2016
+ * @returns {string} A string representing the branch.
2017
+ */
2018
+ matchBranchFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
2019
+ /**
2020
+ * Parse the document from ProjectLocationDataStoreBranchDocumentChunk resource.
2021
+ *
2022
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
2023
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
2024
+ * @returns {string} A string representing the document.
2025
+ */
2026
+ matchDocumentFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
2027
+ /**
2028
+ * Parse the chunk from ProjectLocationDataStoreBranchDocumentChunk resource.
2029
+ *
2030
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
2031
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
2032
+ * @returns {string} A string representing the chunk.
2033
+ */
2034
+ matchChunkFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
1874
2035
  /**
1875
2036
  * Return a fully-qualified projectLocationDataStoreControl resource name string.
1876
2037
  *
@@ -2282,6 +2443,81 @@ export declare class DocumentServiceClient {
2282
2443
  * @returns {string} A string representing the target_site.
2283
2444
  */
2284
2445
  matchTargetSiteFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName: string): string | number;
2446
+ /**
2447
+ * Return a fully-qualified sampleQuery resource name string.
2448
+ *
2449
+ * @param {string} project
2450
+ * @param {string} location
2451
+ * @param {string} sample_query_set
2452
+ * @param {string} sample_query
2453
+ * @returns {string} Resource name string.
2454
+ */
2455
+ sampleQueryPath(project: string, location: string, sampleQuerySet: string, sampleQuery: string): string;
2456
+ /**
2457
+ * Parse the project from SampleQuery resource.
2458
+ *
2459
+ * @param {string} sampleQueryName
2460
+ * A fully-qualified path representing SampleQuery resource.
2461
+ * @returns {string} A string representing the project.
2462
+ */
2463
+ matchProjectFromSampleQueryName(sampleQueryName: string): string | number;
2464
+ /**
2465
+ * Parse the location from SampleQuery resource.
2466
+ *
2467
+ * @param {string} sampleQueryName
2468
+ * A fully-qualified path representing SampleQuery resource.
2469
+ * @returns {string} A string representing the location.
2470
+ */
2471
+ matchLocationFromSampleQueryName(sampleQueryName: string): string | number;
2472
+ /**
2473
+ * Parse the sample_query_set from SampleQuery resource.
2474
+ *
2475
+ * @param {string} sampleQueryName
2476
+ * A fully-qualified path representing SampleQuery resource.
2477
+ * @returns {string} A string representing the sample_query_set.
2478
+ */
2479
+ matchSampleQuerySetFromSampleQueryName(sampleQueryName: string): string | number;
2480
+ /**
2481
+ * Parse the sample_query from SampleQuery resource.
2482
+ *
2483
+ * @param {string} sampleQueryName
2484
+ * A fully-qualified path representing SampleQuery resource.
2485
+ * @returns {string} A string representing the sample_query.
2486
+ */
2487
+ matchSampleQueryFromSampleQueryName(sampleQueryName: string): string | number;
2488
+ /**
2489
+ * Return a fully-qualified sampleQuerySet resource name string.
2490
+ *
2491
+ * @param {string} project
2492
+ * @param {string} location
2493
+ * @param {string} sample_query_set
2494
+ * @returns {string} Resource name string.
2495
+ */
2496
+ sampleQuerySetPath(project: string, location: string, sampleQuerySet: string): string;
2497
+ /**
2498
+ * Parse the project from SampleQuerySet resource.
2499
+ *
2500
+ * @param {string} sampleQuerySetName
2501
+ * A fully-qualified path representing SampleQuerySet resource.
2502
+ * @returns {string} A string representing the project.
2503
+ */
2504
+ matchProjectFromSampleQuerySetName(sampleQuerySetName: string): string | number;
2505
+ /**
2506
+ * Parse the location from SampleQuerySet resource.
2507
+ *
2508
+ * @param {string} sampleQuerySetName
2509
+ * A fully-qualified path representing SampleQuerySet resource.
2510
+ * @returns {string} A string representing the location.
2511
+ */
2512
+ matchLocationFromSampleQuerySetName(sampleQuerySetName: string): string | number;
2513
+ /**
2514
+ * Parse the sample_query_set from SampleQuerySet resource.
2515
+ *
2516
+ * @param {string} sampleQuerySetName
2517
+ * A fully-qualified path representing SampleQuerySet resource.
2518
+ * @returns {string} A string representing the sample_query_set.
2519
+ */
2520
+ matchSampleQuerySetFromSampleQuerySetName(sampleQuerySetName: string): string | number;
2285
2521
  /**
2286
2522
  * Terminate the gRPC channel and close the client.
2287
2523
  *
@@ -152,10 +152,12 @@ class DocumentServiceClient {
152
152
  // Create useful helper objects for these.
153
153
  this.pathTemplates = {
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
  projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
156
157
  projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
157
158
  projectLocationCollectionDataStoreBranchPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}'),
158
159
  projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
160
+ projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
159
161
  projectLocationCollectionDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/controls/{control}'),
160
162
  projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
161
163
  projectLocationCollectionDataStoreCustomTuningModelPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}'),
@@ -174,6 +176,7 @@ class DocumentServiceClient {
174
176
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
175
177
  projectLocationDataStoreBranchPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}'),
176
178
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
179
+ projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
177
180
  projectLocationDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/controls/{control}'),
178
181
  projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
179
182
  projectLocationDataStoreCustomTuningModelPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}'),
@@ -184,6 +187,8 @@ class DocumentServiceClient {
184
187
  projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
185
188
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
186
189
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
190
+ sampleQueryPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}'),
191
+ sampleQuerySetPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}'),
187
192
  };
188
193
  // Some of the methods on this service return "paged" results,
189
194
  // (e.g. 50 results at a time, with tokens to get subsequent
@@ -250,7 +255,13 @@ class DocumentServiceClient {
250
255
  {
251
256
  get: '/v1beta/{name=projects/*/locations/*/dataStores/*/operations/*}',
252
257
  },
258
+ {
259
+ get: '/v1beta/{name=projects/*/locations/*/evaluations/*/operations/*}',
260
+ },
253
261
  { get: '/v1beta/{name=projects/*/locations/*/operations/*}' },
262
+ {
263
+ get: '/v1beta/{name=projects/*/locations/*/sampleQuerySets/*/operations/*}',
264
+ },
254
265
  { get: '/v1beta/{name=projects/*/operations/*}' },
255
266
  ],
256
267
  },
@@ -970,6 +981,54 @@ class DocumentServiceClient {
970
981
  matchEngineFromEngineName(engineName) {
971
982
  return this.pathTemplates.enginePathTemplate.match(engineName).engine;
972
983
  }
984
+ /**
985
+ * Return a fully-qualified evaluation resource name string.
986
+ *
987
+ * @param {string} project
988
+ * @param {string} location
989
+ * @param {string} evaluation
990
+ * @returns {string} Resource name string.
991
+ */
992
+ evaluationPath(project, location, evaluation) {
993
+ return this.pathTemplates.evaluationPathTemplate.render({
994
+ project: project,
995
+ location: location,
996
+ evaluation: evaluation,
997
+ });
998
+ }
999
+ /**
1000
+ * Parse the project from Evaluation resource.
1001
+ *
1002
+ * @param {string} evaluationName
1003
+ * A fully-qualified path representing Evaluation resource.
1004
+ * @returns {string} A string representing the project.
1005
+ */
1006
+ matchProjectFromEvaluationName(evaluationName) {
1007
+ return this.pathTemplates.evaluationPathTemplate.match(evaluationName)
1008
+ .project;
1009
+ }
1010
+ /**
1011
+ * Parse the location from Evaluation resource.
1012
+ *
1013
+ * @param {string} evaluationName
1014
+ * A fully-qualified path representing Evaluation resource.
1015
+ * @returns {string} A string representing the location.
1016
+ */
1017
+ matchLocationFromEvaluationName(evaluationName) {
1018
+ return this.pathTemplates.evaluationPathTemplate.match(evaluationName)
1019
+ .location;
1020
+ }
1021
+ /**
1022
+ * Parse the evaluation from Evaluation resource.
1023
+ *
1024
+ * @param {string} evaluationName
1025
+ * A fully-qualified path representing Evaluation resource.
1026
+ * @returns {string} A string representing the evaluation.
1027
+ */
1028
+ matchEvaluationFromEvaluationName(evaluationName) {
1029
+ return this.pathTemplates.evaluationPathTemplate.match(evaluationName)
1030
+ .evaluation;
1031
+ }
973
1032
  /**
974
1033
  * Return a fully-qualified project resource name string.
975
1034
  *
@@ -1198,6 +1257,99 @@ class DocumentServiceClient {
1198
1257
  matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName) {
1199
1258
  return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentName).document;
1200
1259
  }
1260
+ /**
1261
+ * Return a fully-qualified projectLocationCollectionDataStoreBranchDocumentChunk resource name string.
1262
+ *
1263
+ * @param {string} project
1264
+ * @param {string} location
1265
+ * @param {string} collection
1266
+ * @param {string} data_store
1267
+ * @param {string} branch
1268
+ * @param {string} document
1269
+ * @param {string} chunk
1270
+ * @returns {string} Resource name string.
1271
+ */
1272
+ projectLocationCollectionDataStoreBranchDocumentChunkPath(project, location, collection, dataStore, branch, document, chunk) {
1273
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.render({
1274
+ project: project,
1275
+ location: location,
1276
+ collection: collection,
1277
+ data_store: dataStore,
1278
+ branch: branch,
1279
+ document: document,
1280
+ chunk: chunk,
1281
+ });
1282
+ }
1283
+ /**
1284
+ * Parse the project from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1285
+ *
1286
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1287
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1288
+ * @returns {string} A string representing the project.
1289
+ */
1290
+ matchProjectFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1291
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).project;
1292
+ }
1293
+ /**
1294
+ * Parse the location from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1295
+ *
1296
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1297
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1298
+ * @returns {string} A string representing the location.
1299
+ */
1300
+ matchLocationFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1301
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).location;
1302
+ }
1303
+ /**
1304
+ * Parse the collection from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1305
+ *
1306
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1307
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1308
+ * @returns {string} A string representing the collection.
1309
+ */
1310
+ matchCollectionFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1311
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).collection;
1312
+ }
1313
+ /**
1314
+ * Parse the data_store from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1315
+ *
1316
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1317
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1318
+ * @returns {string} A string representing the data_store.
1319
+ */
1320
+ matchDataStoreFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1321
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).data_store;
1322
+ }
1323
+ /**
1324
+ * Parse the branch from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1325
+ *
1326
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1327
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1328
+ * @returns {string} A string representing the branch.
1329
+ */
1330
+ matchBranchFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1331
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).branch;
1332
+ }
1333
+ /**
1334
+ * Parse the document from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1335
+ *
1336
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1337
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1338
+ * @returns {string} A string representing the document.
1339
+ */
1340
+ matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1341
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).document;
1342
+ }
1343
+ /**
1344
+ * Parse the chunk from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1345
+ *
1346
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1347
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1348
+ * @returns {string} A string representing the chunk.
1349
+ */
1350
+ matchChunkFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1351
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).chunk;
1352
+ }
1201
1353
  /**
1202
1354
  * Return a fully-qualified projectLocationCollectionDataStoreControl resource name string.
1203
1355
  *
@@ -2404,6 +2556,87 @@ class DocumentServiceClient {
2404
2556
  matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName) {
2405
2557
  return this.pathTemplates.projectLocationDataStoreBranchDocumentPathTemplate.match(projectLocationDataStoreBranchDocumentName).document;
2406
2558
  }
2559
+ /**
2560
+ * Return a fully-qualified projectLocationDataStoreBranchDocumentChunk resource name string.
2561
+ *
2562
+ * @param {string} project
2563
+ * @param {string} location
2564
+ * @param {string} data_store
2565
+ * @param {string} branch
2566
+ * @param {string} document
2567
+ * @param {string} chunk
2568
+ * @returns {string} Resource name string.
2569
+ */
2570
+ projectLocationDataStoreBranchDocumentChunkPath(project, location, dataStore, branch, document, chunk) {
2571
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.render({
2572
+ project: project,
2573
+ location: location,
2574
+ data_store: dataStore,
2575
+ branch: branch,
2576
+ document: document,
2577
+ chunk: chunk,
2578
+ });
2579
+ }
2580
+ /**
2581
+ * Parse the project from ProjectLocationDataStoreBranchDocumentChunk resource.
2582
+ *
2583
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
2584
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
2585
+ * @returns {string} A string representing the project.
2586
+ */
2587
+ matchProjectFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
2588
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).project;
2589
+ }
2590
+ /**
2591
+ * Parse the location from ProjectLocationDataStoreBranchDocumentChunk resource.
2592
+ *
2593
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
2594
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
2595
+ * @returns {string} A string representing the location.
2596
+ */
2597
+ matchLocationFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
2598
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).location;
2599
+ }
2600
+ /**
2601
+ * Parse the data_store from ProjectLocationDataStoreBranchDocumentChunk resource.
2602
+ *
2603
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
2604
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
2605
+ * @returns {string} A string representing the data_store.
2606
+ */
2607
+ matchDataStoreFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
2608
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).data_store;
2609
+ }
2610
+ /**
2611
+ * Parse the branch from ProjectLocationDataStoreBranchDocumentChunk resource.
2612
+ *
2613
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
2614
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
2615
+ * @returns {string} A string representing the branch.
2616
+ */
2617
+ matchBranchFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
2618
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).branch;
2619
+ }
2620
+ /**
2621
+ * Parse the document from ProjectLocationDataStoreBranchDocumentChunk resource.
2622
+ *
2623
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
2624
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
2625
+ * @returns {string} A string representing the document.
2626
+ */
2627
+ matchDocumentFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
2628
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).document;
2629
+ }
2630
+ /**
2631
+ * Parse the chunk from ProjectLocationDataStoreBranchDocumentChunk resource.
2632
+ *
2633
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
2634
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
2635
+ * @returns {string} A string representing the chunk.
2636
+ */
2637
+ matchChunkFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
2638
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).chunk;
2639
+ }
2407
2640
  /**
2408
2641
  * Return a fully-qualified projectLocationDataStoreControl resource name string.
2409
2642
  *
@@ -2962,6 +3195,112 @@ class DocumentServiceClient {
2962
3195
  matchTargetSiteFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
2963
3196
  return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).target_site;
2964
3197
  }
3198
+ /**
3199
+ * Return a fully-qualified sampleQuery resource name string.
3200
+ *
3201
+ * @param {string} project
3202
+ * @param {string} location
3203
+ * @param {string} sample_query_set
3204
+ * @param {string} sample_query
3205
+ * @returns {string} Resource name string.
3206
+ */
3207
+ sampleQueryPath(project, location, sampleQuerySet, sampleQuery) {
3208
+ return this.pathTemplates.sampleQueryPathTemplate.render({
3209
+ project: project,
3210
+ location: location,
3211
+ sample_query_set: sampleQuerySet,
3212
+ sample_query: sampleQuery,
3213
+ });
3214
+ }
3215
+ /**
3216
+ * Parse the project from SampleQuery resource.
3217
+ *
3218
+ * @param {string} sampleQueryName
3219
+ * A fully-qualified path representing SampleQuery resource.
3220
+ * @returns {string} A string representing the project.
3221
+ */
3222
+ matchProjectFromSampleQueryName(sampleQueryName) {
3223
+ return this.pathTemplates.sampleQueryPathTemplate.match(sampleQueryName)
3224
+ .project;
3225
+ }
3226
+ /**
3227
+ * Parse the location from SampleQuery resource.
3228
+ *
3229
+ * @param {string} sampleQueryName
3230
+ * A fully-qualified path representing SampleQuery resource.
3231
+ * @returns {string} A string representing the location.
3232
+ */
3233
+ matchLocationFromSampleQueryName(sampleQueryName) {
3234
+ return this.pathTemplates.sampleQueryPathTemplate.match(sampleQueryName)
3235
+ .location;
3236
+ }
3237
+ /**
3238
+ * Parse the sample_query_set from SampleQuery resource.
3239
+ *
3240
+ * @param {string} sampleQueryName
3241
+ * A fully-qualified path representing SampleQuery resource.
3242
+ * @returns {string} A string representing the sample_query_set.
3243
+ */
3244
+ matchSampleQuerySetFromSampleQueryName(sampleQueryName) {
3245
+ return this.pathTemplates.sampleQueryPathTemplate.match(sampleQueryName)
3246
+ .sample_query_set;
3247
+ }
3248
+ /**
3249
+ * Parse the sample_query from SampleQuery resource.
3250
+ *
3251
+ * @param {string} sampleQueryName
3252
+ * A fully-qualified path representing SampleQuery resource.
3253
+ * @returns {string} A string representing the sample_query.
3254
+ */
3255
+ matchSampleQueryFromSampleQueryName(sampleQueryName) {
3256
+ return this.pathTemplates.sampleQueryPathTemplate.match(sampleQueryName)
3257
+ .sample_query;
3258
+ }
3259
+ /**
3260
+ * Return a fully-qualified sampleQuerySet resource name string.
3261
+ *
3262
+ * @param {string} project
3263
+ * @param {string} location
3264
+ * @param {string} sample_query_set
3265
+ * @returns {string} Resource name string.
3266
+ */
3267
+ sampleQuerySetPath(project, location, sampleQuerySet) {
3268
+ return this.pathTemplates.sampleQuerySetPathTemplate.render({
3269
+ project: project,
3270
+ location: location,
3271
+ sample_query_set: sampleQuerySet,
3272
+ });
3273
+ }
3274
+ /**
3275
+ * Parse the project from SampleQuerySet resource.
3276
+ *
3277
+ * @param {string} sampleQuerySetName
3278
+ * A fully-qualified path representing SampleQuerySet resource.
3279
+ * @returns {string} A string representing the project.
3280
+ */
3281
+ matchProjectFromSampleQuerySetName(sampleQuerySetName) {
3282
+ return this.pathTemplates.sampleQuerySetPathTemplate.match(sampleQuerySetName).project;
3283
+ }
3284
+ /**
3285
+ * Parse the location from SampleQuerySet resource.
3286
+ *
3287
+ * @param {string} sampleQuerySetName
3288
+ * A fully-qualified path representing SampleQuerySet resource.
3289
+ * @returns {string} A string representing the location.
3290
+ */
3291
+ matchLocationFromSampleQuerySetName(sampleQuerySetName) {
3292
+ return this.pathTemplates.sampleQuerySetPathTemplate.match(sampleQuerySetName).location;
3293
+ }
3294
+ /**
3295
+ * Parse the sample_query_set from SampleQuerySet resource.
3296
+ *
3297
+ * @param {string} sampleQuerySetName
3298
+ * A fully-qualified path representing SampleQuerySet resource.
3299
+ * @returns {string} A string representing the sample_query_set.
3300
+ */
3301
+ matchSampleQuerySetFromSampleQuerySetName(sampleQuerySetName) {
3302
+ return this.pathTemplates.sampleQuerySetPathTemplate.match(sampleQuerySetName).sample_query_set;
3303
+ }
2965
3304
  /**
2966
3305
  * Terminate the gRPC channel and close the client.
2967
3306
  *