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

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 +170 -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: 20250130
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 {
@@ -1286,6 +1286,12 @@ declare namespace gapi.client {
1286
1286
  /** 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
1287
  userTriggeredCrawlRate?: GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries;
1288
1288
  }
1289
+ interface GoogleCloudDiscoveryengineV1alphaDeleteCmekConfigMetadata {
1290
+ /** Operation create time. */
1291
+ createTime?: string;
1292
+ /** Operation last update time. If the operation is done, this is also the finish time. */
1293
+ updateTime?: string;
1294
+ }
1289
1295
  interface GoogleCloudDiscoveryengineV1alphaDeleteCollectionMetadata {
1290
1296
  /** Operation create time. */
1291
1297
  createTime?: string;
@@ -4724,6 +4730,12 @@ declare namespace gapi.client {
4724
4730
  /** If set true, the DataStore will not be available for serving search requests. */
4725
4731
  disabledForServing?: boolean;
4726
4732
  }
4733
+ interface GoogleCloudDiscoveryengineV1DeleteCmekConfigMetadata {
4734
+ /** Operation create time. */
4735
+ createTime?: string;
4736
+ /** Operation last update time. If the operation is done, this is also the finish time. */
4737
+ updateTime?: string;
4738
+ }
4727
4739
  interface GoogleCloudDiscoveryengineV1DeleteDataStoreMetadata {
4728
4740
  /** Operation create time. */
4729
4741
  createTime?: string;
@@ -5364,6 +5376,33 @@ declare namespace gapi.client {
5364
5376
  version?: string;
5365
5377
  }
5366
5378
  interface CmekConfigsResource {
5379
+ /** De-provisions a CmekConfig. */
5380
+ delete(request?: {
5381
+ /** V1 error format. */
5382
+ '$.xgafv'?: string;
5383
+ /** OAuth access token. */
5384
+ access_token?: string;
5385
+ /** Data format for response. */
5386
+ alt?: string;
5387
+ /** JSONP */
5388
+ callback?: string;
5389
+ /** Selector specifying which fields to include in a partial response. */
5390
+ fields?: string;
5391
+ /** 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. */
5392
+ key?: string;
5393
+ /** Required. The resource name of the CmekConfig to delete, such as `projects/{project}/locations/{location}/cmekConfigs/{cmek_config}`. */
5394
+ name: string;
5395
+ /** OAuth 2.0 token for the current user. */
5396
+ oauth_token?: string;
5397
+ /** Returns response with indentations and line breaks. */
5398
+ prettyPrint?: boolean;
5399
+ /** 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. */
5400
+ quotaUser?: string;
5401
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5402
+ upload_protocol?: string;
5403
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5404
+ uploadType?: string;
5405
+ }): Request<GoogleLongrunningOperation>;
5367
5406
  /** Gets the CmekConfig. */
5368
5407
  get(request?: {
5369
5408
  /** V1 error format. */
@@ -5478,7 +5517,7 @@ declare namespace gapi.client {
5478
5517
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5479
5518
  uploadType?: string;
5480
5519
  },
5481
- body: GoogleCloudDiscoveryengineV1alphaCmekConfig
5520
+ body: GoogleCloudDiscoveryengineV1alphaCmekConfig,
5482
5521
  ): Request<GoogleLongrunningOperation>;
5483
5522
  }
5484
5523
  interface ConnectorRunsResource {
@@ -5633,7 +5672,7 @@ declare namespace gapi.client {
5633
5672
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5634
5673
  uploadType?: string;
5635
5674
  },
5636
- body: GoogleCloudDiscoveryengineV1alphaStartConnectorRunRequest
5675
+ body: GoogleCloudDiscoveryengineV1alphaStartConnectorRunRequest,
5637
5676
  ): Request<GoogleCloudDiscoveryengineV1alphaConnectorRun>;
5638
5677
  connectorRuns: ConnectorRunsResource;
5639
5678
  operations: OperationsResource;
@@ -5759,7 +5798,7 @@ declare namespace gapi.client {
5759
5798
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5760
5799
  uploadType?: string;
5761
5800
  },
5762
- body: GoogleCloudDiscoveryengineV1alphaDocument
5801
+ body: GoogleCloudDiscoveryengineV1alphaDocument,
5763
5802
  ): Request<GoogleCloudDiscoveryengineV1alphaDocument>;
5764
5803
  /** Deletes a Document. */
5765
5804
  delete(request?: {
@@ -5902,7 +5941,7 @@ declare namespace gapi.client {
5902
5941
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5903
5942
  uploadType?: string;
5904
5943
  },
5905
- body: GoogleCloudDiscoveryengineV1alphaImportDocumentsRequest
5944
+ body: GoogleCloudDiscoveryengineV1alphaImportDocumentsRequest,
5906
5945
  ): Request<GoogleLongrunningOperation>;
5907
5946
  /** Gets a list of Documents. */
5908
5947
  list(request?: {
@@ -5999,7 +6038,7 @@ declare namespace gapi.client {
5999
6038
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6000
6039
  uploadType?: string;
6001
6040
  },
6002
- body: GoogleCloudDiscoveryengineV1alphaDocument
6041
+ body: GoogleCloudDiscoveryengineV1alphaDocument,
6003
6042
  ): Request<GoogleCloudDiscoveryengineV1alphaDocument>;
6004
6043
  /** 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
6044
  purge(request: {
@@ -6057,7 +6096,7 @@ declare namespace gapi.client {
6057
6096
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6058
6097
  uploadType?: string;
6059
6098
  },
6060
- body: GoogleCloudDiscoveryengineV1alphaPurgeDocumentsRequest
6099
+ body: GoogleCloudDiscoveryengineV1alphaPurgeDocumentsRequest,
6061
6100
  ): Request<GoogleLongrunningOperation>;
6062
6101
  chunks: ChunksResource;
6063
6102
  }
@@ -6118,7 +6157,7 @@ declare namespace gapi.client {
6118
6157
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6119
6158
  uploadType?: string;
6120
6159
  },
6121
- body: GoogleLongrunningCancelOperationRequest
6160
+ body: GoogleLongrunningCancelOperationRequest,
6122
6161
  ): Request<{}>;
6123
6162
  /** 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
6163
  get(request?: {
@@ -6273,7 +6312,7 @@ declare namespace gapi.client {
6273
6312
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6274
6313
  uploadType?: string;
6275
6314
  },
6276
- body: GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequest
6315
+ body: GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequest,
6277
6316
  ): Request<GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponse>;
6278
6317
  }
6279
6318
  interface CompletionSuggestionsResource {
@@ -6333,7 +6372,7 @@ declare namespace gapi.client {
6333
6372
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6334
6373
  uploadType?: string;
6335
6374
  },
6336
- body: GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsRequest
6375
+ body: GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsRequest,
6337
6376
  ): Request<GoogleLongrunningOperation>;
6338
6377
  /** Permanently deletes all CompletionSuggestions for a DataStore. */
6339
6378
  purge(request: {
@@ -6391,7 +6430,7 @@ declare namespace gapi.client {
6391
6430
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6392
6431
  uploadType?: string;
6393
6432
  },
6394
- body: GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsRequest
6433
+ body: GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsRequest,
6395
6434
  ): Request<GoogleLongrunningOperation>;
6396
6435
  }
6397
6436
  interface ControlsResource {
@@ -6455,7 +6494,7 @@ declare namespace gapi.client {
6455
6494
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6456
6495
  uploadType?: string;
6457
6496
  },
6458
- body: GoogleCloudDiscoveryengineV1alphaControl
6497
+ body: GoogleCloudDiscoveryengineV1alphaControl,
6459
6498
  ): Request<GoogleCloudDiscoveryengineV1alphaControl>;
6460
6499
  /** Deletes a Control. If the Control to delete does not exist, a NOT_FOUND error is returned. */
6461
6500
  delete(request?: {
@@ -6604,7 +6643,7 @@ declare namespace gapi.client {
6604
6643
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6605
6644
  uploadType?: string;
6606
6645
  },
6607
- body: GoogleCloudDiscoveryengineV1alphaControl
6646
+ body: GoogleCloudDiscoveryengineV1alphaControl,
6608
6647
  ): Request<GoogleCloudDiscoveryengineV1alphaControl>;
6609
6648
  }
6610
6649
  interface ConversationsResource {
@@ -6664,7 +6703,7 @@ declare namespace gapi.client {
6664
6703
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6665
6704
  uploadType?: string;
6666
6705
  },
6667
- body: GoogleCloudDiscoveryengineV1alphaConverseConversationRequest
6706
+ body: GoogleCloudDiscoveryengineV1alphaConverseConversationRequest,
6668
6707
  ): Request<GoogleCloudDiscoveryengineV1alphaConverseConversationResponse>;
6669
6708
  /** Creates a Conversation. If the Conversation to create already exists, an ALREADY_EXISTS error is returned. */
6670
6709
  create(request: {
@@ -6722,7 +6761,7 @@ declare namespace gapi.client {
6722
6761
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6723
6762
  uploadType?: string;
6724
6763
  },
6725
- body: GoogleCloudDiscoveryengineV1alphaConversation
6764
+ body: GoogleCloudDiscoveryengineV1alphaConversation,
6726
6765
  ): Request<GoogleCloudDiscoveryengineV1alphaConversation>;
6727
6766
  /** Deletes a Conversation. If the Conversation to delete does not exist, a NOT_FOUND error is returned. */
6728
6767
  delete(request?: {
@@ -6873,7 +6912,7 @@ declare namespace gapi.client {
6873
6912
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6874
6913
  uploadType?: string;
6875
6914
  },
6876
- body: GoogleCloudDiscoveryengineV1alphaConversation
6915
+ body: GoogleCloudDiscoveryengineV1alphaConversation,
6877
6916
  ): Request<GoogleCloudDiscoveryengineV1alphaConversation>;
6878
6917
  }
6879
6918
  interface CustomModelsResource {
@@ -7155,7 +7194,7 @@ declare namespace gapi.client {
7155
7194
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7156
7195
  uploadType?: string;
7157
7196
  },
7158
- body: GoogleCloudDiscoveryengineV1alphaSchema
7197
+ body: GoogleCloudDiscoveryengineV1alphaSchema,
7159
7198
  ): Request<GoogleLongrunningOperation>;
7160
7199
  /** Deletes a Schema. */
7161
7200
  delete(request?: {
@@ -7302,7 +7341,7 @@ declare namespace gapi.client {
7302
7341
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7303
7342
  uploadType?: string;
7304
7343
  },
7305
- body: GoogleCloudDiscoveryengineV1alphaSchema
7344
+ body: GoogleCloudDiscoveryengineV1alphaSchema,
7306
7345
  ): Request<GoogleLongrunningOperation>;
7307
7346
  operations: OperationsResource;
7308
7347
  }
@@ -7363,7 +7402,7 @@ declare namespace gapi.client {
7363
7402
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7364
7403
  uploadType?: string;
7365
7404
  },
7366
- body: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest
7405
+ body: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest,
7367
7406
  ): Request<GoogleCloudDiscoveryengineV1alphaAnswerQueryResponse>;
7368
7407
  /** Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not exist. */
7369
7408
  get(request?: {
@@ -7483,7 +7522,7 @@ declare namespace gapi.client {
7483
7522
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7484
7523
  uploadType?: string;
7485
7524
  },
7486
- body: GoogleCloudDiscoveryengineV1alphaServingConfig
7525
+ body: GoogleCloudDiscoveryengineV1alphaServingConfig,
7487
7526
  ): Request<GoogleCloudDiscoveryengineV1alphaServingConfig>;
7488
7527
  /** Makes a recommendation, which requires a contextual user event. */
7489
7528
  recommend(request: {
@@ -7541,7 +7580,7 @@ declare namespace gapi.client {
7541
7580
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7542
7581
  uploadType?: string;
7543
7582
  },
7544
- body: GoogleCloudDiscoveryengineV1alphaRecommendRequest
7583
+ body: GoogleCloudDiscoveryengineV1alphaRecommendRequest,
7545
7584
  ): Request<GoogleCloudDiscoveryengineV1alphaRecommendResponse>;
7546
7585
  /** Performs a search. */
7547
7586
  search(request: {
@@ -7599,7 +7638,7 @@ declare namespace gapi.client {
7599
7638
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7600
7639
  uploadType?: string;
7601
7640
  },
7602
- body: GoogleCloudDiscoveryengineV1alphaSearchRequest
7641
+ body: GoogleCloudDiscoveryengineV1alphaSearchRequest,
7603
7642
  ): Request<GoogleCloudDiscoveryengineV1alphaSearchResponse>;
7604
7643
  /** 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
7644
  searchLite(request: {
@@ -7657,7 +7696,7 @@ declare namespace gapi.client {
7657
7696
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7658
7697
  uploadType?: string;
7659
7698
  },
7660
- body: GoogleCloudDiscoveryengineV1alphaSearchRequest
7699
+ body: GoogleCloudDiscoveryengineV1alphaSearchRequest,
7661
7700
  ): Request<GoogleCloudDiscoveryengineV1alphaSearchResponse>;
7662
7701
  /** Answer query method (streaming). It takes one AnswerQueryRequest and returns multiple AnswerQueryResponse messages in a stream. */
7663
7702
  streamAnswer(request: {
@@ -7715,7 +7754,7 @@ declare namespace gapi.client {
7715
7754
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7716
7755
  uploadType?: string;
7717
7756
  },
7718
- body: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest
7757
+ body: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest,
7719
7758
  ): Request<GoogleCloudDiscoveryengineV1alphaAnswerQueryResponse>;
7720
7759
  }
7721
7760
  interface AnswersResource {
@@ -7804,7 +7843,7 @@ declare namespace gapi.client {
7804
7843
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7805
7844
  uploadType?: string;
7806
7845
  },
7807
- body: GoogleCloudDiscoveryengineV1alphaSession
7846
+ body: GoogleCloudDiscoveryengineV1alphaSession,
7808
7847
  ): Request<GoogleCloudDiscoveryengineV1alphaSession>;
7809
7848
  /** Deletes a Session. If the Session to delete does not exist, a NOT_FOUND error is returned. */
7810
7849
  delete(request?: {
@@ -7957,7 +7996,7 @@ declare namespace gapi.client {
7957
7996
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7958
7997
  uploadType?: string;
7959
7998
  },
7960
- body: GoogleCloudDiscoveryengineV1alphaSession
7999
+ body: GoogleCloudDiscoveryengineV1alphaSession,
7961
8000
  ): Request<GoogleCloudDiscoveryengineV1alphaSession>;
7962
8001
  answers: AnswersResource;
7963
8002
  }
@@ -8080,7 +8119,7 @@ declare namespace gapi.client {
8080
8119
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8081
8120
  uploadType?: string;
8082
8121
  },
8083
- body: GoogleCloudDiscoveryengineV1alphaSitemap
8122
+ body: GoogleCloudDiscoveryengineV1alphaSitemap,
8084
8123
  ): Request<GoogleLongrunningOperation>;
8085
8124
  /** Deletes a Sitemap. */
8086
8125
  delete(request?: {
@@ -8229,7 +8268,7 @@ declare namespace gapi.client {
8229
8268
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8230
8269
  uploadType?: string;
8231
8270
  },
8232
- body: GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSitesRequest
8271
+ body: GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSitesRequest,
8233
8272
  ): Request<GoogleLongrunningOperation>;
8234
8273
  /** Creates a TargetSite. */
8235
8274
  create(request: {
@@ -8287,7 +8326,7 @@ declare namespace gapi.client {
8287
8326
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8288
8327
  uploadType?: string;
8289
8328
  },
8290
- body: GoogleCloudDiscoveryengineV1alphaTargetSite
8329
+ body: GoogleCloudDiscoveryengineV1alphaTargetSite,
8291
8330
  ): Request<GoogleLongrunningOperation>;
8292
8331
  /** Deletes a TargetSite. */
8293
8332
  delete(request?: {
@@ -8430,7 +8469,7 @@ declare namespace gapi.client {
8430
8469
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8431
8470
  uploadType?: string;
8432
8471
  },
8433
- body: GoogleCloudDiscoveryengineV1alphaTargetSite
8472
+ body: GoogleCloudDiscoveryengineV1alphaTargetSite,
8434
8473
  ): Request<GoogleLongrunningOperation>;
8435
8474
  operations: OperationsResource;
8436
8475
  }
@@ -8491,7 +8530,7 @@ declare namespace gapi.client {
8491
8530
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8492
8531
  uploadType?: string;
8493
8532
  },
8494
- body: GoogleCloudDiscoveryengineV1alphaBatchVerifyTargetSitesRequest
8533
+ body: GoogleCloudDiscoveryengineV1alphaBatchVerifyTargetSitesRequest,
8495
8534
  ): Request<GoogleLongrunningOperation>;
8496
8535
  /** Downgrade from advanced site search to basic site search. */
8497
8536
  disableAdvancedSiteSearch(request: {
@@ -8549,7 +8588,7 @@ declare namespace gapi.client {
8549
8588
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8550
8589
  uploadType?: string;
8551
8590
  },
8552
- body: GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchRequest
8591
+ body: GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchRequest,
8553
8592
  ): Request<GoogleLongrunningOperation>;
8554
8593
  /** Upgrade from basic site search to advanced site search. */
8555
8594
  enableAdvancedSiteSearch(request: {
@@ -8607,7 +8646,7 @@ declare namespace gapi.client {
8607
8646
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8608
8647
  uploadType?: string;
8609
8648
  },
8610
- body: GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchRequest
8649
+ body: GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchRequest,
8611
8650
  ): Request<GoogleLongrunningOperation>;
8612
8651
  /** 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
8652
  fetchDomainVerificationStatus(request?: {
@@ -8723,7 +8762,7 @@ declare namespace gapi.client {
8723
8762
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8724
8763
  uploadType?: string;
8725
8764
  },
8726
- body: GoogleCloudDiscoveryengineV1alphaRecrawlUrisRequest
8765
+ body: GoogleCloudDiscoveryengineV1alphaRecrawlUrisRequest,
8727
8766
  ): Request<GoogleLongrunningOperation>;
8728
8767
  /** Sets the URI Pattern to Document data mapping for an Advanced Site Search DataStore. */
8729
8768
  setUriPatternDocumentData(request: {
@@ -8781,7 +8820,7 @@ declare namespace gapi.client {
8781
8820
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8782
8821
  uploadType?: string;
8783
8822
  },
8784
- body: GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataRequest
8823
+ body: GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataRequest,
8785
8824
  ): Request<GoogleLongrunningOperation>;
8786
8825
  operations: OperationsResource;
8787
8826
  sitemaps: SitemapsResource;
@@ -8844,7 +8883,7 @@ declare namespace gapi.client {
8844
8883
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8845
8884
  uploadType?: string;
8846
8885
  },
8847
- body: GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesRequest
8886
+ body: GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesRequest,
8848
8887
  ): Request<GoogleLongrunningOperation>;
8849
8888
  /** Permanently deletes all SuggestionDenyListEntry for a DataStore. */
8850
8889
  purge(request: {
@@ -8902,7 +8941,7 @@ declare namespace gapi.client {
8902
8941
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8903
8942
  uploadType?: string;
8904
8943
  },
8905
- body: GoogleCloudDiscoveryengineV1alphaPurgeSuggestionDenyListEntriesRequest
8944
+ body: GoogleCloudDiscoveryengineV1alphaPurgeSuggestionDenyListEntriesRequest,
8906
8945
  ): Request<GoogleLongrunningOperation>;
8907
8946
  }
8908
8947
  interface UserEventsResource {
@@ -8995,7 +9034,7 @@ declare namespace gapi.client {
8995
9034
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8996
9035
  uploadType?: string;
8997
9036
  },
8998
- body: GoogleCloudDiscoveryengineV1alphaImportUserEventsRequest
9037
+ body: GoogleCloudDiscoveryengineV1alphaImportUserEventsRequest,
8999
9038
  ): Request<GoogleLongrunningOperation>;
9000
9039
  /** 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
9040
  purge(request: {
@@ -9053,7 +9092,7 @@ declare namespace gapi.client {
9053
9092
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9054
9093
  uploadType?: string;
9055
9094
  },
9056
- body: GoogleCloudDiscoveryengineV1alphaPurgeUserEventsRequest
9095
+ body: GoogleCloudDiscoveryengineV1alphaPurgeUserEventsRequest,
9057
9096
  ): Request<GoogleLongrunningOperation>;
9058
9097
  /** Writes a single user event. */
9059
9098
  write(request: {
@@ -9115,7 +9154,7 @@ declare namespace gapi.client {
9115
9154
  /** If set to true, the user event is written asynchronously after validation, and the API responds without waiting for the write. */
9116
9155
  writeAsync?: boolean;
9117
9156
  },
9118
- body: GoogleCloudDiscoveryengineV1alphaUserEvent
9157
+ body: GoogleCloudDiscoveryengineV1alphaUserEvent,
9119
9158
  ): Request<GoogleCloudDiscoveryengineV1alphaUserEvent>;
9120
9159
  }
9121
9160
  interface DataStoresResource {
@@ -9230,7 +9269,7 @@ declare namespace gapi.client {
9230
9269
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9231
9270
  uploadType?: string;
9232
9271
  },
9233
- body: GoogleCloudDiscoveryengineV1alphaDataStore
9272
+ body: GoogleCloudDiscoveryengineV1alphaDataStore,
9234
9273
  ): Request<GoogleLongrunningOperation>;
9235
9274
  /** Deletes a DataStore. */
9236
9275
  delete(request?: {
@@ -9433,7 +9472,7 @@ declare namespace gapi.client {
9433
9472
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9434
9473
  uploadType?: string;
9435
9474
  },
9436
- body: GoogleCloudDiscoveryengineV1alphaDataStore
9475
+ body: GoogleCloudDiscoveryengineV1alphaDataStore,
9437
9476
  ): Request<GoogleCloudDiscoveryengineV1alphaDataStore>;
9438
9477
  /** Trains a custom model. */
9439
9478
  trainCustomModel(request: {
@@ -9491,7 +9530,7 @@ declare namespace gapi.client {
9491
9530
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9492
9531
  uploadType?: string;
9493
9532
  },
9494
- body: GoogleCloudDiscoveryengineV1alphaTrainCustomModelRequest
9533
+ body: GoogleCloudDiscoveryengineV1alphaTrainCustomModelRequest,
9495
9534
  ): Request<GoogleLongrunningOperation>;
9496
9535
  /** 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
9536
  updateDocumentProcessingConfig(request: {
@@ -9553,7 +9592,7 @@ declare namespace gapi.client {
9553
9592
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9554
9593
  uploadType?: string;
9555
9594
  },
9556
- body: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig
9595
+ body: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig,
9557
9596
  ): Request<GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>;
9558
9597
  branches: BranchesResource;
9559
9598
  completionConfig: CompletionConfigResource;
@@ -9627,7 +9666,7 @@ declare namespace gapi.client {
9627
9666
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9628
9667
  uploadType?: string;
9629
9668
  },
9630
- body: GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequest
9669
+ body: GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequest,
9631
9670
  ): Request<GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponse>;
9632
9671
  }
9633
9672
  interface ControlsResource {
@@ -9691,7 +9730,7 @@ declare namespace gapi.client {
9691
9730
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9692
9731
  uploadType?: string;
9693
9732
  },
9694
- body: GoogleCloudDiscoveryengineV1alphaControl
9733
+ body: GoogleCloudDiscoveryengineV1alphaControl,
9695
9734
  ): Request<GoogleCloudDiscoveryengineV1alphaControl>;
9696
9735
  /** Deletes a Control. If the Control to delete does not exist, a NOT_FOUND error is returned. */
9697
9736
  delete(request?: {
@@ -9840,7 +9879,7 @@ declare namespace gapi.client {
9840
9879
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9841
9880
  uploadType?: string;
9842
9881
  },
9843
- body: GoogleCloudDiscoveryengineV1alphaControl
9882
+ body: GoogleCloudDiscoveryengineV1alphaControl,
9844
9883
  ): Request<GoogleCloudDiscoveryengineV1alphaControl>;
9845
9884
  }
9846
9885
  interface ConversationsResource {
@@ -9900,7 +9939,7 @@ declare namespace gapi.client {
9900
9939
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9901
9940
  uploadType?: string;
9902
9941
  },
9903
- body: GoogleCloudDiscoveryengineV1alphaConverseConversationRequest
9942
+ body: GoogleCloudDiscoveryengineV1alphaConverseConversationRequest,
9904
9943
  ): Request<GoogleCloudDiscoveryengineV1alphaConverseConversationResponse>;
9905
9944
  /** Creates a Conversation. If the Conversation to create already exists, an ALREADY_EXISTS error is returned. */
9906
9945
  create(request: {
@@ -9958,7 +9997,7 @@ declare namespace gapi.client {
9958
9997
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9959
9998
  uploadType?: string;
9960
9999
  },
9961
- body: GoogleCloudDiscoveryengineV1alphaConversation
10000
+ body: GoogleCloudDiscoveryengineV1alphaConversation,
9962
10001
  ): Request<GoogleCloudDiscoveryengineV1alphaConversation>;
9963
10002
  /** Deletes a Conversation. If the Conversation to delete does not exist, a NOT_FOUND error is returned. */
9964
10003
  delete(request?: {
@@ -10109,7 +10148,7 @@ declare namespace gapi.client {
10109
10148
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10110
10149
  uploadType?: string;
10111
10150
  },
10112
- body: GoogleCloudDiscoveryengineV1alphaConversation
10151
+ body: GoogleCloudDiscoveryengineV1alphaConversation,
10113
10152
  ): Request<GoogleCloudDiscoveryengineV1alphaConversation>;
10114
10153
  }
10115
10154
  interface OperationsResource {
@@ -10231,7 +10270,7 @@ declare namespace gapi.client {
10231
10270
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10232
10271
  uploadType?: string;
10233
10272
  },
10234
- body: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest
10273
+ body: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest,
10235
10274
  ): Request<GoogleCloudDiscoveryengineV1alphaAnswerQueryResponse>;
10236
10275
  /** Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not exist. */
10237
10276
  get(request?: {
@@ -10351,7 +10390,7 @@ declare namespace gapi.client {
10351
10390
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10352
10391
  uploadType?: string;
10353
10392
  },
10354
- body: GoogleCloudDiscoveryengineV1alphaServingConfig
10393
+ body: GoogleCloudDiscoveryengineV1alphaServingConfig,
10355
10394
  ): Request<GoogleCloudDiscoveryengineV1alphaServingConfig>;
10356
10395
  /** Makes a recommendation, which requires a contextual user event. */
10357
10396
  recommend(request: {
@@ -10409,7 +10448,7 @@ declare namespace gapi.client {
10409
10448
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10410
10449
  uploadType?: string;
10411
10450
  },
10412
- body: GoogleCloudDiscoveryengineV1alphaRecommendRequest
10451
+ body: GoogleCloudDiscoveryengineV1alphaRecommendRequest,
10413
10452
  ): Request<GoogleCloudDiscoveryengineV1alphaRecommendResponse>;
10414
10453
  /** Performs a search. */
10415
10454
  search(request: {
@@ -10467,7 +10506,7 @@ declare namespace gapi.client {
10467
10506
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10468
10507
  uploadType?: string;
10469
10508
  },
10470
- body: GoogleCloudDiscoveryengineV1alphaSearchRequest
10509
+ body: GoogleCloudDiscoveryengineV1alphaSearchRequest,
10471
10510
  ): Request<GoogleCloudDiscoveryengineV1alphaSearchResponse>;
10472
10511
  /** 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
10512
  searchLite(request: {
@@ -10525,7 +10564,7 @@ declare namespace gapi.client {
10525
10564
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10526
10565
  uploadType?: string;
10527
10566
  },
10528
- body: GoogleCloudDiscoveryengineV1alphaSearchRequest
10567
+ body: GoogleCloudDiscoveryengineV1alphaSearchRequest,
10529
10568
  ): Request<GoogleCloudDiscoveryengineV1alphaSearchResponse>;
10530
10569
  /** Answer query method (streaming). It takes one AnswerQueryRequest and returns multiple AnswerQueryResponse messages in a stream. */
10531
10570
  streamAnswer(request: {
@@ -10583,7 +10622,7 @@ declare namespace gapi.client {
10583
10622
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10584
10623
  uploadType?: string;
10585
10624
  },
10586
- body: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest
10625
+ body: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest,
10587
10626
  ): Request<GoogleCloudDiscoveryengineV1alphaAnswerQueryResponse>;
10588
10627
  }
10589
10628
  interface AnswersResource {
@@ -10672,7 +10711,7 @@ declare namespace gapi.client {
10672
10711
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10673
10712
  uploadType?: string;
10674
10713
  },
10675
- body: GoogleCloudDiscoveryengineV1alphaSession
10714
+ body: GoogleCloudDiscoveryengineV1alphaSession,
10676
10715
  ): Request<GoogleCloudDiscoveryengineV1alphaSession>;
10677
10716
  /** Deletes a Session. If the Session to delete does not exist, a NOT_FOUND error is returned. */
10678
10717
  delete(request?: {
@@ -10825,7 +10864,7 @@ declare namespace gapi.client {
10825
10864
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10826
10865
  uploadType?: string;
10827
10866
  },
10828
- body: GoogleCloudDiscoveryengineV1alphaSession
10867
+ body: GoogleCloudDiscoveryengineV1alphaSession,
10829
10868
  ): Request<GoogleCloudDiscoveryengineV1alphaSession>;
10830
10869
  answers: AnswersResource;
10831
10870
  }
@@ -10890,7 +10929,7 @@ declare namespace gapi.client {
10890
10929
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10891
10930
  uploadType?: string;
10892
10931
  },
10893
- body: GoogleCloudDiscoveryengineV1alphaEngine
10932
+ body: GoogleCloudDiscoveryengineV1alphaEngine,
10894
10933
  ): Request<GoogleLongrunningOperation>;
10895
10934
  /** Deletes a Engine. */
10896
10935
  delete(request?: {
@@ -11039,7 +11078,7 @@ declare namespace gapi.client {
11039
11078
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11040
11079
  uploadType?: string;
11041
11080
  },
11042
- body: GoogleCloudDiscoveryengineV1alphaEngine
11081
+ body: GoogleCloudDiscoveryengineV1alphaEngine,
11043
11082
  ): Request<GoogleCloudDiscoveryengineV1alphaEngine>;
11044
11083
  /** Pauses the training of an existing engine. Only applicable if SolutionType is SOLUTION_TYPE_RECOMMENDATION. */
11045
11084
  pause(request: {
@@ -11097,7 +11136,7 @@ declare namespace gapi.client {
11097
11136
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11098
11137
  uploadType?: string;
11099
11138
  },
11100
- body: GoogleCloudDiscoveryengineV1alphaPauseEngineRequest
11139
+ body: GoogleCloudDiscoveryengineV1alphaPauseEngineRequest,
11101
11140
  ): Request<GoogleCloudDiscoveryengineV1alphaEngine>;
11102
11141
  /** Resumes the training of an existing engine. Only applicable if SolutionType is SOLUTION_TYPE_RECOMMENDATION. */
11103
11142
  resume(request: {
@@ -11155,7 +11194,7 @@ declare namespace gapi.client {
11155
11194
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11156
11195
  uploadType?: string;
11157
11196
  },
11158
- body: GoogleCloudDiscoveryengineV1alphaResumeEngineRequest
11197
+ body: GoogleCloudDiscoveryengineV1alphaResumeEngineRequest,
11159
11198
  ): Request<GoogleCloudDiscoveryengineV1alphaEngine>;
11160
11199
  /** Tunes an existing engine. Only applicable if SolutionType is SOLUTION_TYPE_RECOMMENDATION. */
11161
11200
  tune(request: {
@@ -11213,7 +11252,7 @@ declare namespace gapi.client {
11213
11252
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11214
11253
  uploadType?: string;
11215
11254
  },
11216
- body: GoogleCloudDiscoveryengineV1alphaTuneEngineRequest
11255
+ body: GoogleCloudDiscoveryengineV1alphaTuneEngineRequest,
11217
11256
  ): Request<GoogleLongrunningOperation>;
11218
11257
  completionConfig: CompletionConfigResource;
11219
11258
  controls: ControlsResource;
@@ -11459,7 +11498,7 @@ declare namespace gapi.client {
11459
11498
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11460
11499
  uploadType?: string;
11461
11500
  },
11462
- body: GoogleCloudDiscoveryengineV1alphaCollection
11501
+ body: GoogleCloudDiscoveryengineV1alphaCollection,
11463
11502
  ): Request<GoogleLongrunningOperation>;
11464
11503
  /** Updates a DataConnector. */
11465
11504
  updateDataConnector(request: {
@@ -11521,7 +11560,7 @@ declare namespace gapi.client {
11521
11560
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11522
11561
  uploadType?: string;
11523
11562
  },
11524
- body: GoogleCloudDiscoveryengineV1alphaDataConnector
11563
+ body: GoogleCloudDiscoveryengineV1alphaDataConnector,
11525
11564
  ): Request<GoogleCloudDiscoveryengineV1alphaDataConnector>;
11526
11565
  dataConnector: DataConnectorResource;
11527
11566
  dataStores: DataStoresResource;
@@ -11649,7 +11688,7 @@ declare namespace gapi.client {
11649
11688
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11650
11689
  uploadType?: string;
11651
11690
  },
11652
- body: GoogleCloudDiscoveryengineV1alphaDocument
11691
+ body: GoogleCloudDiscoveryengineV1alphaDocument,
11653
11692
  ): Request<GoogleCloudDiscoveryengineV1alphaDocument>;
11654
11693
  /** Deletes a Document. */
11655
11694
  delete(request?: {
@@ -11792,7 +11831,7 @@ declare namespace gapi.client {
11792
11831
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11793
11832
  uploadType?: string;
11794
11833
  },
11795
- body: GoogleCloudDiscoveryengineV1alphaImportDocumentsRequest
11834
+ body: GoogleCloudDiscoveryengineV1alphaImportDocumentsRequest,
11796
11835
  ): Request<GoogleLongrunningOperation>;
11797
11836
  /** Gets a list of Documents. */
11798
11837
  list(request?: {
@@ -11889,7 +11928,7 @@ declare namespace gapi.client {
11889
11928
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11890
11929
  uploadType?: string;
11891
11930
  },
11892
- body: GoogleCloudDiscoveryengineV1alphaDocument
11931
+ body: GoogleCloudDiscoveryengineV1alphaDocument,
11893
11932
  ): Request<GoogleCloudDiscoveryengineV1alphaDocument>;
11894
11933
  /** 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
11934
  purge(request: {
@@ -11947,7 +11986,7 @@ declare namespace gapi.client {
11947
11986
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11948
11987
  uploadType?: string;
11949
11988
  },
11950
- body: GoogleCloudDiscoveryengineV1alphaPurgeDocumentsRequest
11989
+ body: GoogleCloudDiscoveryengineV1alphaPurgeDocumentsRequest,
11951
11990
  ): Request<GoogleLongrunningOperation>;
11952
11991
  chunks: ChunksResource;
11953
11992
  }
@@ -12008,7 +12047,7 @@ declare namespace gapi.client {
12008
12047
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12009
12048
  uploadType?: string;
12010
12049
  },
12011
- body: GoogleLongrunningCancelOperationRequest
12050
+ body: GoogleLongrunningCancelOperationRequest,
12012
12051
  ): Request<{}>;
12013
12052
  /** 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
12053
  get(request?: {
@@ -12163,7 +12202,7 @@ declare namespace gapi.client {
12163
12202
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12164
12203
  uploadType?: string;
12165
12204
  },
12166
- body: GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequest
12205
+ body: GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequest,
12167
12206
  ): Request<GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponse>;
12168
12207
  }
12169
12208
  interface CompletionSuggestionsResource {
@@ -12223,7 +12262,7 @@ declare namespace gapi.client {
12223
12262
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12224
12263
  uploadType?: string;
12225
12264
  },
12226
- body: GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsRequest
12265
+ body: GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsRequest,
12227
12266
  ): Request<GoogleLongrunningOperation>;
12228
12267
  /** Permanently deletes all CompletionSuggestions for a DataStore. */
12229
12268
  purge(request: {
@@ -12281,7 +12320,7 @@ declare namespace gapi.client {
12281
12320
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12282
12321
  uploadType?: string;
12283
12322
  },
12284
- body: GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsRequest
12323
+ body: GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsRequest,
12285
12324
  ): Request<GoogleLongrunningOperation>;
12286
12325
  }
12287
12326
  interface ControlsResource {
@@ -12345,7 +12384,7 @@ declare namespace gapi.client {
12345
12384
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12346
12385
  uploadType?: string;
12347
12386
  },
12348
- body: GoogleCloudDiscoveryengineV1alphaControl
12387
+ body: GoogleCloudDiscoveryengineV1alphaControl,
12349
12388
  ): Request<GoogleCloudDiscoveryengineV1alphaControl>;
12350
12389
  /** Deletes a Control. If the Control to delete does not exist, a NOT_FOUND error is returned. */
12351
12390
  delete(request?: {
@@ -12494,7 +12533,7 @@ declare namespace gapi.client {
12494
12533
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12495
12534
  uploadType?: string;
12496
12535
  },
12497
- body: GoogleCloudDiscoveryengineV1alphaControl
12536
+ body: GoogleCloudDiscoveryengineV1alphaControl,
12498
12537
  ): Request<GoogleCloudDiscoveryengineV1alphaControl>;
12499
12538
  }
12500
12539
  interface ConversationsResource {
@@ -12554,7 +12593,7 @@ declare namespace gapi.client {
12554
12593
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12555
12594
  uploadType?: string;
12556
12595
  },
12557
- body: GoogleCloudDiscoveryengineV1alphaConverseConversationRequest
12596
+ body: GoogleCloudDiscoveryengineV1alphaConverseConversationRequest,
12558
12597
  ): Request<GoogleCloudDiscoveryengineV1alphaConverseConversationResponse>;
12559
12598
  /** Creates a Conversation. If the Conversation to create already exists, an ALREADY_EXISTS error is returned. */
12560
12599
  create(request: {
@@ -12612,7 +12651,7 @@ declare namespace gapi.client {
12612
12651
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12613
12652
  uploadType?: string;
12614
12653
  },
12615
- body: GoogleCloudDiscoveryengineV1alphaConversation
12654
+ body: GoogleCloudDiscoveryengineV1alphaConversation,
12616
12655
  ): Request<GoogleCloudDiscoveryengineV1alphaConversation>;
12617
12656
  /** Deletes a Conversation. If the Conversation to delete does not exist, a NOT_FOUND error is returned. */
12618
12657
  delete(request?: {
@@ -12763,7 +12802,7 @@ declare namespace gapi.client {
12763
12802
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12764
12803
  uploadType?: string;
12765
12804
  },
12766
- body: GoogleCloudDiscoveryengineV1alphaConversation
12805
+ body: GoogleCloudDiscoveryengineV1alphaConversation,
12767
12806
  ): Request<GoogleCloudDiscoveryengineV1alphaConversation>;
12768
12807
  }
12769
12808
  interface OperationsResource {
@@ -12954,7 +12993,7 @@ declare namespace gapi.client {
12954
12993
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12955
12994
  uploadType?: string;
12956
12995
  },
12957
- body: GoogleCloudDiscoveryengineV1alphaSchema
12996
+ body: GoogleCloudDiscoveryengineV1alphaSchema,
12958
12997
  ): Request<GoogleLongrunningOperation>;
12959
12998
  /** Deletes a Schema. */
12960
12999
  delete(request?: {
@@ -13101,7 +13140,7 @@ declare namespace gapi.client {
13101
13140
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13102
13141
  uploadType?: string;
13103
13142
  },
13104
- body: GoogleCloudDiscoveryengineV1alphaSchema
13143
+ body: GoogleCloudDiscoveryengineV1alphaSchema,
13105
13144
  ): Request<GoogleLongrunningOperation>;
13106
13145
  }
13107
13146
  interface ServingConfigsResource {
@@ -13161,7 +13200,7 @@ declare namespace gapi.client {
13161
13200
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13162
13201
  uploadType?: string;
13163
13202
  },
13164
- body: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest
13203
+ body: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest,
13165
13204
  ): Request<GoogleCloudDiscoveryengineV1alphaAnswerQueryResponse>;
13166
13205
  /** Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not exist. */
13167
13206
  get(request?: {
@@ -13281,7 +13320,7 @@ declare namespace gapi.client {
13281
13320
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13282
13321
  uploadType?: string;
13283
13322
  },
13284
- body: GoogleCloudDiscoveryengineV1alphaServingConfig
13323
+ body: GoogleCloudDiscoveryengineV1alphaServingConfig,
13285
13324
  ): Request<GoogleCloudDiscoveryengineV1alphaServingConfig>;
13286
13325
  /** Makes a recommendation, which requires a contextual user event. */
13287
13326
  recommend(request: {
@@ -13339,7 +13378,7 @@ declare namespace gapi.client {
13339
13378
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13340
13379
  uploadType?: string;
13341
13380
  },
13342
- body: GoogleCloudDiscoveryengineV1alphaRecommendRequest
13381
+ body: GoogleCloudDiscoveryengineV1alphaRecommendRequest,
13343
13382
  ): Request<GoogleCloudDiscoveryengineV1alphaRecommendResponse>;
13344
13383
  /** Performs a search. */
13345
13384
  search(request: {
@@ -13397,7 +13436,7 @@ declare namespace gapi.client {
13397
13436
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13398
13437
  uploadType?: string;
13399
13438
  },
13400
- body: GoogleCloudDiscoveryengineV1alphaSearchRequest
13439
+ body: GoogleCloudDiscoveryengineV1alphaSearchRequest,
13401
13440
  ): Request<GoogleCloudDiscoveryengineV1alphaSearchResponse>;
13402
13441
  /** 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
13442
  searchLite(request: {
@@ -13455,7 +13494,7 @@ declare namespace gapi.client {
13455
13494
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13456
13495
  uploadType?: string;
13457
13496
  },
13458
- body: GoogleCloudDiscoveryengineV1alphaSearchRequest
13497
+ body: GoogleCloudDiscoveryengineV1alphaSearchRequest,
13459
13498
  ): Request<GoogleCloudDiscoveryengineV1alphaSearchResponse>;
13460
13499
  /** Answer query method (streaming). It takes one AnswerQueryRequest and returns multiple AnswerQueryResponse messages in a stream. */
13461
13500
  streamAnswer(request: {
@@ -13513,7 +13552,7 @@ declare namespace gapi.client {
13513
13552
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13514
13553
  uploadType?: string;
13515
13554
  },
13516
- body: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest
13555
+ body: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest,
13517
13556
  ): Request<GoogleCloudDiscoveryengineV1alphaAnswerQueryResponse>;
13518
13557
  }
13519
13558
  interface AnswersResource {
@@ -13602,7 +13641,7 @@ declare namespace gapi.client {
13602
13641
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13603
13642
  uploadType?: string;
13604
13643
  },
13605
- body: GoogleCloudDiscoveryengineV1alphaSession
13644
+ body: GoogleCloudDiscoveryengineV1alphaSession,
13606
13645
  ): Request<GoogleCloudDiscoveryengineV1alphaSession>;
13607
13646
  /** Deletes a Session. If the Session to delete does not exist, a NOT_FOUND error is returned. */
13608
13647
  delete(request?: {
@@ -13755,7 +13794,7 @@ declare namespace gapi.client {
13755
13794
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13756
13795
  uploadType?: string;
13757
13796
  },
13758
- body: GoogleCloudDiscoveryengineV1alphaSession
13797
+ body: GoogleCloudDiscoveryengineV1alphaSession,
13759
13798
  ): Request<GoogleCloudDiscoveryengineV1alphaSession>;
13760
13799
  answers: AnswersResource;
13761
13800
  }
@@ -13816,7 +13855,7 @@ declare namespace gapi.client {
13816
13855
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13817
13856
  uploadType?: string;
13818
13857
  },
13819
- body: GoogleCloudDiscoveryengineV1alphaSitemap
13858
+ body: GoogleCloudDiscoveryengineV1alphaSitemap,
13820
13859
  ): Request<GoogleLongrunningOperation>;
13821
13860
  /** Deletes a Sitemap. */
13822
13861
  delete(request?: {
@@ -13932,7 +13971,7 @@ declare namespace gapi.client {
13932
13971
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13933
13972
  uploadType?: string;
13934
13973
  },
13935
- body: GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSitesRequest
13974
+ body: GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSitesRequest,
13936
13975
  ): Request<GoogleLongrunningOperation>;
13937
13976
  /** Creates a TargetSite. */
13938
13977
  create(request: {
@@ -13990,7 +14029,7 @@ declare namespace gapi.client {
13990
14029
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13991
14030
  uploadType?: string;
13992
14031
  },
13993
- body: GoogleCloudDiscoveryengineV1alphaTargetSite
14032
+ body: GoogleCloudDiscoveryengineV1alphaTargetSite,
13994
14033
  ): Request<GoogleLongrunningOperation>;
13995
14034
  /** Deletes a TargetSite. */
13996
14035
  delete(request?: {
@@ -14133,7 +14172,7 @@ declare namespace gapi.client {
14133
14172
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14134
14173
  uploadType?: string;
14135
14174
  },
14136
- body: GoogleCloudDiscoveryengineV1alphaTargetSite
14175
+ body: GoogleCloudDiscoveryengineV1alphaTargetSite,
14137
14176
  ): Request<GoogleLongrunningOperation>;
14138
14177
  }
14139
14178
  interface SiteSearchEngineResource {
@@ -14193,7 +14232,7 @@ declare namespace gapi.client {
14193
14232
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14194
14233
  uploadType?: string;
14195
14234
  },
14196
- body: GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchRequest
14235
+ body: GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchRequest,
14197
14236
  ): Request<GoogleLongrunningOperation>;
14198
14237
  /** Upgrade from basic site search to advanced site search. */
14199
14238
  enableAdvancedSiteSearch(request: {
@@ -14251,7 +14290,7 @@ declare namespace gapi.client {
14251
14290
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14252
14291
  uploadType?: string;
14253
14292
  },
14254
- body: GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchRequest
14293
+ body: GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchRequest,
14255
14294
  ): Request<GoogleLongrunningOperation>;
14256
14295
  /** Request on-demand recrawl for a list of URIs. */
14257
14296
  recrawlUris(request: {
@@ -14309,7 +14348,7 @@ declare namespace gapi.client {
14309
14348
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14310
14349
  uploadType?: string;
14311
14350
  },
14312
- body: GoogleCloudDiscoveryengineV1alphaRecrawlUrisRequest
14351
+ body: GoogleCloudDiscoveryengineV1alphaRecrawlUrisRequest,
14313
14352
  ): Request<GoogleLongrunningOperation>;
14314
14353
  sitemaps: SitemapsResource;
14315
14354
  targetSites: TargetSitesResource;
@@ -14371,7 +14410,7 @@ declare namespace gapi.client {
14371
14410
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14372
14411
  uploadType?: string;
14373
14412
  },
14374
- body: GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesRequest
14413
+ body: GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesRequest,
14375
14414
  ): Request<GoogleLongrunningOperation>;
14376
14415
  /** Permanently deletes all SuggestionDenyListEntry for a DataStore. */
14377
14416
  purge(request: {
@@ -14429,7 +14468,7 @@ declare namespace gapi.client {
14429
14468
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14430
14469
  uploadType?: string;
14431
14470
  },
14432
- body: GoogleCloudDiscoveryengineV1alphaPurgeSuggestionDenyListEntriesRequest
14471
+ body: GoogleCloudDiscoveryengineV1alphaPurgeSuggestionDenyListEntriesRequest,
14433
14472
  ): Request<GoogleLongrunningOperation>;
14434
14473
  }
14435
14474
  interface UserEventsResource {
@@ -14522,7 +14561,7 @@ declare namespace gapi.client {
14522
14561
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14523
14562
  uploadType?: string;
14524
14563
  },
14525
- body: GoogleCloudDiscoveryengineV1alphaImportUserEventsRequest
14564
+ body: GoogleCloudDiscoveryengineV1alphaImportUserEventsRequest,
14526
14565
  ): Request<GoogleLongrunningOperation>;
14527
14566
  /** 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
14567
  purge(request: {
@@ -14580,7 +14619,7 @@ declare namespace gapi.client {
14580
14619
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14581
14620
  uploadType?: string;
14582
14621
  },
14583
- body: GoogleCloudDiscoveryengineV1alphaPurgeUserEventsRequest
14622
+ body: GoogleCloudDiscoveryengineV1alphaPurgeUserEventsRequest,
14584
14623
  ): Request<GoogleLongrunningOperation>;
14585
14624
  /** Writes a single user event. */
14586
14625
  write(request: {
@@ -14642,7 +14681,7 @@ declare namespace gapi.client {
14642
14681
  /** If set to true, the user event is written asynchronously after validation, and the API responds without waiting for the write. */
14643
14682
  writeAsync?: boolean;
14644
14683
  },
14645
- body: GoogleCloudDiscoveryengineV1alphaUserEvent
14684
+ body: GoogleCloudDiscoveryengineV1alphaUserEvent,
14646
14685
  ): Request<GoogleCloudDiscoveryengineV1alphaUserEvent>;
14647
14686
  }
14648
14687
  interface DataStoresResource {
@@ -14757,7 +14796,7 @@ declare namespace gapi.client {
14757
14796
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14758
14797
  uploadType?: string;
14759
14798
  },
14760
- body: GoogleCloudDiscoveryengineV1alphaDataStore
14799
+ body: GoogleCloudDiscoveryengineV1alphaDataStore,
14761
14800
  ): Request<GoogleLongrunningOperation>;
14762
14801
  /** Deletes a DataStore. */
14763
14802
  delete(request?: {
@@ -14960,7 +14999,7 @@ declare namespace gapi.client {
14960
14999
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14961
15000
  uploadType?: string;
14962
15001
  },
14963
- body: GoogleCloudDiscoveryengineV1alphaDataStore
15002
+ body: GoogleCloudDiscoveryengineV1alphaDataStore,
14964
15003
  ): Request<GoogleCloudDiscoveryengineV1alphaDataStore>;
14965
15004
  /** 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
15005
  updateDocumentProcessingConfig(request: {
@@ -15022,7 +15061,7 @@ declare namespace gapi.client {
15022
15061
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15023
15062
  uploadType?: string;
15024
15063
  },
15025
- body: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig
15064
+ body: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig,
15026
15065
  ): Request<GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>;
15027
15066
  branches: BranchesResource;
15028
15067
  completionConfig: CompletionConfigResource;
@@ -15124,7 +15163,7 @@ declare namespace gapi.client {
15124
15163
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15125
15164
  uploadType?: string;
15126
15165
  },
15127
- body: GoogleCloudDiscoveryengineV1alphaEvaluation
15166
+ body: GoogleCloudDiscoveryengineV1alphaEvaluation,
15128
15167
  ): Request<GoogleLongrunningOperation>;
15129
15168
  /** Gets a Evaluation. */
15130
15169
  get(request?: {
@@ -15274,7 +15313,7 @@ declare namespace gapi.client {
15274
15313
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15275
15314
  uploadType?: string;
15276
15315
  },
15277
- body: GoogleCloudDiscoveryengineV1alphaCheckGroundingRequest
15316
+ body: GoogleCloudDiscoveryengineV1alphaCheckGroundingRequest,
15278
15317
  ): Request<GoogleCloudDiscoveryengineV1alphaCheckGroundingResponse>;
15279
15318
  }
15280
15319
  interface OperationsResource {
@@ -15408,7 +15447,7 @@ declare namespace gapi.client {
15408
15447
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15409
15448
  uploadType?: string;
15410
15449
  },
15411
- body: GoogleCloudDiscoveryengineV1alphaIdentityMappingStore
15450
+ body: GoogleCloudDiscoveryengineV1alphaIdentityMappingStore,
15412
15451
  ): Request<GoogleCloudDiscoveryengineV1alphaIdentityMappingStore>;
15413
15452
  /** Deletes the Identity Mapping Store. */
15414
15453
  delete(request?: {
@@ -15520,7 +15559,7 @@ declare namespace gapi.client {
15520
15559
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15521
15560
  uploadType?: string;
15522
15561
  },
15523
- body: GoogleCloudDiscoveryengineV1alphaImportIdentityMappingsRequest
15562
+ body: GoogleCloudDiscoveryengineV1alphaImportIdentityMappingsRequest,
15524
15563
  ): Request<GoogleLongrunningOperation>;
15525
15564
  /** Lists all Identity Mapping Stores. */
15526
15565
  list(request?: {
@@ -15640,7 +15679,7 @@ declare namespace gapi.client {
15640
15679
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15641
15680
  uploadType?: string;
15642
15681
  },
15643
- body: GoogleCloudDiscoveryengineV1alphaPurgeIdentityMappingsRequest
15682
+ body: GoogleCloudDiscoveryengineV1alphaPurgeIdentityMappingsRequest,
15644
15683
  ): Request<GoogleLongrunningOperation>;
15645
15684
  operations: OperationsResource;
15646
15685
  }
@@ -15763,7 +15802,7 @@ declare namespace gapi.client {
15763
15802
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15764
15803
  uploadType?: string;
15765
15804
  },
15766
- body: GoogleCloudDiscoveryengineV1alphaRankRequest
15805
+ body: GoogleCloudDiscoveryengineV1alphaRankRequest,
15767
15806
  ): Request<GoogleCloudDiscoveryengineV1alphaRankResponse>;
15768
15807
  }
15769
15808
  interface RequirementsResource {
@@ -15823,7 +15862,7 @@ declare namespace gapi.client {
15823
15862
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15824
15863
  uploadType?: string;
15825
15864
  },
15826
- body: GoogleCloudDiscoveryengineV1alphaCheckRequirementRequest
15865
+ body: GoogleCloudDiscoveryengineV1alphaCheckRequirementRequest,
15827
15866
  ): Request<GoogleCloudDiscoveryengineV1alphaCheckRequirementResponse>;
15828
15867
  }
15829
15868
  interface OperationsResource {
@@ -15916,7 +15955,7 @@ declare namespace gapi.client {
15916
15955
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15917
15956
  uploadType?: string;
15918
15957
  },
15919
- body: GoogleCloudDiscoveryengineV1alphaSampleQuery
15958
+ body: GoogleCloudDiscoveryengineV1alphaSampleQuery,
15920
15959
  ): Request<GoogleCloudDiscoveryengineV1alphaSampleQuery>;
15921
15960
  /** Deletes a SampleQuery. */
15922
15961
  delete(request?: {
@@ -16028,7 +16067,7 @@ declare namespace gapi.client {
16028
16067
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16029
16068
  uploadType?: string;
16030
16069
  },
16031
- body: GoogleCloudDiscoveryengineV1alphaImportSampleQueriesRequest
16070
+ body: GoogleCloudDiscoveryengineV1alphaImportSampleQueriesRequest,
16032
16071
  ): Request<GoogleLongrunningOperation>;
16033
16072
  /** Gets a list of SampleQuerys. */
16034
16073
  list(request?: {
@@ -16121,7 +16160,7 @@ declare namespace gapi.client {
16121
16160
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16122
16161
  uploadType?: string;
16123
16162
  },
16124
- body: GoogleCloudDiscoveryengineV1alphaSampleQuery
16163
+ body: GoogleCloudDiscoveryengineV1alphaSampleQuery,
16125
16164
  ): Request<GoogleCloudDiscoveryengineV1alphaSampleQuery>;
16126
16165
  }
16127
16166
  interface SampleQuerySetsResource {
@@ -16185,7 +16224,7 @@ declare namespace gapi.client {
16185
16224
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16186
16225
  uploadType?: string;
16187
16226
  },
16188
- body: GoogleCloudDiscoveryengineV1alphaSampleQuerySet
16227
+ body: GoogleCloudDiscoveryengineV1alphaSampleQuerySet,
16189
16228
  ): Request<GoogleCloudDiscoveryengineV1alphaSampleQuerySet>;
16190
16229
  /** Deletes a SampleQuerySet. */
16191
16230
  delete(request?: {
@@ -16332,7 +16371,7 @@ declare namespace gapi.client {
16332
16371
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16333
16372
  uploadType?: string;
16334
16373
  },
16335
- body: GoogleCloudDiscoveryengineV1alphaSampleQuerySet
16374
+ body: GoogleCloudDiscoveryengineV1alphaSampleQuerySet,
16336
16375
  ): Request<GoogleCloudDiscoveryengineV1alphaSampleQuerySet>;
16337
16376
  operations: OperationsResource;
16338
16377
  sampleQueries: SampleQueriesResource;
@@ -16427,7 +16466,7 @@ declare namespace gapi.client {
16427
16466
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16428
16467
  uploadType?: string;
16429
16468
  },
16430
- body: GoogleCloudDiscoveryengineV1alphaImportUserEventsRequest
16469
+ body: GoogleCloudDiscoveryengineV1alphaImportUserEventsRequest,
16431
16470
  ): Request<GoogleLongrunningOperation>;
16432
16471
  /** Writes a single user event. */
16433
16472
  write(request: {
@@ -16489,7 +16528,7 @@ declare namespace gapi.client {
16489
16528
  /** If set to true, the user event is written asynchronously after validation, and the API responds without waiting for the write. */
16490
16529
  writeAsync?: boolean;
16491
16530
  },
16492
- body: GoogleCloudDiscoveryengineV1alphaUserEvent
16531
+ body: GoogleCloudDiscoveryengineV1alphaUserEvent,
16493
16532
  ): Request<GoogleCloudDiscoveryengineV1alphaUserEvent>;
16494
16533
  }
16495
16534
  interface OperationsResource {
@@ -16614,7 +16653,7 @@ declare namespace gapi.client {
16614
16653
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16615
16654
  uploadType?: string;
16616
16655
  },
16617
- body: GoogleCloudDiscoveryengineV1alphaEstimateDataSizeRequest
16656
+ body: GoogleCloudDiscoveryengineV1alphaEstimateDataSizeRequest,
16618
16657
  ): Request<GoogleLongrunningOperation>;
16619
16658
  /** Generates grounded content. */
16620
16659
  generateGroundedContent(request: {
@@ -16672,7 +16711,7 @@ declare namespace gapi.client {
16672
16711
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16673
16712
  uploadType?: string;
16674
16713
  },
16675
- body: GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequest
16714
+ body: GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequest,
16676
16715
  ): Request<GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponse>;
16677
16716
  /** Gets the AclConfig. */
16678
16717
  getAclConfig(request?: {
@@ -16784,7 +16823,7 @@ declare namespace gapi.client {
16784
16823
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16785
16824
  uploadType?: string;
16786
16825
  },
16787
- body: GoogleCloudDiscoveryengineV1alphaObtainCrawlRateRequest
16826
+ body: GoogleCloudDiscoveryengineV1alphaObtainCrawlRateRequest,
16788
16827
  ): Request<GoogleCloudDiscoveryengineV1alphaObtainCrawlRateResponse>;
16789
16828
  /** 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
16829
  removeDedicatedCrawlRate(request: {
@@ -16842,7 +16881,7 @@ declare namespace gapi.client {
16842
16881
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16843
16882
  uploadType?: string;
16844
16883
  },
16845
- body: GoogleCloudDiscoveryengineV1alphaRemoveDedicatedCrawlRateRequest
16884
+ body: GoogleCloudDiscoveryengineV1alphaRemoveDedicatedCrawlRateRequest,
16846
16885
  ): Request<GoogleLongrunningOperation>;
16847
16886
  /** 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
16887
  setDedicatedCrawlRate(request: {
@@ -16900,7 +16939,7 @@ declare namespace gapi.client {
16900
16939
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16901
16940
  uploadType?: string;
16902
16941
  },
16903
- body: GoogleCloudDiscoveryengineV1alphaSetDedicatedCrawlRateRequest
16942
+ body: GoogleCloudDiscoveryengineV1alphaSetDedicatedCrawlRateRequest,
16904
16943
  ): Request<GoogleLongrunningOperation>;
16905
16944
  /** Creates a Collection and sets up the DataConnector for it. To stop a DataConnector after setup, use the CollectionService.DeleteCollection method. */
16906
16945
  setUpDataConnector(request: {
@@ -16958,7 +16997,7 @@ declare namespace gapi.client {
16958
16997
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16959
16998
  uploadType?: string;
16960
16999
  },
16961
- body: GoogleCloudDiscoveryengineV1alphaSetUpDataConnectorRequest
17000
+ body: GoogleCloudDiscoveryengineV1alphaSetUpDataConnectorRequest,
16962
17001
  ): Request<GoogleLongrunningOperation>;
16963
17002
  /** 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
17003
  updateAclConfig(request: {
@@ -17016,7 +17055,7 @@ declare namespace gapi.client {
17016
17055
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
17017
17056
  uploadType?: string;
17018
17057
  },
17019
- body: GoogleCloudDiscoveryengineV1alphaAclConfig
17058
+ body: GoogleCloudDiscoveryengineV1alphaAclConfig,
17020
17059
  ): Request<GoogleCloudDiscoveryengineV1alphaAclConfig>;
17021
17060
  /** 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
17061
  updateCmekConfig(request: {
@@ -17078,7 +17117,7 @@ declare namespace gapi.client {
17078
17117
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
17079
17118
  uploadType?: string;
17080
17119
  },
17081
- body: GoogleCloudDiscoveryengineV1alphaCmekConfig
17120
+ body: GoogleCloudDiscoveryengineV1alphaCmekConfig,
17082
17121
  ): Request<GoogleLongrunningOperation>;
17083
17122
  cmekConfigs: CmekConfigsResource;
17084
17123
  collections: CollectionsResource;
@@ -17239,7 +17278,7 @@ declare namespace gapi.client {
17239
17278
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
17240
17279
  uploadType?: string;
17241
17280
  },
17242
- body: GoogleCloudDiscoveryengineV1alphaProvisionProjectRequest
17281
+ body: GoogleCloudDiscoveryengineV1alphaProvisionProjectRequest,
17243
17282
  ): Request<GoogleLongrunningOperation>;
17244
17283
  /** 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
17284
  reportConsentChange(request: {
@@ -17297,7 +17336,7 @@ declare namespace gapi.client {
17297
17336
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
17298
17337
  uploadType?: string;
17299
17338
  },
17300
- body: GoogleCloudDiscoveryengineV1alphaReportConsentChangeRequest
17339
+ body: GoogleCloudDiscoveryengineV1alphaReportConsentChangeRequest,
17301
17340
  ): Request<GoogleCloudDiscoveryengineV1alphaProject>;
17302
17341
  locations: LocationsResource;
17303
17342
  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.20250130",
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