@maxim_mazurok/gapi.client.discoveryengine-v1 0.0.20240612 → 0.0.20240621

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 (2) hide show
  1. package/index.d.ts +344 -3
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://discoveryengine.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20240612
12
+ // Revision: 20240621
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -587,6 +587,22 @@ declare namespace gapi.client {
587
587
  /** Workforce pool name. Example: "locations/global/workforcePools/pool_id" */
588
588
  workforcePoolName?: string;
589
589
  }
590
+ interface GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsMetadata {
591
+ /** Operation create time. */
592
+ createTime?: string;
593
+ /** Count of CompletionSuggestions that failed to be imported. */
594
+ failureCount?: string;
595
+ /** Count of CompletionSuggestions successfully imported. */
596
+ successCount?: string;
597
+ /** Operation last update time. If the operation is done, this is also the finish time. */
598
+ updateTime?: string;
599
+ }
600
+ interface GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsResponse {
601
+ /** The desired location of errors incurred during the Import. */
602
+ errorConfig?: GoogleCloudDiscoveryengineV1alphaImportErrorConfig;
603
+ /** A sample of errors encountered while processing the request. */
604
+ errorSamples?: GoogleRpcStatus[];
605
+ }
590
606
  interface GoogleCloudDiscoveryengineV1alphaImportDocumentsMetadata {
591
607
  /** Operation create time. */
592
608
  createTime?: string;
@@ -682,6 +698,18 @@ declare namespace gapi.client {
682
698
  version?: string;
683
699
  }
684
700
  interface GoogleCloudDiscoveryengineV1alphaProvisionProjectMetadata {}
701
+ interface GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsMetadata {
702
+ /** Operation create time. */
703
+ createTime?: string;
704
+ /** Operation last update time. If the operation is done, this is also the finish time. */
705
+ updateTime?: string;
706
+ }
707
+ interface GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsResponse {
708
+ /** A sample of errors encountered while processing the request. */
709
+ errorSamples?: GoogleRpcStatus[];
710
+ /** Whether the completion suggestions were successfully purged. */
711
+ purgeSucceeded?: boolean;
712
+ }
685
713
  interface GoogleCloudDiscoveryengineV1alphaPurgeDocumentsMetadata {
686
714
  /** Operation create time. */
687
715
  createTime?: string;
@@ -1430,6 +1458,22 @@ declare namespace gapi.client {
1430
1458
  /** The search feature tier of this engine. Different tiers might have different pricing. To learn more, check the pricing documentation. Defaults to SearchTier.SEARCH_TIER_STANDARD if not specified. */
1431
1459
  searchTier?: string;
1432
1460
  }
1461
+ interface GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsMetadata {
1462
+ /** Operation create time. */
1463
+ createTime?: string;
1464
+ /** Count of CompletionSuggestions that failed to be imported. */
1465
+ failureCount?: string;
1466
+ /** Count of CompletionSuggestions successfully imported. */
1467
+ successCount?: string;
1468
+ /** Operation last update time. If the operation is done, this is also the finish time. */
1469
+ updateTime?: string;
1470
+ }
1471
+ interface GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsResponse {
1472
+ /** The desired location of errors incurred during the Import. */
1473
+ errorConfig?: GoogleCloudDiscoveryengineV1betaImportErrorConfig;
1474
+ /** A sample of errors encountered while processing the request. */
1475
+ errorSamples?: GoogleRpcStatus[];
1476
+ }
1433
1477
  interface GoogleCloudDiscoveryengineV1betaImportDocumentsMetadata {
1434
1478
  /** Operation create time. */
1435
1479
  createTime?: string;
@@ -1790,6 +1834,22 @@ declare namespace gapi.client {
1790
1834
  /** End user selected CompleteQueryResponse.QuerySuggestion.suggestion. */
1791
1835
  selectedSuggestion?: string;
1792
1836
  }
1837
+ interface GoogleCloudDiscoveryengineV1CompletionSuggestion {
1838
+ /** Alternative matching phrases for this suggestion. */
1839
+ alternativePhrases?: string[];
1840
+ /** Frequency of this suggestion. Will be used to rank suggestions when score is not available. */
1841
+ frequency?: string;
1842
+ /** Global score of this suggestion. Control how this suggestion would be scored / ranked. */
1843
+ globalScore?: number;
1844
+ /** If two suggestions have the same groupId, they will not be returned together. Instead the one ranked higher will be returned. This can be used to deduplicate semantically identical suggestions. */
1845
+ groupId?: string;
1846
+ /** The score of this suggestion within its group. */
1847
+ groupScore?: number;
1848
+ /** BCP-47 language code of this suggestion. */
1849
+ languageCode?: string;
1850
+ /** Required. The suggestion text. */
1851
+ suggestion?: string;
1852
+ }
1793
1853
  interface GoogleCloudDiscoveryengineV1Condition {
1794
1854
  /** Range of time(s) specifying when condition is active. Maximum of 10 time ranges. */
1795
1855
  activeTimeRange?: GoogleCloudDiscoveryengineV1ConditionTimeRange[];
@@ -2019,7 +2079,7 @@ declare namespace gapi.client {
2019
2079
  mimeType?: string;
2020
2080
  /** The content represented as a stream of bytes. The maximum length is 1,000,000 bytes (1 MB / ~0.95 MiB). Note: As with all `bytes` fields, this field is represented as pure binary in Protocol Buffers and base64-encoded string in JSON. For example, `abc123!?$*&()'-=@~` should be represented as `YWJjMTIzIT8kKiYoKSctPUB+` in JSON. See https://developers.google.com/protocol-buffers/docs/proto3#json. */
2021
2081
  rawBytes?: string;
2022
- /** The URI of the content. Only Cloud Storage URIs (e.g. `gs://bucket-name/path/to/file`) are supported. The maximum file size is 2.5 MB for text-based formats, 100 MB for other formats. */
2082
+ /** The URI of the content. Only Cloud Storage URIs (e.g. `gs://bucket-name/path/to/file`) are supported. The maximum file size is 2.5 MB for text-based formats, 200 MB for other formats. */
2023
2083
  uri?: string;
2024
2084
  }
2025
2085
  interface GoogleCloudDiscoveryengineV1DocumentInfo {
@@ -2180,6 +2240,36 @@ declare namespace gapi.client {
2180
2240
  /** Text content of the fact. Can be at most 10K characters long. */
2181
2241
  factText?: string;
2182
2242
  }
2243
+ interface GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsMetadata {
2244
+ /** Operation create time. */
2245
+ createTime?: string;
2246
+ /** Count of CompletionSuggestions that failed to be imported. */
2247
+ failureCount?: string;
2248
+ /** Count of CompletionSuggestions successfully imported. */
2249
+ successCount?: string;
2250
+ /** Operation last update time. If the operation is done, this is also the finish time. */
2251
+ updateTime?: string;
2252
+ }
2253
+ interface GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsRequest {
2254
+ /** BigQuery input source. */
2255
+ bigquerySource?: GoogleCloudDiscoveryengineV1BigQuerySource;
2256
+ /** The desired location of errors incurred during the Import. */
2257
+ errorConfig?: GoogleCloudDiscoveryengineV1ImportErrorConfig;
2258
+ /** Cloud Storage location for the input content. */
2259
+ gcsSource?: GoogleCloudDiscoveryengineV1GcsSource;
2260
+ /** The Inline source for suggestion entries. */
2261
+ inlineSource?: GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsRequestInlineSource;
2262
+ }
2263
+ interface GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsRequestInlineSource {
2264
+ /** Required. A list of all denylist entries to import. Max of 1000 items. */
2265
+ suggestions?: GoogleCloudDiscoveryengineV1CompletionSuggestion[];
2266
+ }
2267
+ interface GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsResponse {
2268
+ /** The desired location of errors incurred during the Import. */
2269
+ errorConfig?: GoogleCloudDiscoveryengineV1ImportErrorConfig;
2270
+ /** A sample of errors encountered while processing the request. */
2271
+ errorSamples?: GoogleRpcStatus[];
2272
+ }
2183
2273
  interface GoogleCloudDiscoveryengineV1ImportDocumentsMetadata {
2184
2274
  /** Operation create time. */
2185
2275
  createTime?: string;
@@ -2411,6 +2501,19 @@ declare namespace gapi.client {
2411
2501
  /** Required. The version of the [Terms for data use](https://cloud.google.com/retail/data-use-terms) that caller has read and would like to give consent to. Acceptable version is `2022-11-23`, and this may change over time. */
2412
2502
  dataUseTermsVersion?: string;
2413
2503
  }
2504
+ interface GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsMetadata {
2505
+ /** Operation create time. */
2506
+ createTime?: string;
2507
+ /** Operation last update time. If the operation is done, this is also the finish time. */
2508
+ updateTime?: string;
2509
+ }
2510
+ interface GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsRequest {}
2511
+ interface GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsResponse {
2512
+ /** A sample of errors encountered while processing the request. */
2513
+ errorSamples?: GoogleRpcStatus[];
2514
+ /** Whether the completion suggestions were successfully purged. */
2515
+ purgeSucceeded?: boolean;
2516
+ }
2414
2517
  interface GoogleCloudDiscoveryengineV1PurgeDocumentsMetadata {
2415
2518
  /** Operation create time. */
2416
2519
  createTime?: string;
@@ -2667,7 +2770,7 @@ declare namespace gapi.client {
2667
2770
  excludedFilterKeys?: string[];
2668
2771
  /** Required. The facet key specification. */
2669
2772
  facetKey?: GoogleCloudDiscoveryengineV1SearchRequestFacetSpecFacetKey;
2670
- /** Maximum facet values that are returned for this facet. If unspecified, defaults to 20. The maximum allowed value is 300. Values above 300 are coerced to 300. If this field is negative, an `INVALID_ARGUMENT` is returned. */
2773
+ /** Maximum facet values that are returned for this facet. If unspecified, defaults to 20. The maximum allowed value is 300. Values above 300 are coerced to 300. For aggregation in healthcare search, when the [FacetKey.key] is "healthcare_aggregation_key", the limit will be overridden to 10,000 internally, regardless of the value set here. If this field is negative, an `INVALID_ARGUMENT` is returned. */
2671
2774
  limit?: number;
2672
2775
  }
2673
2776
  interface GoogleCloudDiscoveryengineV1SearchRequestFacetSpecFacetKey {
@@ -3520,6 +3623,124 @@ declare namespace gapi.client {
3520
3623
  documents: DocumentsResource;
3521
3624
  operations: OperationsResource;
3522
3625
  }
3626
+ interface CompletionSuggestionsResource {
3627
+ /** Imports CompletionSuggestions for a DataStore. */
3628
+ import(request: {
3629
+ /** V1 error format. */
3630
+ '$.xgafv'?: string;
3631
+ /** OAuth access token. */
3632
+ access_token?: string;
3633
+ /** Data format for response. */
3634
+ alt?: string;
3635
+ /** JSONP */
3636
+ callback?: string;
3637
+ /** Selector specifying which fields to include in a partial response. */
3638
+ fields?: string;
3639
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3640
+ key?: string;
3641
+ /** OAuth 2.0 token for the current user. */
3642
+ oauth_token?: string;
3643
+ /** Required. The parent data store resource name for which to import customer autocomplete suggestions. Follows pattern `projects/*‍/locations/*‍/collections/*‍/dataStores/*` */
3644
+ parent: string;
3645
+ /** Returns response with indentations and line breaks. */
3646
+ prettyPrint?: boolean;
3647
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
3648
+ quotaUser?: string;
3649
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3650
+ upload_protocol?: string;
3651
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3652
+ uploadType?: string;
3653
+ /** Request body */
3654
+ resource: GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsRequest;
3655
+ }): Request<GoogleLongrunningOperation>;
3656
+ import(
3657
+ request: {
3658
+ /** V1 error format. */
3659
+ '$.xgafv'?: string;
3660
+ /** OAuth access token. */
3661
+ access_token?: string;
3662
+ /** Data format for response. */
3663
+ alt?: string;
3664
+ /** JSONP */
3665
+ callback?: string;
3666
+ /** Selector specifying which fields to include in a partial response. */
3667
+ fields?: string;
3668
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3669
+ key?: string;
3670
+ /** OAuth 2.0 token for the current user. */
3671
+ oauth_token?: string;
3672
+ /** Required. The parent data store resource name for which to import customer autocomplete suggestions. Follows pattern `projects/*‍/locations/*‍/collections/*‍/dataStores/*` */
3673
+ parent: string;
3674
+ /** Returns response with indentations and line breaks. */
3675
+ prettyPrint?: boolean;
3676
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
3677
+ quotaUser?: string;
3678
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3679
+ upload_protocol?: string;
3680
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3681
+ uploadType?: string;
3682
+ },
3683
+ body: GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsRequest
3684
+ ): Request<GoogleLongrunningOperation>;
3685
+ /** Permanently deletes all CompletionSuggestions for a DataStore. */
3686
+ purge(request: {
3687
+ /** V1 error format. */
3688
+ '$.xgafv'?: string;
3689
+ /** OAuth access token. */
3690
+ access_token?: string;
3691
+ /** Data format for response. */
3692
+ alt?: string;
3693
+ /** JSONP */
3694
+ callback?: string;
3695
+ /** Selector specifying which fields to include in a partial response. */
3696
+ fields?: string;
3697
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3698
+ key?: string;
3699
+ /** OAuth 2.0 token for the current user. */
3700
+ oauth_token?: string;
3701
+ /** Required. The parent data store resource name for which to purge completion suggestions. Follows pattern projects/*‍/locations/*‍/collections/*‍/dataStores/*. */
3702
+ parent: string;
3703
+ /** Returns response with indentations and line breaks. */
3704
+ prettyPrint?: boolean;
3705
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
3706
+ quotaUser?: string;
3707
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3708
+ upload_protocol?: string;
3709
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3710
+ uploadType?: string;
3711
+ /** Request body */
3712
+ resource: GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsRequest;
3713
+ }): Request<GoogleLongrunningOperation>;
3714
+ purge(
3715
+ request: {
3716
+ /** V1 error format. */
3717
+ '$.xgafv'?: string;
3718
+ /** OAuth access token. */
3719
+ access_token?: string;
3720
+ /** Data format for response. */
3721
+ alt?: string;
3722
+ /** JSONP */
3723
+ callback?: string;
3724
+ /** Selector specifying which fields to include in a partial response. */
3725
+ fields?: string;
3726
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3727
+ key?: string;
3728
+ /** OAuth 2.0 token for the current user. */
3729
+ oauth_token?: string;
3730
+ /** Required. The parent data store resource name for which to purge completion suggestions. Follows pattern projects/*‍/locations/*‍/collections/*‍/dataStores/*. */
3731
+ parent: string;
3732
+ /** Returns response with indentations and line breaks. */
3733
+ prettyPrint?: boolean;
3734
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
3735
+ quotaUser?: string;
3736
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3737
+ upload_protocol?: string;
3738
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3739
+ uploadType?: string;
3740
+ },
3741
+ body: GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsRequest
3742
+ ): Request<GoogleLongrunningOperation>;
3743
+ }
3523
3744
  interface ControlsResource {
3524
3745
  /** Creates a Control. By default 1000 controls are allowed for a data store. A request can be submitted to adjust this limit. If the Control to create already exists, an ALREADY_EXISTS error is returned. */
3525
3746
  create(request: {
@@ -6025,6 +6246,7 @@ declare namespace gapi.client {
6025
6246
  body: GoogleCloudDiscoveryengineV1DataStore
6026
6247
  ): Request<GoogleCloudDiscoveryengineV1DataStore>;
6027
6248
  branches: BranchesResource;
6249
+ completionSuggestions: CompletionSuggestionsResource;
6028
6250
  controls: ControlsResource;
6029
6251
  conversations: ConversationsResource;
6030
6252
  models: ModelsResource;
@@ -7738,6 +7960,124 @@ declare namespace gapi.client {
7738
7960
  documents: DocumentsResource;
7739
7961
  operations: OperationsResource;
7740
7962
  }
7963
+ interface CompletionSuggestionsResource {
7964
+ /** Imports CompletionSuggestions for a DataStore. */
7965
+ import(request: {
7966
+ /** V1 error format. */
7967
+ '$.xgafv'?: string;
7968
+ /** OAuth access token. */
7969
+ access_token?: string;
7970
+ /** Data format for response. */
7971
+ alt?: string;
7972
+ /** JSONP */
7973
+ callback?: string;
7974
+ /** Selector specifying which fields to include in a partial response. */
7975
+ fields?: string;
7976
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
7977
+ key?: string;
7978
+ /** OAuth 2.0 token for the current user. */
7979
+ oauth_token?: string;
7980
+ /** Required. The parent data store resource name for which to import customer autocomplete suggestions. Follows pattern `projects/*‍/locations/*‍/collections/*‍/dataStores/*` */
7981
+ parent: string;
7982
+ /** Returns response with indentations and line breaks. */
7983
+ prettyPrint?: boolean;
7984
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
7985
+ quotaUser?: string;
7986
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
7987
+ upload_protocol?: string;
7988
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7989
+ uploadType?: string;
7990
+ /** Request body */
7991
+ resource: GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsRequest;
7992
+ }): Request<GoogleLongrunningOperation>;
7993
+ import(
7994
+ request: {
7995
+ /** V1 error format. */
7996
+ '$.xgafv'?: string;
7997
+ /** OAuth access token. */
7998
+ access_token?: string;
7999
+ /** Data format for response. */
8000
+ alt?: string;
8001
+ /** JSONP */
8002
+ callback?: string;
8003
+ /** Selector specifying which fields to include in a partial response. */
8004
+ fields?: string;
8005
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
8006
+ key?: string;
8007
+ /** OAuth 2.0 token for the current user. */
8008
+ oauth_token?: string;
8009
+ /** Required. The parent data store resource name for which to import customer autocomplete suggestions. Follows pattern `projects/*‍/locations/*‍/collections/*‍/dataStores/*` */
8010
+ parent: string;
8011
+ /** Returns response with indentations and line breaks. */
8012
+ prettyPrint?: boolean;
8013
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
8014
+ quotaUser?: string;
8015
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
8016
+ upload_protocol?: string;
8017
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8018
+ uploadType?: string;
8019
+ },
8020
+ body: GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsRequest
8021
+ ): Request<GoogleLongrunningOperation>;
8022
+ /** Permanently deletes all CompletionSuggestions for a DataStore. */
8023
+ purge(request: {
8024
+ /** V1 error format. */
8025
+ '$.xgafv'?: string;
8026
+ /** OAuth access token. */
8027
+ access_token?: string;
8028
+ /** Data format for response. */
8029
+ alt?: string;
8030
+ /** JSONP */
8031
+ callback?: string;
8032
+ /** Selector specifying which fields to include in a partial response. */
8033
+ fields?: string;
8034
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
8035
+ key?: string;
8036
+ /** OAuth 2.0 token for the current user. */
8037
+ oauth_token?: string;
8038
+ /** Required. The parent data store resource name for which to purge completion suggestions. Follows pattern projects/*‍/locations/*‍/collections/*‍/dataStores/*. */
8039
+ parent: string;
8040
+ /** Returns response with indentations and line breaks. */
8041
+ prettyPrint?: boolean;
8042
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
8043
+ quotaUser?: string;
8044
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
8045
+ upload_protocol?: string;
8046
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8047
+ uploadType?: string;
8048
+ /** Request body */
8049
+ resource: GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsRequest;
8050
+ }): Request<GoogleLongrunningOperation>;
8051
+ purge(
8052
+ request: {
8053
+ /** V1 error format. */
8054
+ '$.xgafv'?: string;
8055
+ /** OAuth access token. */
8056
+ access_token?: string;
8057
+ /** Data format for response. */
8058
+ alt?: string;
8059
+ /** JSONP */
8060
+ callback?: string;
8061
+ /** Selector specifying which fields to include in a partial response. */
8062
+ fields?: string;
8063
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
8064
+ key?: string;
8065
+ /** OAuth 2.0 token for the current user. */
8066
+ oauth_token?: string;
8067
+ /** Required. The parent data store resource name for which to purge completion suggestions. Follows pattern projects/*‍/locations/*‍/collections/*‍/dataStores/*. */
8068
+ parent: string;
8069
+ /** Returns response with indentations and line breaks. */
8070
+ prettyPrint?: boolean;
8071
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
8072
+ quotaUser?: string;
8073
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
8074
+ upload_protocol?: string;
8075
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8076
+ uploadType?: string;
8077
+ },
8078
+ body: GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsRequest
8079
+ ): Request<GoogleLongrunningOperation>;
8080
+ }
7741
8081
  interface ControlsResource {
7742
8082
  /** Creates a Control. By default 1000 controls are allowed for a data store. A request can be submitted to adjust this limit. If the Control to create already exists, an ALREADY_EXISTS error is returned. */
7743
8083
  create(request: {
@@ -9965,6 +10305,7 @@ declare namespace gapi.client {
9965
10305
  body: GoogleCloudDiscoveryengineV1DataStore
9966
10306
  ): Request<GoogleCloudDiscoveryengineV1DataStore>;
9967
10307
  branches: BranchesResource;
10308
+ completionSuggestions: CompletionSuggestionsResource;
9968
10309
  controls: ControlsResource;
9969
10310
  conversations: ConversationsResource;
9970
10311
  models: ModelsResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.discoveryengine-v1",
3
- "version": "0.0.20240612",
3
+ "version": "0.0.20240621",
4
4
  "description": "TypeScript typings for Discovery Engine API v1",
5
5
  "repository": {
6
6
  "type": "git",