@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, PaginationCallback, LocationsClient, LocationProtos } from 'google-gax';
4
3
  import { Transform } from 'stream';
@@ -279,20 +278,26 @@ export declare class SearchServiceClient {
279
278
  * documents. This overrides
280
279
  * {@link protos.google.cloud.discoveryengine.v1beta.ServingConfig.ranking_expression|ServingConfig.ranking_expression}.
281
280
  * The ranking expression is a single function or multiple functions that are
282
- * joint by "+".
281
+ * joined by "+".
282
+ *
283
283
  * * ranking_expression = function, { " + ", function };
284
+ *
284
285
  * Supported functions:
286
+ *
285
287
  * * double * relevance_score
286
288
  * * double * dotProduct(embedding_field_path)
289
+ *
287
290
  * Function variables:
288
- * `relevance_score`: pre-defined keywords, used for measure relevance
291
+ *
292
+ * * `relevance_score`: pre-defined keywords, used for measure relevance
289
293
  * between query and document.
290
- * `embedding_field_path`: the document embedding field
294
+ * * `embedding_field_path`: the document embedding field
291
295
  * used with query embedding vector.
292
- * `dotProduct`: embedding function between embedding_field_path and query
296
+ * * `dotProduct`: embedding function between embedding_field_path and query
293
297
  * embedding vector.
294
298
  *
295
299
  * Example ranking expression:
300
+ *
296
301
  * If document has an embedding field doc_embedding, the ranking expression
297
302
  * could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`.
298
303
  * @param {boolean} request.safeSearch
@@ -497,20 +502,26 @@ export declare class SearchServiceClient {
497
502
  * documents. This overrides
498
503
  * {@link protos.google.cloud.discoveryengine.v1beta.ServingConfig.ranking_expression|ServingConfig.ranking_expression}.
499
504
  * The ranking expression is a single function or multiple functions that are
500
- * joint by "+".
505
+ * joined by "+".
506
+ *
501
507
  * * ranking_expression = function, { " + ", function };
508
+ *
502
509
  * Supported functions:
510
+ *
503
511
  * * double * relevance_score
504
512
  * * double * dotProduct(embedding_field_path)
513
+ *
505
514
  * Function variables:
506
- * `relevance_score`: pre-defined keywords, used for measure relevance
515
+ *
516
+ * * `relevance_score`: pre-defined keywords, used for measure relevance
507
517
  * between query and document.
508
- * `embedding_field_path`: the document embedding field
518
+ * * `embedding_field_path`: the document embedding field
509
519
  * used with query embedding vector.
510
- * `dotProduct`: embedding function between embedding_field_path and query
520
+ * * `dotProduct`: embedding function between embedding_field_path and query
511
521
  * embedding vector.
512
522
  *
513
523
  * Example ranking expression:
524
+ *
514
525
  * If document has an embedding field doc_embedding, the ranking expression
515
526
  * could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`.
516
527
  * @param {boolean} request.safeSearch
@@ -710,20 +721,26 @@ export declare class SearchServiceClient {
710
721
  * documents. This overrides
711
722
  * {@link protos.google.cloud.discoveryengine.v1beta.ServingConfig.ranking_expression|ServingConfig.ranking_expression}.
712
723
  * The ranking expression is a single function or multiple functions that are
713
- * joint by "+".
724
+ * joined by "+".
725
+ *
714
726
  * * ranking_expression = function, { " + ", function };
727
+ *
715
728
  * Supported functions:
729
+ *
716
730
  * * double * relevance_score
717
731
  * * double * dotProduct(embedding_field_path)
732
+ *
718
733
  * Function variables:
719
- * `relevance_score`: pre-defined keywords, used for measure relevance
734
+ *
735
+ * * `relevance_score`: pre-defined keywords, used for measure relevance
720
736
  * between query and document.
721
- * `embedding_field_path`: the document embedding field
737
+ * * `embedding_field_path`: the document embedding field
722
738
  * used with query embedding vector.
723
- * `dotProduct`: embedding function between embedding_field_path and query
739
+ * * `dotProduct`: embedding function between embedding_field_path and query
724
740
  * embedding vector.
725
741
  *
726
742
  * Example ranking expression:
743
+ *
727
744
  * If document has an embedding field doc_embedding, the ranking expression
728
745
  * could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`.
729
746
  * @param {boolean} request.safeSearch
@@ -853,6 +870,39 @@ export declare class SearchServiceClient {
853
870
  * @returns {string} A string representing the engine.
854
871
  */
855
872
  matchEngineFromEngineName(engineName: string): string | number;
873
+ /**
874
+ * Return a fully-qualified evaluation resource name string.
875
+ *
876
+ * @param {string} project
877
+ * @param {string} location
878
+ * @param {string} evaluation
879
+ * @returns {string} Resource name string.
880
+ */
881
+ evaluationPath(project: string, location: string, evaluation: string): string;
882
+ /**
883
+ * Parse the project from Evaluation resource.
884
+ *
885
+ * @param {string} evaluationName
886
+ * A fully-qualified path representing Evaluation resource.
887
+ * @returns {string} A string representing the project.
888
+ */
889
+ matchProjectFromEvaluationName(evaluationName: string): string | number;
890
+ /**
891
+ * Parse the location from Evaluation resource.
892
+ *
893
+ * @param {string} evaluationName
894
+ * A fully-qualified path representing Evaluation resource.
895
+ * @returns {string} A string representing the location.
896
+ */
897
+ matchLocationFromEvaluationName(evaluationName: string): string | number;
898
+ /**
899
+ * Parse the evaluation from Evaluation resource.
900
+ *
901
+ * @param {string} evaluationName
902
+ * A fully-qualified path representing Evaluation resource.
903
+ * @returns {string} A string representing the evaluation.
904
+ */
905
+ matchEvaluationFromEvaluationName(evaluationName: string): string | number;
856
906
  /**
857
907
  * Return a fully-qualified project resource name string.
858
908
  *
@@ -1021,6 +1071,75 @@ export declare class SearchServiceClient {
1021
1071
  * @returns {string} A string representing the document.
1022
1072
  */
1023
1073
  matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
1074
+ /**
1075
+ * Return a fully-qualified projectLocationCollectionDataStoreBranchDocumentChunk resource name string.
1076
+ *
1077
+ * @param {string} project
1078
+ * @param {string} location
1079
+ * @param {string} collection
1080
+ * @param {string} data_store
1081
+ * @param {string} branch
1082
+ * @param {string} document
1083
+ * @param {string} chunk
1084
+ * @returns {string} Resource name string.
1085
+ */
1086
+ projectLocationCollectionDataStoreBranchDocumentChunkPath(project: string, location: string, collection: string, dataStore: string, branch: string, document: string, chunk: string): string;
1087
+ /**
1088
+ * Parse the project 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 project.
1093
+ */
1094
+ matchProjectFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
1095
+ /**
1096
+ * Parse the location 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 location.
1101
+ */
1102
+ matchLocationFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
1103
+ /**
1104
+ * Parse the collection 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 collection.
1109
+ */
1110
+ matchCollectionFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
1111
+ /**
1112
+ * Parse the data_store 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 data_store.
1117
+ */
1118
+ matchDataStoreFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
1119
+ /**
1120
+ * Parse the branch 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 branch.
1125
+ */
1126
+ matchBranchFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
1127
+ /**
1128
+ * Parse the document from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1129
+ *
1130
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1131
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1132
+ * @returns {string} A string representing the document.
1133
+ */
1134
+ matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
1135
+ /**
1136
+ * Parse the chunk from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1137
+ *
1138
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1139
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1140
+ * @returns {string} A string representing the chunk.
1141
+ */
1142
+ matchChunkFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
1024
1143
  /**
1025
1144
  * Return a fully-qualified projectLocationCollectionDataStoreControl resource name string.
1026
1145
  *
@@ -1912,6 +2031,66 @@ export declare class SearchServiceClient {
1912
2031
  * @returns {string} A string representing the document.
1913
2032
  */
1914
2033
  matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
2034
+ /**
2035
+ * Return a fully-qualified projectLocationDataStoreBranchDocumentChunk resource name string.
2036
+ *
2037
+ * @param {string} project
2038
+ * @param {string} location
2039
+ * @param {string} data_store
2040
+ * @param {string} branch
2041
+ * @param {string} document
2042
+ * @param {string} chunk
2043
+ * @returns {string} Resource name string.
2044
+ */
2045
+ projectLocationDataStoreBranchDocumentChunkPath(project: string, location: string, dataStore: string, branch: string, document: string, chunk: string): string;
2046
+ /**
2047
+ * Parse the project from ProjectLocationDataStoreBranchDocumentChunk resource.
2048
+ *
2049
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
2050
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
2051
+ * @returns {string} A string representing the project.
2052
+ */
2053
+ matchProjectFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
2054
+ /**
2055
+ * Parse the location from ProjectLocationDataStoreBranchDocumentChunk resource.
2056
+ *
2057
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
2058
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
2059
+ * @returns {string} A string representing the location.
2060
+ */
2061
+ matchLocationFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
2062
+ /**
2063
+ * Parse the data_store from ProjectLocationDataStoreBranchDocumentChunk resource.
2064
+ *
2065
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
2066
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
2067
+ * @returns {string} A string representing the data_store.
2068
+ */
2069
+ matchDataStoreFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
2070
+ /**
2071
+ * Parse the branch from ProjectLocationDataStoreBranchDocumentChunk resource.
2072
+ *
2073
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
2074
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
2075
+ * @returns {string} A string representing the branch.
2076
+ */
2077
+ matchBranchFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
2078
+ /**
2079
+ * Parse the document from ProjectLocationDataStoreBranchDocumentChunk resource.
2080
+ *
2081
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
2082
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
2083
+ * @returns {string} A string representing the document.
2084
+ */
2085
+ matchDocumentFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
2086
+ /**
2087
+ * Parse the chunk from ProjectLocationDataStoreBranchDocumentChunk resource.
2088
+ *
2089
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
2090
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
2091
+ * @returns {string} A string representing the chunk.
2092
+ */
2093
+ matchChunkFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
1915
2094
  /**
1916
2095
  * Return a fully-qualified projectLocationDataStoreControl resource name string.
1917
2096
  *
@@ -2323,6 +2502,81 @@ export declare class SearchServiceClient {
2323
2502
  * @returns {string} A string representing the target_site.
2324
2503
  */
2325
2504
  matchTargetSiteFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName: string): string | number;
2505
+ /**
2506
+ * Return a fully-qualified sampleQuery resource name string.
2507
+ *
2508
+ * @param {string} project
2509
+ * @param {string} location
2510
+ * @param {string} sample_query_set
2511
+ * @param {string} sample_query
2512
+ * @returns {string} Resource name string.
2513
+ */
2514
+ sampleQueryPath(project: string, location: string, sampleQuerySet: string, sampleQuery: string): string;
2515
+ /**
2516
+ * Parse the project from SampleQuery resource.
2517
+ *
2518
+ * @param {string} sampleQueryName
2519
+ * A fully-qualified path representing SampleQuery resource.
2520
+ * @returns {string} A string representing the project.
2521
+ */
2522
+ matchProjectFromSampleQueryName(sampleQueryName: string): string | number;
2523
+ /**
2524
+ * Parse the location from SampleQuery resource.
2525
+ *
2526
+ * @param {string} sampleQueryName
2527
+ * A fully-qualified path representing SampleQuery resource.
2528
+ * @returns {string} A string representing the location.
2529
+ */
2530
+ matchLocationFromSampleQueryName(sampleQueryName: string): string | number;
2531
+ /**
2532
+ * Parse the sample_query_set from SampleQuery resource.
2533
+ *
2534
+ * @param {string} sampleQueryName
2535
+ * A fully-qualified path representing SampleQuery resource.
2536
+ * @returns {string} A string representing the sample_query_set.
2537
+ */
2538
+ matchSampleQuerySetFromSampleQueryName(sampleQueryName: string): string | number;
2539
+ /**
2540
+ * Parse the sample_query from SampleQuery resource.
2541
+ *
2542
+ * @param {string} sampleQueryName
2543
+ * A fully-qualified path representing SampleQuery resource.
2544
+ * @returns {string} A string representing the sample_query.
2545
+ */
2546
+ matchSampleQueryFromSampleQueryName(sampleQueryName: string): string | number;
2547
+ /**
2548
+ * Return a fully-qualified sampleQuerySet resource name string.
2549
+ *
2550
+ * @param {string} project
2551
+ * @param {string} location
2552
+ * @param {string} sample_query_set
2553
+ * @returns {string} Resource name string.
2554
+ */
2555
+ sampleQuerySetPath(project: string, location: string, sampleQuerySet: string): string;
2556
+ /**
2557
+ * Parse the project from SampleQuerySet resource.
2558
+ *
2559
+ * @param {string} sampleQuerySetName
2560
+ * A fully-qualified path representing SampleQuerySet resource.
2561
+ * @returns {string} A string representing the project.
2562
+ */
2563
+ matchProjectFromSampleQuerySetName(sampleQuerySetName: string): string | number;
2564
+ /**
2565
+ * Parse the location from SampleQuerySet resource.
2566
+ *
2567
+ * @param {string} sampleQuerySetName
2568
+ * A fully-qualified path representing SampleQuerySet resource.
2569
+ * @returns {string} A string representing the location.
2570
+ */
2571
+ matchLocationFromSampleQuerySetName(sampleQuerySetName: string): string | number;
2572
+ /**
2573
+ * Parse the sample_query_set from SampleQuerySet resource.
2574
+ *
2575
+ * @param {string} sampleQuerySetName
2576
+ * A fully-qualified path representing SampleQuerySet resource.
2577
+ * @returns {string} A string representing the sample_query_set.
2578
+ */
2579
+ matchSampleQuerySetFromSampleQuerySetName(sampleQuerySetName: string): string | number;
2326
2580
  /**
2327
2581
  * Terminate the gRPC channel and close the client.
2328
2582
  *