@maxim_mazurok/gapi.client.discoveryengine-v1beta 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 +127 -115
  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=v1beta
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 v1beta */
18
18
  function load(
19
- urlOrObject: 'https://discoveryengine.googleapis.com/$discovery/rest?version=v1beta'
19
+ urlOrObject: 'https://discoveryengine.googleapis.com/$discovery/rest?version=v1beta',
20
20
  ): Promise<void>;
21
21
  /** @deprecated Please load APIs with discovery documents. */
22
22
  function load(name: 'discoveryengine', version: 'v1beta'): Promise<void>;
@@ -24,7 +24,7 @@ declare namespace gapi.client {
24
24
  function load(
25
25
  name: 'discoveryengine',
26
26
  version: 'v1beta',
27
- callback: () => any
27
+ callback: () => any,
28
28
  ): void;
29
29
 
30
30
  namespace discoveryengine {
@@ -671,6 +671,12 @@ declare namespace gapi.client {
671
671
  /** 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. */
672
672
  userTriggeredCrawlRate?: GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries;
673
673
  }
674
+ interface GoogleCloudDiscoveryengineV1alphaDeleteCmekConfigMetadata {
675
+ /** Operation create time. */
676
+ createTime?: string;
677
+ /** Operation last update time. If the operation is done, this is also the finish time. */
678
+ updateTime?: string;
679
+ }
674
680
  interface GoogleCloudDiscoveryengineV1alphaDeleteCollectionMetadata {
675
681
  /** Operation create time. */
676
682
  createTime?: string;
@@ -2340,11 +2346,11 @@ declare namespace gapi.client {
2340
2346
  citationIndices?: number[];
2341
2347
  /** Text for the claim in the answer candidate. Always provided regardless of whether citations or anti-citations are found. */
2342
2348
  claimText?: string;
2343
- /** Position indicating the end of the claim in the answer candidate, exclusive. */
2349
+ /** 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). */
2344
2350
  endPos?: number;
2345
2351
  /** 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. */
2346
2352
  groundingCheckRequired?: boolean;
2347
- /** Position indicating the start of the claim in the answer candidate, measured in bytes. */
2353
+ /** 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). */
2348
2354
  startPos?: number;
2349
2355
  }
2350
2356
  interface GoogleCloudDiscoveryengineV1betaCheckGroundingSpec {
@@ -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;
@@ -5479,7 +5491,7 @@ declare namespace gapi.client {
5479
5491
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5480
5492
  uploadType?: string;
5481
5493
  },
5482
- body: GoogleCloudDiscoveryengineV1betaDocument
5494
+ body: GoogleCloudDiscoveryengineV1betaDocument,
5483
5495
  ): Request<GoogleCloudDiscoveryengineV1betaDocument>;
5484
5496
  /** Deletes a Document. */
5485
5497
  delete(request?: {
@@ -5591,7 +5603,7 @@ declare namespace gapi.client {
5591
5603
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5592
5604
  uploadType?: string;
5593
5605
  },
5594
- body: GoogleCloudDiscoveryengineV1betaImportDocumentsRequest
5606
+ body: GoogleCloudDiscoveryengineV1betaImportDocumentsRequest,
5595
5607
  ): Request<GoogleLongrunningOperation>;
5596
5608
  /** Gets a list of Documents. */
5597
5609
  list(request?: {
@@ -5688,7 +5700,7 @@ declare namespace gapi.client {
5688
5700
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5689
5701
  uploadType?: string;
5690
5702
  },
5691
- body: GoogleCloudDiscoveryengineV1betaDocument
5703
+ body: GoogleCloudDiscoveryengineV1betaDocument,
5692
5704
  ): Request<GoogleCloudDiscoveryengineV1betaDocument>;
5693
5705
  /** 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. */
5694
5706
  purge(request: {
@@ -5746,7 +5758,7 @@ declare namespace gapi.client {
5746
5758
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5747
5759
  uploadType?: string;
5748
5760
  },
5749
- body: GoogleCloudDiscoveryengineV1betaPurgeDocumentsRequest
5761
+ body: GoogleCloudDiscoveryengineV1betaPurgeDocumentsRequest,
5750
5762
  ): Request<GoogleLongrunningOperation>;
5751
5763
  }
5752
5764
  interface OperationsResource {
@@ -5806,7 +5818,7 @@ declare namespace gapi.client {
5806
5818
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5807
5819
  uploadType?: string;
5808
5820
  },
5809
- body: GoogleLongrunningCancelOperationRequest
5821
+ body: GoogleLongrunningCancelOperationRequest,
5810
5822
  ): Request<{}>;
5811
5823
  /** 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. */
5812
5824
  get(request?: {
@@ -5961,7 +5973,7 @@ declare namespace gapi.client {
5961
5973
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5962
5974
  uploadType?: string;
5963
5975
  },
5964
- body: GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequest
5976
+ body: GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequest,
5965
5977
  ): Request<GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponse>;
5966
5978
  }
5967
5979
  interface CompletionSuggestionsResource {
@@ -6021,7 +6033,7 @@ declare namespace gapi.client {
6021
6033
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6022
6034
  uploadType?: string;
6023
6035
  },
6024
- body: GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsRequest
6036
+ body: GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsRequest,
6025
6037
  ): Request<GoogleLongrunningOperation>;
6026
6038
  /** Permanently deletes all CompletionSuggestions for a DataStore. */
6027
6039
  purge(request: {
@@ -6079,7 +6091,7 @@ declare namespace gapi.client {
6079
6091
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6080
6092
  uploadType?: string;
6081
6093
  },
6082
- body: GoogleCloudDiscoveryengineV1betaPurgeCompletionSuggestionsRequest
6094
+ body: GoogleCloudDiscoveryengineV1betaPurgeCompletionSuggestionsRequest,
6083
6095
  ): Request<GoogleLongrunningOperation>;
6084
6096
  }
6085
6097
  interface ControlsResource {
@@ -6143,7 +6155,7 @@ declare namespace gapi.client {
6143
6155
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6144
6156
  uploadType?: string;
6145
6157
  },
6146
- body: GoogleCloudDiscoveryengineV1betaControl
6158
+ body: GoogleCloudDiscoveryengineV1betaControl,
6147
6159
  ): Request<GoogleCloudDiscoveryengineV1betaControl>;
6148
6160
  /** Deletes a Control. If the Control to delete does not exist, a NOT_FOUND error is returned. */
6149
6161
  delete(request?: {
@@ -6292,7 +6304,7 @@ declare namespace gapi.client {
6292
6304
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6293
6305
  uploadType?: string;
6294
6306
  },
6295
- body: GoogleCloudDiscoveryengineV1betaControl
6307
+ body: GoogleCloudDiscoveryengineV1betaControl,
6296
6308
  ): Request<GoogleCloudDiscoveryengineV1betaControl>;
6297
6309
  }
6298
6310
  interface ConversationsResource {
@@ -6352,7 +6364,7 @@ declare namespace gapi.client {
6352
6364
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6353
6365
  uploadType?: string;
6354
6366
  },
6355
- body: GoogleCloudDiscoveryengineV1betaConverseConversationRequest
6367
+ body: GoogleCloudDiscoveryengineV1betaConverseConversationRequest,
6356
6368
  ): Request<GoogleCloudDiscoveryengineV1betaConverseConversationResponse>;
6357
6369
  /** Creates a Conversation. If the Conversation to create already exists, an ALREADY_EXISTS error is returned. */
6358
6370
  create(request: {
@@ -6410,7 +6422,7 @@ declare namespace gapi.client {
6410
6422
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6411
6423
  uploadType?: string;
6412
6424
  },
6413
- body: GoogleCloudDiscoveryengineV1betaConversation
6425
+ body: GoogleCloudDiscoveryengineV1betaConversation,
6414
6426
  ): Request<GoogleCloudDiscoveryengineV1betaConversation>;
6415
6427
  /** Deletes a Conversation. If the Conversation to delete does not exist, a NOT_FOUND error is returned. */
6416
6428
  delete(request?: {
@@ -6561,7 +6573,7 @@ declare namespace gapi.client {
6561
6573
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6562
6574
  uploadType?: string;
6563
6575
  },
6564
- body: GoogleCloudDiscoveryengineV1betaConversation
6576
+ body: GoogleCloudDiscoveryengineV1betaConversation,
6565
6577
  ): Request<GoogleCloudDiscoveryengineV1betaConversation>;
6566
6578
  }
6567
6579
  interface CustomModelsResource {
@@ -6843,7 +6855,7 @@ declare namespace gapi.client {
6843
6855
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6844
6856
  uploadType?: string;
6845
6857
  },
6846
- body: GoogleCloudDiscoveryengineV1betaSchema
6858
+ body: GoogleCloudDiscoveryengineV1betaSchema,
6847
6859
  ): Request<GoogleLongrunningOperation>;
6848
6860
  /** Deletes a Schema. */
6849
6861
  delete(request?: {
@@ -6990,7 +7002,7 @@ declare namespace gapi.client {
6990
7002
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6991
7003
  uploadType?: string;
6992
7004
  },
6993
- body: GoogleCloudDiscoveryengineV1betaSchema
7005
+ body: GoogleCloudDiscoveryengineV1betaSchema,
6994
7006
  ): Request<GoogleLongrunningOperation>;
6995
7007
  operations: OperationsResource;
6996
7008
  }
@@ -7051,7 +7063,7 @@ declare namespace gapi.client {
7051
7063
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7052
7064
  uploadType?: string;
7053
7065
  },
7054
- body: GoogleCloudDiscoveryengineV1betaAnswerQueryRequest
7066
+ body: GoogleCloudDiscoveryengineV1betaAnswerQueryRequest,
7055
7067
  ): Request<GoogleCloudDiscoveryengineV1betaAnswerQueryResponse>;
7056
7068
  /** Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not exist. */
7057
7069
  get(request?: {
@@ -7171,7 +7183,7 @@ declare namespace gapi.client {
7171
7183
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7172
7184
  uploadType?: string;
7173
7185
  },
7174
- body: GoogleCloudDiscoveryengineV1betaServingConfig
7186
+ body: GoogleCloudDiscoveryengineV1betaServingConfig,
7175
7187
  ): Request<GoogleCloudDiscoveryengineV1betaServingConfig>;
7176
7188
  /** Makes a recommendation, which requires a contextual user event. */
7177
7189
  recommend(request: {
@@ -7229,7 +7241,7 @@ declare namespace gapi.client {
7229
7241
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7230
7242
  uploadType?: string;
7231
7243
  },
7232
- body: GoogleCloudDiscoveryengineV1betaRecommendRequest
7244
+ body: GoogleCloudDiscoveryengineV1betaRecommendRequest,
7233
7245
  ): Request<GoogleCloudDiscoveryengineV1betaRecommendResponse>;
7234
7246
  /** Performs a search. */
7235
7247
  search(request: {
@@ -7287,7 +7299,7 @@ declare namespace gapi.client {
7287
7299
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7288
7300
  uploadType?: string;
7289
7301
  },
7290
- body: GoogleCloudDiscoveryengineV1betaSearchRequest
7302
+ body: GoogleCloudDiscoveryengineV1betaSearchRequest,
7291
7303
  ): Request<GoogleCloudDiscoveryengineV1betaSearchResponse>;
7292
7304
  /** 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. */
7293
7305
  searchLite(request: {
@@ -7345,7 +7357,7 @@ declare namespace gapi.client {
7345
7357
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7346
7358
  uploadType?: string;
7347
7359
  },
7348
- body: GoogleCloudDiscoveryengineV1betaSearchRequest
7360
+ body: GoogleCloudDiscoveryengineV1betaSearchRequest,
7349
7361
  ): Request<GoogleCloudDiscoveryengineV1betaSearchResponse>;
7350
7362
  /** Answer query method (streaming). It takes one AnswerQueryRequest and returns multiple AnswerQueryResponse messages in a stream. */
7351
7363
  streamAnswer(request: {
@@ -7403,7 +7415,7 @@ declare namespace gapi.client {
7403
7415
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7404
7416
  uploadType?: string;
7405
7417
  },
7406
- body: GoogleCloudDiscoveryengineV1betaAnswerQueryRequest
7418
+ body: GoogleCloudDiscoveryengineV1betaAnswerQueryRequest,
7407
7419
  ): Request<GoogleCloudDiscoveryengineV1betaAnswerQueryResponse>;
7408
7420
  }
7409
7421
  interface AnswersResource {
@@ -7492,7 +7504,7 @@ declare namespace gapi.client {
7492
7504
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7493
7505
  uploadType?: string;
7494
7506
  },
7495
- body: GoogleCloudDiscoveryengineV1betaSession
7507
+ body: GoogleCloudDiscoveryengineV1betaSession,
7496
7508
  ): Request<GoogleCloudDiscoveryengineV1betaSession>;
7497
7509
  /** Deletes a Session. If the Session to delete does not exist, a NOT_FOUND error is returned. */
7498
7510
  delete(request?: {
@@ -7645,7 +7657,7 @@ declare namespace gapi.client {
7645
7657
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7646
7658
  uploadType?: string;
7647
7659
  },
7648
- body: GoogleCloudDiscoveryengineV1betaSession
7660
+ body: GoogleCloudDiscoveryengineV1betaSession,
7649
7661
  ): Request<GoogleCloudDiscoveryengineV1betaSession>;
7650
7662
  answers: AnswersResource;
7651
7663
  }
@@ -7768,7 +7780,7 @@ declare namespace gapi.client {
7768
7780
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7769
7781
  uploadType?: string;
7770
7782
  },
7771
- body: GoogleCloudDiscoveryengineV1betaSitemap
7783
+ body: GoogleCloudDiscoveryengineV1betaSitemap,
7772
7784
  ): Request<GoogleLongrunningOperation>;
7773
7785
  /** Deletes a Sitemap. */
7774
7786
  delete(request?: {
@@ -7917,7 +7929,7 @@ declare namespace gapi.client {
7917
7929
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7918
7930
  uploadType?: string;
7919
7931
  },
7920
- body: GoogleCloudDiscoveryengineV1betaBatchCreateTargetSitesRequest
7932
+ body: GoogleCloudDiscoveryengineV1betaBatchCreateTargetSitesRequest,
7921
7933
  ): Request<GoogleLongrunningOperation>;
7922
7934
  /** Creates a TargetSite. */
7923
7935
  create(request: {
@@ -7975,7 +7987,7 @@ declare namespace gapi.client {
7975
7987
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7976
7988
  uploadType?: string;
7977
7989
  },
7978
- body: GoogleCloudDiscoveryengineV1betaTargetSite
7990
+ body: GoogleCloudDiscoveryengineV1betaTargetSite,
7979
7991
  ): Request<GoogleLongrunningOperation>;
7980
7992
  /** Deletes a TargetSite. */
7981
7993
  delete(request?: {
@@ -8118,7 +8130,7 @@ declare namespace gapi.client {
8118
8130
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8119
8131
  uploadType?: string;
8120
8132
  },
8121
- body: GoogleCloudDiscoveryengineV1betaTargetSite
8133
+ body: GoogleCloudDiscoveryengineV1betaTargetSite,
8122
8134
  ): Request<GoogleLongrunningOperation>;
8123
8135
  operations: OperationsResource;
8124
8136
  }
@@ -8179,7 +8191,7 @@ declare namespace gapi.client {
8179
8191
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8180
8192
  uploadType?: string;
8181
8193
  },
8182
- body: GoogleCloudDiscoveryengineV1betaBatchVerifyTargetSitesRequest
8194
+ body: GoogleCloudDiscoveryengineV1betaBatchVerifyTargetSitesRequest,
8183
8195
  ): Request<GoogleLongrunningOperation>;
8184
8196
  /** Downgrade from advanced site search to basic site search. */
8185
8197
  disableAdvancedSiteSearch(request: {
@@ -8237,7 +8249,7 @@ declare namespace gapi.client {
8237
8249
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8238
8250
  uploadType?: string;
8239
8251
  },
8240
- body: GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchRequest
8252
+ body: GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchRequest,
8241
8253
  ): Request<GoogleLongrunningOperation>;
8242
8254
  /** Upgrade from basic site search to advanced site search. */
8243
8255
  enableAdvancedSiteSearch(request: {
@@ -8295,7 +8307,7 @@ declare namespace gapi.client {
8295
8307
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8296
8308
  uploadType?: string;
8297
8309
  },
8298
- body: GoogleCloudDiscoveryengineV1betaEnableAdvancedSiteSearchRequest
8310
+ body: GoogleCloudDiscoveryengineV1betaEnableAdvancedSiteSearchRequest,
8299
8311
  ): Request<GoogleLongrunningOperation>;
8300
8312
  /** 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. */
8301
8313
  fetchDomainVerificationStatus(request?: {
@@ -8384,7 +8396,7 @@ declare namespace gapi.client {
8384
8396
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8385
8397
  uploadType?: string;
8386
8398
  },
8387
- body: GoogleCloudDiscoveryengineV1betaRecrawlUrisRequest
8399
+ body: GoogleCloudDiscoveryengineV1betaRecrawlUrisRequest,
8388
8400
  ): Request<GoogleLongrunningOperation>;
8389
8401
  operations: OperationsResource;
8390
8402
  sitemaps: SitemapsResource;
@@ -8447,7 +8459,7 @@ declare namespace gapi.client {
8447
8459
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8448
8460
  uploadType?: string;
8449
8461
  },
8450
- body: GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesRequest
8462
+ body: GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesRequest,
8451
8463
  ): Request<GoogleLongrunningOperation>;
8452
8464
  /** Permanently deletes all SuggestionDenyListEntry for a DataStore. */
8453
8465
  purge(request: {
@@ -8505,7 +8517,7 @@ declare namespace gapi.client {
8505
8517
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8506
8518
  uploadType?: string;
8507
8519
  },
8508
- body: GoogleCloudDiscoveryengineV1betaPurgeSuggestionDenyListEntriesRequest
8520
+ body: GoogleCloudDiscoveryengineV1betaPurgeSuggestionDenyListEntriesRequest,
8509
8521
  ): Request<GoogleLongrunningOperation>;
8510
8522
  }
8511
8523
  interface UserEventsResource {
@@ -8598,7 +8610,7 @@ declare namespace gapi.client {
8598
8610
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8599
8611
  uploadType?: string;
8600
8612
  },
8601
- body: GoogleCloudDiscoveryengineV1betaImportUserEventsRequest
8613
+ body: GoogleCloudDiscoveryengineV1betaImportUserEventsRequest,
8602
8614
  ): Request<GoogleLongrunningOperation>;
8603
8615
  /** 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. */
8604
8616
  purge(request: {
@@ -8656,7 +8668,7 @@ declare namespace gapi.client {
8656
8668
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8657
8669
  uploadType?: string;
8658
8670
  },
8659
- body: GoogleCloudDiscoveryengineV1betaPurgeUserEventsRequest
8671
+ body: GoogleCloudDiscoveryengineV1betaPurgeUserEventsRequest,
8660
8672
  ): Request<GoogleLongrunningOperation>;
8661
8673
  /** Writes a single user event. */
8662
8674
  write(request: {
@@ -8718,7 +8730,7 @@ declare namespace gapi.client {
8718
8730
  /** If set to true, the user event is written asynchronously after validation, and the API responds without waiting for the write. */
8719
8731
  writeAsync?: boolean;
8720
8732
  },
8721
- body: GoogleCloudDiscoveryengineV1betaUserEvent
8733
+ body: GoogleCloudDiscoveryengineV1betaUserEvent,
8722
8734
  ): Request<GoogleCloudDiscoveryengineV1betaUserEvent>;
8723
8735
  }
8724
8736
  interface DataStoresResource {
@@ -8833,7 +8845,7 @@ declare namespace gapi.client {
8833
8845
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8834
8846
  uploadType?: string;
8835
8847
  },
8836
- body: GoogleCloudDiscoveryengineV1betaDataStore
8848
+ body: GoogleCloudDiscoveryengineV1betaDataStore,
8837
8849
  ): Request<GoogleLongrunningOperation>;
8838
8850
  /** Deletes a DataStore. */
8839
8851
  delete(request?: {
@@ -9009,7 +9021,7 @@ declare namespace gapi.client {
9009
9021
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9010
9022
  uploadType?: string;
9011
9023
  },
9012
- body: GoogleCloudDiscoveryengineV1betaDataStore
9024
+ body: GoogleCloudDiscoveryengineV1betaDataStore,
9013
9025
  ): Request<GoogleCloudDiscoveryengineV1betaDataStore>;
9014
9026
  /** Trains a custom model. */
9015
9027
  trainCustomModel(request: {
@@ -9067,7 +9079,7 @@ declare namespace gapi.client {
9067
9079
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9068
9080
  uploadType?: string;
9069
9081
  },
9070
- body: GoogleCloudDiscoveryengineV1betaTrainCustomModelRequest
9082
+ body: GoogleCloudDiscoveryengineV1betaTrainCustomModelRequest,
9071
9083
  ): Request<GoogleLongrunningOperation>;
9072
9084
  branches: BranchesResource;
9073
9085
  completionConfig: CompletionConfigResource;
@@ -9141,7 +9153,7 @@ declare namespace gapi.client {
9141
9153
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9142
9154
  uploadType?: string;
9143
9155
  },
9144
- body: GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequest
9156
+ body: GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequest,
9145
9157
  ): Request<GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponse>;
9146
9158
  }
9147
9159
  interface ControlsResource {
@@ -9205,7 +9217,7 @@ declare namespace gapi.client {
9205
9217
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9206
9218
  uploadType?: string;
9207
9219
  },
9208
- body: GoogleCloudDiscoveryengineV1betaControl
9220
+ body: GoogleCloudDiscoveryengineV1betaControl,
9209
9221
  ): Request<GoogleCloudDiscoveryengineV1betaControl>;
9210
9222
  /** Deletes a Control. If the Control to delete does not exist, a NOT_FOUND error is returned. */
9211
9223
  delete(request?: {
@@ -9354,7 +9366,7 @@ declare namespace gapi.client {
9354
9366
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9355
9367
  uploadType?: string;
9356
9368
  },
9357
- body: GoogleCloudDiscoveryengineV1betaControl
9369
+ body: GoogleCloudDiscoveryengineV1betaControl,
9358
9370
  ): Request<GoogleCloudDiscoveryengineV1betaControl>;
9359
9371
  }
9360
9372
  interface ConversationsResource {
@@ -9414,7 +9426,7 @@ declare namespace gapi.client {
9414
9426
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9415
9427
  uploadType?: string;
9416
9428
  },
9417
- body: GoogleCloudDiscoveryengineV1betaConverseConversationRequest
9429
+ body: GoogleCloudDiscoveryengineV1betaConverseConversationRequest,
9418
9430
  ): Request<GoogleCloudDiscoveryengineV1betaConverseConversationResponse>;
9419
9431
  /** Creates a Conversation. If the Conversation to create already exists, an ALREADY_EXISTS error is returned. */
9420
9432
  create(request: {
@@ -9472,7 +9484,7 @@ declare namespace gapi.client {
9472
9484
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9473
9485
  uploadType?: string;
9474
9486
  },
9475
- body: GoogleCloudDiscoveryengineV1betaConversation
9487
+ body: GoogleCloudDiscoveryengineV1betaConversation,
9476
9488
  ): Request<GoogleCloudDiscoveryengineV1betaConversation>;
9477
9489
  /** Deletes a Conversation. If the Conversation to delete does not exist, a NOT_FOUND error is returned. */
9478
9490
  delete(request?: {
@@ -9623,7 +9635,7 @@ declare namespace gapi.client {
9623
9635
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9624
9636
  uploadType?: string;
9625
9637
  },
9626
- body: GoogleCloudDiscoveryengineV1betaConversation
9638
+ body: GoogleCloudDiscoveryengineV1betaConversation,
9627
9639
  ): Request<GoogleCloudDiscoveryengineV1betaConversation>;
9628
9640
  }
9629
9641
  interface OperationsResource {
@@ -9745,7 +9757,7 @@ declare namespace gapi.client {
9745
9757
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9746
9758
  uploadType?: string;
9747
9759
  },
9748
- body: GoogleCloudDiscoveryengineV1betaAnswerQueryRequest
9760
+ body: GoogleCloudDiscoveryengineV1betaAnswerQueryRequest,
9749
9761
  ): Request<GoogleCloudDiscoveryengineV1betaAnswerQueryResponse>;
9750
9762
  /** Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not exist. */
9751
9763
  get(request?: {
@@ -9865,7 +9877,7 @@ declare namespace gapi.client {
9865
9877
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9866
9878
  uploadType?: string;
9867
9879
  },
9868
- body: GoogleCloudDiscoveryengineV1betaServingConfig
9880
+ body: GoogleCloudDiscoveryengineV1betaServingConfig,
9869
9881
  ): Request<GoogleCloudDiscoveryengineV1betaServingConfig>;
9870
9882
  /** Makes a recommendation, which requires a contextual user event. */
9871
9883
  recommend(request: {
@@ -9923,7 +9935,7 @@ declare namespace gapi.client {
9923
9935
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9924
9936
  uploadType?: string;
9925
9937
  },
9926
- body: GoogleCloudDiscoveryengineV1betaRecommendRequest
9938
+ body: GoogleCloudDiscoveryengineV1betaRecommendRequest,
9927
9939
  ): Request<GoogleCloudDiscoveryengineV1betaRecommendResponse>;
9928
9940
  /** Performs a search. */
9929
9941
  search(request: {
@@ -9981,7 +9993,7 @@ declare namespace gapi.client {
9981
9993
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9982
9994
  uploadType?: string;
9983
9995
  },
9984
- body: GoogleCloudDiscoveryengineV1betaSearchRequest
9996
+ body: GoogleCloudDiscoveryengineV1betaSearchRequest,
9985
9997
  ): Request<GoogleCloudDiscoveryengineV1betaSearchResponse>;
9986
9998
  /** 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. */
9987
9999
  searchLite(request: {
@@ -10039,7 +10051,7 @@ declare namespace gapi.client {
10039
10051
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10040
10052
  uploadType?: string;
10041
10053
  },
10042
- body: GoogleCloudDiscoveryengineV1betaSearchRequest
10054
+ body: GoogleCloudDiscoveryengineV1betaSearchRequest,
10043
10055
  ): Request<GoogleCloudDiscoveryengineV1betaSearchResponse>;
10044
10056
  /** Answer query method (streaming). It takes one AnswerQueryRequest and returns multiple AnswerQueryResponse messages in a stream. */
10045
10057
  streamAnswer(request: {
@@ -10097,7 +10109,7 @@ declare namespace gapi.client {
10097
10109
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10098
10110
  uploadType?: string;
10099
10111
  },
10100
- body: GoogleCloudDiscoveryengineV1betaAnswerQueryRequest
10112
+ body: GoogleCloudDiscoveryengineV1betaAnswerQueryRequest,
10101
10113
  ): Request<GoogleCloudDiscoveryengineV1betaAnswerQueryResponse>;
10102
10114
  }
10103
10115
  interface AnswersResource {
@@ -10186,7 +10198,7 @@ declare namespace gapi.client {
10186
10198
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10187
10199
  uploadType?: string;
10188
10200
  },
10189
- body: GoogleCloudDiscoveryengineV1betaSession
10201
+ body: GoogleCloudDiscoveryengineV1betaSession,
10190
10202
  ): Request<GoogleCloudDiscoveryengineV1betaSession>;
10191
10203
  /** Deletes a Session. If the Session to delete does not exist, a NOT_FOUND error is returned. */
10192
10204
  delete(request?: {
@@ -10339,7 +10351,7 @@ declare namespace gapi.client {
10339
10351
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10340
10352
  uploadType?: string;
10341
10353
  },
10342
- body: GoogleCloudDiscoveryengineV1betaSession
10354
+ body: GoogleCloudDiscoveryengineV1betaSession,
10343
10355
  ): Request<GoogleCloudDiscoveryengineV1betaSession>;
10344
10356
  answers: AnswersResource;
10345
10357
  }
@@ -10404,7 +10416,7 @@ declare namespace gapi.client {
10404
10416
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10405
10417
  uploadType?: string;
10406
10418
  },
10407
- body: GoogleCloudDiscoveryengineV1betaEngine
10419
+ body: GoogleCloudDiscoveryengineV1betaEngine,
10408
10420
  ): Request<GoogleLongrunningOperation>;
10409
10421
  /** Deletes a Engine. */
10410
10422
  delete(request?: {
@@ -10553,7 +10565,7 @@ declare namespace gapi.client {
10553
10565
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10554
10566
  uploadType?: string;
10555
10567
  },
10556
- body: GoogleCloudDiscoveryengineV1betaEngine
10568
+ body: GoogleCloudDiscoveryengineV1betaEngine,
10557
10569
  ): Request<GoogleCloudDiscoveryengineV1betaEngine>;
10558
10570
  /** Pauses the training of an existing engine. Only applicable if SolutionType is SOLUTION_TYPE_RECOMMENDATION. */
10559
10571
  pause(request: {
@@ -10611,7 +10623,7 @@ declare namespace gapi.client {
10611
10623
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10612
10624
  uploadType?: string;
10613
10625
  },
10614
- body: GoogleCloudDiscoveryengineV1betaPauseEngineRequest
10626
+ body: GoogleCloudDiscoveryengineV1betaPauseEngineRequest,
10615
10627
  ): Request<GoogleCloudDiscoveryengineV1betaEngine>;
10616
10628
  /** Resumes the training of an existing engine. Only applicable if SolutionType is SOLUTION_TYPE_RECOMMENDATION. */
10617
10629
  resume(request: {
@@ -10669,7 +10681,7 @@ declare namespace gapi.client {
10669
10681
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10670
10682
  uploadType?: string;
10671
10683
  },
10672
- body: GoogleCloudDiscoveryengineV1betaResumeEngineRequest
10684
+ body: GoogleCloudDiscoveryengineV1betaResumeEngineRequest,
10673
10685
  ): Request<GoogleCloudDiscoveryengineV1betaEngine>;
10674
10686
  /** Tunes an existing engine. Only applicable if SolutionType is SOLUTION_TYPE_RECOMMENDATION. */
10675
10687
  tune(request: {
@@ -10727,7 +10739,7 @@ declare namespace gapi.client {
10727
10739
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10728
10740
  uploadType?: string;
10729
10741
  },
10730
- body: GoogleCloudDiscoveryengineV1betaTuneEngineRequest
10742
+ body: GoogleCloudDiscoveryengineV1betaTuneEngineRequest,
10731
10743
  ): Request<GoogleLongrunningOperation>;
10732
10744
  completionConfig: CompletionConfigResource;
10733
10745
  controls: ControlsResource;
@@ -10865,7 +10877,7 @@ declare namespace gapi.client {
10865
10877
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10866
10878
  uploadType?: string;
10867
10879
  },
10868
- body: GoogleCloudDiscoveryengineV1betaDocument
10880
+ body: GoogleCloudDiscoveryengineV1betaDocument,
10869
10881
  ): Request<GoogleCloudDiscoveryengineV1betaDocument>;
10870
10882
  /** Deletes a Document. */
10871
10883
  delete(request?: {
@@ -10977,7 +10989,7 @@ declare namespace gapi.client {
10977
10989
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10978
10990
  uploadType?: string;
10979
10991
  },
10980
- body: GoogleCloudDiscoveryengineV1betaImportDocumentsRequest
10992
+ body: GoogleCloudDiscoveryengineV1betaImportDocumentsRequest,
10981
10993
  ): Request<GoogleLongrunningOperation>;
10982
10994
  /** Gets a list of Documents. */
10983
10995
  list(request?: {
@@ -11074,7 +11086,7 @@ declare namespace gapi.client {
11074
11086
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11075
11087
  uploadType?: string;
11076
11088
  },
11077
- body: GoogleCloudDiscoveryengineV1betaDocument
11089
+ body: GoogleCloudDiscoveryengineV1betaDocument,
11078
11090
  ): Request<GoogleCloudDiscoveryengineV1betaDocument>;
11079
11091
  /** 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. */
11080
11092
  purge(request: {
@@ -11132,7 +11144,7 @@ declare namespace gapi.client {
11132
11144
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11133
11145
  uploadType?: string;
11134
11146
  },
11135
- body: GoogleCloudDiscoveryengineV1betaPurgeDocumentsRequest
11147
+ body: GoogleCloudDiscoveryengineV1betaPurgeDocumentsRequest,
11136
11148
  ): Request<GoogleLongrunningOperation>;
11137
11149
  }
11138
11150
  interface OperationsResource {
@@ -11192,7 +11204,7 @@ declare namespace gapi.client {
11192
11204
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11193
11205
  uploadType?: string;
11194
11206
  },
11195
- body: GoogleLongrunningCancelOperationRequest
11207
+ body: GoogleLongrunningCancelOperationRequest,
11196
11208
  ): Request<{}>;
11197
11209
  /** 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. */
11198
11210
  get(request?: {
@@ -11347,7 +11359,7 @@ declare namespace gapi.client {
11347
11359
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11348
11360
  uploadType?: string;
11349
11361
  },
11350
- body: GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequest
11362
+ body: GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequest,
11351
11363
  ): Request<GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponse>;
11352
11364
  }
11353
11365
  interface CompletionSuggestionsResource {
@@ -11407,7 +11419,7 @@ declare namespace gapi.client {
11407
11419
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11408
11420
  uploadType?: string;
11409
11421
  },
11410
- body: GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsRequest
11422
+ body: GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsRequest,
11411
11423
  ): Request<GoogleLongrunningOperation>;
11412
11424
  /** Permanently deletes all CompletionSuggestions for a DataStore. */
11413
11425
  purge(request: {
@@ -11465,7 +11477,7 @@ declare namespace gapi.client {
11465
11477
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11466
11478
  uploadType?: string;
11467
11479
  },
11468
- body: GoogleCloudDiscoveryengineV1betaPurgeCompletionSuggestionsRequest
11480
+ body: GoogleCloudDiscoveryengineV1betaPurgeCompletionSuggestionsRequest,
11469
11481
  ): Request<GoogleLongrunningOperation>;
11470
11482
  }
11471
11483
  interface ControlsResource {
@@ -11529,7 +11541,7 @@ declare namespace gapi.client {
11529
11541
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11530
11542
  uploadType?: string;
11531
11543
  },
11532
- body: GoogleCloudDiscoveryengineV1betaControl
11544
+ body: GoogleCloudDiscoveryengineV1betaControl,
11533
11545
  ): Request<GoogleCloudDiscoveryengineV1betaControl>;
11534
11546
  /** Deletes a Control. If the Control to delete does not exist, a NOT_FOUND error is returned. */
11535
11547
  delete(request?: {
@@ -11678,7 +11690,7 @@ declare namespace gapi.client {
11678
11690
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11679
11691
  uploadType?: string;
11680
11692
  },
11681
- body: GoogleCloudDiscoveryengineV1betaControl
11693
+ body: GoogleCloudDiscoveryengineV1betaControl,
11682
11694
  ): Request<GoogleCloudDiscoveryengineV1betaControl>;
11683
11695
  }
11684
11696
  interface ConversationsResource {
@@ -11738,7 +11750,7 @@ declare namespace gapi.client {
11738
11750
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11739
11751
  uploadType?: string;
11740
11752
  },
11741
- body: GoogleCloudDiscoveryengineV1betaConverseConversationRequest
11753
+ body: GoogleCloudDiscoveryengineV1betaConverseConversationRequest,
11742
11754
  ): Request<GoogleCloudDiscoveryengineV1betaConverseConversationResponse>;
11743
11755
  /** Creates a Conversation. If the Conversation to create already exists, an ALREADY_EXISTS error is returned. */
11744
11756
  create(request: {
@@ -11796,7 +11808,7 @@ declare namespace gapi.client {
11796
11808
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11797
11809
  uploadType?: string;
11798
11810
  },
11799
- body: GoogleCloudDiscoveryengineV1betaConversation
11811
+ body: GoogleCloudDiscoveryengineV1betaConversation,
11800
11812
  ): Request<GoogleCloudDiscoveryengineV1betaConversation>;
11801
11813
  /** Deletes a Conversation. If the Conversation to delete does not exist, a NOT_FOUND error is returned. */
11802
11814
  delete(request?: {
@@ -11947,7 +11959,7 @@ declare namespace gapi.client {
11947
11959
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11948
11960
  uploadType?: string;
11949
11961
  },
11950
- body: GoogleCloudDiscoveryengineV1betaConversation
11962
+ body: GoogleCloudDiscoveryengineV1betaConversation,
11951
11963
  ): Request<GoogleCloudDiscoveryengineV1betaConversation>;
11952
11964
  }
11953
11965
  interface OperationsResource {
@@ -12138,7 +12150,7 @@ declare namespace gapi.client {
12138
12150
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12139
12151
  uploadType?: string;
12140
12152
  },
12141
- body: GoogleCloudDiscoveryengineV1betaSchema
12153
+ body: GoogleCloudDiscoveryengineV1betaSchema,
12142
12154
  ): Request<GoogleLongrunningOperation>;
12143
12155
  /** Deletes a Schema. */
12144
12156
  delete(request?: {
@@ -12285,7 +12297,7 @@ declare namespace gapi.client {
12285
12297
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12286
12298
  uploadType?: string;
12287
12299
  },
12288
- body: GoogleCloudDiscoveryengineV1betaSchema
12300
+ body: GoogleCloudDiscoveryengineV1betaSchema,
12289
12301
  ): Request<GoogleLongrunningOperation>;
12290
12302
  }
12291
12303
  interface ServingConfigsResource {
@@ -12345,7 +12357,7 @@ declare namespace gapi.client {
12345
12357
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12346
12358
  uploadType?: string;
12347
12359
  },
12348
- body: GoogleCloudDiscoveryengineV1betaAnswerQueryRequest
12360
+ body: GoogleCloudDiscoveryengineV1betaAnswerQueryRequest,
12349
12361
  ): Request<GoogleCloudDiscoveryengineV1betaAnswerQueryResponse>;
12350
12362
  /** Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not exist. */
12351
12363
  get(request?: {
@@ -12465,7 +12477,7 @@ declare namespace gapi.client {
12465
12477
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12466
12478
  uploadType?: string;
12467
12479
  },
12468
- body: GoogleCloudDiscoveryengineV1betaServingConfig
12480
+ body: GoogleCloudDiscoveryengineV1betaServingConfig,
12469
12481
  ): Request<GoogleCloudDiscoveryengineV1betaServingConfig>;
12470
12482
  /** Makes a recommendation, which requires a contextual user event. */
12471
12483
  recommend(request: {
@@ -12523,7 +12535,7 @@ declare namespace gapi.client {
12523
12535
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12524
12536
  uploadType?: string;
12525
12537
  },
12526
- body: GoogleCloudDiscoveryengineV1betaRecommendRequest
12538
+ body: GoogleCloudDiscoveryengineV1betaRecommendRequest,
12527
12539
  ): Request<GoogleCloudDiscoveryengineV1betaRecommendResponse>;
12528
12540
  /** Performs a search. */
12529
12541
  search(request: {
@@ -12581,7 +12593,7 @@ declare namespace gapi.client {
12581
12593
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12582
12594
  uploadType?: string;
12583
12595
  },
12584
- body: GoogleCloudDiscoveryengineV1betaSearchRequest
12596
+ body: GoogleCloudDiscoveryengineV1betaSearchRequest,
12585
12597
  ): Request<GoogleCloudDiscoveryengineV1betaSearchResponse>;
12586
12598
  /** 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. */
12587
12599
  searchLite(request: {
@@ -12639,7 +12651,7 @@ declare namespace gapi.client {
12639
12651
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12640
12652
  uploadType?: string;
12641
12653
  },
12642
- body: GoogleCloudDiscoveryengineV1betaSearchRequest
12654
+ body: GoogleCloudDiscoveryengineV1betaSearchRequest,
12643
12655
  ): Request<GoogleCloudDiscoveryengineV1betaSearchResponse>;
12644
12656
  /** Answer query method (streaming). It takes one AnswerQueryRequest and returns multiple AnswerQueryResponse messages in a stream. */
12645
12657
  streamAnswer(request: {
@@ -12697,7 +12709,7 @@ declare namespace gapi.client {
12697
12709
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12698
12710
  uploadType?: string;
12699
12711
  },
12700
- body: GoogleCloudDiscoveryengineV1betaAnswerQueryRequest
12712
+ body: GoogleCloudDiscoveryengineV1betaAnswerQueryRequest,
12701
12713
  ): Request<GoogleCloudDiscoveryengineV1betaAnswerQueryResponse>;
12702
12714
  }
12703
12715
  interface AnswersResource {
@@ -12786,7 +12798,7 @@ declare namespace gapi.client {
12786
12798
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12787
12799
  uploadType?: string;
12788
12800
  },
12789
- body: GoogleCloudDiscoveryengineV1betaSession
12801
+ body: GoogleCloudDiscoveryengineV1betaSession,
12790
12802
  ): Request<GoogleCloudDiscoveryengineV1betaSession>;
12791
12803
  /** Deletes a Session. If the Session to delete does not exist, a NOT_FOUND error is returned. */
12792
12804
  delete(request?: {
@@ -12939,7 +12951,7 @@ declare namespace gapi.client {
12939
12951
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12940
12952
  uploadType?: string;
12941
12953
  },
12942
- body: GoogleCloudDiscoveryengineV1betaSession
12954
+ body: GoogleCloudDiscoveryengineV1betaSession,
12943
12955
  ): Request<GoogleCloudDiscoveryengineV1betaSession>;
12944
12956
  answers: AnswersResource;
12945
12957
  }
@@ -13000,7 +13012,7 @@ declare namespace gapi.client {
13000
13012
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13001
13013
  uploadType?: string;
13002
13014
  },
13003
- body: GoogleCloudDiscoveryengineV1betaSitemap
13015
+ body: GoogleCloudDiscoveryengineV1betaSitemap,
13004
13016
  ): Request<GoogleLongrunningOperation>;
13005
13017
  /** Deletes a Sitemap. */
13006
13018
  delete(request?: {
@@ -13116,7 +13128,7 @@ declare namespace gapi.client {
13116
13128
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13117
13129
  uploadType?: string;
13118
13130
  },
13119
- body: GoogleCloudDiscoveryengineV1betaBatchCreateTargetSitesRequest
13131
+ body: GoogleCloudDiscoveryengineV1betaBatchCreateTargetSitesRequest,
13120
13132
  ): Request<GoogleLongrunningOperation>;
13121
13133
  /** Creates a TargetSite. */
13122
13134
  create(request: {
@@ -13174,7 +13186,7 @@ declare namespace gapi.client {
13174
13186
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13175
13187
  uploadType?: string;
13176
13188
  },
13177
- body: GoogleCloudDiscoveryengineV1betaTargetSite
13189
+ body: GoogleCloudDiscoveryengineV1betaTargetSite,
13178
13190
  ): Request<GoogleLongrunningOperation>;
13179
13191
  /** Deletes a TargetSite. */
13180
13192
  delete(request?: {
@@ -13317,7 +13329,7 @@ declare namespace gapi.client {
13317
13329
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13318
13330
  uploadType?: string;
13319
13331
  },
13320
- body: GoogleCloudDiscoveryengineV1betaTargetSite
13332
+ body: GoogleCloudDiscoveryengineV1betaTargetSite,
13321
13333
  ): Request<GoogleLongrunningOperation>;
13322
13334
  }
13323
13335
  interface SiteSearchEngineResource {
@@ -13377,7 +13389,7 @@ declare namespace gapi.client {
13377
13389
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13378
13390
  uploadType?: string;
13379
13391
  },
13380
- body: GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchRequest
13392
+ body: GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchRequest,
13381
13393
  ): Request<GoogleLongrunningOperation>;
13382
13394
  /** Upgrade from basic site search to advanced site search. */
13383
13395
  enableAdvancedSiteSearch(request: {
@@ -13435,7 +13447,7 @@ declare namespace gapi.client {
13435
13447
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13436
13448
  uploadType?: string;
13437
13449
  },
13438
- body: GoogleCloudDiscoveryengineV1betaEnableAdvancedSiteSearchRequest
13450
+ body: GoogleCloudDiscoveryengineV1betaEnableAdvancedSiteSearchRequest,
13439
13451
  ): Request<GoogleLongrunningOperation>;
13440
13452
  /** Request on-demand recrawl for a list of URIs. */
13441
13453
  recrawlUris(request: {
@@ -13493,7 +13505,7 @@ declare namespace gapi.client {
13493
13505
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13494
13506
  uploadType?: string;
13495
13507
  },
13496
- body: GoogleCloudDiscoveryengineV1betaRecrawlUrisRequest
13508
+ body: GoogleCloudDiscoveryengineV1betaRecrawlUrisRequest,
13497
13509
  ): Request<GoogleLongrunningOperation>;
13498
13510
  sitemaps: SitemapsResource;
13499
13511
  targetSites: TargetSitesResource;
@@ -13555,7 +13567,7 @@ declare namespace gapi.client {
13555
13567
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13556
13568
  uploadType?: string;
13557
13569
  },
13558
- body: GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesRequest
13570
+ body: GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesRequest,
13559
13571
  ): Request<GoogleLongrunningOperation>;
13560
13572
  /** Permanently deletes all SuggestionDenyListEntry for a DataStore. */
13561
13573
  purge(request: {
@@ -13613,7 +13625,7 @@ declare namespace gapi.client {
13613
13625
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13614
13626
  uploadType?: string;
13615
13627
  },
13616
- body: GoogleCloudDiscoveryengineV1betaPurgeSuggestionDenyListEntriesRequest
13628
+ body: GoogleCloudDiscoveryengineV1betaPurgeSuggestionDenyListEntriesRequest,
13617
13629
  ): Request<GoogleLongrunningOperation>;
13618
13630
  }
13619
13631
  interface UserEventsResource {
@@ -13706,7 +13718,7 @@ declare namespace gapi.client {
13706
13718
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13707
13719
  uploadType?: string;
13708
13720
  },
13709
- body: GoogleCloudDiscoveryengineV1betaImportUserEventsRequest
13721
+ body: GoogleCloudDiscoveryengineV1betaImportUserEventsRequest,
13710
13722
  ): Request<GoogleLongrunningOperation>;
13711
13723
  /** 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. */
13712
13724
  purge(request: {
@@ -13764,7 +13776,7 @@ declare namespace gapi.client {
13764
13776
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13765
13777
  uploadType?: string;
13766
13778
  },
13767
- body: GoogleCloudDiscoveryengineV1betaPurgeUserEventsRequest
13779
+ body: GoogleCloudDiscoveryengineV1betaPurgeUserEventsRequest,
13768
13780
  ): Request<GoogleLongrunningOperation>;
13769
13781
  /** Writes a single user event. */
13770
13782
  write(request: {
@@ -13826,7 +13838,7 @@ declare namespace gapi.client {
13826
13838
  /** If set to true, the user event is written asynchronously after validation, and the API responds without waiting for the write. */
13827
13839
  writeAsync?: boolean;
13828
13840
  },
13829
- body: GoogleCloudDiscoveryengineV1betaUserEvent
13841
+ body: GoogleCloudDiscoveryengineV1betaUserEvent,
13830
13842
  ): Request<GoogleCloudDiscoveryengineV1betaUserEvent>;
13831
13843
  }
13832
13844
  interface DataStoresResource {
@@ -13941,7 +13953,7 @@ declare namespace gapi.client {
13941
13953
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13942
13954
  uploadType?: string;
13943
13955
  },
13944
- body: GoogleCloudDiscoveryengineV1betaDataStore
13956
+ body: GoogleCloudDiscoveryengineV1betaDataStore,
13945
13957
  ): Request<GoogleLongrunningOperation>;
13946
13958
  /** Deletes a DataStore. */
13947
13959
  delete(request?: {
@@ -14117,7 +14129,7 @@ declare namespace gapi.client {
14117
14129
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14118
14130
  uploadType?: string;
14119
14131
  },
14120
- body: GoogleCloudDiscoveryengineV1betaDataStore
14132
+ body: GoogleCloudDiscoveryengineV1betaDataStore,
14121
14133
  ): Request<GoogleCloudDiscoveryengineV1betaDataStore>;
14122
14134
  branches: BranchesResource;
14123
14135
  completionConfig: CompletionConfigResource;
@@ -14219,7 +14231,7 @@ declare namespace gapi.client {
14219
14231
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14220
14232
  uploadType?: string;
14221
14233
  },
14222
- body: GoogleCloudDiscoveryengineV1betaEvaluation
14234
+ body: GoogleCloudDiscoveryengineV1betaEvaluation,
14223
14235
  ): Request<GoogleLongrunningOperation>;
14224
14236
  /** Gets a Evaluation. */
14225
14237
  get(request?: {
@@ -14369,7 +14381,7 @@ declare namespace gapi.client {
14369
14381
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14370
14382
  uploadType?: string;
14371
14383
  },
14372
- body: GoogleCloudDiscoveryengineV1betaCheckGroundingRequest
14384
+ body: GoogleCloudDiscoveryengineV1betaCheckGroundingRequest,
14373
14385
  ): Request<GoogleCloudDiscoveryengineV1betaCheckGroundingResponse>;
14374
14386
  }
14375
14387
  interface OperationsResource {
@@ -14503,7 +14515,7 @@ declare namespace gapi.client {
14503
14515
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14504
14516
  uploadType?: string;
14505
14517
  },
14506
- body: GoogleCloudDiscoveryengineV1betaIdentityMappingStore
14518
+ body: GoogleCloudDiscoveryengineV1betaIdentityMappingStore,
14507
14519
  ): Request<GoogleCloudDiscoveryengineV1betaIdentityMappingStore>;
14508
14520
  /** Deletes the Identity Mapping Store. */
14509
14521
  delete(request?: {
@@ -14615,7 +14627,7 @@ declare namespace gapi.client {
14615
14627
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14616
14628
  uploadType?: string;
14617
14629
  },
14618
- body: GoogleCloudDiscoveryengineV1betaImportIdentityMappingsRequest
14630
+ body: GoogleCloudDiscoveryengineV1betaImportIdentityMappingsRequest,
14619
14631
  ): Request<GoogleLongrunningOperation>;
14620
14632
  /** Lists all Identity Mapping Stores. */
14621
14633
  list(request?: {
@@ -14735,7 +14747,7 @@ declare namespace gapi.client {
14735
14747
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14736
14748
  uploadType?: string;
14737
14749
  },
14738
- body: GoogleCloudDiscoveryengineV1betaPurgeIdentityMappingsRequest
14750
+ body: GoogleCloudDiscoveryengineV1betaPurgeIdentityMappingsRequest,
14739
14751
  ): Request<GoogleLongrunningOperation>;
14740
14752
  operations: OperationsResource;
14741
14753
  }
@@ -14858,7 +14870,7 @@ declare namespace gapi.client {
14858
14870
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14859
14871
  uploadType?: string;
14860
14872
  },
14861
- body: GoogleCloudDiscoveryengineV1betaRankRequest
14873
+ body: GoogleCloudDiscoveryengineV1betaRankRequest,
14862
14874
  ): Request<GoogleCloudDiscoveryengineV1betaRankResponse>;
14863
14875
  }
14864
14876
  interface OperationsResource {
@@ -14951,7 +14963,7 @@ declare namespace gapi.client {
14951
14963
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14952
14964
  uploadType?: string;
14953
14965
  },
14954
- body: GoogleCloudDiscoveryengineV1betaSampleQuery
14966
+ body: GoogleCloudDiscoveryengineV1betaSampleQuery,
14955
14967
  ): Request<GoogleCloudDiscoveryengineV1betaSampleQuery>;
14956
14968
  /** Deletes a SampleQuery. */
14957
14969
  delete(request?: {
@@ -15063,7 +15075,7 @@ declare namespace gapi.client {
15063
15075
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15064
15076
  uploadType?: string;
15065
15077
  },
15066
- body: GoogleCloudDiscoveryengineV1betaImportSampleQueriesRequest
15078
+ body: GoogleCloudDiscoveryengineV1betaImportSampleQueriesRequest,
15067
15079
  ): Request<GoogleLongrunningOperation>;
15068
15080
  /** Gets a list of SampleQuerys. */
15069
15081
  list(request?: {
@@ -15156,7 +15168,7 @@ declare namespace gapi.client {
15156
15168
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15157
15169
  uploadType?: string;
15158
15170
  },
15159
- body: GoogleCloudDiscoveryengineV1betaSampleQuery
15171
+ body: GoogleCloudDiscoveryengineV1betaSampleQuery,
15160
15172
  ): Request<GoogleCloudDiscoveryengineV1betaSampleQuery>;
15161
15173
  }
15162
15174
  interface SampleQuerySetsResource {
@@ -15220,7 +15232,7 @@ declare namespace gapi.client {
15220
15232
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15221
15233
  uploadType?: string;
15222
15234
  },
15223
- body: GoogleCloudDiscoveryengineV1betaSampleQuerySet
15235
+ body: GoogleCloudDiscoveryengineV1betaSampleQuerySet,
15224
15236
  ): Request<GoogleCloudDiscoveryengineV1betaSampleQuerySet>;
15225
15237
  /** Deletes a SampleQuerySet. */
15226
15238
  delete(request?: {
@@ -15367,7 +15379,7 @@ declare namespace gapi.client {
15367
15379
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15368
15380
  uploadType?: string;
15369
15381
  },
15370
- body: GoogleCloudDiscoveryengineV1betaSampleQuerySet
15382
+ body: GoogleCloudDiscoveryengineV1betaSampleQuerySet,
15371
15383
  ): Request<GoogleCloudDiscoveryengineV1betaSampleQuerySet>;
15372
15384
  operations: OperationsResource;
15373
15385
  sampleQueries: SampleQueriesResource;
@@ -15462,7 +15474,7 @@ declare namespace gapi.client {
15462
15474
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15463
15475
  uploadType?: string;
15464
15476
  },
15465
- body: GoogleCloudDiscoveryengineV1betaImportUserEventsRequest
15477
+ body: GoogleCloudDiscoveryengineV1betaImportUserEventsRequest,
15466
15478
  ): Request<GoogleLongrunningOperation>;
15467
15479
  /** Writes a single user event. */
15468
15480
  write(request: {
@@ -15524,7 +15536,7 @@ declare namespace gapi.client {
15524
15536
  /** If set to true, the user event is written asynchronously after validation, and the API responds without waiting for the write. */
15525
15537
  writeAsync?: boolean;
15526
15538
  },
15527
- body: GoogleCloudDiscoveryengineV1betaUserEvent
15539
+ body: GoogleCloudDiscoveryengineV1betaUserEvent,
15528
15540
  ): Request<GoogleCloudDiscoveryengineV1betaUserEvent>;
15529
15541
  }
15530
15542
  interface LocationsResource {
@@ -15584,7 +15596,7 @@ declare namespace gapi.client {
15584
15596
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15585
15597
  uploadType?: string;
15586
15598
  },
15587
- body: GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequest
15599
+ body: GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequest,
15588
15600
  ): Request<GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponse>;
15589
15601
  collections: CollectionsResource;
15590
15602
  dataStores: DataStoresResource;
@@ -15715,7 +15727,7 @@ declare namespace gapi.client {
15715
15727
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15716
15728
  uploadType?: string;
15717
15729
  },
15718
- body: GoogleCloudDiscoveryengineV1betaProvisionProjectRequest
15730
+ body: GoogleCloudDiscoveryengineV1betaProvisionProjectRequest,
15719
15731
  ): Request<GoogleLongrunningOperation>;
15720
15732
  locations: LocationsResource;
15721
15733
  operations: OperationsResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.discoveryengine-v1beta",
3
- "version": "0.0.20250125",
3
+ "version": "0.0.20250130",
4
4
  "description": "TypeScript typings for Discovery Engine API v1beta",
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