@maxim_mazurok/gapi.client.discoveryengine-v1alpha 0.0.20250125 → 0.0.20250202

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 (3) hide show
  1. package/index.d.ts +224 -131
  2. package/package.json +1 -1
  3. package/readme.md +2 -2
package/index.d.ts CHANGED
@@ -9,14 +9,14 @@
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=v1alpha
12
- // Revision: 20250125
12
+ // Revision: 20250202
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
16
16
  declare namespace gapi.client {
17
17
  /** Load Discovery Engine API v1alpha */
18
18
  function load(
19
- urlOrObject: 'https://discoveryengine.googleapis.com/$discovery/rest?version=v1alpha'
19
+ urlOrObject: 'https://discoveryengine.googleapis.com/$discovery/rest?version=v1alpha',
20
20
  ): Promise<void>;
21
21
  /** @deprecated Please load APIs with discovery documents. */
22
22
  function load(name: 'discoveryengine', version: 'v1alpha'): Promise<void>;
@@ -24,7 +24,7 @@ declare namespace gapi.client {
24
24
  function load(
25
25
  name: 'discoveryengine',
26
26
  version: 'v1alpha',
27
- callback: () => any
27
+ callback: () => any,
28
28
  ): void;
29
29
 
30
30
  namespace discoveryengine {
@@ -766,11 +766,11 @@ declare namespace gapi.client {
766
766
  citationIndices?: number[];
767
767
  /** Text for the claim in the answer candidate. Always provided regardless of whether citations or anti-citations are found. */
768
768
  claimText?: string;
769
- /** Position indicating the end of the claim in the answer candidate, exclusive. */
769
+ /** Position indicating the end of the claim in the answer candidate, exclusive, in bytes. Note that this is not measured in characters and, therefore, must be rendered as such. For example, if the claim text contains non-ASCII characters, the start and end positions vary when measured in characters (programming-language-dependent) and when measured in bytes (programming-language-independent). */
770
770
  endPos?: number;
771
771
  /** Indicates that this claim required grounding check. When the system decided this claim doesn't require attribution/grounding check, this field will be set to false. In that case, no grounding check was done for the claim and therefore citation_indices should not be returned. */
772
772
  groundingCheckRequired?: boolean;
773
- /** Position indicating the start of the claim in the answer candidate, measured in bytes. */
773
+ /** Position indicating the start of the claim in the answer candidate, measured in bytes. Note that this is not measured in characters and, therefore, must be rendered in the user interface keeping in mind that some characters may take more than one byte. For example, if the claim text contains non-ASCII characters, the start and end positions vary when measured in characters (programming-language-dependent) and when measured in bytes (programming-language-independent). */
774
774
  startPos?: number;
775
775
  }
776
776
  interface GoogleCloudDiscoveryengineV1alphaCheckGroundingSpec {
@@ -1014,6 +1014,24 @@ declare namespace gapi.client {
1014
1014
  filter?: string;
1015
1015
  /** Optional. Strength of the boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0 (No-op). */
1016
1016
  fixedBoost?: number;
1017
+ /** Optional. Complex specification for custom ranking based on customer defined attribute value. */
1018
+ interpolationBoostSpec?: GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpec;
1019
+ }
1020
+ interface GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpec {
1021
+ /** Optional. The attribute type to be used to determine the boost amount. The attribute value can be derived from the field value of the specified field_name. In the case of numerical it is straightforward i.e. attribute_value = numerical_field_value. In the case of freshness however, attribute_value = (time.now() - datetime_field_value). */
1022
+ attributeType?: string;
1023
+ /** Optional. The control points used to define the curve. The monotonic function (defined through the interpolation_type above) passes through the control points listed here. */
1024
+ controlPoints?: GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpecControlPoint[];
1025
+ /** Optional. The name of the field whose value will be used to determine the boost amount. */
1026
+ fieldName?: string;
1027
+ /** Optional. The interpolation type to be applied to connect the control points listed below. */
1028
+ interpolationType?: string;
1029
+ }
1030
+ interface GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpecControlPoint {
1031
+ /** Optional. Can be one of: 1. The numerical field value. 2. The duration spec for freshness: The value must be formatted as an XSD `dayTimeDuration` value (a restricted subset of an ISO 8601 duration value). The pattern for this is: `nDnM]`. */
1032
+ attributeValue?: string;
1033
+ /** Optional. The value between -1 to 1 by which to boost the score if the attribute_value evaluates to the value specified above. */
1034
+ boostAmount?: number;
1017
1035
  }
1018
1036
  interface GoogleCloudDiscoveryengineV1alphaControlFilterAction {
1019
1037
  /** Required. Specifies which data store's documents can be filtered by this control. Full data store name e.g. projects/123/locations/global/collections/default_collection/dataStores/default_data_store */
@@ -1286,6 +1304,12 @@ declare namespace gapi.client {
1286
1304
  /** Vertex AI's dedicated crawl rate time series of user triggered crawl, which is the crawl rate of Google-CloudVertexBot when dedicate crawl is set, and user triggered crawl rate is for deterministic use cases like crawling urls or sitemaps specified by users. */
1287
1305
  userTriggeredCrawlRate?: GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries;
1288
1306
  }
1307
+ interface GoogleCloudDiscoveryengineV1alphaDeleteCmekConfigMetadata {
1308
+ /** Operation create time. */
1309
+ createTime?: string;
1310
+ /** Operation last update time. If the operation is done, this is also the finish time. */
1311
+ updateTime?: string;
1312
+ }
1289
1313
  interface GoogleCloudDiscoveryengineV1alphaDeleteCollectionMetadata {
1290
1314
  /** Operation create time. */
1291
1315
  createTime?: string;
@@ -3698,6 +3722,24 @@ declare namespace gapi.client {
3698
3722
  filter?: string;
3699
3723
  /** Optional. Strength of the boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0 (No-op). */
3700
3724
  fixedBoost?: number;
3725
+ /** Optional. Complex specification for custom ranking based on customer defined attribute value. */
3726
+ interpolationBoostSpec?: GoogleCloudDiscoveryengineV1betaControlBoostActionInterpolationBoostSpec;
3727
+ }
3728
+ interface GoogleCloudDiscoveryengineV1betaControlBoostActionInterpolationBoostSpec {
3729
+ /** Optional. The attribute type to be used to determine the boost amount. The attribute value can be derived from the field value of the specified field_name. In the case of numerical it is straightforward i.e. attribute_value = numerical_field_value. In the case of freshness however, attribute_value = (time.now() - datetime_field_value). */
3730
+ attributeType?: string;
3731
+ /** Optional. The control points used to define the curve. The monotonic function (defined through the interpolation_type above) passes through the control points listed here. */
3732
+ controlPoints?: GoogleCloudDiscoveryengineV1betaControlBoostActionInterpolationBoostSpecControlPoint[];
3733
+ /** Optional. The name of the field whose value will be used to determine the boost amount. */
3734
+ fieldName?: string;
3735
+ /** Optional. The interpolation type to be applied to connect the control points listed below. */
3736
+ interpolationType?: string;
3737
+ }
3738
+ interface GoogleCloudDiscoveryengineV1betaControlBoostActionInterpolationBoostSpecControlPoint {
3739
+ /** Optional. Can be one of: 1. The numerical field value. 2. The duration spec for freshness: The value must be formatted as an XSD `dayTimeDuration` value (a restricted subset of an ISO 8601 duration value). The pattern for this is: `nDnM]`. */
3740
+ attributeValue?: string;
3741
+ /** Optional. The value between -1 to 1 by which to boost the score if the attribute_value evaluates to the value specified above. */
3742
+ boostAmount?: number;
3701
3743
  }
3702
3744
  interface GoogleCloudDiscoveryengineV1betaControlFilterAction {
3703
3745
  /** Required. Specifies which data store's documents can be filtered by this control. Full data store name e.g. projects/123/locations/global/collections/default_collection/dataStores/default_data_store */
@@ -4625,6 +4667,24 @@ declare namespace gapi.client {
4625
4667
  filter?: string;
4626
4668
  /** Optional. Strength of the boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0 (No-op). */
4627
4669
  fixedBoost?: number;
4670
+ /** Optional. Complex specification for custom ranking based on customer defined attribute value. */
4671
+ interpolationBoostSpec?: GoogleCloudDiscoveryengineV1ControlBoostActionInterpolationBoostSpec;
4672
+ }
4673
+ interface GoogleCloudDiscoveryengineV1ControlBoostActionInterpolationBoostSpec {
4674
+ /** Optional. The attribute type to be used to determine the boost amount. The attribute value can be derived from the field value of the specified field_name. In the case of numerical it is straightforward i.e. attribute_value = numerical_field_value. In the case of freshness however, attribute_value = (time.now() - datetime_field_value). */
4675
+ attributeType?: string;
4676
+ /** Optional. The control points used to define the curve. The monotonic function (defined through the interpolation_type above) passes through the control points listed here. */
4677
+ controlPoints?: GoogleCloudDiscoveryengineV1ControlBoostActionInterpolationBoostSpecControlPoint[];
4678
+ /** Optional. The name of the field whose value will be used to determine the boost amount. */
4679
+ fieldName?: string;
4680
+ /** Optional. The interpolation type to be applied to connect the control points listed below. */
4681
+ interpolationType?: string;
4682
+ }
4683
+ interface GoogleCloudDiscoveryengineV1ControlBoostActionInterpolationBoostSpecControlPoint {
4684
+ /** Optional. Can be one of: 1. The numerical field value. 2. The duration spec for freshness: The value must be formatted as an XSD `dayTimeDuration` value (a restricted subset of an ISO 8601 duration value). The pattern for this is: `nDnM]`. */
4685
+ attributeValue?: string;
4686
+ /** Optional. The value between -1 to 1 by which to boost the score if the attribute_value evaluates to the value specified above. */
4687
+ boostAmount?: number;
4628
4688
  }
4629
4689
  interface GoogleCloudDiscoveryengineV1ControlFilterAction {
4630
4690
  /** Required. Specifies which data store's documents can be filtered by this control. Full data store name e.g. projects/123/locations/global/collections/default_collection/dataStores/default_data_store */
@@ -4724,6 +4784,12 @@ declare namespace gapi.client {
4724
4784
  /** If set true, the DataStore will not be available for serving search requests. */
4725
4785
  disabledForServing?: boolean;
4726
4786
  }
4787
+ interface GoogleCloudDiscoveryengineV1DeleteCmekConfigMetadata {
4788
+ /** Operation create time. */
4789
+ createTime?: string;
4790
+ /** Operation last update time. If the operation is done, this is also the finish time. */
4791
+ updateTime?: string;
4792
+ }
4727
4793
  interface GoogleCloudDiscoveryengineV1DeleteDataStoreMetadata {
4728
4794
  /** Operation create time. */
4729
4795
  createTime?: string;
@@ -5364,6 +5430,33 @@ declare namespace gapi.client {
5364
5430
  version?: string;
5365
5431
  }
5366
5432
  interface CmekConfigsResource {
5433
+ /** De-provisions a CmekConfig. */
5434
+ delete(request?: {
5435
+ /** V1 error format. */
5436
+ '$.xgafv'?: string;
5437
+ /** OAuth access token. */
5438
+ access_token?: string;
5439
+ /** Data format for response. */
5440
+ alt?: string;
5441
+ /** JSONP */
5442
+ callback?: string;
5443
+ /** Selector specifying which fields to include in a partial response. */
5444
+ fields?: string;
5445
+ /** 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. */
5446
+ key?: string;
5447
+ /** Required. The resource name of the CmekConfig to delete, such as `projects/{project}/locations/{location}/cmekConfigs/{cmek_config}`. */
5448
+ name: string;
5449
+ /** OAuth 2.0 token for the current user. */
5450
+ oauth_token?: string;
5451
+ /** Returns response with indentations and line breaks. */
5452
+ prettyPrint?: boolean;
5453
+ /** 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. */
5454
+ quotaUser?: string;
5455
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5456
+ upload_protocol?: string;
5457
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5458
+ uploadType?: string;
5459
+ }): Request<GoogleLongrunningOperation>;
5367
5460
  /** Gets the CmekConfig. */
5368
5461
  get(request?: {
5369
5462
  /** V1 error format. */
@@ -5478,7 +5571,7 @@ declare namespace gapi.client {
5478
5571
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5479
5572
  uploadType?: string;
5480
5573
  },
5481
- body: GoogleCloudDiscoveryengineV1alphaCmekConfig
5574
+ body: GoogleCloudDiscoveryengineV1alphaCmekConfig,
5482
5575
  ): Request<GoogleLongrunningOperation>;
5483
5576
  }
5484
5577
  interface ConnectorRunsResource {
@@ -5633,7 +5726,7 @@ declare namespace gapi.client {
5633
5726
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5634
5727
  uploadType?: string;
5635
5728
  },
5636
- body: GoogleCloudDiscoveryengineV1alphaStartConnectorRunRequest
5729
+ body: GoogleCloudDiscoveryengineV1alphaStartConnectorRunRequest,
5637
5730
  ): Request<GoogleCloudDiscoveryengineV1alphaConnectorRun>;
5638
5731
  connectorRuns: ConnectorRunsResource;
5639
5732
  operations: OperationsResource;
@@ -5759,7 +5852,7 @@ declare namespace gapi.client {
5759
5852
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5760
5853
  uploadType?: string;
5761
5854
  },
5762
- body: GoogleCloudDiscoveryengineV1alphaDocument
5855
+ body: GoogleCloudDiscoveryengineV1alphaDocument,
5763
5856
  ): Request<GoogleCloudDiscoveryengineV1alphaDocument>;
5764
5857
  /** Deletes a Document. */
5765
5858
  delete(request?: {
@@ -5902,7 +5995,7 @@ declare namespace gapi.client {
5902
5995
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5903
5996
  uploadType?: string;
5904
5997
  },
5905
- body: GoogleCloudDiscoveryengineV1alphaImportDocumentsRequest
5998
+ body: GoogleCloudDiscoveryengineV1alphaImportDocumentsRequest,
5906
5999
  ): Request<GoogleLongrunningOperation>;
5907
6000
  /** Gets a list of Documents. */
5908
6001
  list(request?: {
@@ -5999,7 +6092,7 @@ declare namespace gapi.client {
5999
6092
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6000
6093
  uploadType?: string;
6001
6094
  },
6002
- body: GoogleCloudDiscoveryengineV1alphaDocument
6095
+ body: GoogleCloudDiscoveryengineV1alphaDocument,
6003
6096
  ): Request<GoogleCloudDiscoveryengineV1alphaDocument>;
6004
6097
  /** Permanently deletes all selected Documents in a branch. This process is asynchronous. Depending on the number of Documents to be deleted, this operation can take hours to complete. Before the delete operation completes, some Documents might still be returned by DocumentService.GetDocument or DocumentService.ListDocuments. To get a list of the Documents to be deleted, set PurgeDocumentsRequest.force to false. */
6005
6098
  purge(request: {
@@ -6057,7 +6150,7 @@ declare namespace gapi.client {
6057
6150
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6058
6151
  uploadType?: string;
6059
6152
  },
6060
- body: GoogleCloudDiscoveryengineV1alphaPurgeDocumentsRequest
6153
+ body: GoogleCloudDiscoveryengineV1alphaPurgeDocumentsRequest,
6061
6154
  ): Request<GoogleLongrunningOperation>;
6062
6155
  chunks: ChunksResource;
6063
6156
  }
@@ -6118,7 +6211,7 @@ declare namespace gapi.client {
6118
6211
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6119
6212
  uploadType?: string;
6120
6213
  },
6121
- body: GoogleLongrunningCancelOperationRequest
6214
+ body: GoogleLongrunningCancelOperationRequest,
6122
6215
  ): Request<{}>;
6123
6216
  /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
6124
6217
  get(request?: {
@@ -6273,7 +6366,7 @@ declare namespace gapi.client {
6273
6366
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6274
6367
  uploadType?: string;
6275
6368
  },
6276
- body: GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequest
6369
+ body: GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequest,
6277
6370
  ): Request<GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponse>;
6278
6371
  }
6279
6372
  interface CompletionSuggestionsResource {
@@ -6333,7 +6426,7 @@ declare namespace gapi.client {
6333
6426
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6334
6427
  uploadType?: string;
6335
6428
  },
6336
- body: GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsRequest
6429
+ body: GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsRequest,
6337
6430
  ): Request<GoogleLongrunningOperation>;
6338
6431
  /** Permanently deletes all CompletionSuggestions for a DataStore. */
6339
6432
  purge(request: {
@@ -6391,7 +6484,7 @@ declare namespace gapi.client {
6391
6484
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6392
6485
  uploadType?: string;
6393
6486
  },
6394
- body: GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsRequest
6487
+ body: GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsRequest,
6395
6488
  ): Request<GoogleLongrunningOperation>;
6396
6489
  }
6397
6490
  interface ControlsResource {
@@ -6455,7 +6548,7 @@ declare namespace gapi.client {
6455
6548
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6456
6549
  uploadType?: string;
6457
6550
  },
6458
- body: GoogleCloudDiscoveryengineV1alphaControl
6551
+ body: GoogleCloudDiscoveryengineV1alphaControl,
6459
6552
  ): Request<GoogleCloudDiscoveryengineV1alphaControl>;
6460
6553
  /** Deletes a Control. If the Control to delete does not exist, a NOT_FOUND error is returned. */
6461
6554
  delete(request?: {
@@ -6604,7 +6697,7 @@ declare namespace gapi.client {
6604
6697
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6605
6698
  uploadType?: string;
6606
6699
  },
6607
- body: GoogleCloudDiscoveryengineV1alphaControl
6700
+ body: GoogleCloudDiscoveryengineV1alphaControl,
6608
6701
  ): Request<GoogleCloudDiscoveryengineV1alphaControl>;
6609
6702
  }
6610
6703
  interface ConversationsResource {
@@ -6664,7 +6757,7 @@ declare namespace gapi.client {
6664
6757
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6665
6758
  uploadType?: string;
6666
6759
  },
6667
- body: GoogleCloudDiscoveryengineV1alphaConverseConversationRequest
6760
+ body: GoogleCloudDiscoveryengineV1alphaConverseConversationRequest,
6668
6761
  ): Request<GoogleCloudDiscoveryengineV1alphaConverseConversationResponse>;
6669
6762
  /** Creates a Conversation. If the Conversation to create already exists, an ALREADY_EXISTS error is returned. */
6670
6763
  create(request: {
@@ -6722,7 +6815,7 @@ declare namespace gapi.client {
6722
6815
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6723
6816
  uploadType?: string;
6724
6817
  },
6725
- body: GoogleCloudDiscoveryengineV1alphaConversation
6818
+ body: GoogleCloudDiscoveryengineV1alphaConversation,
6726
6819
  ): Request<GoogleCloudDiscoveryengineV1alphaConversation>;
6727
6820
  /** Deletes a Conversation. If the Conversation to delete does not exist, a NOT_FOUND error is returned. */
6728
6821
  delete(request?: {
@@ -6873,7 +6966,7 @@ declare namespace gapi.client {
6873
6966
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6874
6967
  uploadType?: string;
6875
6968
  },
6876
- body: GoogleCloudDiscoveryengineV1alphaConversation
6969
+ body: GoogleCloudDiscoveryengineV1alphaConversation,
6877
6970
  ): Request<GoogleCloudDiscoveryengineV1alphaConversation>;
6878
6971
  }
6879
6972
  interface CustomModelsResource {
@@ -7155,7 +7248,7 @@ declare namespace gapi.client {
7155
7248
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7156
7249
  uploadType?: string;
7157
7250
  },
7158
- body: GoogleCloudDiscoveryengineV1alphaSchema
7251
+ body: GoogleCloudDiscoveryengineV1alphaSchema,
7159
7252
  ): Request<GoogleLongrunningOperation>;
7160
7253
  /** Deletes a Schema. */
7161
7254
  delete(request?: {
@@ -7302,7 +7395,7 @@ declare namespace gapi.client {
7302
7395
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7303
7396
  uploadType?: string;
7304
7397
  },
7305
- body: GoogleCloudDiscoveryengineV1alphaSchema
7398
+ body: GoogleCloudDiscoveryengineV1alphaSchema,
7306
7399
  ): Request<GoogleLongrunningOperation>;
7307
7400
  operations: OperationsResource;
7308
7401
  }
@@ -7363,7 +7456,7 @@ declare namespace gapi.client {
7363
7456
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7364
7457
  uploadType?: string;
7365
7458
  },
7366
- body: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest
7459
+ body: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest,
7367
7460
  ): Request<GoogleCloudDiscoveryengineV1alphaAnswerQueryResponse>;
7368
7461
  /** Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not exist. */
7369
7462
  get(request?: {
@@ -7483,7 +7576,7 @@ declare namespace gapi.client {
7483
7576
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7484
7577
  uploadType?: string;
7485
7578
  },
7486
- body: GoogleCloudDiscoveryengineV1alphaServingConfig
7579
+ body: GoogleCloudDiscoveryengineV1alphaServingConfig,
7487
7580
  ): Request<GoogleCloudDiscoveryengineV1alphaServingConfig>;
7488
7581
  /** Makes a recommendation, which requires a contextual user event. */
7489
7582
  recommend(request: {
@@ -7541,7 +7634,7 @@ declare namespace gapi.client {
7541
7634
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7542
7635
  uploadType?: string;
7543
7636
  },
7544
- body: GoogleCloudDiscoveryengineV1alphaRecommendRequest
7637
+ body: GoogleCloudDiscoveryengineV1alphaRecommendRequest,
7545
7638
  ): Request<GoogleCloudDiscoveryengineV1alphaRecommendResponse>;
7546
7639
  /** Performs a search. */
7547
7640
  search(request: {
@@ -7599,7 +7692,7 @@ declare namespace gapi.client {
7599
7692
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7600
7693
  uploadType?: string;
7601
7694
  },
7602
- body: GoogleCloudDiscoveryengineV1alphaSearchRequest
7695
+ body: GoogleCloudDiscoveryengineV1alphaSearchRequest,
7603
7696
  ): Request<GoogleCloudDiscoveryengineV1alphaSearchResponse>;
7604
7697
  /** Performs a search. Similar to the SearchService.Search method, but a lite version that allows API key for authentication, where OAuth and IAM checks are not required. Only public website search is supported by this method. If data stores and engines not associated with public website search are specified, a `FAILED_PRECONDITION` error is returned. This method can be used for easy onboarding without having to implement an authentication backend. However, it is strongly recommended to use SearchService.Search instead with required OAuth and IAM checks to provide better data security. */
7605
7698
  searchLite(request: {
@@ -7657,7 +7750,7 @@ declare namespace gapi.client {
7657
7750
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7658
7751
  uploadType?: string;
7659
7752
  },
7660
- body: GoogleCloudDiscoveryengineV1alphaSearchRequest
7753
+ body: GoogleCloudDiscoveryengineV1alphaSearchRequest,
7661
7754
  ): Request<GoogleCloudDiscoveryengineV1alphaSearchResponse>;
7662
7755
  /** Answer query method (streaming). It takes one AnswerQueryRequest and returns multiple AnswerQueryResponse messages in a stream. */
7663
7756
  streamAnswer(request: {
@@ -7715,7 +7808,7 @@ declare namespace gapi.client {
7715
7808
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7716
7809
  uploadType?: string;
7717
7810
  },
7718
- body: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest
7811
+ body: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest,
7719
7812
  ): Request<GoogleCloudDiscoveryengineV1alphaAnswerQueryResponse>;
7720
7813
  }
7721
7814
  interface AnswersResource {
@@ -7804,7 +7897,7 @@ declare namespace gapi.client {
7804
7897
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7805
7898
  uploadType?: string;
7806
7899
  },
7807
- body: GoogleCloudDiscoveryengineV1alphaSession
7900
+ body: GoogleCloudDiscoveryengineV1alphaSession,
7808
7901
  ): Request<GoogleCloudDiscoveryengineV1alphaSession>;
7809
7902
  /** Deletes a Session. If the Session to delete does not exist, a NOT_FOUND error is returned. */
7810
7903
  delete(request?: {
@@ -7957,7 +8050,7 @@ declare namespace gapi.client {
7957
8050
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7958
8051
  uploadType?: string;
7959
8052
  },
7960
- body: GoogleCloudDiscoveryengineV1alphaSession
8053
+ body: GoogleCloudDiscoveryengineV1alphaSession,
7961
8054
  ): Request<GoogleCloudDiscoveryengineV1alphaSession>;
7962
8055
  answers: AnswersResource;
7963
8056
  }
@@ -8080,7 +8173,7 @@ declare namespace gapi.client {
8080
8173
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8081
8174
  uploadType?: string;
8082
8175
  },
8083
- body: GoogleCloudDiscoveryengineV1alphaSitemap
8176
+ body: GoogleCloudDiscoveryengineV1alphaSitemap,
8084
8177
  ): Request<GoogleLongrunningOperation>;
8085
8178
  /** Deletes a Sitemap. */
8086
8179
  delete(request?: {
@@ -8229,7 +8322,7 @@ declare namespace gapi.client {
8229
8322
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8230
8323
  uploadType?: string;
8231
8324
  },
8232
- body: GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSitesRequest
8325
+ body: GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSitesRequest,
8233
8326
  ): Request<GoogleLongrunningOperation>;
8234
8327
  /** Creates a TargetSite. */
8235
8328
  create(request: {
@@ -8287,7 +8380,7 @@ declare namespace gapi.client {
8287
8380
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8288
8381
  uploadType?: string;
8289
8382
  },
8290
- body: GoogleCloudDiscoveryengineV1alphaTargetSite
8383
+ body: GoogleCloudDiscoveryengineV1alphaTargetSite,
8291
8384
  ): Request<GoogleLongrunningOperation>;
8292
8385
  /** Deletes a TargetSite. */
8293
8386
  delete(request?: {
@@ -8430,7 +8523,7 @@ declare namespace gapi.client {
8430
8523
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8431
8524
  uploadType?: string;
8432
8525
  },
8433
- body: GoogleCloudDiscoveryengineV1alphaTargetSite
8526
+ body: GoogleCloudDiscoveryengineV1alphaTargetSite,
8434
8527
  ): Request<GoogleLongrunningOperation>;
8435
8528
  operations: OperationsResource;
8436
8529
  }
@@ -8491,7 +8584,7 @@ declare namespace gapi.client {
8491
8584
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8492
8585
  uploadType?: string;
8493
8586
  },
8494
- body: GoogleCloudDiscoveryengineV1alphaBatchVerifyTargetSitesRequest
8587
+ body: GoogleCloudDiscoveryengineV1alphaBatchVerifyTargetSitesRequest,
8495
8588
  ): Request<GoogleLongrunningOperation>;
8496
8589
  /** Downgrade from advanced site search to basic site search. */
8497
8590
  disableAdvancedSiteSearch(request: {
@@ -8549,7 +8642,7 @@ declare namespace gapi.client {
8549
8642
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8550
8643
  uploadType?: string;
8551
8644
  },
8552
- body: GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchRequest
8645
+ body: GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchRequest,
8553
8646
  ): Request<GoogleLongrunningOperation>;
8554
8647
  /** Upgrade from basic site search to advanced site search. */
8555
8648
  enableAdvancedSiteSearch(request: {
@@ -8607,7 +8700,7 @@ declare namespace gapi.client {
8607
8700
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8608
8701
  uploadType?: string;
8609
8702
  },
8610
- body: GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchRequest
8703
+ body: GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchRequest,
8611
8704
  ): Request<GoogleLongrunningOperation>;
8612
8705
  /** Returns list of target sites with its domain verification status. This method can only be called under data store with BASIC_SITE_SEARCH state at the moment. */
8613
8706
  fetchDomainVerificationStatus(request?: {
@@ -8723,7 +8816,7 @@ declare namespace gapi.client {
8723
8816
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8724
8817
  uploadType?: string;
8725
8818
  },
8726
- body: GoogleCloudDiscoveryengineV1alphaRecrawlUrisRequest
8819
+ body: GoogleCloudDiscoveryengineV1alphaRecrawlUrisRequest,
8727
8820
  ): Request<GoogleLongrunningOperation>;
8728
8821
  /** Sets the URI Pattern to Document data mapping for an Advanced Site Search DataStore. */
8729
8822
  setUriPatternDocumentData(request: {
@@ -8781,7 +8874,7 @@ declare namespace gapi.client {
8781
8874
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8782
8875
  uploadType?: string;
8783
8876
  },
8784
- body: GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataRequest
8877
+ body: GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataRequest,
8785
8878
  ): Request<GoogleLongrunningOperation>;
8786
8879
  operations: OperationsResource;
8787
8880
  sitemaps: SitemapsResource;
@@ -8844,7 +8937,7 @@ declare namespace gapi.client {
8844
8937
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8845
8938
  uploadType?: string;
8846
8939
  },
8847
- body: GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesRequest
8940
+ body: GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesRequest,
8848
8941
  ): Request<GoogleLongrunningOperation>;
8849
8942
  /** Permanently deletes all SuggestionDenyListEntry for a DataStore. */
8850
8943
  purge(request: {
@@ -8902,7 +8995,7 @@ declare namespace gapi.client {
8902
8995
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8903
8996
  uploadType?: string;
8904
8997
  },
8905
- body: GoogleCloudDiscoveryengineV1alphaPurgeSuggestionDenyListEntriesRequest
8998
+ body: GoogleCloudDiscoveryengineV1alphaPurgeSuggestionDenyListEntriesRequest,
8906
8999
  ): Request<GoogleLongrunningOperation>;
8907
9000
  }
8908
9001
  interface UserEventsResource {
@@ -8995,7 +9088,7 @@ declare namespace gapi.client {
8995
9088
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8996
9089
  uploadType?: string;
8997
9090
  },
8998
- body: GoogleCloudDiscoveryengineV1alphaImportUserEventsRequest
9091
+ body: GoogleCloudDiscoveryengineV1alphaImportUserEventsRequest,
8999
9092
  ): Request<GoogleLongrunningOperation>;
9000
9093
  /** Deletes permanently all user events specified by the filter provided. Depending on the number of events specified by the filter, this operation could take hours or days to complete. To test a filter, use the list command first. */
9001
9094
  purge(request: {
@@ -9053,7 +9146,7 @@ declare namespace gapi.client {
9053
9146
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9054
9147
  uploadType?: string;
9055
9148
  },
9056
- body: GoogleCloudDiscoveryengineV1alphaPurgeUserEventsRequest
9149
+ body: GoogleCloudDiscoveryengineV1alphaPurgeUserEventsRequest,
9057
9150
  ): Request<GoogleLongrunningOperation>;
9058
9151
  /** Writes a single user event. */
9059
9152
  write(request: {
@@ -9115,7 +9208,7 @@ declare namespace gapi.client {
9115
9208
  /** If set to true, the user event is written asynchronously after validation, and the API responds without waiting for the write. */
9116
9209
  writeAsync?: boolean;
9117
9210
  },
9118
- body: GoogleCloudDiscoveryengineV1alphaUserEvent
9211
+ body: GoogleCloudDiscoveryengineV1alphaUserEvent,
9119
9212
  ): Request<GoogleCloudDiscoveryengineV1alphaUserEvent>;
9120
9213
  }
9121
9214
  interface DataStoresResource {
@@ -9230,7 +9323,7 @@ declare namespace gapi.client {
9230
9323
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9231
9324
  uploadType?: string;
9232
9325
  },
9233
- body: GoogleCloudDiscoveryengineV1alphaDataStore
9326
+ body: GoogleCloudDiscoveryengineV1alphaDataStore,
9234
9327
  ): Request<GoogleLongrunningOperation>;
9235
9328
  /** Deletes a DataStore. */
9236
9329
  delete(request?: {
@@ -9433,7 +9526,7 @@ declare namespace gapi.client {
9433
9526
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9434
9527
  uploadType?: string;
9435
9528
  },
9436
- body: GoogleCloudDiscoveryengineV1alphaDataStore
9529
+ body: GoogleCloudDiscoveryengineV1alphaDataStore,
9437
9530
  ): Request<GoogleCloudDiscoveryengineV1alphaDataStore>;
9438
9531
  /** Trains a custom model. */
9439
9532
  trainCustomModel(request: {
@@ -9491,7 +9584,7 @@ declare namespace gapi.client {
9491
9584
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9492
9585
  uploadType?: string;
9493
9586
  },
9494
- body: GoogleCloudDiscoveryengineV1alphaTrainCustomModelRequest
9587
+ body: GoogleCloudDiscoveryengineV1alphaTrainCustomModelRequest,
9495
9588
  ): Request<GoogleLongrunningOperation>;
9496
9589
  /** Updates the DocumentProcessingConfig. DocumentProcessingConfig is a singleon resource of DataStore. It's empty when DataStore is created. The first call to this method will set up DocumentProcessingConfig. */
9497
9590
  updateDocumentProcessingConfig(request: {
@@ -9553,7 +9646,7 @@ declare namespace gapi.client {
9553
9646
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9554
9647
  uploadType?: string;
9555
9648
  },
9556
- body: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig
9649
+ body: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig,
9557
9650
  ): Request<GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>;
9558
9651
  branches: BranchesResource;
9559
9652
  completionConfig: CompletionConfigResource;
@@ -9627,7 +9720,7 @@ declare namespace gapi.client {
9627
9720
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9628
9721
  uploadType?: string;
9629
9722
  },
9630
- body: GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequest
9723
+ body: GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequest,
9631
9724
  ): Request<GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponse>;
9632
9725
  }
9633
9726
  interface ControlsResource {
@@ -9691,7 +9784,7 @@ declare namespace gapi.client {
9691
9784
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9692
9785
  uploadType?: string;
9693
9786
  },
9694
- body: GoogleCloudDiscoveryengineV1alphaControl
9787
+ body: GoogleCloudDiscoveryengineV1alphaControl,
9695
9788
  ): Request<GoogleCloudDiscoveryengineV1alphaControl>;
9696
9789
  /** Deletes a Control. If the Control to delete does not exist, a NOT_FOUND error is returned. */
9697
9790
  delete(request?: {
@@ -9840,7 +9933,7 @@ declare namespace gapi.client {
9840
9933
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9841
9934
  uploadType?: string;
9842
9935
  },
9843
- body: GoogleCloudDiscoveryengineV1alphaControl
9936
+ body: GoogleCloudDiscoveryengineV1alphaControl,
9844
9937
  ): Request<GoogleCloudDiscoveryengineV1alphaControl>;
9845
9938
  }
9846
9939
  interface ConversationsResource {
@@ -9900,7 +9993,7 @@ declare namespace gapi.client {
9900
9993
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9901
9994
  uploadType?: string;
9902
9995
  },
9903
- body: GoogleCloudDiscoveryengineV1alphaConverseConversationRequest
9996
+ body: GoogleCloudDiscoveryengineV1alphaConverseConversationRequest,
9904
9997
  ): Request<GoogleCloudDiscoveryengineV1alphaConverseConversationResponse>;
9905
9998
  /** Creates a Conversation. If the Conversation to create already exists, an ALREADY_EXISTS error is returned. */
9906
9999
  create(request: {
@@ -9958,7 +10051,7 @@ declare namespace gapi.client {
9958
10051
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9959
10052
  uploadType?: string;
9960
10053
  },
9961
- body: GoogleCloudDiscoveryengineV1alphaConversation
10054
+ body: GoogleCloudDiscoveryengineV1alphaConversation,
9962
10055
  ): Request<GoogleCloudDiscoveryengineV1alphaConversation>;
9963
10056
  /** Deletes a Conversation. If the Conversation to delete does not exist, a NOT_FOUND error is returned. */
9964
10057
  delete(request?: {
@@ -10109,7 +10202,7 @@ declare namespace gapi.client {
10109
10202
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10110
10203
  uploadType?: string;
10111
10204
  },
10112
- body: GoogleCloudDiscoveryengineV1alphaConversation
10205
+ body: GoogleCloudDiscoveryengineV1alphaConversation,
10113
10206
  ): Request<GoogleCloudDiscoveryengineV1alphaConversation>;
10114
10207
  }
10115
10208
  interface OperationsResource {
@@ -10231,7 +10324,7 @@ declare namespace gapi.client {
10231
10324
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10232
10325
  uploadType?: string;
10233
10326
  },
10234
- body: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest
10327
+ body: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest,
10235
10328
  ): Request<GoogleCloudDiscoveryengineV1alphaAnswerQueryResponse>;
10236
10329
  /** Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not exist. */
10237
10330
  get(request?: {
@@ -10351,7 +10444,7 @@ declare namespace gapi.client {
10351
10444
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10352
10445
  uploadType?: string;
10353
10446
  },
10354
- body: GoogleCloudDiscoveryengineV1alphaServingConfig
10447
+ body: GoogleCloudDiscoveryengineV1alphaServingConfig,
10355
10448
  ): Request<GoogleCloudDiscoveryengineV1alphaServingConfig>;
10356
10449
  /** Makes a recommendation, which requires a contextual user event. */
10357
10450
  recommend(request: {
@@ -10409,7 +10502,7 @@ declare namespace gapi.client {
10409
10502
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10410
10503
  uploadType?: string;
10411
10504
  },
10412
- body: GoogleCloudDiscoveryengineV1alphaRecommendRequest
10505
+ body: GoogleCloudDiscoveryengineV1alphaRecommendRequest,
10413
10506
  ): Request<GoogleCloudDiscoveryengineV1alphaRecommendResponse>;
10414
10507
  /** Performs a search. */
10415
10508
  search(request: {
@@ -10467,7 +10560,7 @@ declare namespace gapi.client {
10467
10560
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10468
10561
  uploadType?: string;
10469
10562
  },
10470
- body: GoogleCloudDiscoveryengineV1alphaSearchRequest
10563
+ body: GoogleCloudDiscoveryengineV1alphaSearchRequest,
10471
10564
  ): Request<GoogleCloudDiscoveryengineV1alphaSearchResponse>;
10472
10565
  /** Performs a search. Similar to the SearchService.Search method, but a lite version that allows API key for authentication, where OAuth and IAM checks are not required. Only public website search is supported by this method. If data stores and engines not associated with public website search are specified, a `FAILED_PRECONDITION` error is returned. This method can be used for easy onboarding without having to implement an authentication backend. However, it is strongly recommended to use SearchService.Search instead with required OAuth and IAM checks to provide better data security. */
10473
10566
  searchLite(request: {
@@ -10525,7 +10618,7 @@ declare namespace gapi.client {
10525
10618
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10526
10619
  uploadType?: string;
10527
10620
  },
10528
- body: GoogleCloudDiscoveryengineV1alphaSearchRequest
10621
+ body: GoogleCloudDiscoveryengineV1alphaSearchRequest,
10529
10622
  ): Request<GoogleCloudDiscoveryengineV1alphaSearchResponse>;
10530
10623
  /** Answer query method (streaming). It takes one AnswerQueryRequest and returns multiple AnswerQueryResponse messages in a stream. */
10531
10624
  streamAnswer(request: {
@@ -10583,7 +10676,7 @@ declare namespace gapi.client {
10583
10676
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10584
10677
  uploadType?: string;
10585
10678
  },
10586
- body: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest
10679
+ body: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest,
10587
10680
  ): Request<GoogleCloudDiscoveryengineV1alphaAnswerQueryResponse>;
10588
10681
  }
10589
10682
  interface AnswersResource {
@@ -10672,7 +10765,7 @@ declare namespace gapi.client {
10672
10765
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10673
10766
  uploadType?: string;
10674
10767
  },
10675
- body: GoogleCloudDiscoveryengineV1alphaSession
10768
+ body: GoogleCloudDiscoveryengineV1alphaSession,
10676
10769
  ): Request<GoogleCloudDiscoveryengineV1alphaSession>;
10677
10770
  /** Deletes a Session. If the Session to delete does not exist, a NOT_FOUND error is returned. */
10678
10771
  delete(request?: {
@@ -10825,7 +10918,7 @@ declare namespace gapi.client {
10825
10918
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10826
10919
  uploadType?: string;
10827
10920
  },
10828
- body: GoogleCloudDiscoveryengineV1alphaSession
10921
+ body: GoogleCloudDiscoveryengineV1alphaSession,
10829
10922
  ): Request<GoogleCloudDiscoveryengineV1alphaSession>;
10830
10923
  answers: AnswersResource;
10831
10924
  }
@@ -10890,7 +10983,7 @@ declare namespace gapi.client {
10890
10983
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10891
10984
  uploadType?: string;
10892
10985
  },
10893
- body: GoogleCloudDiscoveryengineV1alphaEngine
10986
+ body: GoogleCloudDiscoveryengineV1alphaEngine,
10894
10987
  ): Request<GoogleLongrunningOperation>;
10895
10988
  /** Deletes a Engine. */
10896
10989
  delete(request?: {
@@ -11039,7 +11132,7 @@ declare namespace gapi.client {
11039
11132
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11040
11133
  uploadType?: string;
11041
11134
  },
11042
- body: GoogleCloudDiscoveryengineV1alphaEngine
11135
+ body: GoogleCloudDiscoveryengineV1alphaEngine,
11043
11136
  ): Request<GoogleCloudDiscoveryengineV1alphaEngine>;
11044
11137
  /** Pauses the training of an existing engine. Only applicable if SolutionType is SOLUTION_TYPE_RECOMMENDATION. */
11045
11138
  pause(request: {
@@ -11097,7 +11190,7 @@ declare namespace gapi.client {
11097
11190
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11098
11191
  uploadType?: string;
11099
11192
  },
11100
- body: GoogleCloudDiscoveryengineV1alphaPauseEngineRequest
11193
+ body: GoogleCloudDiscoveryengineV1alphaPauseEngineRequest,
11101
11194
  ): Request<GoogleCloudDiscoveryengineV1alphaEngine>;
11102
11195
  /** Resumes the training of an existing engine. Only applicable if SolutionType is SOLUTION_TYPE_RECOMMENDATION. */
11103
11196
  resume(request: {
@@ -11155,7 +11248,7 @@ declare namespace gapi.client {
11155
11248
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11156
11249
  uploadType?: string;
11157
11250
  },
11158
- body: GoogleCloudDiscoveryengineV1alphaResumeEngineRequest
11251
+ body: GoogleCloudDiscoveryengineV1alphaResumeEngineRequest,
11159
11252
  ): Request<GoogleCloudDiscoveryengineV1alphaEngine>;
11160
11253
  /** Tunes an existing engine. Only applicable if SolutionType is SOLUTION_TYPE_RECOMMENDATION. */
11161
11254
  tune(request: {
@@ -11213,7 +11306,7 @@ declare namespace gapi.client {
11213
11306
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11214
11307
  uploadType?: string;
11215
11308
  },
11216
- body: GoogleCloudDiscoveryengineV1alphaTuneEngineRequest
11309
+ body: GoogleCloudDiscoveryengineV1alphaTuneEngineRequest,
11217
11310
  ): Request<GoogleLongrunningOperation>;
11218
11311
  completionConfig: CompletionConfigResource;
11219
11312
  controls: ControlsResource;
@@ -11459,7 +11552,7 @@ declare namespace gapi.client {
11459
11552
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11460
11553
  uploadType?: string;
11461
11554
  },
11462
- body: GoogleCloudDiscoveryengineV1alphaCollection
11555
+ body: GoogleCloudDiscoveryengineV1alphaCollection,
11463
11556
  ): Request<GoogleLongrunningOperation>;
11464
11557
  /** Updates a DataConnector. */
11465
11558
  updateDataConnector(request: {
@@ -11521,7 +11614,7 @@ declare namespace gapi.client {
11521
11614
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11522
11615
  uploadType?: string;
11523
11616
  },
11524
- body: GoogleCloudDiscoveryengineV1alphaDataConnector
11617
+ body: GoogleCloudDiscoveryengineV1alphaDataConnector,
11525
11618
  ): Request<GoogleCloudDiscoveryengineV1alphaDataConnector>;
11526
11619
  dataConnector: DataConnectorResource;
11527
11620
  dataStores: DataStoresResource;
@@ -11649,7 +11742,7 @@ declare namespace gapi.client {
11649
11742
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11650
11743
  uploadType?: string;
11651
11744
  },
11652
- body: GoogleCloudDiscoveryengineV1alphaDocument
11745
+ body: GoogleCloudDiscoveryengineV1alphaDocument,
11653
11746
  ): Request<GoogleCloudDiscoveryengineV1alphaDocument>;
11654
11747
  /** Deletes a Document. */
11655
11748
  delete(request?: {
@@ -11792,7 +11885,7 @@ declare namespace gapi.client {
11792
11885
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11793
11886
  uploadType?: string;
11794
11887
  },
11795
- body: GoogleCloudDiscoveryengineV1alphaImportDocumentsRequest
11888
+ body: GoogleCloudDiscoveryengineV1alphaImportDocumentsRequest,
11796
11889
  ): Request<GoogleLongrunningOperation>;
11797
11890
  /** Gets a list of Documents. */
11798
11891
  list(request?: {
@@ -11889,7 +11982,7 @@ declare namespace gapi.client {
11889
11982
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11890
11983
  uploadType?: string;
11891
11984
  },
11892
- body: GoogleCloudDiscoveryengineV1alphaDocument
11985
+ body: GoogleCloudDiscoveryengineV1alphaDocument,
11893
11986
  ): Request<GoogleCloudDiscoveryengineV1alphaDocument>;
11894
11987
  /** Permanently deletes all selected Documents in a branch. This process is asynchronous. Depending on the number of Documents to be deleted, this operation can take hours to complete. Before the delete operation completes, some Documents might still be returned by DocumentService.GetDocument or DocumentService.ListDocuments. To get a list of the Documents to be deleted, set PurgeDocumentsRequest.force to false. */
11895
11988
  purge(request: {
@@ -11947,7 +12040,7 @@ declare namespace gapi.client {
11947
12040
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11948
12041
  uploadType?: string;
11949
12042
  },
11950
- body: GoogleCloudDiscoveryengineV1alphaPurgeDocumentsRequest
12043
+ body: GoogleCloudDiscoveryengineV1alphaPurgeDocumentsRequest,
11951
12044
  ): Request<GoogleLongrunningOperation>;
11952
12045
  chunks: ChunksResource;
11953
12046
  }
@@ -12008,7 +12101,7 @@ declare namespace gapi.client {
12008
12101
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12009
12102
  uploadType?: string;
12010
12103
  },
12011
- body: GoogleLongrunningCancelOperationRequest
12104
+ body: GoogleLongrunningCancelOperationRequest,
12012
12105
  ): Request<{}>;
12013
12106
  /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
12014
12107
  get(request?: {
@@ -12163,7 +12256,7 @@ declare namespace gapi.client {
12163
12256
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12164
12257
  uploadType?: string;
12165
12258
  },
12166
- body: GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequest
12259
+ body: GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequest,
12167
12260
  ): Request<GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponse>;
12168
12261
  }
12169
12262
  interface CompletionSuggestionsResource {
@@ -12223,7 +12316,7 @@ declare namespace gapi.client {
12223
12316
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12224
12317
  uploadType?: string;
12225
12318
  },
12226
- body: GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsRequest
12319
+ body: GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsRequest,
12227
12320
  ): Request<GoogleLongrunningOperation>;
12228
12321
  /** Permanently deletes all CompletionSuggestions for a DataStore. */
12229
12322
  purge(request: {
@@ -12281,7 +12374,7 @@ declare namespace gapi.client {
12281
12374
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12282
12375
  uploadType?: string;
12283
12376
  },
12284
- body: GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsRequest
12377
+ body: GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsRequest,
12285
12378
  ): Request<GoogleLongrunningOperation>;
12286
12379
  }
12287
12380
  interface ControlsResource {
@@ -12345,7 +12438,7 @@ declare namespace gapi.client {
12345
12438
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12346
12439
  uploadType?: string;
12347
12440
  },
12348
- body: GoogleCloudDiscoveryengineV1alphaControl
12441
+ body: GoogleCloudDiscoveryengineV1alphaControl,
12349
12442
  ): Request<GoogleCloudDiscoveryengineV1alphaControl>;
12350
12443
  /** Deletes a Control. If the Control to delete does not exist, a NOT_FOUND error is returned. */
12351
12444
  delete(request?: {
@@ -12494,7 +12587,7 @@ declare namespace gapi.client {
12494
12587
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12495
12588
  uploadType?: string;
12496
12589
  },
12497
- body: GoogleCloudDiscoveryengineV1alphaControl
12590
+ body: GoogleCloudDiscoveryengineV1alphaControl,
12498
12591
  ): Request<GoogleCloudDiscoveryengineV1alphaControl>;
12499
12592
  }
12500
12593
  interface ConversationsResource {
@@ -12554,7 +12647,7 @@ declare namespace gapi.client {
12554
12647
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12555
12648
  uploadType?: string;
12556
12649
  },
12557
- body: GoogleCloudDiscoveryengineV1alphaConverseConversationRequest
12650
+ body: GoogleCloudDiscoveryengineV1alphaConverseConversationRequest,
12558
12651
  ): Request<GoogleCloudDiscoveryengineV1alphaConverseConversationResponse>;
12559
12652
  /** Creates a Conversation. If the Conversation to create already exists, an ALREADY_EXISTS error is returned. */
12560
12653
  create(request: {
@@ -12612,7 +12705,7 @@ declare namespace gapi.client {
12612
12705
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12613
12706
  uploadType?: string;
12614
12707
  },
12615
- body: GoogleCloudDiscoveryengineV1alphaConversation
12708
+ body: GoogleCloudDiscoveryengineV1alphaConversation,
12616
12709
  ): Request<GoogleCloudDiscoveryengineV1alphaConversation>;
12617
12710
  /** Deletes a Conversation. If the Conversation to delete does not exist, a NOT_FOUND error is returned. */
12618
12711
  delete(request?: {
@@ -12763,7 +12856,7 @@ declare namespace gapi.client {
12763
12856
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12764
12857
  uploadType?: string;
12765
12858
  },
12766
- body: GoogleCloudDiscoveryengineV1alphaConversation
12859
+ body: GoogleCloudDiscoveryengineV1alphaConversation,
12767
12860
  ): Request<GoogleCloudDiscoveryengineV1alphaConversation>;
12768
12861
  }
12769
12862
  interface OperationsResource {
@@ -12954,7 +13047,7 @@ declare namespace gapi.client {
12954
13047
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12955
13048
  uploadType?: string;
12956
13049
  },
12957
- body: GoogleCloudDiscoveryengineV1alphaSchema
13050
+ body: GoogleCloudDiscoveryengineV1alphaSchema,
12958
13051
  ): Request<GoogleLongrunningOperation>;
12959
13052
  /** Deletes a Schema. */
12960
13053
  delete(request?: {
@@ -13101,7 +13194,7 @@ declare namespace gapi.client {
13101
13194
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13102
13195
  uploadType?: string;
13103
13196
  },
13104
- body: GoogleCloudDiscoveryengineV1alphaSchema
13197
+ body: GoogleCloudDiscoveryengineV1alphaSchema,
13105
13198
  ): Request<GoogleLongrunningOperation>;
13106
13199
  }
13107
13200
  interface ServingConfigsResource {
@@ -13161,7 +13254,7 @@ declare namespace gapi.client {
13161
13254
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13162
13255
  uploadType?: string;
13163
13256
  },
13164
- body: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest
13257
+ body: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest,
13165
13258
  ): Request<GoogleCloudDiscoveryengineV1alphaAnswerQueryResponse>;
13166
13259
  /** Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not exist. */
13167
13260
  get(request?: {
@@ -13281,7 +13374,7 @@ declare namespace gapi.client {
13281
13374
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13282
13375
  uploadType?: string;
13283
13376
  },
13284
- body: GoogleCloudDiscoveryengineV1alphaServingConfig
13377
+ body: GoogleCloudDiscoveryengineV1alphaServingConfig,
13285
13378
  ): Request<GoogleCloudDiscoveryengineV1alphaServingConfig>;
13286
13379
  /** Makes a recommendation, which requires a contextual user event. */
13287
13380
  recommend(request: {
@@ -13339,7 +13432,7 @@ declare namespace gapi.client {
13339
13432
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13340
13433
  uploadType?: string;
13341
13434
  },
13342
- body: GoogleCloudDiscoveryengineV1alphaRecommendRequest
13435
+ body: GoogleCloudDiscoveryengineV1alphaRecommendRequest,
13343
13436
  ): Request<GoogleCloudDiscoveryengineV1alphaRecommendResponse>;
13344
13437
  /** Performs a search. */
13345
13438
  search(request: {
@@ -13397,7 +13490,7 @@ declare namespace gapi.client {
13397
13490
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13398
13491
  uploadType?: string;
13399
13492
  },
13400
- body: GoogleCloudDiscoveryengineV1alphaSearchRequest
13493
+ body: GoogleCloudDiscoveryengineV1alphaSearchRequest,
13401
13494
  ): Request<GoogleCloudDiscoveryengineV1alphaSearchResponse>;
13402
13495
  /** Performs a search. Similar to the SearchService.Search method, but a lite version that allows API key for authentication, where OAuth and IAM checks are not required. Only public website search is supported by this method. If data stores and engines not associated with public website search are specified, a `FAILED_PRECONDITION` error is returned. This method can be used for easy onboarding without having to implement an authentication backend. However, it is strongly recommended to use SearchService.Search instead with required OAuth and IAM checks to provide better data security. */
13403
13496
  searchLite(request: {
@@ -13455,7 +13548,7 @@ declare namespace gapi.client {
13455
13548
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13456
13549
  uploadType?: string;
13457
13550
  },
13458
- body: GoogleCloudDiscoveryengineV1alphaSearchRequest
13551
+ body: GoogleCloudDiscoveryengineV1alphaSearchRequest,
13459
13552
  ): Request<GoogleCloudDiscoveryengineV1alphaSearchResponse>;
13460
13553
  /** Answer query method (streaming). It takes one AnswerQueryRequest and returns multiple AnswerQueryResponse messages in a stream. */
13461
13554
  streamAnswer(request: {
@@ -13513,7 +13606,7 @@ declare namespace gapi.client {
13513
13606
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13514
13607
  uploadType?: string;
13515
13608
  },
13516
- body: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest
13609
+ body: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest,
13517
13610
  ): Request<GoogleCloudDiscoveryengineV1alphaAnswerQueryResponse>;
13518
13611
  }
13519
13612
  interface AnswersResource {
@@ -13602,7 +13695,7 @@ declare namespace gapi.client {
13602
13695
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13603
13696
  uploadType?: string;
13604
13697
  },
13605
- body: GoogleCloudDiscoveryengineV1alphaSession
13698
+ body: GoogleCloudDiscoveryengineV1alphaSession,
13606
13699
  ): Request<GoogleCloudDiscoveryengineV1alphaSession>;
13607
13700
  /** Deletes a Session. If the Session to delete does not exist, a NOT_FOUND error is returned. */
13608
13701
  delete(request?: {
@@ -13755,7 +13848,7 @@ declare namespace gapi.client {
13755
13848
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13756
13849
  uploadType?: string;
13757
13850
  },
13758
- body: GoogleCloudDiscoveryengineV1alphaSession
13851
+ body: GoogleCloudDiscoveryengineV1alphaSession,
13759
13852
  ): Request<GoogleCloudDiscoveryengineV1alphaSession>;
13760
13853
  answers: AnswersResource;
13761
13854
  }
@@ -13816,7 +13909,7 @@ declare namespace gapi.client {
13816
13909
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13817
13910
  uploadType?: string;
13818
13911
  },
13819
- body: GoogleCloudDiscoveryengineV1alphaSitemap
13912
+ body: GoogleCloudDiscoveryengineV1alphaSitemap,
13820
13913
  ): Request<GoogleLongrunningOperation>;
13821
13914
  /** Deletes a Sitemap. */
13822
13915
  delete(request?: {
@@ -13932,7 +14025,7 @@ declare namespace gapi.client {
13932
14025
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13933
14026
  uploadType?: string;
13934
14027
  },
13935
- body: GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSitesRequest
14028
+ body: GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSitesRequest,
13936
14029
  ): Request<GoogleLongrunningOperation>;
13937
14030
  /** Creates a TargetSite. */
13938
14031
  create(request: {
@@ -13990,7 +14083,7 @@ declare namespace gapi.client {
13990
14083
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13991
14084
  uploadType?: string;
13992
14085
  },
13993
- body: GoogleCloudDiscoveryengineV1alphaTargetSite
14086
+ body: GoogleCloudDiscoveryengineV1alphaTargetSite,
13994
14087
  ): Request<GoogleLongrunningOperation>;
13995
14088
  /** Deletes a TargetSite. */
13996
14089
  delete(request?: {
@@ -14133,7 +14226,7 @@ declare namespace gapi.client {
14133
14226
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14134
14227
  uploadType?: string;
14135
14228
  },
14136
- body: GoogleCloudDiscoveryengineV1alphaTargetSite
14229
+ body: GoogleCloudDiscoveryengineV1alphaTargetSite,
14137
14230
  ): Request<GoogleLongrunningOperation>;
14138
14231
  }
14139
14232
  interface SiteSearchEngineResource {
@@ -14193,7 +14286,7 @@ declare namespace gapi.client {
14193
14286
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14194
14287
  uploadType?: string;
14195
14288
  },
14196
- body: GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchRequest
14289
+ body: GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchRequest,
14197
14290
  ): Request<GoogleLongrunningOperation>;
14198
14291
  /** Upgrade from basic site search to advanced site search. */
14199
14292
  enableAdvancedSiteSearch(request: {
@@ -14251,7 +14344,7 @@ declare namespace gapi.client {
14251
14344
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14252
14345
  uploadType?: string;
14253
14346
  },
14254
- body: GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchRequest
14347
+ body: GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchRequest,
14255
14348
  ): Request<GoogleLongrunningOperation>;
14256
14349
  /** Request on-demand recrawl for a list of URIs. */
14257
14350
  recrawlUris(request: {
@@ -14309,7 +14402,7 @@ declare namespace gapi.client {
14309
14402
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14310
14403
  uploadType?: string;
14311
14404
  },
14312
- body: GoogleCloudDiscoveryengineV1alphaRecrawlUrisRequest
14405
+ body: GoogleCloudDiscoveryengineV1alphaRecrawlUrisRequest,
14313
14406
  ): Request<GoogleLongrunningOperation>;
14314
14407
  sitemaps: SitemapsResource;
14315
14408
  targetSites: TargetSitesResource;
@@ -14371,7 +14464,7 @@ declare namespace gapi.client {
14371
14464
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14372
14465
  uploadType?: string;
14373
14466
  },
14374
- body: GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesRequest
14467
+ body: GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesRequest,
14375
14468
  ): Request<GoogleLongrunningOperation>;
14376
14469
  /** Permanently deletes all SuggestionDenyListEntry for a DataStore. */
14377
14470
  purge(request: {
@@ -14429,7 +14522,7 @@ declare namespace gapi.client {
14429
14522
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14430
14523
  uploadType?: string;
14431
14524
  },
14432
- body: GoogleCloudDiscoveryengineV1alphaPurgeSuggestionDenyListEntriesRequest
14525
+ body: GoogleCloudDiscoveryengineV1alphaPurgeSuggestionDenyListEntriesRequest,
14433
14526
  ): Request<GoogleLongrunningOperation>;
14434
14527
  }
14435
14528
  interface UserEventsResource {
@@ -14522,7 +14615,7 @@ declare namespace gapi.client {
14522
14615
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14523
14616
  uploadType?: string;
14524
14617
  },
14525
- body: GoogleCloudDiscoveryengineV1alphaImportUserEventsRequest
14618
+ body: GoogleCloudDiscoveryengineV1alphaImportUserEventsRequest,
14526
14619
  ): Request<GoogleLongrunningOperation>;
14527
14620
  /** Deletes permanently all user events specified by the filter provided. Depending on the number of events specified by the filter, this operation could take hours or days to complete. To test a filter, use the list command first. */
14528
14621
  purge(request: {
@@ -14580,7 +14673,7 @@ declare namespace gapi.client {
14580
14673
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14581
14674
  uploadType?: string;
14582
14675
  },
14583
- body: GoogleCloudDiscoveryengineV1alphaPurgeUserEventsRequest
14676
+ body: GoogleCloudDiscoveryengineV1alphaPurgeUserEventsRequest,
14584
14677
  ): Request<GoogleLongrunningOperation>;
14585
14678
  /** Writes a single user event. */
14586
14679
  write(request: {
@@ -14642,7 +14735,7 @@ declare namespace gapi.client {
14642
14735
  /** If set to true, the user event is written asynchronously after validation, and the API responds without waiting for the write. */
14643
14736
  writeAsync?: boolean;
14644
14737
  },
14645
- body: GoogleCloudDiscoveryengineV1alphaUserEvent
14738
+ body: GoogleCloudDiscoveryengineV1alphaUserEvent,
14646
14739
  ): Request<GoogleCloudDiscoveryengineV1alphaUserEvent>;
14647
14740
  }
14648
14741
  interface DataStoresResource {
@@ -14757,7 +14850,7 @@ declare namespace gapi.client {
14757
14850
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14758
14851
  uploadType?: string;
14759
14852
  },
14760
- body: GoogleCloudDiscoveryengineV1alphaDataStore
14853
+ body: GoogleCloudDiscoveryengineV1alphaDataStore,
14761
14854
  ): Request<GoogleLongrunningOperation>;
14762
14855
  /** Deletes a DataStore. */
14763
14856
  delete(request?: {
@@ -14960,7 +15053,7 @@ declare namespace gapi.client {
14960
15053
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14961
15054
  uploadType?: string;
14962
15055
  },
14963
- body: GoogleCloudDiscoveryengineV1alphaDataStore
15056
+ body: GoogleCloudDiscoveryengineV1alphaDataStore,
14964
15057
  ): Request<GoogleCloudDiscoveryengineV1alphaDataStore>;
14965
15058
  /** Updates the DocumentProcessingConfig. DocumentProcessingConfig is a singleon resource of DataStore. It's empty when DataStore is created. The first call to this method will set up DocumentProcessingConfig. */
14966
15059
  updateDocumentProcessingConfig(request: {
@@ -15022,7 +15115,7 @@ declare namespace gapi.client {
15022
15115
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15023
15116
  uploadType?: string;
15024
15117
  },
15025
- body: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig
15118
+ body: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig,
15026
15119
  ): Request<GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>;
15027
15120
  branches: BranchesResource;
15028
15121
  completionConfig: CompletionConfigResource;
@@ -15124,7 +15217,7 @@ declare namespace gapi.client {
15124
15217
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15125
15218
  uploadType?: string;
15126
15219
  },
15127
- body: GoogleCloudDiscoveryengineV1alphaEvaluation
15220
+ body: GoogleCloudDiscoveryengineV1alphaEvaluation,
15128
15221
  ): Request<GoogleLongrunningOperation>;
15129
15222
  /** Gets a Evaluation. */
15130
15223
  get(request?: {
@@ -15274,7 +15367,7 @@ declare namespace gapi.client {
15274
15367
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15275
15368
  uploadType?: string;
15276
15369
  },
15277
- body: GoogleCloudDiscoveryengineV1alphaCheckGroundingRequest
15370
+ body: GoogleCloudDiscoveryengineV1alphaCheckGroundingRequest,
15278
15371
  ): Request<GoogleCloudDiscoveryengineV1alphaCheckGroundingResponse>;
15279
15372
  }
15280
15373
  interface OperationsResource {
@@ -15408,7 +15501,7 @@ declare namespace gapi.client {
15408
15501
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15409
15502
  uploadType?: string;
15410
15503
  },
15411
- body: GoogleCloudDiscoveryengineV1alphaIdentityMappingStore
15504
+ body: GoogleCloudDiscoveryengineV1alphaIdentityMappingStore,
15412
15505
  ): Request<GoogleCloudDiscoveryengineV1alphaIdentityMappingStore>;
15413
15506
  /** Deletes the Identity Mapping Store. */
15414
15507
  delete(request?: {
@@ -15520,7 +15613,7 @@ declare namespace gapi.client {
15520
15613
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15521
15614
  uploadType?: string;
15522
15615
  },
15523
- body: GoogleCloudDiscoveryengineV1alphaImportIdentityMappingsRequest
15616
+ body: GoogleCloudDiscoveryengineV1alphaImportIdentityMappingsRequest,
15524
15617
  ): Request<GoogleLongrunningOperation>;
15525
15618
  /** Lists all Identity Mapping Stores. */
15526
15619
  list(request?: {
@@ -15640,7 +15733,7 @@ declare namespace gapi.client {
15640
15733
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15641
15734
  uploadType?: string;
15642
15735
  },
15643
- body: GoogleCloudDiscoveryengineV1alphaPurgeIdentityMappingsRequest
15736
+ body: GoogleCloudDiscoveryengineV1alphaPurgeIdentityMappingsRequest,
15644
15737
  ): Request<GoogleLongrunningOperation>;
15645
15738
  operations: OperationsResource;
15646
15739
  }
@@ -15763,7 +15856,7 @@ declare namespace gapi.client {
15763
15856
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15764
15857
  uploadType?: string;
15765
15858
  },
15766
- body: GoogleCloudDiscoveryengineV1alphaRankRequest
15859
+ body: GoogleCloudDiscoveryengineV1alphaRankRequest,
15767
15860
  ): Request<GoogleCloudDiscoveryengineV1alphaRankResponse>;
15768
15861
  }
15769
15862
  interface RequirementsResource {
@@ -15823,7 +15916,7 @@ declare namespace gapi.client {
15823
15916
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15824
15917
  uploadType?: string;
15825
15918
  },
15826
- body: GoogleCloudDiscoveryengineV1alphaCheckRequirementRequest
15919
+ body: GoogleCloudDiscoveryengineV1alphaCheckRequirementRequest,
15827
15920
  ): Request<GoogleCloudDiscoveryengineV1alphaCheckRequirementResponse>;
15828
15921
  }
15829
15922
  interface OperationsResource {
@@ -15916,7 +16009,7 @@ declare namespace gapi.client {
15916
16009
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15917
16010
  uploadType?: string;
15918
16011
  },
15919
- body: GoogleCloudDiscoveryengineV1alphaSampleQuery
16012
+ body: GoogleCloudDiscoveryengineV1alphaSampleQuery,
15920
16013
  ): Request<GoogleCloudDiscoveryengineV1alphaSampleQuery>;
15921
16014
  /** Deletes a SampleQuery. */
15922
16015
  delete(request?: {
@@ -16028,7 +16121,7 @@ declare namespace gapi.client {
16028
16121
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16029
16122
  uploadType?: string;
16030
16123
  },
16031
- body: GoogleCloudDiscoveryengineV1alphaImportSampleQueriesRequest
16124
+ body: GoogleCloudDiscoveryengineV1alphaImportSampleQueriesRequest,
16032
16125
  ): Request<GoogleLongrunningOperation>;
16033
16126
  /** Gets a list of SampleQuerys. */
16034
16127
  list(request?: {
@@ -16121,7 +16214,7 @@ declare namespace gapi.client {
16121
16214
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16122
16215
  uploadType?: string;
16123
16216
  },
16124
- body: GoogleCloudDiscoveryengineV1alphaSampleQuery
16217
+ body: GoogleCloudDiscoveryengineV1alphaSampleQuery,
16125
16218
  ): Request<GoogleCloudDiscoveryengineV1alphaSampleQuery>;
16126
16219
  }
16127
16220
  interface SampleQuerySetsResource {
@@ -16185,7 +16278,7 @@ declare namespace gapi.client {
16185
16278
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16186
16279
  uploadType?: string;
16187
16280
  },
16188
- body: GoogleCloudDiscoveryengineV1alphaSampleQuerySet
16281
+ body: GoogleCloudDiscoveryengineV1alphaSampleQuerySet,
16189
16282
  ): Request<GoogleCloudDiscoveryengineV1alphaSampleQuerySet>;
16190
16283
  /** Deletes a SampleQuerySet. */
16191
16284
  delete(request?: {
@@ -16332,7 +16425,7 @@ declare namespace gapi.client {
16332
16425
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16333
16426
  uploadType?: string;
16334
16427
  },
16335
- body: GoogleCloudDiscoveryengineV1alphaSampleQuerySet
16428
+ body: GoogleCloudDiscoveryengineV1alphaSampleQuerySet,
16336
16429
  ): Request<GoogleCloudDiscoveryengineV1alphaSampleQuerySet>;
16337
16430
  operations: OperationsResource;
16338
16431
  sampleQueries: SampleQueriesResource;
@@ -16427,7 +16520,7 @@ declare namespace gapi.client {
16427
16520
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16428
16521
  uploadType?: string;
16429
16522
  },
16430
- body: GoogleCloudDiscoveryengineV1alphaImportUserEventsRequest
16523
+ body: GoogleCloudDiscoveryengineV1alphaImportUserEventsRequest,
16431
16524
  ): Request<GoogleLongrunningOperation>;
16432
16525
  /** Writes a single user event. */
16433
16526
  write(request: {
@@ -16489,7 +16582,7 @@ declare namespace gapi.client {
16489
16582
  /** If set to true, the user event is written asynchronously after validation, and the API responds without waiting for the write. */
16490
16583
  writeAsync?: boolean;
16491
16584
  },
16492
- body: GoogleCloudDiscoveryengineV1alphaUserEvent
16585
+ body: GoogleCloudDiscoveryengineV1alphaUserEvent,
16493
16586
  ): Request<GoogleCloudDiscoveryengineV1alphaUserEvent>;
16494
16587
  }
16495
16588
  interface OperationsResource {
@@ -16614,7 +16707,7 @@ declare namespace gapi.client {
16614
16707
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16615
16708
  uploadType?: string;
16616
16709
  },
16617
- body: GoogleCloudDiscoveryengineV1alphaEstimateDataSizeRequest
16710
+ body: GoogleCloudDiscoveryengineV1alphaEstimateDataSizeRequest,
16618
16711
  ): Request<GoogleLongrunningOperation>;
16619
16712
  /** Generates grounded content. */
16620
16713
  generateGroundedContent(request: {
@@ -16672,7 +16765,7 @@ declare namespace gapi.client {
16672
16765
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16673
16766
  uploadType?: string;
16674
16767
  },
16675
- body: GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequest
16768
+ body: GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequest,
16676
16769
  ): Request<GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponse>;
16677
16770
  /** Gets the AclConfig. */
16678
16771
  getAclConfig(request?: {
@@ -16784,7 +16877,7 @@ declare namespace gapi.client {
16784
16877
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16785
16878
  uploadType?: string;
16786
16879
  },
16787
- body: GoogleCloudDiscoveryengineV1alphaObtainCrawlRateRequest
16880
+ body: GoogleCloudDiscoveryengineV1alphaObtainCrawlRateRequest,
16788
16881
  ): Request<GoogleCloudDiscoveryengineV1alphaObtainCrawlRateResponse>;
16789
16882
  /** Removes the dedicated crawl rate for a craw_rate_scope. If the dedicated crawl rate was set, this will disable vertex AI's crawl bot from using the dedicated crawl rate for crawling. If the dedicated crawl rate was not set, this is a no-op. */
16790
16883
  removeDedicatedCrawlRate(request: {
@@ -16842,7 +16935,7 @@ declare namespace gapi.client {
16842
16935
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16843
16936
  uploadType?: string;
16844
16937
  },
16845
- body: GoogleCloudDiscoveryengineV1alphaRemoveDedicatedCrawlRateRequest
16938
+ body: GoogleCloudDiscoveryengineV1alphaRemoveDedicatedCrawlRateRequest,
16846
16939
  ): Request<GoogleLongrunningOperation>;
16847
16940
  /** Sets the dedicated crawl rate for a crawl_rate_scope. If the dedicated crawl rate was not set, this will enable vertex AI's crawl bot to use the new dedicated crawl rate for crawling. If the dedicated crawl rate was set, vertex AI's crawl bot will try to update the rate to the new value. If the new value is too high, the crawl bot may crawl at a lower rate to avoid overloading the user's website. */
16848
16941
  setDedicatedCrawlRate(request: {
@@ -16900,7 +16993,7 @@ declare namespace gapi.client {
16900
16993
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16901
16994
  uploadType?: string;
16902
16995
  },
16903
- body: GoogleCloudDiscoveryengineV1alphaSetDedicatedCrawlRateRequest
16996
+ body: GoogleCloudDiscoveryengineV1alphaSetDedicatedCrawlRateRequest,
16904
16997
  ): Request<GoogleLongrunningOperation>;
16905
16998
  /** Creates a Collection and sets up the DataConnector for it. To stop a DataConnector after setup, use the CollectionService.DeleteCollection method. */
16906
16999
  setUpDataConnector(request: {
@@ -16958,7 +17051,7 @@ declare namespace gapi.client {
16958
17051
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16959
17052
  uploadType?: string;
16960
17053
  },
16961
- body: GoogleCloudDiscoveryengineV1alphaSetUpDataConnectorRequest
17054
+ body: GoogleCloudDiscoveryengineV1alphaSetUpDataConnectorRequest,
16962
17055
  ): Request<GoogleLongrunningOperation>;
16963
17056
  /** Default ACL configuration for use in a location of a customer's project. Updates will only reflect to new data stores. Existing data stores will still use the old value. */
16964
17057
  updateAclConfig(request: {
@@ -17016,7 +17109,7 @@ declare namespace gapi.client {
17016
17109
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
17017
17110
  uploadType?: string;
17018
17111
  },
17019
- body: GoogleCloudDiscoveryengineV1alphaAclConfig
17112
+ body: GoogleCloudDiscoveryengineV1alphaAclConfig,
17020
17113
  ): Request<GoogleCloudDiscoveryengineV1alphaAclConfig>;
17021
17114
  /** Provisions a CMEK key for use in a location of a customer's project. This method will also conduct location validation on the provided cmekConfig to make sure the key is valid and can be used in the selected location. */
17022
17115
  updateCmekConfig(request: {
@@ -17078,7 +17171,7 @@ declare namespace gapi.client {
17078
17171
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
17079
17172
  uploadType?: string;
17080
17173
  },
17081
- body: GoogleCloudDiscoveryengineV1alphaCmekConfig
17174
+ body: GoogleCloudDiscoveryengineV1alphaCmekConfig,
17082
17175
  ): Request<GoogleLongrunningOperation>;
17083
17176
  cmekConfigs: CmekConfigsResource;
17084
17177
  collections: CollectionsResource;
@@ -17239,7 +17332,7 @@ declare namespace gapi.client {
17239
17332
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
17240
17333
  uploadType?: string;
17241
17334
  },
17242
- body: GoogleCloudDiscoveryengineV1alphaProvisionProjectRequest
17335
+ body: GoogleCloudDiscoveryengineV1alphaProvisionProjectRequest,
17243
17336
  ): Request<GoogleLongrunningOperation>;
17244
17337
  /** Updates service terms for this project. This method can be used to retroactively accept the latest terms. Terms available for update: * [Terms for data use](https://cloud.google.com/retail/data-use-terms) */
17245
17338
  reportConsentChange(request: {
@@ -17297,7 +17390,7 @@ declare namespace gapi.client {
17297
17390
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
17298
17391
  uploadType?: string;
17299
17392
  },
17300
- body: GoogleCloudDiscoveryengineV1alphaReportConsentChangeRequest
17393
+ body: GoogleCloudDiscoveryengineV1alphaReportConsentChangeRequest,
17301
17394
  ): Request<GoogleCloudDiscoveryengineV1alphaProject>;
17302
17395
  locations: LocationsResource;
17303
17396
  operations: OperationsResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.discoveryengine-v1alpha",
3
- "version": "0.0.20250125",
3
+ "version": "0.0.20250202",
4
4
  "description": "TypeScript typings for Discovery Engine API v1alpha",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -30,7 +30,7 @@ gapi.client.load(
30
30
  () => {
31
31
  // now we can use:
32
32
  // gapi.client.discoveryengine
33
- }
33
+ },
34
34
  );
35
35
  ```
36
36
 
@@ -62,7 +62,7 @@ gapi.auth.authorize(
62
62
  } else {
63
63
  /* handle authorization error */
64
64
  }
65
- }
65
+ },
66
66
  );
67
67
  ```
68
68