@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
@@ -272,6 +272,97 @@ export declare class CompletionServiceClient {
272
272
  * region_tag:discoveryengine_v1beta_generated_CompletionService_PurgeSuggestionDenyListEntries_async
273
273
  */
274
274
  checkPurgeSuggestionDenyListEntriesProgress(name: string): Promise<LROperation<protos.google.cloud.discoveryengine.v1beta.PurgeSuggestionDenyListEntriesResponse, protos.google.cloud.discoveryengine.v1beta.PurgeSuggestionDenyListEntriesMetadata>>;
275
+ /**
276
+ * Imports
277
+ * {@link protos.google.cloud.discoveryengine.v1beta.CompletionSuggestion|CompletionSuggestion}s
278
+ * for a DataStore.
279
+ *
280
+ * @param {Object} request
281
+ * The request object that will be sent.
282
+ * @param {google.cloud.discoveryengine.v1beta.ImportCompletionSuggestionsRequest.InlineSource} request.inlineSource
283
+ * The Inline source for suggestion entries.
284
+ * @param {google.cloud.discoveryengine.v1beta.GcsSource} request.gcsSource
285
+ * Cloud Storage location for the input content.
286
+ * @param {google.cloud.discoveryengine.v1beta.BigQuerySource} request.bigquerySource
287
+ * BigQuery input source.
288
+ * @param {string} request.parent
289
+ * Required. The parent data store resource name for which to import customer
290
+ * autocomplete suggestions.
291
+ *
292
+ * Follows pattern `projects/* /locations/* /collections/* /dataStores/*`
293
+ * @param {google.cloud.discoveryengine.v1beta.ImportErrorConfig} request.errorConfig
294
+ * The desired location of errors incurred during the Import.
295
+ * @param {object} [options]
296
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
297
+ * @returns {Promise} - The promise which resolves to an array.
298
+ * The first element of the array is an object representing
299
+ * a long running operation. Its `promise()` method returns a promise
300
+ * you can `await` for.
301
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
302
+ * for more details and examples.
303
+ * @example <caption>include:samples/generated/v1beta/completion_service.import_completion_suggestions.js</caption>
304
+ * region_tag:discoveryengine_v1beta_generated_CompletionService_ImportCompletionSuggestions_async
305
+ */
306
+ importCompletionSuggestions(request?: protos.google.cloud.discoveryengine.v1beta.IImportCompletionSuggestionsRequest, options?: CallOptions): Promise<[
307
+ LROperation<protos.google.cloud.discoveryengine.v1beta.IImportCompletionSuggestionsResponse, protos.google.cloud.discoveryengine.v1beta.IImportCompletionSuggestionsMetadata>,
308
+ protos.google.longrunning.IOperation | undefined,
309
+ {} | undefined
310
+ ]>;
311
+ importCompletionSuggestions(request: protos.google.cloud.discoveryengine.v1beta.IImportCompletionSuggestionsRequest, options: CallOptions, callback: Callback<LROperation<protos.google.cloud.discoveryengine.v1beta.IImportCompletionSuggestionsResponse, protos.google.cloud.discoveryengine.v1beta.IImportCompletionSuggestionsMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
312
+ importCompletionSuggestions(request: protos.google.cloud.discoveryengine.v1beta.IImportCompletionSuggestionsRequest, callback: Callback<LROperation<protos.google.cloud.discoveryengine.v1beta.IImportCompletionSuggestionsResponse, protos.google.cloud.discoveryengine.v1beta.IImportCompletionSuggestionsMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
313
+ /**
314
+ * Check the status of the long running operation returned by `importCompletionSuggestions()`.
315
+ * @param {String} name
316
+ * The operation name that will be passed.
317
+ * @returns {Promise} - The promise which resolves to an object.
318
+ * The decoded operation object has result and metadata field to get information from.
319
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
320
+ * for more details and examples.
321
+ * @example <caption>include:samples/generated/v1beta/completion_service.import_completion_suggestions.js</caption>
322
+ * region_tag:discoveryengine_v1beta_generated_CompletionService_ImportCompletionSuggestions_async
323
+ */
324
+ checkImportCompletionSuggestionsProgress(name: string): Promise<LROperation<protos.google.cloud.discoveryengine.v1beta.ImportCompletionSuggestionsResponse, protos.google.cloud.discoveryengine.v1beta.ImportCompletionSuggestionsMetadata>>;
325
+ /**
326
+ * Permanently deletes all
327
+ * {@link protos.google.cloud.discoveryengine.v1beta.CompletionSuggestion|CompletionSuggestion}s
328
+ * for a DataStore.
329
+ *
330
+ * @param {Object} request
331
+ * The request object that will be sent.
332
+ * @param {string} request.parent
333
+ * Required. The parent data store resource name for which to purge completion
334
+ * suggestions. Follows pattern
335
+ * projects/* /locations/* /collections/* /dataStores/*.
336
+ * @param {object} [options]
337
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
338
+ * @returns {Promise} - The promise which resolves to an array.
339
+ * The first element of the array is an object representing
340
+ * a long running operation. Its `promise()` method returns a promise
341
+ * you can `await` for.
342
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
343
+ * for more details and examples.
344
+ * @example <caption>include:samples/generated/v1beta/completion_service.purge_completion_suggestions.js</caption>
345
+ * region_tag:discoveryengine_v1beta_generated_CompletionService_PurgeCompletionSuggestions_async
346
+ */
347
+ purgeCompletionSuggestions(request?: protos.google.cloud.discoveryengine.v1beta.IPurgeCompletionSuggestionsRequest, options?: CallOptions): Promise<[
348
+ LROperation<protos.google.cloud.discoveryengine.v1beta.IPurgeCompletionSuggestionsResponse, protos.google.cloud.discoveryengine.v1beta.IPurgeCompletionSuggestionsMetadata>,
349
+ protos.google.longrunning.IOperation | undefined,
350
+ {} | undefined
351
+ ]>;
352
+ purgeCompletionSuggestions(request: protos.google.cloud.discoveryengine.v1beta.IPurgeCompletionSuggestionsRequest, options: CallOptions, callback: Callback<LROperation<protos.google.cloud.discoveryengine.v1beta.IPurgeCompletionSuggestionsResponse, protos.google.cloud.discoveryengine.v1beta.IPurgeCompletionSuggestionsMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
353
+ purgeCompletionSuggestions(request: protos.google.cloud.discoveryengine.v1beta.IPurgeCompletionSuggestionsRequest, callback: Callback<LROperation<protos.google.cloud.discoveryengine.v1beta.IPurgeCompletionSuggestionsResponse, protos.google.cloud.discoveryengine.v1beta.IPurgeCompletionSuggestionsMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
354
+ /**
355
+ * Check the status of the long running operation returned by `purgeCompletionSuggestions()`.
356
+ * @param {String} name
357
+ * The operation name that will be passed.
358
+ * @returns {Promise} - The promise which resolves to an object.
359
+ * The decoded operation object has result and metadata field to get information from.
360
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
361
+ * for more details and examples.
362
+ * @example <caption>include:samples/generated/v1beta/completion_service.purge_completion_suggestions.js</caption>
363
+ * region_tag:discoveryengine_v1beta_generated_CompletionService_PurgeCompletionSuggestions_async
364
+ */
365
+ checkPurgeCompletionSuggestionsProgress(name: string): Promise<LROperation<protos.google.cloud.discoveryengine.v1beta.PurgeCompletionSuggestionsResponse, protos.google.cloud.discoveryengine.v1beta.PurgeCompletionSuggestionsMetadata>>;
275
366
  /**
276
367
  * Gets information about a location.
277
368
  *
@@ -485,6 +576,39 @@ export declare class CompletionServiceClient {
485
576
  * @returns {string} A string representing the engine.
486
577
  */
487
578
  matchEngineFromEngineName(engineName: string): string | number;
579
+ /**
580
+ * Return a fully-qualified evaluation resource name string.
581
+ *
582
+ * @param {string} project
583
+ * @param {string} location
584
+ * @param {string} evaluation
585
+ * @returns {string} Resource name string.
586
+ */
587
+ evaluationPath(project: string, location: string, evaluation: string): string;
588
+ /**
589
+ * Parse the project from Evaluation resource.
590
+ *
591
+ * @param {string} evaluationName
592
+ * A fully-qualified path representing Evaluation resource.
593
+ * @returns {string} A string representing the project.
594
+ */
595
+ matchProjectFromEvaluationName(evaluationName: string): string | number;
596
+ /**
597
+ * Parse the location from Evaluation resource.
598
+ *
599
+ * @param {string} evaluationName
600
+ * A fully-qualified path representing Evaluation resource.
601
+ * @returns {string} A string representing the location.
602
+ */
603
+ matchLocationFromEvaluationName(evaluationName: string): string | number;
604
+ /**
605
+ * Parse the evaluation from Evaluation resource.
606
+ *
607
+ * @param {string} evaluationName
608
+ * A fully-qualified path representing Evaluation resource.
609
+ * @returns {string} A string representing the evaluation.
610
+ */
611
+ matchEvaluationFromEvaluationName(evaluationName: string): string | number;
488
612
  /**
489
613
  * Return a fully-qualified project resource name string.
490
614
  *
@@ -602,6 +726,75 @@ export declare class CompletionServiceClient {
602
726
  * @returns {string} A string representing the document.
603
727
  */
604
728
  matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
729
+ /**
730
+ * Return a fully-qualified projectLocationCollectionDataStoreBranchDocumentChunk resource name string.
731
+ *
732
+ * @param {string} project
733
+ * @param {string} location
734
+ * @param {string} collection
735
+ * @param {string} data_store
736
+ * @param {string} branch
737
+ * @param {string} document
738
+ * @param {string} chunk
739
+ * @returns {string} Resource name string.
740
+ */
741
+ projectLocationCollectionDataStoreBranchDocumentChunkPath(project: string, location: string, collection: string, dataStore: string, branch: string, document: string, chunk: string): string;
742
+ /**
743
+ * Parse the project from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
744
+ *
745
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
746
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
747
+ * @returns {string} A string representing the project.
748
+ */
749
+ matchProjectFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
750
+ /**
751
+ * Parse the location from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
752
+ *
753
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
754
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
755
+ * @returns {string} A string representing the location.
756
+ */
757
+ matchLocationFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
758
+ /**
759
+ * Parse the collection from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
760
+ *
761
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
762
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
763
+ * @returns {string} A string representing the collection.
764
+ */
765
+ matchCollectionFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
766
+ /**
767
+ * Parse the data_store from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
768
+ *
769
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
770
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
771
+ * @returns {string} A string representing the data_store.
772
+ */
773
+ matchDataStoreFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
774
+ /**
775
+ * Parse the branch from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
776
+ *
777
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
778
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
779
+ * @returns {string} A string representing the branch.
780
+ */
781
+ matchBranchFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
782
+ /**
783
+ * Parse the document from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
784
+ *
785
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
786
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
787
+ * @returns {string} A string representing the document.
788
+ */
789
+ matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
790
+ /**
791
+ * Parse the chunk from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
792
+ *
793
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
794
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
795
+ * @returns {string} A string representing the chunk.
796
+ */
797
+ matchChunkFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
605
798
  /**
606
799
  * Return a fully-qualified projectLocationCollectionDataStoreControl resource name string.
607
800
  *
@@ -1451,6 +1644,66 @@ export declare class CompletionServiceClient {
1451
1644
  * @returns {string} A string representing the document.
1452
1645
  */
1453
1646
  matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
1647
+ /**
1648
+ * Return a fully-qualified projectLocationDataStoreBranchDocumentChunk resource name string.
1649
+ *
1650
+ * @param {string} project
1651
+ * @param {string} location
1652
+ * @param {string} data_store
1653
+ * @param {string} branch
1654
+ * @param {string} document
1655
+ * @param {string} chunk
1656
+ * @returns {string} Resource name string.
1657
+ */
1658
+ projectLocationDataStoreBranchDocumentChunkPath(project: string, location: string, dataStore: string, branch: string, document: string, chunk: string): string;
1659
+ /**
1660
+ * Parse the project from ProjectLocationDataStoreBranchDocumentChunk resource.
1661
+ *
1662
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1663
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1664
+ * @returns {string} A string representing the project.
1665
+ */
1666
+ matchProjectFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
1667
+ /**
1668
+ * Parse the location from ProjectLocationDataStoreBranchDocumentChunk resource.
1669
+ *
1670
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1671
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1672
+ * @returns {string} A string representing the location.
1673
+ */
1674
+ matchLocationFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
1675
+ /**
1676
+ * Parse the data_store from ProjectLocationDataStoreBranchDocumentChunk resource.
1677
+ *
1678
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1679
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1680
+ * @returns {string} A string representing the data_store.
1681
+ */
1682
+ matchDataStoreFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
1683
+ /**
1684
+ * Parse the branch from ProjectLocationDataStoreBranchDocumentChunk resource.
1685
+ *
1686
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1687
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1688
+ * @returns {string} A string representing the branch.
1689
+ */
1690
+ matchBranchFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
1691
+ /**
1692
+ * Parse the document from ProjectLocationDataStoreBranchDocumentChunk resource.
1693
+ *
1694
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1695
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1696
+ * @returns {string} A string representing the document.
1697
+ */
1698
+ matchDocumentFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
1699
+ /**
1700
+ * Parse the chunk from ProjectLocationDataStoreBranchDocumentChunk resource.
1701
+ *
1702
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1703
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1704
+ * @returns {string} A string representing the chunk.
1705
+ */
1706
+ matchChunkFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
1454
1707
  /**
1455
1708
  * Return a fully-qualified projectLocationDataStoreControl resource name string.
1456
1709
  *
@@ -1862,6 +2115,81 @@ export declare class CompletionServiceClient {
1862
2115
  * @returns {string} A string representing the target_site.
1863
2116
  */
1864
2117
  matchTargetSiteFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName: string): string | number;
2118
+ /**
2119
+ * Return a fully-qualified sampleQuery resource name string.
2120
+ *
2121
+ * @param {string} project
2122
+ * @param {string} location
2123
+ * @param {string} sample_query_set
2124
+ * @param {string} sample_query
2125
+ * @returns {string} Resource name string.
2126
+ */
2127
+ sampleQueryPath(project: string, location: string, sampleQuerySet: string, sampleQuery: string): string;
2128
+ /**
2129
+ * Parse the project from SampleQuery resource.
2130
+ *
2131
+ * @param {string} sampleQueryName
2132
+ * A fully-qualified path representing SampleQuery resource.
2133
+ * @returns {string} A string representing the project.
2134
+ */
2135
+ matchProjectFromSampleQueryName(sampleQueryName: string): string | number;
2136
+ /**
2137
+ * Parse the location from SampleQuery resource.
2138
+ *
2139
+ * @param {string} sampleQueryName
2140
+ * A fully-qualified path representing SampleQuery resource.
2141
+ * @returns {string} A string representing the location.
2142
+ */
2143
+ matchLocationFromSampleQueryName(sampleQueryName: string): string | number;
2144
+ /**
2145
+ * Parse the sample_query_set from SampleQuery resource.
2146
+ *
2147
+ * @param {string} sampleQueryName
2148
+ * A fully-qualified path representing SampleQuery resource.
2149
+ * @returns {string} A string representing the sample_query_set.
2150
+ */
2151
+ matchSampleQuerySetFromSampleQueryName(sampleQueryName: string): string | number;
2152
+ /**
2153
+ * Parse the sample_query from SampleQuery resource.
2154
+ *
2155
+ * @param {string} sampleQueryName
2156
+ * A fully-qualified path representing SampleQuery resource.
2157
+ * @returns {string} A string representing the sample_query.
2158
+ */
2159
+ matchSampleQueryFromSampleQueryName(sampleQueryName: string): string | number;
2160
+ /**
2161
+ * Return a fully-qualified sampleQuerySet resource name string.
2162
+ *
2163
+ * @param {string} project
2164
+ * @param {string} location
2165
+ * @param {string} sample_query_set
2166
+ * @returns {string} Resource name string.
2167
+ */
2168
+ sampleQuerySetPath(project: string, location: string, sampleQuerySet: string): string;
2169
+ /**
2170
+ * Parse the project from SampleQuerySet resource.
2171
+ *
2172
+ * @param {string} sampleQuerySetName
2173
+ * A fully-qualified path representing SampleQuerySet resource.
2174
+ * @returns {string} A string representing the project.
2175
+ */
2176
+ matchProjectFromSampleQuerySetName(sampleQuerySetName: string): string | number;
2177
+ /**
2178
+ * Parse the location from SampleQuerySet resource.
2179
+ *
2180
+ * @param {string} sampleQuerySetName
2181
+ * A fully-qualified path representing SampleQuerySet resource.
2182
+ * @returns {string} A string representing the location.
2183
+ */
2184
+ matchLocationFromSampleQuerySetName(sampleQuerySetName: string): string | number;
2185
+ /**
2186
+ * Parse the sample_query_set from SampleQuerySet resource.
2187
+ *
2188
+ * @param {string} sampleQuerySetName
2189
+ * A fully-qualified path representing SampleQuerySet resource.
2190
+ * @returns {string} A string representing the sample_query_set.
2191
+ */
2192
+ matchSampleQuerySetFromSampleQuerySetName(sampleQuerySetName: string): string | number;
1865
2193
  /**
1866
2194
  * Terminate the gRPC channel and close the client.
1867
2195
  *