@maxim_mazurok/gapi.client.discoveryengine-v1 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 +461 -99
  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=v1
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 v1 */
18
18
  function load(
19
- urlOrObject: 'https://discoveryengine.googleapis.com/$discovery/rest?version=v1'
19
+ urlOrObject: 'https://discoveryengine.googleapis.com/$discovery/rest?version=v1',
20
20
  ): Promise<void>;
21
21
  /** @deprecated Please load APIs with discovery documents. */
22
22
  function load(name: 'discoveryengine', version: 'v1'): Promise<void>;
@@ -24,7 +24,7 @@ declare namespace gapi.client {
24
24
  function load(
25
25
  name: 'discoveryengine',
26
26
  version: 'v1',
27
- callback: () => any
27
+ callback: () => any,
28
28
  ): void;
29
29
 
30
30
  namespace discoveryengine {
@@ -685,6 +685,12 @@ declare namespace gapi.client {
685
685
  /** 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. */
686
686
  userTriggeredCrawlRate?: GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries;
687
687
  }
688
+ interface GoogleCloudDiscoveryengineV1alphaDeleteCmekConfigMetadata {
689
+ /** Operation create time. */
690
+ createTime?: string;
691
+ /** Operation last update time. If the operation is done, this is also the finish time. */
692
+ updateTime?: string;
693
+ }
688
694
  interface GoogleCloudDiscoveryengineV1alphaDeleteCollectionMetadata {
689
695
  /** Operation create time. */
690
696
  createTime?: string;
@@ -3185,11 +3191,11 @@ declare namespace gapi.client {
3185
3191
  citationIndices?: number[];
3186
3192
  /** Text for the claim in the answer candidate. Always provided regardless of whether citations or anti-citations are found. */
3187
3193
  claimText?: string;
3188
- /** Position indicating the end of the claim in the answer candidate, exclusive. */
3194
+ /** 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). */
3189
3195
  endPos?: number;
3190
3196
  /** 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. */
3191
3197
  groundingCheckRequired?: boolean;
3192
- /** Position indicating the start of the claim in the answer candidate, measured in bytes. */
3198
+ /** 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). */
3193
3199
  startPos?: number;
3194
3200
  }
3195
3201
  interface GoogleCloudDiscoveryengineV1CheckGroundingSpec {
@@ -3534,6 +3540,12 @@ declare namespace gapi.client {
3534
3540
  /** If set true, the DataStore will not be available for serving search requests. */
3535
3541
  disabledForServing?: boolean;
3536
3542
  }
3543
+ interface GoogleCloudDiscoveryengineV1DeleteCmekConfigMetadata {
3544
+ /** Operation create time. */
3545
+ createTime?: string;
3546
+ /** Operation last update time. If the operation is done, this is also the finish time. */
3547
+ updateTime?: string;
3548
+ }
3537
3549
  interface GoogleCloudDiscoveryengineV1DeleteDataStoreMetadata {
3538
3550
  /** Operation create time. */
3539
3551
  createTime?: string;
@@ -3924,6 +3936,14 @@ declare namespace gapi.client {
3924
3936
  /** Whether to enable static indexing for `HEALTHCARE_FHIR` batch ingestion. If set to `true`, the batch ingestion will be processed in a static indexing mode which is slower but more capable of handling larger volume. */
3925
3937
  enableStaticIndexingForBatchIngestion?: boolean;
3926
3938
  }
3939
+ interface GoogleCloudDiscoveryengineV1IdentityMappingEntry {
3940
+ /** Required. Identity outside the customer identity provider. The length limit of external identity will be of 100 characters. */
3941
+ externalIdentity?: string;
3942
+ /** Group identifier. For Google Workspace user account, group_id should be the google workspace group email. For non-google identity provider, group_id is the mapped group identifier configured during the workforcepool config. */
3943
+ groupId?: string;
3944
+ /** User identifier. For Google Workspace user account, user_id should be the google workspace user email. For non-google identity provider, user_id is the mapped user identifier configured during the workforcepool config. */
3945
+ userId?: string;
3946
+ }
3927
3947
  interface GoogleCloudDiscoveryengineV1IdentityMappingEntryOperationMetadata {
3928
3948
  /** The number of IdentityMappingEntries that failed to be processed. */
3929
3949
  failureCount?: string;
@@ -3932,6 +3952,14 @@ declare namespace gapi.client {
3932
3952
  /** The total number of IdentityMappingEntries that were processed. */
3933
3953
  totalCount?: string;
3934
3954
  }
3955
+ interface GoogleCloudDiscoveryengineV1IdentityMappingStore {
3956
+ /** Output only. CMEK-related information for the Identity Mapping Store. */
3957
+ cmekConfig?: GoogleCloudDiscoveryengineV1CmekConfig;
3958
+ /** Input only. The KMS key to be used to protect this Identity Mapping Store at creation time. Must be set for requests that need to comply with CMEK Org Policy protections. If this field is set and processed successfully, the Identity Mapping Store will be protected by the KMS key, as indicated in the cmek_config field. */
3959
+ kmsKeyName?: string;
3960
+ /** Immutable. The full resource name of the identity mapping store. Format: `projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
3961
+ name?: string;
3962
+ }
3935
3963
  interface GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsMetadata {
3936
3964
  /** Operation create time. */
3937
3965
  createTime?: string;
@@ -4020,6 +4048,14 @@ declare namespace gapi.client {
4020
4048
  /** Cloud Storage prefix for import errors. This must be an empty, existing Cloud Storage directory. Import errors are written to sharded files in this directory, one per line, as a JSON-encoded `google.rpc.Status` message. */
4021
4049
  gcsPrefix?: string;
4022
4050
  }
4051
+ interface GoogleCloudDiscoveryengineV1ImportIdentityMappingsRequest {
4052
+ /** The inline source to import identity mapping entries from. */
4053
+ inlineSource?: GoogleCloudDiscoveryengineV1ImportIdentityMappingsRequestInlineSource;
4054
+ }
4055
+ interface GoogleCloudDiscoveryengineV1ImportIdentityMappingsRequestInlineSource {
4056
+ /** A maximum of 10000 entries can be imported at one time */
4057
+ identityMappingEntries?: GoogleCloudDiscoveryengineV1IdentityMappingEntry[];
4058
+ }
4023
4059
  interface GoogleCloudDiscoveryengineV1ImportIdentityMappingsResponse {
4024
4060
  /** A sample of errors encountered while processing the request. */
4025
4061
  errorSamples?: GoogleRpcStatus[];
@@ -4126,6 +4162,18 @@ declare namespace gapi.client {
4126
4162
  /** Not supported. */
4127
4163
  nextPageToken?: string;
4128
4164
  }
4165
+ interface GoogleCloudDiscoveryengineV1ListIdentityMappingsResponse {
4166
+ /** The Identity Mapping Entries. */
4167
+ identityMappingEntries?: GoogleCloudDiscoveryengineV1IdentityMappingEntry[];
4168
+ /** A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
4169
+ nextPageToken?: string;
4170
+ }
4171
+ interface GoogleCloudDiscoveryengineV1ListIdentityMappingStoresResponse {
4172
+ /** The Identity Mapping Stores. */
4173
+ identityMappingStores?: GoogleCloudDiscoveryengineV1IdentityMappingStore[];
4174
+ /** A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
4175
+ nextPageToken?: string;
4176
+ }
4129
4177
  interface GoogleCloudDiscoveryengineV1ListSchemasResponse {
4130
4178
  /** A token that can be sent as ListSchemasRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. */
4131
4179
  nextPageToken?: string;
@@ -4256,6 +4304,18 @@ declare namespace gapi.client {
4256
4304
  /** Cloud Storage prefix for purge errors. This must be an empty, existing Cloud Storage directory. Purge errors are written to sharded files in this directory, one per line, as a JSON-encoded `google.rpc.Status` message. */
4257
4305
  gcsPrefix?: string;
4258
4306
  }
4307
+ interface GoogleCloudDiscoveryengineV1PurgeIdentityMappingsRequest {
4308
+ /** Filter matching identity mappings to purge. The eligible field for filtering is: * `update_time`: in ISO 8601 "zulu" format. * `external_id` Examples: * Deleting all identity mappings updated in a time range: `update_time > "2012-04-23T18:25:43.511Z" AND update_time < "2012-04-23T18:30:43.511Z"` * Deleting all identity mappings for a given external_id: `external_id = "id1"` * Deleting all identity mappings inside an identity mapping store: `*` The filtering fields are assumed to have an implicit AND. Should not be used with source. An error will be thrown, if both are provided. */
4309
+ filter?: string;
4310
+ /** Actually performs the purge. If `force` is set to false, return the expected purge count without deleting any identity mappings. This field is only supported for purge with filter. For input source this field is ignored and data will be purged regardless of the value of this field. */
4311
+ force?: boolean;
4312
+ /** The inline source to purge identity mapping entries from. */
4313
+ inlineSource?: GoogleCloudDiscoveryengineV1PurgeIdentityMappingsRequestInlineSource;
4314
+ }
4315
+ interface GoogleCloudDiscoveryengineV1PurgeIdentityMappingsRequestInlineSource {
4316
+ /** A maximum of 10000 entries can be purged at one time */
4317
+ identityMappingEntries?: GoogleCloudDiscoveryengineV1IdentityMappingEntry[];
4318
+ }
4259
4319
  interface GoogleCloudDiscoveryengineV1PurgeSuggestionDenyListEntriesMetadata {
4260
4320
  /** Operation create time. */
4261
4321
  createTime?: string;
@@ -5227,7 +5287,7 @@ declare namespace gapi.client {
5227
5287
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5228
5288
  uploadType?: string;
5229
5289
  },
5230
- body: GoogleCloudDiscoveryengineV1Document
5290
+ body: GoogleCloudDiscoveryengineV1Document,
5231
5291
  ): Request<GoogleCloudDiscoveryengineV1Document>;
5232
5292
  /** Deletes a Document. */
5233
5293
  delete(request?: {
@@ -5339,7 +5399,7 @@ declare namespace gapi.client {
5339
5399
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5340
5400
  uploadType?: string;
5341
5401
  },
5342
- body: GoogleCloudDiscoveryengineV1ImportDocumentsRequest
5402
+ body: GoogleCloudDiscoveryengineV1ImportDocumentsRequest,
5343
5403
  ): Request<GoogleLongrunningOperation>;
5344
5404
  /** Gets a list of Documents. */
5345
5405
  list(request?: {
@@ -5436,7 +5496,7 @@ declare namespace gapi.client {
5436
5496
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5437
5497
  uploadType?: string;
5438
5498
  },
5439
- body: GoogleCloudDiscoveryengineV1Document
5499
+ body: GoogleCloudDiscoveryengineV1Document,
5440
5500
  ): Request<GoogleCloudDiscoveryengineV1Document>;
5441
5501
  /** 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. */
5442
5502
  purge(request: {
@@ -5494,7 +5554,7 @@ declare namespace gapi.client {
5494
5554
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5495
5555
  uploadType?: string;
5496
5556
  },
5497
- body: GoogleCloudDiscoveryengineV1PurgeDocumentsRequest
5557
+ body: GoogleCloudDiscoveryengineV1PurgeDocumentsRequest,
5498
5558
  ): Request<GoogleLongrunningOperation>;
5499
5559
  }
5500
5560
  interface OperationsResource {
@@ -5554,7 +5614,7 @@ declare namespace gapi.client {
5554
5614
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5555
5615
  uploadType?: string;
5556
5616
  },
5557
- body: GoogleLongrunningCancelOperationRequest
5617
+ body: GoogleLongrunningCancelOperationRequest,
5558
5618
  ): Request<{}>;
5559
5619
  /** 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. */
5560
5620
  get(request?: {
@@ -5709,7 +5769,7 @@ declare namespace gapi.client {
5709
5769
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5710
5770
  uploadType?: string;
5711
5771
  },
5712
- body: GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsRequest
5772
+ body: GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsRequest,
5713
5773
  ): Request<GoogleLongrunningOperation>;
5714
5774
  /** Permanently deletes all CompletionSuggestions for a DataStore. */
5715
5775
  purge(request: {
@@ -5767,7 +5827,7 @@ declare namespace gapi.client {
5767
5827
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5768
5828
  uploadType?: string;
5769
5829
  },
5770
- body: GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsRequest
5830
+ body: GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsRequest,
5771
5831
  ): Request<GoogleLongrunningOperation>;
5772
5832
  }
5773
5833
  interface ControlsResource {
@@ -5831,7 +5891,7 @@ declare namespace gapi.client {
5831
5891
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5832
5892
  uploadType?: string;
5833
5893
  },
5834
- body: GoogleCloudDiscoveryengineV1Control
5894
+ body: GoogleCloudDiscoveryengineV1Control,
5835
5895
  ): Request<GoogleCloudDiscoveryengineV1Control>;
5836
5896
  /** Deletes a Control. If the Control to delete does not exist, a NOT_FOUND error is returned. */
5837
5897
  delete(request?: {
@@ -5980,7 +6040,7 @@ declare namespace gapi.client {
5980
6040
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5981
6041
  uploadType?: string;
5982
6042
  },
5983
- body: GoogleCloudDiscoveryengineV1Control
6043
+ body: GoogleCloudDiscoveryengineV1Control,
5984
6044
  ): Request<GoogleCloudDiscoveryengineV1Control>;
5985
6045
  }
5986
6046
  interface ConversationsResource {
@@ -6040,7 +6100,7 @@ declare namespace gapi.client {
6040
6100
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6041
6101
  uploadType?: string;
6042
6102
  },
6043
- body: GoogleCloudDiscoveryengineV1ConverseConversationRequest
6103
+ body: GoogleCloudDiscoveryengineV1ConverseConversationRequest,
6044
6104
  ): Request<GoogleCloudDiscoveryengineV1ConverseConversationResponse>;
6045
6105
  /** Creates a Conversation. If the Conversation to create already exists, an ALREADY_EXISTS error is returned. */
6046
6106
  create(request: {
@@ -6098,7 +6158,7 @@ declare namespace gapi.client {
6098
6158
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6099
6159
  uploadType?: string;
6100
6160
  },
6101
- body: GoogleCloudDiscoveryengineV1Conversation
6161
+ body: GoogleCloudDiscoveryengineV1Conversation,
6102
6162
  ): Request<GoogleCloudDiscoveryengineV1Conversation>;
6103
6163
  /** Deletes a Conversation. If the Conversation to delete does not exist, a NOT_FOUND error is returned. */
6104
6164
  delete(request?: {
@@ -6249,7 +6309,7 @@ declare namespace gapi.client {
6249
6309
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6250
6310
  uploadType?: string;
6251
6311
  },
6252
- body: GoogleCloudDiscoveryengineV1Conversation
6312
+ body: GoogleCloudDiscoveryengineV1Conversation,
6253
6313
  ): Request<GoogleCloudDiscoveryengineV1Conversation>;
6254
6314
  }
6255
6315
  interface CustomModelsResource {
@@ -6531,7 +6591,7 @@ declare namespace gapi.client {
6531
6591
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6532
6592
  uploadType?: string;
6533
6593
  },
6534
- body: GoogleCloudDiscoveryengineV1Schema
6594
+ body: GoogleCloudDiscoveryengineV1Schema,
6535
6595
  ): Request<GoogleLongrunningOperation>;
6536
6596
  /** Deletes a Schema. */
6537
6597
  delete(request?: {
@@ -6678,7 +6738,7 @@ declare namespace gapi.client {
6678
6738
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6679
6739
  uploadType?: string;
6680
6740
  },
6681
- body: GoogleCloudDiscoveryengineV1Schema
6741
+ body: GoogleCloudDiscoveryengineV1Schema,
6682
6742
  ): Request<GoogleLongrunningOperation>;
6683
6743
  operations: OperationsResource;
6684
6744
  }
@@ -6739,7 +6799,7 @@ declare namespace gapi.client {
6739
6799
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6740
6800
  uploadType?: string;
6741
6801
  },
6742
- body: GoogleCloudDiscoveryengineV1AnswerQueryRequest
6802
+ body: GoogleCloudDiscoveryengineV1AnswerQueryRequest,
6743
6803
  ): Request<GoogleCloudDiscoveryengineV1AnswerQueryResponse>;
6744
6804
  /** Updates a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does not exist. */
6745
6805
  patch(request: {
@@ -6801,7 +6861,7 @@ declare namespace gapi.client {
6801
6861
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6802
6862
  uploadType?: string;
6803
6863
  },
6804
- body: GoogleCloudDiscoveryengineV1ServingConfig
6864
+ body: GoogleCloudDiscoveryengineV1ServingConfig,
6805
6865
  ): Request<GoogleCloudDiscoveryengineV1ServingConfig>;
6806
6866
  /** Makes a recommendation, which requires a contextual user event. */
6807
6867
  recommend(request: {
@@ -6859,7 +6919,7 @@ declare namespace gapi.client {
6859
6919
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6860
6920
  uploadType?: string;
6861
6921
  },
6862
- body: GoogleCloudDiscoveryengineV1RecommendRequest
6922
+ body: GoogleCloudDiscoveryengineV1RecommendRequest,
6863
6923
  ): Request<GoogleCloudDiscoveryengineV1RecommendResponse>;
6864
6924
  /** Performs a search. */
6865
6925
  search(request: {
@@ -6917,7 +6977,7 @@ declare namespace gapi.client {
6917
6977
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6918
6978
  uploadType?: string;
6919
6979
  },
6920
- body: GoogleCloudDiscoveryengineV1SearchRequest
6980
+ body: GoogleCloudDiscoveryengineV1SearchRequest,
6921
6981
  ): Request<GoogleCloudDiscoveryengineV1SearchResponse>;
6922
6982
  /** 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. */
6923
6983
  searchLite(request: {
@@ -6975,7 +7035,7 @@ declare namespace gapi.client {
6975
7035
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6976
7036
  uploadType?: string;
6977
7037
  },
6978
- body: GoogleCloudDiscoveryengineV1SearchRequest
7038
+ body: GoogleCloudDiscoveryengineV1SearchRequest,
6979
7039
  ): Request<GoogleCloudDiscoveryengineV1SearchResponse>;
6980
7040
  /** Answer query method (streaming). It takes one AnswerQueryRequest and returns multiple AnswerQueryResponse messages in a stream. */
6981
7041
  streamAnswer(request: {
@@ -7033,7 +7093,7 @@ declare namespace gapi.client {
7033
7093
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7034
7094
  uploadType?: string;
7035
7095
  },
7036
- body: GoogleCloudDiscoveryengineV1AnswerQueryRequest
7096
+ body: GoogleCloudDiscoveryengineV1AnswerQueryRequest,
7037
7097
  ): Request<GoogleCloudDiscoveryengineV1AnswerQueryResponse>;
7038
7098
  }
7039
7099
  interface AnswersResource {
@@ -7122,7 +7182,7 @@ declare namespace gapi.client {
7122
7182
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7123
7183
  uploadType?: string;
7124
7184
  },
7125
- body: GoogleCloudDiscoveryengineV1Session
7185
+ body: GoogleCloudDiscoveryengineV1Session,
7126
7186
  ): Request<GoogleCloudDiscoveryengineV1Session>;
7127
7187
  /** Deletes a Session. If the Session to delete does not exist, a NOT_FOUND error is returned. */
7128
7188
  delete(request?: {
@@ -7275,7 +7335,7 @@ declare namespace gapi.client {
7275
7335
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7276
7336
  uploadType?: string;
7277
7337
  },
7278
- body: GoogleCloudDiscoveryengineV1Session
7338
+ body: GoogleCloudDiscoveryengineV1Session,
7279
7339
  ): Request<GoogleCloudDiscoveryengineV1Session>;
7280
7340
  answers: AnswersResource;
7281
7341
  }
@@ -7460,7 +7520,7 @@ declare namespace gapi.client {
7460
7520
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7461
7521
  uploadType?: string;
7462
7522
  },
7463
- body: GoogleCloudDiscoveryengineV1BatchCreateTargetSitesRequest
7523
+ body: GoogleCloudDiscoveryengineV1BatchCreateTargetSitesRequest,
7464
7524
  ): Request<GoogleLongrunningOperation>;
7465
7525
  /** Creates a TargetSite. */
7466
7526
  create(request: {
@@ -7518,7 +7578,7 @@ declare namespace gapi.client {
7518
7578
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7519
7579
  uploadType?: string;
7520
7580
  },
7521
- body: GoogleCloudDiscoveryengineV1TargetSite
7581
+ body: GoogleCloudDiscoveryengineV1TargetSite,
7522
7582
  ): Request<GoogleLongrunningOperation>;
7523
7583
  /** Deletes a TargetSite. */
7524
7584
  delete(request?: {
@@ -7661,7 +7721,7 @@ declare namespace gapi.client {
7661
7721
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7662
7722
  uploadType?: string;
7663
7723
  },
7664
- body: GoogleCloudDiscoveryengineV1TargetSite
7724
+ body: GoogleCloudDiscoveryengineV1TargetSite,
7665
7725
  ): Request<GoogleLongrunningOperation>;
7666
7726
  operations: OperationsResource;
7667
7727
  }
@@ -7722,7 +7782,7 @@ declare namespace gapi.client {
7722
7782
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7723
7783
  uploadType?: string;
7724
7784
  },
7725
- body: GoogleCloudDiscoveryengineV1BatchVerifyTargetSitesRequest
7785
+ body: GoogleCloudDiscoveryengineV1BatchVerifyTargetSitesRequest,
7726
7786
  ): Request<GoogleLongrunningOperation>;
7727
7787
  /** Downgrade from advanced site search to basic site search. */
7728
7788
  disableAdvancedSiteSearch(request: {
@@ -7780,7 +7840,7 @@ declare namespace gapi.client {
7780
7840
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7781
7841
  uploadType?: string;
7782
7842
  },
7783
- body: GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchRequest
7843
+ body: GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchRequest,
7784
7844
  ): Request<GoogleLongrunningOperation>;
7785
7845
  /** Upgrade from basic site search to advanced site search. */
7786
7846
  enableAdvancedSiteSearch(request: {
@@ -7838,7 +7898,7 @@ declare namespace gapi.client {
7838
7898
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7839
7899
  uploadType?: string;
7840
7900
  },
7841
- body: GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchRequest
7901
+ body: GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchRequest,
7842
7902
  ): Request<GoogleLongrunningOperation>;
7843
7903
  /** 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. */
7844
7904
  fetchDomainVerificationStatus(request?: {
@@ -7927,7 +7987,7 @@ declare namespace gapi.client {
7927
7987
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7928
7988
  uploadType?: string;
7929
7989
  },
7930
- body: GoogleCloudDiscoveryengineV1RecrawlUrisRequest
7990
+ body: GoogleCloudDiscoveryengineV1RecrawlUrisRequest,
7931
7991
  ): Request<GoogleLongrunningOperation>;
7932
7992
  operations: OperationsResource;
7933
7993
  targetSites: TargetSitesResource;
@@ -7989,7 +8049,7 @@ declare namespace gapi.client {
7989
8049
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7990
8050
  uploadType?: string;
7991
8051
  },
7992
- body: GoogleCloudDiscoveryengineV1ImportSuggestionDenyListEntriesRequest
8052
+ body: GoogleCloudDiscoveryengineV1ImportSuggestionDenyListEntriesRequest,
7993
8053
  ): Request<GoogleLongrunningOperation>;
7994
8054
  /** Permanently deletes all SuggestionDenyListEntry for a DataStore. */
7995
8055
  purge(request: {
@@ -8047,7 +8107,7 @@ declare namespace gapi.client {
8047
8107
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8048
8108
  uploadType?: string;
8049
8109
  },
8050
- body: GoogleCloudDiscoveryengineV1PurgeSuggestionDenyListEntriesRequest
8110
+ body: GoogleCloudDiscoveryengineV1PurgeSuggestionDenyListEntriesRequest,
8051
8111
  ): Request<GoogleLongrunningOperation>;
8052
8112
  }
8053
8113
  interface UserEventsResource {
@@ -8140,7 +8200,7 @@ declare namespace gapi.client {
8140
8200
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8141
8201
  uploadType?: string;
8142
8202
  },
8143
- body: GoogleCloudDiscoveryengineV1ImportUserEventsRequest
8203
+ body: GoogleCloudDiscoveryengineV1ImportUserEventsRequest,
8144
8204
  ): Request<GoogleLongrunningOperation>;
8145
8205
  /** 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. */
8146
8206
  purge(request: {
@@ -8198,7 +8258,7 @@ declare namespace gapi.client {
8198
8258
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8199
8259
  uploadType?: string;
8200
8260
  },
8201
- body: GoogleCloudDiscoveryengineV1PurgeUserEventsRequest
8261
+ body: GoogleCloudDiscoveryengineV1PurgeUserEventsRequest,
8202
8262
  ): Request<GoogleLongrunningOperation>;
8203
8263
  /** Writes a single user event. */
8204
8264
  write(request: {
@@ -8260,7 +8320,7 @@ declare namespace gapi.client {
8260
8320
  /** If set to true, the user event is written asynchronously after validation, and the API responds without waiting for the write. */
8261
8321
  writeAsync?: boolean;
8262
8322
  },
8263
- body: GoogleCloudDiscoveryengineV1UserEvent
8323
+ body: GoogleCloudDiscoveryengineV1UserEvent,
8264
8324
  ): Request<GoogleCloudDiscoveryengineV1UserEvent>;
8265
8325
  }
8266
8326
  interface DataStoresResource {
@@ -8375,7 +8435,7 @@ declare namespace gapi.client {
8375
8435
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8376
8436
  uploadType?: string;
8377
8437
  },
8378
- body: GoogleCloudDiscoveryengineV1DataStore
8438
+ body: GoogleCloudDiscoveryengineV1DataStore,
8379
8439
  ): Request<GoogleLongrunningOperation>;
8380
8440
  /** Deletes a DataStore. */
8381
8441
  delete(request?: {
@@ -8551,7 +8611,7 @@ declare namespace gapi.client {
8551
8611
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8552
8612
  uploadType?: string;
8553
8613
  },
8554
- body: GoogleCloudDiscoveryengineV1DataStore
8614
+ body: GoogleCloudDiscoveryengineV1DataStore,
8555
8615
  ): Request<GoogleCloudDiscoveryengineV1DataStore>;
8556
8616
  /** Trains a custom model. */
8557
8617
  trainCustomModel(request: {
@@ -8609,7 +8669,7 @@ declare namespace gapi.client {
8609
8669
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8610
8670
  uploadType?: string;
8611
8671
  },
8612
- body: GoogleCloudDiscoveryengineV1TrainCustomModelRequest
8672
+ body: GoogleCloudDiscoveryengineV1TrainCustomModelRequest,
8613
8673
  ): Request<GoogleLongrunningOperation>;
8614
8674
  branches: BranchesResource;
8615
8675
  completionSuggestions: CompletionSuggestionsResource;
@@ -8686,7 +8746,7 @@ declare namespace gapi.client {
8686
8746
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8687
8747
  uploadType?: string;
8688
8748
  },
8689
- body: GoogleCloudDiscoveryengineV1Control
8749
+ body: GoogleCloudDiscoveryengineV1Control,
8690
8750
  ): Request<GoogleCloudDiscoveryengineV1Control>;
8691
8751
  /** Deletes a Control. If the Control to delete does not exist, a NOT_FOUND error is returned. */
8692
8752
  delete(request?: {
@@ -8835,7 +8895,7 @@ declare namespace gapi.client {
8835
8895
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8836
8896
  uploadType?: string;
8837
8897
  },
8838
- body: GoogleCloudDiscoveryengineV1Control
8898
+ body: GoogleCloudDiscoveryengineV1Control,
8839
8899
  ): Request<GoogleCloudDiscoveryengineV1Control>;
8840
8900
  }
8841
8901
  interface ConversationsResource {
@@ -8895,7 +8955,7 @@ declare namespace gapi.client {
8895
8955
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8896
8956
  uploadType?: string;
8897
8957
  },
8898
- body: GoogleCloudDiscoveryengineV1ConverseConversationRequest
8958
+ body: GoogleCloudDiscoveryengineV1ConverseConversationRequest,
8899
8959
  ): Request<GoogleCloudDiscoveryengineV1ConverseConversationResponse>;
8900
8960
  /** Creates a Conversation. If the Conversation to create already exists, an ALREADY_EXISTS error is returned. */
8901
8961
  create(request: {
@@ -8953,7 +9013,7 @@ declare namespace gapi.client {
8953
9013
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8954
9014
  uploadType?: string;
8955
9015
  },
8956
- body: GoogleCloudDiscoveryengineV1Conversation
9016
+ body: GoogleCloudDiscoveryengineV1Conversation,
8957
9017
  ): Request<GoogleCloudDiscoveryengineV1Conversation>;
8958
9018
  /** Deletes a Conversation. If the Conversation to delete does not exist, a NOT_FOUND error is returned. */
8959
9019
  delete(request?: {
@@ -9104,7 +9164,7 @@ declare namespace gapi.client {
9104
9164
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9105
9165
  uploadType?: string;
9106
9166
  },
9107
- body: GoogleCloudDiscoveryengineV1Conversation
9167
+ body: GoogleCloudDiscoveryengineV1Conversation,
9108
9168
  ): Request<GoogleCloudDiscoveryengineV1Conversation>;
9109
9169
  }
9110
9170
  interface OperationsResource {
@@ -9226,7 +9286,7 @@ declare namespace gapi.client {
9226
9286
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9227
9287
  uploadType?: string;
9228
9288
  },
9229
- body: GoogleCloudDiscoveryengineV1AnswerQueryRequest
9289
+ body: GoogleCloudDiscoveryengineV1AnswerQueryRequest,
9230
9290
  ): Request<GoogleCloudDiscoveryengineV1AnswerQueryResponse>;
9231
9291
  /** Updates a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does not exist. */
9232
9292
  patch(request: {
@@ -9288,7 +9348,7 @@ declare namespace gapi.client {
9288
9348
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9289
9349
  uploadType?: string;
9290
9350
  },
9291
- body: GoogleCloudDiscoveryengineV1ServingConfig
9351
+ body: GoogleCloudDiscoveryengineV1ServingConfig,
9292
9352
  ): Request<GoogleCloudDiscoveryengineV1ServingConfig>;
9293
9353
  /** Makes a recommendation, which requires a contextual user event. */
9294
9354
  recommend(request: {
@@ -9346,7 +9406,7 @@ declare namespace gapi.client {
9346
9406
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9347
9407
  uploadType?: string;
9348
9408
  },
9349
- body: GoogleCloudDiscoveryengineV1RecommendRequest
9409
+ body: GoogleCloudDiscoveryengineV1RecommendRequest,
9350
9410
  ): Request<GoogleCloudDiscoveryengineV1RecommendResponse>;
9351
9411
  /** Performs a search. */
9352
9412
  search(request: {
@@ -9404,7 +9464,7 @@ declare namespace gapi.client {
9404
9464
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9405
9465
  uploadType?: string;
9406
9466
  },
9407
- body: GoogleCloudDiscoveryengineV1SearchRequest
9467
+ body: GoogleCloudDiscoveryengineV1SearchRequest,
9408
9468
  ): Request<GoogleCloudDiscoveryengineV1SearchResponse>;
9409
9469
  /** 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. */
9410
9470
  searchLite(request: {
@@ -9462,7 +9522,7 @@ declare namespace gapi.client {
9462
9522
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9463
9523
  uploadType?: string;
9464
9524
  },
9465
- body: GoogleCloudDiscoveryengineV1SearchRequest
9525
+ body: GoogleCloudDiscoveryengineV1SearchRequest,
9466
9526
  ): Request<GoogleCloudDiscoveryengineV1SearchResponse>;
9467
9527
  /** Answer query method (streaming). It takes one AnswerQueryRequest and returns multiple AnswerQueryResponse messages in a stream. */
9468
9528
  streamAnswer(request: {
@@ -9520,7 +9580,7 @@ declare namespace gapi.client {
9520
9580
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9521
9581
  uploadType?: string;
9522
9582
  },
9523
- body: GoogleCloudDiscoveryengineV1AnswerQueryRequest
9583
+ body: GoogleCloudDiscoveryengineV1AnswerQueryRequest,
9524
9584
  ): Request<GoogleCloudDiscoveryengineV1AnswerQueryResponse>;
9525
9585
  }
9526
9586
  interface AnswersResource {
@@ -9609,7 +9669,7 @@ declare namespace gapi.client {
9609
9669
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9610
9670
  uploadType?: string;
9611
9671
  },
9612
- body: GoogleCloudDiscoveryengineV1Session
9672
+ body: GoogleCloudDiscoveryengineV1Session,
9613
9673
  ): Request<GoogleCloudDiscoveryengineV1Session>;
9614
9674
  /** Deletes a Session. If the Session to delete does not exist, a NOT_FOUND error is returned. */
9615
9675
  delete(request?: {
@@ -9762,7 +9822,7 @@ declare namespace gapi.client {
9762
9822
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9763
9823
  uploadType?: string;
9764
9824
  },
9765
- body: GoogleCloudDiscoveryengineV1Session
9825
+ body: GoogleCloudDiscoveryengineV1Session,
9766
9826
  ): Request<GoogleCloudDiscoveryengineV1Session>;
9767
9827
  answers: AnswersResource;
9768
9828
  }
@@ -9827,7 +9887,7 @@ declare namespace gapi.client {
9827
9887
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9828
9888
  uploadType?: string;
9829
9889
  },
9830
- body: GoogleCloudDiscoveryengineV1Engine
9890
+ body: GoogleCloudDiscoveryengineV1Engine,
9831
9891
  ): Request<GoogleLongrunningOperation>;
9832
9892
  /** Deletes a Engine. */
9833
9893
  delete(request?: {
@@ -9976,7 +10036,7 @@ declare namespace gapi.client {
9976
10036
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9977
10037
  uploadType?: string;
9978
10038
  },
9979
- body: GoogleCloudDiscoveryengineV1Engine
10039
+ body: GoogleCloudDiscoveryengineV1Engine,
9980
10040
  ): Request<GoogleCloudDiscoveryengineV1Engine>;
9981
10041
  controls: ControlsResource;
9982
10042
  conversations: ConversationsResource;
@@ -10113,7 +10173,7 @@ declare namespace gapi.client {
10113
10173
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10114
10174
  uploadType?: string;
10115
10175
  },
10116
- body: GoogleCloudDiscoveryengineV1Document
10176
+ body: GoogleCloudDiscoveryengineV1Document,
10117
10177
  ): Request<GoogleCloudDiscoveryengineV1Document>;
10118
10178
  /** Deletes a Document. */
10119
10179
  delete(request?: {
@@ -10225,7 +10285,7 @@ declare namespace gapi.client {
10225
10285
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10226
10286
  uploadType?: string;
10227
10287
  },
10228
- body: GoogleCloudDiscoveryengineV1ImportDocumentsRequest
10288
+ body: GoogleCloudDiscoveryengineV1ImportDocumentsRequest,
10229
10289
  ): Request<GoogleLongrunningOperation>;
10230
10290
  /** Gets a list of Documents. */
10231
10291
  list(request?: {
@@ -10322,7 +10382,7 @@ declare namespace gapi.client {
10322
10382
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10323
10383
  uploadType?: string;
10324
10384
  },
10325
- body: GoogleCloudDiscoveryengineV1Document
10385
+ body: GoogleCloudDiscoveryengineV1Document,
10326
10386
  ): Request<GoogleCloudDiscoveryengineV1Document>;
10327
10387
  /** 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. */
10328
10388
  purge(request: {
@@ -10380,7 +10440,7 @@ declare namespace gapi.client {
10380
10440
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10381
10441
  uploadType?: string;
10382
10442
  },
10383
- body: GoogleCloudDiscoveryengineV1PurgeDocumentsRequest
10443
+ body: GoogleCloudDiscoveryengineV1PurgeDocumentsRequest,
10384
10444
  ): Request<GoogleLongrunningOperation>;
10385
10445
  }
10386
10446
  interface OperationsResource {
@@ -10440,7 +10500,7 @@ declare namespace gapi.client {
10440
10500
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10441
10501
  uploadType?: string;
10442
10502
  },
10443
- body: GoogleLongrunningCancelOperationRequest
10503
+ body: GoogleLongrunningCancelOperationRequest,
10444
10504
  ): Request<{}>;
10445
10505
  /** 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. */
10446
10506
  get(request?: {
@@ -10595,7 +10655,7 @@ declare namespace gapi.client {
10595
10655
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10596
10656
  uploadType?: string;
10597
10657
  },
10598
- body: GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsRequest
10658
+ body: GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsRequest,
10599
10659
  ): Request<GoogleLongrunningOperation>;
10600
10660
  /** Permanently deletes all CompletionSuggestions for a DataStore. */
10601
10661
  purge(request: {
@@ -10653,7 +10713,7 @@ declare namespace gapi.client {
10653
10713
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10654
10714
  uploadType?: string;
10655
10715
  },
10656
- body: GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsRequest
10716
+ body: GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsRequest,
10657
10717
  ): Request<GoogleLongrunningOperation>;
10658
10718
  }
10659
10719
  interface ControlsResource {
@@ -10717,7 +10777,7 @@ declare namespace gapi.client {
10717
10777
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10718
10778
  uploadType?: string;
10719
10779
  },
10720
- body: GoogleCloudDiscoveryengineV1Control
10780
+ body: GoogleCloudDiscoveryengineV1Control,
10721
10781
  ): Request<GoogleCloudDiscoveryengineV1Control>;
10722
10782
  /** Deletes a Control. If the Control to delete does not exist, a NOT_FOUND error is returned. */
10723
10783
  delete(request?: {
@@ -10866,7 +10926,7 @@ declare namespace gapi.client {
10866
10926
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10867
10927
  uploadType?: string;
10868
10928
  },
10869
- body: GoogleCloudDiscoveryengineV1Control
10929
+ body: GoogleCloudDiscoveryengineV1Control,
10870
10930
  ): Request<GoogleCloudDiscoveryengineV1Control>;
10871
10931
  }
10872
10932
  interface ConversationsResource {
@@ -10926,7 +10986,7 @@ declare namespace gapi.client {
10926
10986
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10927
10987
  uploadType?: string;
10928
10988
  },
10929
- body: GoogleCloudDiscoveryengineV1ConverseConversationRequest
10989
+ body: GoogleCloudDiscoveryengineV1ConverseConversationRequest,
10930
10990
  ): Request<GoogleCloudDiscoveryengineV1ConverseConversationResponse>;
10931
10991
  /** Creates a Conversation. If the Conversation to create already exists, an ALREADY_EXISTS error is returned. */
10932
10992
  create(request: {
@@ -10984,7 +11044,7 @@ declare namespace gapi.client {
10984
11044
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10985
11045
  uploadType?: string;
10986
11046
  },
10987
- body: GoogleCloudDiscoveryengineV1Conversation
11047
+ body: GoogleCloudDiscoveryengineV1Conversation,
10988
11048
  ): Request<GoogleCloudDiscoveryengineV1Conversation>;
10989
11049
  /** Deletes a Conversation. If the Conversation to delete does not exist, a NOT_FOUND error is returned. */
10990
11050
  delete(request?: {
@@ -11135,7 +11195,7 @@ declare namespace gapi.client {
11135
11195
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11136
11196
  uploadType?: string;
11137
11197
  },
11138
- body: GoogleCloudDiscoveryengineV1Conversation
11198
+ body: GoogleCloudDiscoveryengineV1Conversation,
11139
11199
  ): Request<GoogleCloudDiscoveryengineV1Conversation>;
11140
11200
  }
11141
11201
  interface OperationsResource {
@@ -11326,7 +11386,7 @@ declare namespace gapi.client {
11326
11386
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11327
11387
  uploadType?: string;
11328
11388
  },
11329
- body: GoogleCloudDiscoveryengineV1Schema
11389
+ body: GoogleCloudDiscoveryengineV1Schema,
11330
11390
  ): Request<GoogleLongrunningOperation>;
11331
11391
  /** Deletes a Schema. */
11332
11392
  delete(request?: {
@@ -11473,7 +11533,7 @@ declare namespace gapi.client {
11473
11533
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11474
11534
  uploadType?: string;
11475
11535
  },
11476
- body: GoogleCloudDiscoveryengineV1Schema
11536
+ body: GoogleCloudDiscoveryengineV1Schema,
11477
11537
  ): Request<GoogleLongrunningOperation>;
11478
11538
  }
11479
11539
  interface ServingConfigsResource {
@@ -11533,7 +11593,7 @@ declare namespace gapi.client {
11533
11593
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11534
11594
  uploadType?: string;
11535
11595
  },
11536
- body: GoogleCloudDiscoveryengineV1AnswerQueryRequest
11596
+ body: GoogleCloudDiscoveryengineV1AnswerQueryRequest,
11537
11597
  ): Request<GoogleCloudDiscoveryengineV1AnswerQueryResponse>;
11538
11598
  /** Updates a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does not exist. */
11539
11599
  patch(request: {
@@ -11595,7 +11655,7 @@ declare namespace gapi.client {
11595
11655
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11596
11656
  uploadType?: string;
11597
11657
  },
11598
- body: GoogleCloudDiscoveryengineV1ServingConfig
11658
+ body: GoogleCloudDiscoveryengineV1ServingConfig,
11599
11659
  ): Request<GoogleCloudDiscoveryengineV1ServingConfig>;
11600
11660
  /** Makes a recommendation, which requires a contextual user event. */
11601
11661
  recommend(request: {
@@ -11653,7 +11713,7 @@ declare namespace gapi.client {
11653
11713
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11654
11714
  uploadType?: string;
11655
11715
  },
11656
- body: GoogleCloudDiscoveryengineV1RecommendRequest
11716
+ body: GoogleCloudDiscoveryengineV1RecommendRequest,
11657
11717
  ): Request<GoogleCloudDiscoveryengineV1RecommendResponse>;
11658
11718
  /** Performs a search. */
11659
11719
  search(request: {
@@ -11711,7 +11771,7 @@ declare namespace gapi.client {
11711
11771
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11712
11772
  uploadType?: string;
11713
11773
  },
11714
- body: GoogleCloudDiscoveryengineV1SearchRequest
11774
+ body: GoogleCloudDiscoveryengineV1SearchRequest,
11715
11775
  ): Request<GoogleCloudDiscoveryengineV1SearchResponse>;
11716
11776
  /** 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. */
11717
11777
  searchLite(request: {
@@ -11769,7 +11829,7 @@ declare namespace gapi.client {
11769
11829
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11770
11830
  uploadType?: string;
11771
11831
  },
11772
- body: GoogleCloudDiscoveryengineV1SearchRequest
11832
+ body: GoogleCloudDiscoveryengineV1SearchRequest,
11773
11833
  ): Request<GoogleCloudDiscoveryengineV1SearchResponse>;
11774
11834
  /** Answer query method (streaming). It takes one AnswerQueryRequest and returns multiple AnswerQueryResponse messages in a stream. */
11775
11835
  streamAnswer(request: {
@@ -11827,7 +11887,7 @@ declare namespace gapi.client {
11827
11887
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11828
11888
  uploadType?: string;
11829
11889
  },
11830
- body: GoogleCloudDiscoveryengineV1AnswerQueryRequest
11890
+ body: GoogleCloudDiscoveryengineV1AnswerQueryRequest,
11831
11891
  ): Request<GoogleCloudDiscoveryengineV1AnswerQueryResponse>;
11832
11892
  }
11833
11893
  interface AnswersResource {
@@ -11916,7 +11976,7 @@ declare namespace gapi.client {
11916
11976
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11917
11977
  uploadType?: string;
11918
11978
  },
11919
- body: GoogleCloudDiscoveryengineV1Session
11979
+ body: GoogleCloudDiscoveryengineV1Session,
11920
11980
  ): Request<GoogleCloudDiscoveryengineV1Session>;
11921
11981
  /** Deletes a Session. If the Session to delete does not exist, a NOT_FOUND error is returned. */
11922
11982
  delete(request?: {
@@ -12069,7 +12129,7 @@ declare namespace gapi.client {
12069
12129
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12070
12130
  uploadType?: string;
12071
12131
  },
12072
- body: GoogleCloudDiscoveryengineV1Session
12132
+ body: GoogleCloudDiscoveryengineV1Session,
12073
12133
  ): Request<GoogleCloudDiscoveryengineV1Session>;
12074
12134
  answers: AnswersResource;
12075
12135
  }
@@ -12130,7 +12190,7 @@ declare namespace gapi.client {
12130
12190
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12131
12191
  uploadType?: string;
12132
12192
  },
12133
- body: GoogleCloudDiscoveryengineV1BatchCreateTargetSitesRequest
12193
+ body: GoogleCloudDiscoveryengineV1BatchCreateTargetSitesRequest,
12134
12194
  ): Request<GoogleLongrunningOperation>;
12135
12195
  /** Creates a TargetSite. */
12136
12196
  create(request: {
@@ -12188,7 +12248,7 @@ declare namespace gapi.client {
12188
12248
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12189
12249
  uploadType?: string;
12190
12250
  },
12191
- body: GoogleCloudDiscoveryengineV1TargetSite
12251
+ body: GoogleCloudDiscoveryengineV1TargetSite,
12192
12252
  ): Request<GoogleLongrunningOperation>;
12193
12253
  /** Deletes a TargetSite. */
12194
12254
  delete(request?: {
@@ -12331,7 +12391,7 @@ declare namespace gapi.client {
12331
12391
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12332
12392
  uploadType?: string;
12333
12393
  },
12334
- body: GoogleCloudDiscoveryengineV1TargetSite
12394
+ body: GoogleCloudDiscoveryengineV1TargetSite,
12335
12395
  ): Request<GoogleLongrunningOperation>;
12336
12396
  }
12337
12397
  interface SiteSearchEngineResource {
@@ -12391,7 +12451,7 @@ declare namespace gapi.client {
12391
12451
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12392
12452
  uploadType?: string;
12393
12453
  },
12394
- body: GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchRequest
12454
+ body: GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchRequest,
12395
12455
  ): Request<GoogleLongrunningOperation>;
12396
12456
  /** Upgrade from basic site search to advanced site search. */
12397
12457
  enableAdvancedSiteSearch(request: {
@@ -12449,7 +12509,7 @@ declare namespace gapi.client {
12449
12509
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12450
12510
  uploadType?: string;
12451
12511
  },
12452
- body: GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchRequest
12512
+ body: GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchRequest,
12453
12513
  ): Request<GoogleLongrunningOperation>;
12454
12514
  /** Request on-demand recrawl for a list of URIs. */
12455
12515
  recrawlUris(request: {
@@ -12507,7 +12567,7 @@ declare namespace gapi.client {
12507
12567
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12508
12568
  uploadType?: string;
12509
12569
  },
12510
- body: GoogleCloudDiscoveryengineV1RecrawlUrisRequest
12570
+ body: GoogleCloudDiscoveryengineV1RecrawlUrisRequest,
12511
12571
  ): Request<GoogleLongrunningOperation>;
12512
12572
  targetSites: TargetSitesResource;
12513
12573
  }
@@ -12568,7 +12628,7 @@ declare namespace gapi.client {
12568
12628
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12569
12629
  uploadType?: string;
12570
12630
  },
12571
- body: GoogleCloudDiscoveryengineV1ImportSuggestionDenyListEntriesRequest
12631
+ body: GoogleCloudDiscoveryengineV1ImportSuggestionDenyListEntriesRequest,
12572
12632
  ): Request<GoogleLongrunningOperation>;
12573
12633
  /** Permanently deletes all SuggestionDenyListEntry for a DataStore. */
12574
12634
  purge(request: {
@@ -12626,7 +12686,7 @@ declare namespace gapi.client {
12626
12686
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12627
12687
  uploadType?: string;
12628
12688
  },
12629
- body: GoogleCloudDiscoveryengineV1PurgeSuggestionDenyListEntriesRequest
12689
+ body: GoogleCloudDiscoveryengineV1PurgeSuggestionDenyListEntriesRequest,
12630
12690
  ): Request<GoogleLongrunningOperation>;
12631
12691
  }
12632
12692
  interface UserEventsResource {
@@ -12719,7 +12779,7 @@ declare namespace gapi.client {
12719
12779
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12720
12780
  uploadType?: string;
12721
12781
  },
12722
- body: GoogleCloudDiscoveryengineV1ImportUserEventsRequest
12782
+ body: GoogleCloudDiscoveryengineV1ImportUserEventsRequest,
12723
12783
  ): Request<GoogleLongrunningOperation>;
12724
12784
  /** 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. */
12725
12785
  purge(request: {
@@ -12777,7 +12837,7 @@ declare namespace gapi.client {
12777
12837
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12778
12838
  uploadType?: string;
12779
12839
  },
12780
- body: GoogleCloudDiscoveryengineV1PurgeUserEventsRequest
12840
+ body: GoogleCloudDiscoveryengineV1PurgeUserEventsRequest,
12781
12841
  ): Request<GoogleLongrunningOperation>;
12782
12842
  /** Writes a single user event. */
12783
12843
  write(request: {
@@ -12839,7 +12899,7 @@ declare namespace gapi.client {
12839
12899
  /** If set to true, the user event is written asynchronously after validation, and the API responds without waiting for the write. */
12840
12900
  writeAsync?: boolean;
12841
12901
  },
12842
- body: GoogleCloudDiscoveryengineV1UserEvent
12902
+ body: GoogleCloudDiscoveryengineV1UserEvent,
12843
12903
  ): Request<GoogleCloudDiscoveryengineV1UserEvent>;
12844
12904
  }
12845
12905
  interface DataStoresResource {
@@ -12954,7 +13014,7 @@ declare namespace gapi.client {
12954
13014
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12955
13015
  uploadType?: string;
12956
13016
  },
12957
- body: GoogleCloudDiscoveryengineV1DataStore
13017
+ body: GoogleCloudDiscoveryengineV1DataStore,
12958
13018
  ): Request<GoogleLongrunningOperation>;
12959
13019
  /** Deletes a DataStore. */
12960
13020
  delete(request?: {
@@ -13130,7 +13190,7 @@ declare namespace gapi.client {
13130
13190
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13131
13191
  uploadType?: string;
13132
13192
  },
13133
- body: GoogleCloudDiscoveryengineV1DataStore
13193
+ body: GoogleCloudDiscoveryengineV1DataStore,
13134
13194
  ): Request<GoogleCloudDiscoveryengineV1DataStore>;
13135
13195
  branches: BranchesResource;
13136
13196
  completionSuggestions: CompletionSuggestionsResource;
@@ -13202,7 +13262,7 @@ declare namespace gapi.client {
13202
13262
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13203
13263
  uploadType?: string;
13204
13264
  },
13205
- body: GoogleCloudDiscoveryengineV1CheckGroundingRequest
13265
+ body: GoogleCloudDiscoveryengineV1CheckGroundingRequest,
13206
13266
  ): Request<GoogleCloudDiscoveryengineV1CheckGroundingResponse>;
13207
13267
  }
13208
13268
  interface OperationsResource {
@@ -13268,6 +13328,308 @@ declare namespace gapi.client {
13268
13328
  }): Request<GoogleLongrunningListOperationsResponse>;
13269
13329
  }
13270
13330
  interface IdentityMappingStoresResource {
13331
+ /** Creates a new Identity Mapping Store. */
13332
+ create(request: {
13333
+ /** V1 error format. */
13334
+ '$.xgafv'?: string;
13335
+ /** OAuth access token. */
13336
+ access_token?: string;
13337
+ /** Data format for response. */
13338
+ alt?: string;
13339
+ /** JSONP */
13340
+ callback?: string;
13341
+ /** Resource name of the CmekConfig to use for protecting this Identity Mapping Store. */
13342
+ cmekConfigName?: string;
13343
+ /** Identity Mapping Store without CMEK protections. If a default CmekConfig is set for the project, setting this field will override the default CmekConfig as well. */
13344
+ disableCmek?: boolean;
13345
+ /** Selector specifying which fields to include in a partial response. */
13346
+ fields?: string;
13347
+ /** Required. The ID of the Identity Mapping Store to create. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 63 characters. */
13348
+ identityMappingStoreId?: string;
13349
+ /** 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. */
13350
+ key?: string;
13351
+ /** OAuth 2.0 token for the current user. */
13352
+ oauth_token?: string;
13353
+ /** Required. The parent collection resource name, such as `projects/{project}/locations/{location}`. */
13354
+ parent: string;
13355
+ /** Returns response with indentations and line breaks. */
13356
+ prettyPrint?: boolean;
13357
+ /** 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. */
13358
+ quotaUser?: string;
13359
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
13360
+ upload_protocol?: string;
13361
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13362
+ uploadType?: string;
13363
+ /** Request body */
13364
+ resource: GoogleCloudDiscoveryengineV1IdentityMappingStore;
13365
+ }): Request<GoogleCloudDiscoveryengineV1IdentityMappingStore>;
13366
+ create(
13367
+ request: {
13368
+ /** V1 error format. */
13369
+ '$.xgafv'?: string;
13370
+ /** OAuth access token. */
13371
+ access_token?: string;
13372
+ /** Data format for response. */
13373
+ alt?: string;
13374
+ /** JSONP */
13375
+ callback?: string;
13376
+ /** Resource name of the CmekConfig to use for protecting this Identity Mapping Store. */
13377
+ cmekConfigName?: string;
13378
+ /** Identity Mapping Store without CMEK protections. If a default CmekConfig is set for the project, setting this field will override the default CmekConfig as well. */
13379
+ disableCmek?: boolean;
13380
+ /** Selector specifying which fields to include in a partial response. */
13381
+ fields?: string;
13382
+ /** Required. The ID of the Identity Mapping Store to create. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 63 characters. */
13383
+ identityMappingStoreId?: string;
13384
+ /** 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. */
13385
+ key?: string;
13386
+ /** OAuth 2.0 token for the current user. */
13387
+ oauth_token?: string;
13388
+ /** Required. The parent collection resource name, such as `projects/{project}/locations/{location}`. */
13389
+ parent: string;
13390
+ /** Returns response with indentations and line breaks. */
13391
+ prettyPrint?: boolean;
13392
+ /** 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. */
13393
+ quotaUser?: string;
13394
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
13395
+ upload_protocol?: string;
13396
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13397
+ uploadType?: string;
13398
+ },
13399
+ body: GoogleCloudDiscoveryengineV1IdentityMappingStore,
13400
+ ): Request<GoogleCloudDiscoveryengineV1IdentityMappingStore>;
13401
+ /** Deletes the Identity Mapping Store. */
13402
+ delete(request?: {
13403
+ /** V1 error format. */
13404
+ '$.xgafv'?: string;
13405
+ /** OAuth access token. */
13406
+ access_token?: string;
13407
+ /** Data format for response. */
13408
+ alt?: string;
13409
+ /** JSONP */
13410
+ callback?: string;
13411
+ /** Selector specifying which fields to include in a partial response. */
13412
+ fields?: string;
13413
+ /** 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. */
13414
+ key?: string;
13415
+ /** Required. The name of the Identity Mapping Store to delete. Format: `projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}` */
13416
+ name: string;
13417
+ /** OAuth 2.0 token for the current user. */
13418
+ oauth_token?: string;
13419
+ /** Returns response with indentations and line breaks. */
13420
+ prettyPrint?: boolean;
13421
+ /** 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. */
13422
+ quotaUser?: string;
13423
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
13424
+ upload_protocol?: string;
13425
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13426
+ uploadType?: string;
13427
+ }): Request<GoogleLongrunningOperation>;
13428
+ /** Gets the Identity Mapping Store. */
13429
+ get(request?: {
13430
+ /** V1 error format. */
13431
+ '$.xgafv'?: string;
13432
+ /** OAuth access token. */
13433
+ access_token?: string;
13434
+ /** Data format for response. */
13435
+ alt?: string;
13436
+ /** JSONP */
13437
+ callback?: string;
13438
+ /** Selector specifying which fields to include in a partial response. */
13439
+ fields?: string;
13440
+ /** 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. */
13441
+ key?: string;
13442
+ /** Required. The name of the Identity Mapping Store to get. Format: `projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}` */
13443
+ name: string;
13444
+ /** OAuth 2.0 token for the current user. */
13445
+ oauth_token?: string;
13446
+ /** Returns response with indentations and line breaks. */
13447
+ prettyPrint?: boolean;
13448
+ /** 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. */
13449
+ quotaUser?: string;
13450
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
13451
+ upload_protocol?: string;
13452
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13453
+ uploadType?: string;
13454
+ }): Request<GoogleCloudDiscoveryengineV1IdentityMappingStore>;
13455
+ /** Imports a list of Identity Mapping Entries to an Identity Mapping Store. */
13456
+ importIdentityMappings(request: {
13457
+ /** V1 error format. */
13458
+ '$.xgafv'?: string;
13459
+ /** OAuth access token. */
13460
+ access_token?: string;
13461
+ /** Data format for response. */
13462
+ alt?: string;
13463
+ /** JSONP */
13464
+ callback?: string;
13465
+ /** Selector specifying which fields to include in a partial response. */
13466
+ fields?: string;
13467
+ /** Required. The name of the Identity Mapping Store to import Identity Mapping Entries to. Format: `projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}` */
13468
+ identityMappingStore: string;
13469
+ /** 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. */
13470
+ key?: string;
13471
+ /** OAuth 2.0 token for the current user. */
13472
+ oauth_token?: string;
13473
+ /** Returns response with indentations and line breaks. */
13474
+ prettyPrint?: boolean;
13475
+ /** 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. */
13476
+ quotaUser?: string;
13477
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
13478
+ upload_protocol?: string;
13479
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13480
+ uploadType?: string;
13481
+ /** Request body */
13482
+ resource: GoogleCloudDiscoveryengineV1ImportIdentityMappingsRequest;
13483
+ }): Request<GoogleLongrunningOperation>;
13484
+ importIdentityMappings(
13485
+ request: {
13486
+ /** V1 error format. */
13487
+ '$.xgafv'?: string;
13488
+ /** OAuth access token. */
13489
+ access_token?: string;
13490
+ /** Data format for response. */
13491
+ alt?: string;
13492
+ /** JSONP */
13493
+ callback?: string;
13494
+ /** Selector specifying which fields to include in a partial response. */
13495
+ fields?: string;
13496
+ /** Required. The name of the Identity Mapping Store to import Identity Mapping Entries to. Format: `projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}` */
13497
+ identityMappingStore: string;
13498
+ /** 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. */
13499
+ key?: string;
13500
+ /** OAuth 2.0 token for the current user. */
13501
+ oauth_token?: string;
13502
+ /** Returns response with indentations and line breaks. */
13503
+ prettyPrint?: boolean;
13504
+ /** 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. */
13505
+ quotaUser?: string;
13506
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
13507
+ upload_protocol?: string;
13508
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13509
+ uploadType?: string;
13510
+ },
13511
+ body: GoogleCloudDiscoveryengineV1ImportIdentityMappingsRequest,
13512
+ ): Request<GoogleLongrunningOperation>;
13513
+ /** Lists all Identity Mapping Stores. */
13514
+ list(request?: {
13515
+ /** V1 error format. */
13516
+ '$.xgafv'?: string;
13517
+ /** OAuth access token. */
13518
+ access_token?: string;
13519
+ /** Data format for response. */
13520
+ alt?: string;
13521
+ /** JSONP */
13522
+ callback?: string;
13523
+ /** Selector specifying which fields to include in a partial response. */
13524
+ fields?: string;
13525
+ /** 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. */
13526
+ key?: string;
13527
+ /** OAuth 2.0 token for the current user. */
13528
+ oauth_token?: string;
13529
+ /** Maximum number of IdentityMappingStores to return. If unspecified, defaults to 100. The maximum allowed value is 1000. Values above 1000 will be coerced to 1000. */
13530
+ pageSize?: number;
13531
+ /** A page token, received from a previous `ListIdentityMappingStores` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListIdentityMappingStores` must match the call that provided the page token. */
13532
+ pageToken?: string;
13533
+ /** Required. The parent of the Identity Mapping Stores to list. Format: `projects/{project}/locations/{location}`. */
13534
+ parent: string;
13535
+ /** Returns response with indentations and line breaks. */
13536
+ prettyPrint?: boolean;
13537
+ /** 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. */
13538
+ quotaUser?: string;
13539
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
13540
+ upload_protocol?: string;
13541
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13542
+ uploadType?: string;
13543
+ }): Request<GoogleCloudDiscoveryengineV1ListIdentityMappingStoresResponse>;
13544
+ /** Lists Identity Mappings in an Identity Mapping Store. */
13545
+ listIdentityMappings(request?: {
13546
+ /** V1 error format. */
13547
+ '$.xgafv'?: string;
13548
+ /** OAuth access token. */
13549
+ access_token?: string;
13550
+ /** Data format for response. */
13551
+ alt?: string;
13552
+ /** JSONP */
13553
+ callback?: string;
13554
+ /** Selector specifying which fields to include in a partial response. */
13555
+ fields?: string;
13556
+ /** Required. The name of the Identity Mapping Store to list Identity Mapping Entries in. Format: `projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}` */
13557
+ identityMappingStore: string;
13558
+ /** 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. */
13559
+ key?: string;
13560
+ /** OAuth 2.0 token for the current user. */
13561
+ oauth_token?: string;
13562
+ /** Maximum number of IdentityMappings to return. If unspecified, defaults to 2000. The maximum allowed value is 10000. Values above 10000 will be coerced to 10000. */
13563
+ pageSize?: number;
13564
+ /** A page token, received from a previous `ListIdentityMappings` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListIdentityMappings` must match the call that provided the page token. */
13565
+ pageToken?: string;
13566
+ /** Returns response with indentations and line breaks. */
13567
+ prettyPrint?: boolean;
13568
+ /** 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. */
13569
+ quotaUser?: string;
13570
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
13571
+ upload_protocol?: string;
13572
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13573
+ uploadType?: string;
13574
+ }): Request<GoogleCloudDiscoveryengineV1ListIdentityMappingsResponse>;
13575
+ /** Purges specified or all Identity Mapping Entries from an Identity Mapping Store. */
13576
+ purgeIdentityMappings(request: {
13577
+ /** V1 error format. */
13578
+ '$.xgafv'?: string;
13579
+ /** OAuth access token. */
13580
+ access_token?: string;
13581
+ /** Data format for response. */
13582
+ alt?: string;
13583
+ /** JSONP */
13584
+ callback?: string;
13585
+ /** Selector specifying which fields to include in a partial response. */
13586
+ fields?: string;
13587
+ /** Required. The name of the Identity Mapping Store to purge Identity Mapping Entries from. Format: `projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}` */
13588
+ identityMappingStore: string;
13589
+ /** 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. */
13590
+ key?: string;
13591
+ /** OAuth 2.0 token for the current user. */
13592
+ oauth_token?: string;
13593
+ /** Returns response with indentations and line breaks. */
13594
+ prettyPrint?: boolean;
13595
+ /** 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. */
13596
+ quotaUser?: string;
13597
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
13598
+ upload_protocol?: string;
13599
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13600
+ uploadType?: string;
13601
+ /** Request body */
13602
+ resource: GoogleCloudDiscoveryengineV1PurgeIdentityMappingsRequest;
13603
+ }): Request<GoogleLongrunningOperation>;
13604
+ purgeIdentityMappings(
13605
+ request: {
13606
+ /** V1 error format. */
13607
+ '$.xgafv'?: string;
13608
+ /** OAuth access token. */
13609
+ access_token?: string;
13610
+ /** Data format for response. */
13611
+ alt?: string;
13612
+ /** JSONP */
13613
+ callback?: string;
13614
+ /** Selector specifying which fields to include in a partial response. */
13615
+ fields?: string;
13616
+ /** Required. The name of the Identity Mapping Store to purge Identity Mapping Entries from. Format: `projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}` */
13617
+ identityMappingStore: string;
13618
+ /** 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. */
13619
+ key?: string;
13620
+ /** OAuth 2.0 token for the current user. */
13621
+ oauth_token?: string;
13622
+ /** Returns response with indentations and line breaks. */
13623
+ prettyPrint?: boolean;
13624
+ /** 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. */
13625
+ quotaUser?: string;
13626
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
13627
+ upload_protocol?: string;
13628
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13629
+ uploadType?: string;
13630
+ },
13631
+ body: GoogleCloudDiscoveryengineV1PurgeIdentityMappingsRequest,
13632
+ ): Request<GoogleLongrunningOperation>;
13271
13633
  operations: OperationsResource;
13272
13634
  }
13273
13635
  interface OperationsResource {
@@ -13389,7 +13751,7 @@ declare namespace gapi.client {
13389
13751
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13390
13752
  uploadType?: string;
13391
13753
  },
13392
- body: GoogleCloudDiscoveryengineV1RankRequest
13754
+ body: GoogleCloudDiscoveryengineV1RankRequest,
13393
13755
  ): Request<GoogleCloudDiscoveryengineV1RankResponse>;
13394
13756
  }
13395
13757
  interface UserEventsResource {
@@ -13482,7 +13844,7 @@ declare namespace gapi.client {
13482
13844
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13483
13845
  uploadType?: string;
13484
13846
  },
13485
- body: GoogleCloudDiscoveryengineV1ImportUserEventsRequest
13847
+ body: GoogleCloudDiscoveryengineV1ImportUserEventsRequest,
13486
13848
  ): Request<GoogleLongrunningOperation>;
13487
13849
  /** Writes a single user event. */
13488
13850
  write(request: {
@@ -13544,7 +13906,7 @@ declare namespace gapi.client {
13544
13906
  /** If set to true, the user event is written asynchronously after validation, and the API responds without waiting for the write. */
13545
13907
  writeAsync?: boolean;
13546
13908
  },
13547
- body: GoogleCloudDiscoveryengineV1UserEvent
13909
+ body: GoogleCloudDiscoveryengineV1UserEvent,
13548
13910
  ): Request<GoogleCloudDiscoveryengineV1UserEvent>;
13549
13911
  }
13550
13912
  interface LocationsResource {
@@ -13604,7 +13966,7 @@ declare namespace gapi.client {
13604
13966
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13605
13967
  uploadType?: string;
13606
13968
  },
13607
- body: GoogleCloudDiscoveryengineV1GenerateGroundedContentRequest
13969
+ body: GoogleCloudDiscoveryengineV1GenerateGroundedContentRequest,
13608
13970
  ): Request<GoogleCloudDiscoveryengineV1GenerateGroundedContentResponse>;
13609
13971
  collections: CollectionsResource;
13610
13972
  dataStores: DataStoresResource;
@@ -13671,7 +14033,7 @@ declare namespace gapi.client {
13671
14033
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13672
14034
  uploadType?: string;
13673
14035
  },
13674
- body: GoogleLongrunningCancelOperationRequest
14036
+ body: GoogleLongrunningCancelOperationRequest,
13675
14037
  ): Request<{}>;
13676
14038
  /** 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. */
13677
14039
  get(request?: {
@@ -13791,7 +14153,7 @@ declare namespace gapi.client {
13791
14153
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13792
14154
  uploadType?: string;
13793
14155
  },
13794
- body: GoogleCloudDiscoveryengineV1ProvisionProjectRequest
14156
+ body: GoogleCloudDiscoveryengineV1ProvisionProjectRequest,
13795
14157
  ): Request<GoogleLongrunningOperation>;
13796
14158
  locations: LocationsResource;
13797
14159
  operations: OperationsResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.discoveryengine-v1",
3
- "version": "0.0.20250125",
3
+ "version": "0.0.20250130",
4
4
  "description": "TypeScript typings for Discovery Engine API v1",
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