@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
@@ -363,6 +363,24 @@ export declare class ConversationalSearchServiceClient {
363
363
  *
364
364
  * The field must be a UTF-8 encoded string with a length limit of 128
365
365
  * characters. Otherwise, an `INVALID_ARGUMENT` error is returned.
366
+ * @param {number[]} request.userLabels
367
+ * The user labels applied to a resource must meet the following requirements:
368
+ *
369
+ * * Each resource can have multiple labels, up to a maximum of 64.
370
+ * * Each label must be a key-value pair.
371
+ * * Keys have a minimum length of 1 character and a maximum length of 63
372
+ * characters and cannot be empty. Values can be empty and have a maximum
373
+ * length of 63 characters.
374
+ * * Keys and values can contain only lowercase letters, numeric characters,
375
+ * underscores, and dashes. All characters must use UTF-8 encoding, and
376
+ * international characters are allowed.
377
+ * * The key portion of a label must be unique. However, you can use the same
378
+ * key with multiple resources.
379
+ * * Keys must start with a lowercase letter or international character.
380
+ *
381
+ * See [Google Cloud
382
+ * Document](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements)
383
+ * for more details.
366
384
  * @param {object} [options]
367
385
  * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
368
386
  * @returns {Promise} - The promise which resolves to an array.
@@ -887,6 +905,39 @@ export declare class ConversationalSearchServiceClient {
887
905
  * @returns {string} A string representing the engine.
888
906
  */
889
907
  matchEngineFromEngineName(engineName: string): string | number;
908
+ /**
909
+ * Return a fully-qualified evaluation resource name string.
910
+ *
911
+ * @param {string} project
912
+ * @param {string} location
913
+ * @param {string} evaluation
914
+ * @returns {string} Resource name string.
915
+ */
916
+ evaluationPath(project: string, location: string, evaluation: string): string;
917
+ /**
918
+ * Parse the project from Evaluation resource.
919
+ *
920
+ * @param {string} evaluationName
921
+ * A fully-qualified path representing Evaluation resource.
922
+ * @returns {string} A string representing the project.
923
+ */
924
+ matchProjectFromEvaluationName(evaluationName: string): string | number;
925
+ /**
926
+ * Parse the location from Evaluation resource.
927
+ *
928
+ * @param {string} evaluationName
929
+ * A fully-qualified path representing Evaluation resource.
930
+ * @returns {string} A string representing the location.
931
+ */
932
+ matchLocationFromEvaluationName(evaluationName: string): string | number;
933
+ /**
934
+ * Parse the evaluation from Evaluation resource.
935
+ *
936
+ * @param {string} evaluationName
937
+ * A fully-qualified path representing Evaluation resource.
938
+ * @returns {string} A string representing the evaluation.
939
+ */
940
+ matchEvaluationFromEvaluationName(evaluationName: string): string | number;
890
941
  /**
891
942
  * Return a fully-qualified project resource name string.
892
943
  *
@@ -1004,6 +1055,75 @@ export declare class ConversationalSearchServiceClient {
1004
1055
  * @returns {string} A string representing the document.
1005
1056
  */
1006
1057
  matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
1058
+ /**
1059
+ * Return a fully-qualified projectLocationCollectionDataStoreBranchDocumentChunk resource name string.
1060
+ *
1061
+ * @param {string} project
1062
+ * @param {string} location
1063
+ * @param {string} collection
1064
+ * @param {string} data_store
1065
+ * @param {string} branch
1066
+ * @param {string} document
1067
+ * @param {string} chunk
1068
+ * @returns {string} Resource name string.
1069
+ */
1070
+ projectLocationCollectionDataStoreBranchDocumentChunkPath(project: string, location: string, collection: string, dataStore: string, branch: string, document: string, chunk: string): string;
1071
+ /**
1072
+ * Parse the project from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1073
+ *
1074
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1075
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1076
+ * @returns {string} A string representing the project.
1077
+ */
1078
+ matchProjectFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
1079
+ /**
1080
+ * Parse the location from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1081
+ *
1082
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1083
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1084
+ * @returns {string} A string representing the location.
1085
+ */
1086
+ matchLocationFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
1087
+ /**
1088
+ * Parse the collection from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1089
+ *
1090
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1091
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1092
+ * @returns {string} A string representing the collection.
1093
+ */
1094
+ matchCollectionFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
1095
+ /**
1096
+ * Parse the data_store from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1097
+ *
1098
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1099
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1100
+ * @returns {string} A string representing the data_store.
1101
+ */
1102
+ matchDataStoreFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
1103
+ /**
1104
+ * Parse the branch from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1105
+ *
1106
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1107
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1108
+ * @returns {string} A string representing the branch.
1109
+ */
1110
+ matchBranchFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
1111
+ /**
1112
+ * Parse the document from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1113
+ *
1114
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1115
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1116
+ * @returns {string} A string representing the document.
1117
+ */
1118
+ matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
1119
+ /**
1120
+ * Parse the chunk from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1121
+ *
1122
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1123
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1124
+ * @returns {string} A string representing the chunk.
1125
+ */
1126
+ matchChunkFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
1007
1127
  /**
1008
1128
  * Return a fully-qualified projectLocationCollectionDataStoreControl resource name string.
1009
1129
  *
@@ -1853,6 +1973,66 @@ export declare class ConversationalSearchServiceClient {
1853
1973
  * @returns {string} A string representing the document.
1854
1974
  */
1855
1975
  matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
1976
+ /**
1977
+ * Return a fully-qualified projectLocationDataStoreBranchDocumentChunk resource name string.
1978
+ *
1979
+ * @param {string} project
1980
+ * @param {string} location
1981
+ * @param {string} data_store
1982
+ * @param {string} branch
1983
+ * @param {string} document
1984
+ * @param {string} chunk
1985
+ * @returns {string} Resource name string.
1986
+ */
1987
+ projectLocationDataStoreBranchDocumentChunkPath(project: string, location: string, dataStore: string, branch: string, document: string, chunk: string): string;
1988
+ /**
1989
+ * Parse the project from ProjectLocationDataStoreBranchDocumentChunk resource.
1990
+ *
1991
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1992
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1993
+ * @returns {string} A string representing the project.
1994
+ */
1995
+ matchProjectFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
1996
+ /**
1997
+ * Parse the location from ProjectLocationDataStoreBranchDocumentChunk resource.
1998
+ *
1999
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
2000
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
2001
+ * @returns {string} A string representing the location.
2002
+ */
2003
+ matchLocationFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
2004
+ /**
2005
+ * Parse the data_store from ProjectLocationDataStoreBranchDocumentChunk resource.
2006
+ *
2007
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
2008
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
2009
+ * @returns {string} A string representing the data_store.
2010
+ */
2011
+ matchDataStoreFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
2012
+ /**
2013
+ * Parse the branch from ProjectLocationDataStoreBranchDocumentChunk resource.
2014
+ *
2015
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
2016
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
2017
+ * @returns {string} A string representing the branch.
2018
+ */
2019
+ matchBranchFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
2020
+ /**
2021
+ * Parse the document from ProjectLocationDataStoreBranchDocumentChunk resource.
2022
+ *
2023
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
2024
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
2025
+ * @returns {string} A string representing the document.
2026
+ */
2027
+ matchDocumentFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
2028
+ /**
2029
+ * Parse the chunk from ProjectLocationDataStoreBranchDocumentChunk resource.
2030
+ *
2031
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
2032
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
2033
+ * @returns {string} A string representing the chunk.
2034
+ */
2035
+ matchChunkFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
1856
2036
  /**
1857
2037
  * Return a fully-qualified projectLocationDataStoreControl resource name string.
1858
2038
  *
@@ -2264,6 +2444,81 @@ export declare class ConversationalSearchServiceClient {
2264
2444
  * @returns {string} A string representing the target_site.
2265
2445
  */
2266
2446
  matchTargetSiteFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName: string): string | number;
2447
+ /**
2448
+ * Return a fully-qualified sampleQuery resource name string.
2449
+ *
2450
+ * @param {string} project
2451
+ * @param {string} location
2452
+ * @param {string} sample_query_set
2453
+ * @param {string} sample_query
2454
+ * @returns {string} Resource name string.
2455
+ */
2456
+ sampleQueryPath(project: string, location: string, sampleQuerySet: string, sampleQuery: string): string;
2457
+ /**
2458
+ * Parse the project from SampleQuery resource.
2459
+ *
2460
+ * @param {string} sampleQueryName
2461
+ * A fully-qualified path representing SampleQuery resource.
2462
+ * @returns {string} A string representing the project.
2463
+ */
2464
+ matchProjectFromSampleQueryName(sampleQueryName: string): string | number;
2465
+ /**
2466
+ * Parse the location from SampleQuery resource.
2467
+ *
2468
+ * @param {string} sampleQueryName
2469
+ * A fully-qualified path representing SampleQuery resource.
2470
+ * @returns {string} A string representing the location.
2471
+ */
2472
+ matchLocationFromSampleQueryName(sampleQueryName: string): string | number;
2473
+ /**
2474
+ * Parse the sample_query_set from SampleQuery resource.
2475
+ *
2476
+ * @param {string} sampleQueryName
2477
+ * A fully-qualified path representing SampleQuery resource.
2478
+ * @returns {string} A string representing the sample_query_set.
2479
+ */
2480
+ matchSampleQuerySetFromSampleQueryName(sampleQueryName: string): string | number;
2481
+ /**
2482
+ * Parse the sample_query from SampleQuery resource.
2483
+ *
2484
+ * @param {string} sampleQueryName
2485
+ * A fully-qualified path representing SampleQuery resource.
2486
+ * @returns {string} A string representing the sample_query.
2487
+ */
2488
+ matchSampleQueryFromSampleQueryName(sampleQueryName: string): string | number;
2489
+ /**
2490
+ * Return a fully-qualified sampleQuerySet resource name string.
2491
+ *
2492
+ * @param {string} project
2493
+ * @param {string} location
2494
+ * @param {string} sample_query_set
2495
+ * @returns {string} Resource name string.
2496
+ */
2497
+ sampleQuerySetPath(project: string, location: string, sampleQuerySet: string): string;
2498
+ /**
2499
+ * Parse the project from SampleQuerySet resource.
2500
+ *
2501
+ * @param {string} sampleQuerySetName
2502
+ * A fully-qualified path representing SampleQuerySet resource.
2503
+ * @returns {string} A string representing the project.
2504
+ */
2505
+ matchProjectFromSampleQuerySetName(sampleQuerySetName: string): string | number;
2506
+ /**
2507
+ * Parse the location from SampleQuerySet resource.
2508
+ *
2509
+ * @param {string} sampleQuerySetName
2510
+ * A fully-qualified path representing SampleQuerySet resource.
2511
+ * @returns {string} A string representing the location.
2512
+ */
2513
+ matchLocationFromSampleQuerySetName(sampleQuerySetName: string): string | number;
2514
+ /**
2515
+ * Parse the sample_query_set from SampleQuerySet resource.
2516
+ *
2517
+ * @param {string} sampleQuerySetName
2518
+ * A fully-qualified path representing SampleQuerySet resource.
2519
+ * @returns {string} A string representing the sample_query_set.
2520
+ */
2521
+ matchSampleQuerySetFromSampleQuerySetName(sampleQuerySetName: string): string | number;
2267
2522
  /**
2268
2523
  * Terminate the gRPC channel and close the client.
2269
2524
  *
@@ -151,9 +151,11 @@ class ConversationalSearchServiceClient {
151
151
  // Create useful helper objects for these.
152
152
  this.pathTemplates = {
153
153
  enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
154
+ evaluationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/evaluations/{evaluation}'),
154
155
  projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
155
156
  projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
156
157
  projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
158
+ projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
157
159
  projectLocationCollectionDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/controls/{control}'),
158
160
  projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
159
161
  projectLocationCollectionDataStoreCustomTuningModelPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}'),
@@ -171,6 +173,7 @@ class ConversationalSearchServiceClient {
171
173
  projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
172
174
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
173
175
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
176
+ projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
174
177
  projectLocationDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/controls/{control}'),
175
178
  projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
176
179
  projectLocationDataStoreCustomTuningModelPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}'),
@@ -181,6 +184,8 @@ class ConversationalSearchServiceClient {
181
184
  projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
182
185
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
183
186
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
187
+ sampleQueryPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}'),
188
+ sampleQuerySetPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}'),
184
189
  };
185
190
  // Some of the methods on this service return "paged" results,
186
191
  // (e.g. 50 results at a time, with tokens to get subsequent
@@ -932,6 +937,54 @@ class ConversationalSearchServiceClient {
932
937
  matchEngineFromEngineName(engineName) {
933
938
  return this.pathTemplates.enginePathTemplate.match(engineName).engine;
934
939
  }
940
+ /**
941
+ * Return a fully-qualified evaluation resource name string.
942
+ *
943
+ * @param {string} project
944
+ * @param {string} location
945
+ * @param {string} evaluation
946
+ * @returns {string} Resource name string.
947
+ */
948
+ evaluationPath(project, location, evaluation) {
949
+ return this.pathTemplates.evaluationPathTemplate.render({
950
+ project: project,
951
+ location: location,
952
+ evaluation: evaluation,
953
+ });
954
+ }
955
+ /**
956
+ * Parse the project from Evaluation resource.
957
+ *
958
+ * @param {string} evaluationName
959
+ * A fully-qualified path representing Evaluation resource.
960
+ * @returns {string} A string representing the project.
961
+ */
962
+ matchProjectFromEvaluationName(evaluationName) {
963
+ return this.pathTemplates.evaluationPathTemplate.match(evaluationName)
964
+ .project;
965
+ }
966
+ /**
967
+ * Parse the location from Evaluation resource.
968
+ *
969
+ * @param {string} evaluationName
970
+ * A fully-qualified path representing Evaluation resource.
971
+ * @returns {string} A string representing the location.
972
+ */
973
+ matchLocationFromEvaluationName(evaluationName) {
974
+ return this.pathTemplates.evaluationPathTemplate.match(evaluationName)
975
+ .location;
976
+ }
977
+ /**
978
+ * Parse the evaluation from Evaluation resource.
979
+ *
980
+ * @param {string} evaluationName
981
+ * A fully-qualified path representing Evaluation resource.
982
+ * @returns {string} A string representing the evaluation.
983
+ */
984
+ matchEvaluationFromEvaluationName(evaluationName) {
985
+ return this.pathTemplates.evaluationPathTemplate.match(evaluationName)
986
+ .evaluation;
987
+ }
935
988
  /**
936
989
  * Return a fully-qualified project resource name string.
937
990
  *
@@ -1091,6 +1144,99 @@ class ConversationalSearchServiceClient {
1091
1144
  matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName) {
1092
1145
  return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentName).document;
1093
1146
  }
1147
+ /**
1148
+ * Return a fully-qualified projectLocationCollectionDataStoreBranchDocumentChunk resource name string.
1149
+ *
1150
+ * @param {string} project
1151
+ * @param {string} location
1152
+ * @param {string} collection
1153
+ * @param {string} data_store
1154
+ * @param {string} branch
1155
+ * @param {string} document
1156
+ * @param {string} chunk
1157
+ * @returns {string} Resource name string.
1158
+ */
1159
+ projectLocationCollectionDataStoreBranchDocumentChunkPath(project, location, collection, dataStore, branch, document, chunk) {
1160
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.render({
1161
+ project: project,
1162
+ location: location,
1163
+ collection: collection,
1164
+ data_store: dataStore,
1165
+ branch: branch,
1166
+ document: document,
1167
+ chunk: chunk,
1168
+ });
1169
+ }
1170
+ /**
1171
+ * Parse the project from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1172
+ *
1173
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1174
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1175
+ * @returns {string} A string representing the project.
1176
+ */
1177
+ matchProjectFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1178
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).project;
1179
+ }
1180
+ /**
1181
+ * Parse the location from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1182
+ *
1183
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1184
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1185
+ * @returns {string} A string representing the location.
1186
+ */
1187
+ matchLocationFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1188
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).location;
1189
+ }
1190
+ /**
1191
+ * Parse the collection from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1192
+ *
1193
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1194
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1195
+ * @returns {string} A string representing the collection.
1196
+ */
1197
+ matchCollectionFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1198
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).collection;
1199
+ }
1200
+ /**
1201
+ * Parse the data_store from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1202
+ *
1203
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1204
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1205
+ * @returns {string} A string representing the data_store.
1206
+ */
1207
+ matchDataStoreFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1208
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).data_store;
1209
+ }
1210
+ /**
1211
+ * Parse the branch from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1212
+ *
1213
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1214
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1215
+ * @returns {string} A string representing the branch.
1216
+ */
1217
+ matchBranchFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1218
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).branch;
1219
+ }
1220
+ /**
1221
+ * Parse the document from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1222
+ *
1223
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1224
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1225
+ * @returns {string} A string representing the document.
1226
+ */
1227
+ matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1228
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).document;
1229
+ }
1230
+ /**
1231
+ * Parse the chunk from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1232
+ *
1233
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1234
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1235
+ * @returns {string} A string representing the chunk.
1236
+ */
1237
+ matchChunkFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1238
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).chunk;
1239
+ }
1094
1240
  /**
1095
1241
  * Return a fully-qualified projectLocationCollectionDataStoreControl resource name string.
1096
1242
  *
@@ -2240,6 +2386,87 @@ class ConversationalSearchServiceClient {
2240
2386
  matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName) {
2241
2387
  return this.pathTemplates.projectLocationDataStoreBranchDocumentPathTemplate.match(projectLocationDataStoreBranchDocumentName).document;
2242
2388
  }
2389
+ /**
2390
+ * Return a fully-qualified projectLocationDataStoreBranchDocumentChunk resource name string.
2391
+ *
2392
+ * @param {string} project
2393
+ * @param {string} location
2394
+ * @param {string} data_store
2395
+ * @param {string} branch
2396
+ * @param {string} document
2397
+ * @param {string} chunk
2398
+ * @returns {string} Resource name string.
2399
+ */
2400
+ projectLocationDataStoreBranchDocumentChunkPath(project, location, dataStore, branch, document, chunk) {
2401
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.render({
2402
+ project: project,
2403
+ location: location,
2404
+ data_store: dataStore,
2405
+ branch: branch,
2406
+ document: document,
2407
+ chunk: chunk,
2408
+ });
2409
+ }
2410
+ /**
2411
+ * Parse the project from ProjectLocationDataStoreBranchDocumentChunk resource.
2412
+ *
2413
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
2414
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
2415
+ * @returns {string} A string representing the project.
2416
+ */
2417
+ matchProjectFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
2418
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).project;
2419
+ }
2420
+ /**
2421
+ * Parse the location from ProjectLocationDataStoreBranchDocumentChunk resource.
2422
+ *
2423
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
2424
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
2425
+ * @returns {string} A string representing the location.
2426
+ */
2427
+ matchLocationFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
2428
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).location;
2429
+ }
2430
+ /**
2431
+ * Parse the data_store from ProjectLocationDataStoreBranchDocumentChunk resource.
2432
+ *
2433
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
2434
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
2435
+ * @returns {string} A string representing the data_store.
2436
+ */
2437
+ matchDataStoreFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
2438
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).data_store;
2439
+ }
2440
+ /**
2441
+ * Parse the branch from ProjectLocationDataStoreBranchDocumentChunk resource.
2442
+ *
2443
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
2444
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
2445
+ * @returns {string} A string representing the branch.
2446
+ */
2447
+ matchBranchFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
2448
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).branch;
2449
+ }
2450
+ /**
2451
+ * Parse the document from ProjectLocationDataStoreBranchDocumentChunk resource.
2452
+ *
2453
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
2454
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
2455
+ * @returns {string} A string representing the document.
2456
+ */
2457
+ matchDocumentFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
2458
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).document;
2459
+ }
2460
+ /**
2461
+ * Parse the chunk from ProjectLocationDataStoreBranchDocumentChunk resource.
2462
+ *
2463
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
2464
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
2465
+ * @returns {string} A string representing the chunk.
2466
+ */
2467
+ matchChunkFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
2468
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).chunk;
2469
+ }
2243
2470
  /**
2244
2471
  * Return a fully-qualified projectLocationDataStoreControl resource name string.
2245
2472
  *
@@ -2798,6 +3025,112 @@ class ConversationalSearchServiceClient {
2798
3025
  matchTargetSiteFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
2799
3026
  return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).target_site;
2800
3027
  }
3028
+ /**
3029
+ * Return a fully-qualified sampleQuery resource name string.
3030
+ *
3031
+ * @param {string} project
3032
+ * @param {string} location
3033
+ * @param {string} sample_query_set
3034
+ * @param {string} sample_query
3035
+ * @returns {string} Resource name string.
3036
+ */
3037
+ sampleQueryPath(project, location, sampleQuerySet, sampleQuery) {
3038
+ return this.pathTemplates.sampleQueryPathTemplate.render({
3039
+ project: project,
3040
+ location: location,
3041
+ sample_query_set: sampleQuerySet,
3042
+ sample_query: sampleQuery,
3043
+ });
3044
+ }
3045
+ /**
3046
+ * Parse the project from SampleQuery resource.
3047
+ *
3048
+ * @param {string} sampleQueryName
3049
+ * A fully-qualified path representing SampleQuery resource.
3050
+ * @returns {string} A string representing the project.
3051
+ */
3052
+ matchProjectFromSampleQueryName(sampleQueryName) {
3053
+ return this.pathTemplates.sampleQueryPathTemplate.match(sampleQueryName)
3054
+ .project;
3055
+ }
3056
+ /**
3057
+ * Parse the location from SampleQuery resource.
3058
+ *
3059
+ * @param {string} sampleQueryName
3060
+ * A fully-qualified path representing SampleQuery resource.
3061
+ * @returns {string} A string representing the location.
3062
+ */
3063
+ matchLocationFromSampleQueryName(sampleQueryName) {
3064
+ return this.pathTemplates.sampleQueryPathTemplate.match(sampleQueryName)
3065
+ .location;
3066
+ }
3067
+ /**
3068
+ * Parse the sample_query_set from SampleQuery resource.
3069
+ *
3070
+ * @param {string} sampleQueryName
3071
+ * A fully-qualified path representing SampleQuery resource.
3072
+ * @returns {string} A string representing the sample_query_set.
3073
+ */
3074
+ matchSampleQuerySetFromSampleQueryName(sampleQueryName) {
3075
+ return this.pathTemplates.sampleQueryPathTemplate.match(sampleQueryName)
3076
+ .sample_query_set;
3077
+ }
3078
+ /**
3079
+ * Parse the sample_query from SampleQuery resource.
3080
+ *
3081
+ * @param {string} sampleQueryName
3082
+ * A fully-qualified path representing SampleQuery resource.
3083
+ * @returns {string} A string representing the sample_query.
3084
+ */
3085
+ matchSampleQueryFromSampleQueryName(sampleQueryName) {
3086
+ return this.pathTemplates.sampleQueryPathTemplate.match(sampleQueryName)
3087
+ .sample_query;
3088
+ }
3089
+ /**
3090
+ * Return a fully-qualified sampleQuerySet resource name string.
3091
+ *
3092
+ * @param {string} project
3093
+ * @param {string} location
3094
+ * @param {string} sample_query_set
3095
+ * @returns {string} Resource name string.
3096
+ */
3097
+ sampleQuerySetPath(project, location, sampleQuerySet) {
3098
+ return this.pathTemplates.sampleQuerySetPathTemplate.render({
3099
+ project: project,
3100
+ location: location,
3101
+ sample_query_set: sampleQuerySet,
3102
+ });
3103
+ }
3104
+ /**
3105
+ * Parse the project from SampleQuerySet resource.
3106
+ *
3107
+ * @param {string} sampleQuerySetName
3108
+ * A fully-qualified path representing SampleQuerySet resource.
3109
+ * @returns {string} A string representing the project.
3110
+ */
3111
+ matchProjectFromSampleQuerySetName(sampleQuerySetName) {
3112
+ return this.pathTemplates.sampleQuerySetPathTemplate.match(sampleQuerySetName).project;
3113
+ }
3114
+ /**
3115
+ * Parse the location from SampleQuerySet resource.
3116
+ *
3117
+ * @param {string} sampleQuerySetName
3118
+ * A fully-qualified path representing SampleQuerySet resource.
3119
+ * @returns {string} A string representing the location.
3120
+ */
3121
+ matchLocationFromSampleQuerySetName(sampleQuerySetName) {
3122
+ return this.pathTemplates.sampleQuerySetPathTemplate.match(sampleQuerySetName).location;
3123
+ }
3124
+ /**
3125
+ * Parse the sample_query_set from SampleQuerySet resource.
3126
+ *
3127
+ * @param {string} sampleQuerySetName
3128
+ * A fully-qualified path representing SampleQuerySet resource.
3129
+ * @returns {string} A string representing the sample_query_set.
3130
+ */
3131
+ matchSampleQuerySetFromSampleQuerySetName(sampleQuerySetName) {
3132
+ return this.pathTemplates.sampleQuerySetPathTemplate.match(sampleQuerySetName).sample_query_set;
3133
+ }
2801
3134
  /**
2802
3135
  * Terminate the gRPC channel and close the client.
2803
3136
  *