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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/index.d.ts +515 -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: 20250202
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 {
@@ -499,6 +499,24 @@ declare namespace gapi.client {
499
499
  filter?: string;
500
500
  /** Optional. Strength of the boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0 (No-op). */
501
501
  fixedBoost?: number;
502
+ /** Optional. Complex specification for custom ranking based on customer defined attribute value. */
503
+ interpolationBoostSpec?: GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpec;
504
+ }
505
+ interface GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpec {
506
+ /** Optional. The attribute type to be used to determine the boost amount. The attribute value can be derived from the field value of the specified field_name. In the case of numerical it is straightforward i.e. attribute_value = numerical_field_value. In the case of freshness however, attribute_value = (time.now() - datetime_field_value). */
507
+ attributeType?: string;
508
+ /** Optional. The control points used to define the curve. The monotonic function (defined through the interpolation_type above) passes through the control points listed here. */
509
+ controlPoints?: GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpecControlPoint[];
510
+ /** Optional. The name of the field whose value will be used to determine the boost amount. */
511
+ fieldName?: string;
512
+ /** Optional. The interpolation type to be applied to connect the control points listed below. */
513
+ interpolationType?: string;
514
+ }
515
+ interface GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpecControlPoint {
516
+ /** Optional. Can be one of: 1. The numerical field value. 2. The duration spec for freshness: The value must be formatted as an XSD `dayTimeDuration` value (a restricted subset of an ISO 8601 duration value). The pattern for this is: `nDnM]`. */
517
+ attributeValue?: string;
518
+ /** Optional. The value between -1 to 1 by which to boost the score if the attribute_value evaluates to the value specified above. */
519
+ boostAmount?: number;
502
520
  }
503
521
  interface GoogleCloudDiscoveryengineV1alphaControlFilterAction {
504
522
  /** Required. Specifies which data store's documents can be filtered by this control. Full data store name e.g. projects/123/locations/global/collections/default_collection/dataStores/default_data_store */
@@ -685,6 +703,12 @@ declare namespace gapi.client {
685
703
  /** 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
704
  userTriggeredCrawlRate?: GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries;
687
705
  }
706
+ interface GoogleCloudDiscoveryengineV1alphaDeleteCmekConfigMetadata {
707
+ /** Operation create time. */
708
+ createTime?: string;
709
+ /** Operation last update time. If the operation is done, this is also the finish time. */
710
+ updateTime?: string;
711
+ }
688
712
  interface GoogleCloudDiscoveryengineV1alphaDeleteCollectionMetadata {
689
713
  /** Operation create time. */
690
714
  createTime?: string;
@@ -2246,6 +2270,24 @@ declare namespace gapi.client {
2246
2270
  filter?: string;
2247
2271
  /** Optional. Strength of the boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0 (No-op). */
2248
2272
  fixedBoost?: number;
2273
+ /** Optional. Complex specification for custom ranking based on customer defined attribute value. */
2274
+ interpolationBoostSpec?: GoogleCloudDiscoveryengineV1betaControlBoostActionInterpolationBoostSpec;
2275
+ }
2276
+ interface GoogleCloudDiscoveryengineV1betaControlBoostActionInterpolationBoostSpec {
2277
+ /** Optional. The attribute type to be used to determine the boost amount. The attribute value can be derived from the field value of the specified field_name. In the case of numerical it is straightforward i.e. attribute_value = numerical_field_value. In the case of freshness however, attribute_value = (time.now() - datetime_field_value). */
2278
+ attributeType?: string;
2279
+ /** Optional. The control points used to define the curve. The monotonic function (defined through the interpolation_type above) passes through the control points listed here. */
2280
+ controlPoints?: GoogleCloudDiscoveryengineV1betaControlBoostActionInterpolationBoostSpecControlPoint[];
2281
+ /** Optional. The name of the field whose value will be used to determine the boost amount. */
2282
+ fieldName?: string;
2283
+ /** Optional. The interpolation type to be applied to connect the control points listed below. */
2284
+ interpolationType?: string;
2285
+ }
2286
+ interface GoogleCloudDiscoveryengineV1betaControlBoostActionInterpolationBoostSpecControlPoint {
2287
+ /** Optional. Can be one of: 1. The numerical field value. 2. The duration spec for freshness: The value must be formatted as an XSD `dayTimeDuration` value (a restricted subset of an ISO 8601 duration value). The pattern for this is: `nDnM]`. */
2288
+ attributeValue?: string;
2289
+ /** Optional. The value between -1 to 1 by which to boost the score if the attribute_value evaluates to the value specified above. */
2290
+ boostAmount?: number;
2249
2291
  }
2250
2292
  interface GoogleCloudDiscoveryengineV1betaControlFilterAction {
2251
2293
  /** Required. Specifies which data store's documents can be filtered by this control. Full data store name e.g. projects/123/locations/global/collections/default_collection/dataStores/default_data_store */
@@ -3185,11 +3227,11 @@ declare namespace gapi.client {
3185
3227
  citationIndices?: number[];
3186
3228
  /** Text for the claim in the answer candidate. Always provided regardless of whether citations or anti-citations are found. */
3187
3229
  claimText?: string;
3188
- /** Position indicating the end of the claim in the answer candidate, exclusive. */
3230
+ /** 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
3231
  endPos?: number;
3190
3232
  /** 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
3233
  groundingCheckRequired?: boolean;
3192
- /** Position indicating the start of the claim in the answer candidate, measured in bytes. */
3234
+ /** 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
3235
  startPos?: number;
3194
3236
  }
3195
3237
  interface GoogleCloudDiscoveryengineV1CheckGroundingSpec {
@@ -3351,6 +3393,24 @@ declare namespace gapi.client {
3351
3393
  filter?: string;
3352
3394
  /** Optional. Strength of the boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0 (No-op). */
3353
3395
  fixedBoost?: number;
3396
+ /** Optional. Complex specification for custom ranking based on customer defined attribute value. */
3397
+ interpolationBoostSpec?: GoogleCloudDiscoveryengineV1ControlBoostActionInterpolationBoostSpec;
3398
+ }
3399
+ interface GoogleCloudDiscoveryengineV1ControlBoostActionInterpolationBoostSpec {
3400
+ /** Optional. The attribute type to be used to determine the boost amount. The attribute value can be derived from the field value of the specified field_name. In the case of numerical it is straightforward i.e. attribute_value = numerical_field_value. In the case of freshness however, attribute_value = (time.now() - datetime_field_value). */
3401
+ attributeType?: string;
3402
+ /** Optional. The control points used to define the curve. The monotonic function (defined through the interpolation_type above) passes through the control points listed here. */
3403
+ controlPoints?: GoogleCloudDiscoveryengineV1ControlBoostActionInterpolationBoostSpecControlPoint[];
3404
+ /** Optional. The name of the field whose value will be used to determine the boost amount. */
3405
+ fieldName?: string;
3406
+ /** Optional. The interpolation type to be applied to connect the control points listed below. */
3407
+ interpolationType?: string;
3408
+ }
3409
+ interface GoogleCloudDiscoveryengineV1ControlBoostActionInterpolationBoostSpecControlPoint {
3410
+ /** Optional. Can be one of: 1. The numerical field value. 2. The duration spec for freshness: The value must be formatted as an XSD `dayTimeDuration` value (a restricted subset of an ISO 8601 duration value). The pattern for this is: `nDnM]`. */
3411
+ attributeValue?: string;
3412
+ /** Optional. The value between -1 to 1 by which to boost the score if the attribute_value evaluates to the value specified above. */
3413
+ boostAmount?: number;
3354
3414
  }
3355
3415
  interface GoogleCloudDiscoveryengineV1ControlFilterAction {
3356
3416
  /** Required. Specifies which data store's documents can be filtered by this control. Full data store name e.g. projects/123/locations/global/collections/default_collection/dataStores/default_data_store */
@@ -3534,6 +3594,12 @@ declare namespace gapi.client {
3534
3594
  /** If set true, the DataStore will not be available for serving search requests. */
3535
3595
  disabledForServing?: boolean;
3536
3596
  }
3597
+ interface GoogleCloudDiscoveryengineV1DeleteCmekConfigMetadata {
3598
+ /** Operation create time. */
3599
+ createTime?: string;
3600
+ /** Operation last update time. If the operation is done, this is also the finish time. */
3601
+ updateTime?: string;
3602
+ }
3537
3603
  interface GoogleCloudDiscoveryengineV1DeleteDataStoreMetadata {
3538
3604
  /** Operation create time. */
3539
3605
  createTime?: string;
@@ -3924,6 +3990,14 @@ declare namespace gapi.client {
3924
3990
  /** 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
3991
  enableStaticIndexingForBatchIngestion?: boolean;
3926
3992
  }
3993
+ interface GoogleCloudDiscoveryengineV1IdentityMappingEntry {
3994
+ /** Required. Identity outside the customer identity provider. The length limit of external identity will be of 100 characters. */
3995
+ externalIdentity?: string;
3996
+ /** 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. */
3997
+ groupId?: string;
3998
+ /** 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. */
3999
+ userId?: string;
4000
+ }
3927
4001
  interface GoogleCloudDiscoveryengineV1IdentityMappingEntryOperationMetadata {
3928
4002
  /** The number of IdentityMappingEntries that failed to be processed. */
3929
4003
  failureCount?: string;
@@ -3932,6 +4006,14 @@ declare namespace gapi.client {
3932
4006
  /** The total number of IdentityMappingEntries that were processed. */
3933
4007
  totalCount?: string;
3934
4008
  }
4009
+ interface GoogleCloudDiscoveryengineV1IdentityMappingStore {
4010
+ /** Output only. CMEK-related information for the Identity Mapping Store. */
4011
+ cmekConfig?: GoogleCloudDiscoveryengineV1CmekConfig;
4012
+ /** 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. */
4013
+ kmsKeyName?: string;
4014
+ /** 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. */
4015
+ name?: string;
4016
+ }
3935
4017
  interface GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsMetadata {
3936
4018
  /** Operation create time. */
3937
4019
  createTime?: string;
@@ -4020,6 +4102,14 @@ declare namespace gapi.client {
4020
4102
  /** 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
4103
  gcsPrefix?: string;
4022
4104
  }
4105
+ interface GoogleCloudDiscoveryengineV1ImportIdentityMappingsRequest {
4106
+ /** The inline source to import identity mapping entries from. */
4107
+ inlineSource?: GoogleCloudDiscoveryengineV1ImportIdentityMappingsRequestInlineSource;
4108
+ }
4109
+ interface GoogleCloudDiscoveryengineV1ImportIdentityMappingsRequestInlineSource {
4110
+ /** A maximum of 10000 entries can be imported at one time */
4111
+ identityMappingEntries?: GoogleCloudDiscoveryengineV1IdentityMappingEntry[];
4112
+ }
4023
4113
  interface GoogleCloudDiscoveryengineV1ImportIdentityMappingsResponse {
4024
4114
  /** A sample of errors encountered while processing the request. */
4025
4115
  errorSamples?: GoogleRpcStatus[];
@@ -4126,6 +4216,18 @@ declare namespace gapi.client {
4126
4216
  /** Not supported. */
4127
4217
  nextPageToken?: string;
4128
4218
  }
4219
+ interface GoogleCloudDiscoveryengineV1ListIdentityMappingsResponse {
4220
+ /** The Identity Mapping Entries. */
4221
+ identityMappingEntries?: GoogleCloudDiscoveryengineV1IdentityMappingEntry[];
4222
+ /** A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
4223
+ nextPageToken?: string;
4224
+ }
4225
+ interface GoogleCloudDiscoveryengineV1ListIdentityMappingStoresResponse {
4226
+ /** The Identity Mapping Stores. */
4227
+ identityMappingStores?: GoogleCloudDiscoveryengineV1IdentityMappingStore[];
4228
+ /** A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
4229
+ nextPageToken?: string;
4230
+ }
4129
4231
  interface GoogleCloudDiscoveryengineV1ListSchemasResponse {
4130
4232
  /** 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
4233
  nextPageToken?: string;
@@ -4256,6 +4358,18 @@ declare namespace gapi.client {
4256
4358
  /** 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
4359
  gcsPrefix?: string;
4258
4360
  }
4361
+ interface GoogleCloudDiscoveryengineV1PurgeIdentityMappingsRequest {
4362
+ /** 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. */
4363
+ filter?: string;
4364
+ /** 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. */
4365
+ force?: boolean;
4366
+ /** The inline source to purge identity mapping entries from. */
4367
+ inlineSource?: GoogleCloudDiscoveryengineV1PurgeIdentityMappingsRequestInlineSource;
4368
+ }
4369
+ interface GoogleCloudDiscoveryengineV1PurgeIdentityMappingsRequestInlineSource {
4370
+ /** A maximum of 10000 entries can be purged at one time */
4371
+ identityMappingEntries?: GoogleCloudDiscoveryengineV1IdentityMappingEntry[];
4372
+ }
4259
4373
  interface GoogleCloudDiscoveryengineV1PurgeSuggestionDenyListEntriesMetadata {
4260
4374
  /** Operation create time. */
4261
4375
  createTime?: string;
@@ -5227,7 +5341,7 @@ declare namespace gapi.client {
5227
5341
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5228
5342
  uploadType?: string;
5229
5343
  },
5230
- body: GoogleCloudDiscoveryengineV1Document
5344
+ body: GoogleCloudDiscoveryengineV1Document,
5231
5345
  ): Request<GoogleCloudDiscoveryengineV1Document>;
5232
5346
  /** Deletes a Document. */
5233
5347
  delete(request?: {
@@ -5339,7 +5453,7 @@ declare namespace gapi.client {
5339
5453
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5340
5454
  uploadType?: string;
5341
5455
  },
5342
- body: GoogleCloudDiscoveryengineV1ImportDocumentsRequest
5456
+ body: GoogleCloudDiscoveryengineV1ImportDocumentsRequest,
5343
5457
  ): Request<GoogleLongrunningOperation>;
5344
5458
  /** Gets a list of Documents. */
5345
5459
  list(request?: {
@@ -5436,7 +5550,7 @@ declare namespace gapi.client {
5436
5550
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5437
5551
  uploadType?: string;
5438
5552
  },
5439
- body: GoogleCloudDiscoveryengineV1Document
5553
+ body: GoogleCloudDiscoveryengineV1Document,
5440
5554
  ): Request<GoogleCloudDiscoveryengineV1Document>;
5441
5555
  /** 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
5556
  purge(request: {
@@ -5494,7 +5608,7 @@ declare namespace gapi.client {
5494
5608
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5495
5609
  uploadType?: string;
5496
5610
  },
5497
- body: GoogleCloudDiscoveryengineV1PurgeDocumentsRequest
5611
+ body: GoogleCloudDiscoveryengineV1PurgeDocumentsRequest,
5498
5612
  ): Request<GoogleLongrunningOperation>;
5499
5613
  }
5500
5614
  interface OperationsResource {
@@ -5554,7 +5668,7 @@ declare namespace gapi.client {
5554
5668
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5555
5669
  uploadType?: string;
5556
5670
  },
5557
- body: GoogleLongrunningCancelOperationRequest
5671
+ body: GoogleLongrunningCancelOperationRequest,
5558
5672
  ): Request<{}>;
5559
5673
  /** 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
5674
  get(request?: {
@@ -5709,7 +5823,7 @@ declare namespace gapi.client {
5709
5823
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5710
5824
  uploadType?: string;
5711
5825
  },
5712
- body: GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsRequest
5826
+ body: GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsRequest,
5713
5827
  ): Request<GoogleLongrunningOperation>;
5714
5828
  /** Permanently deletes all CompletionSuggestions for a DataStore. */
5715
5829
  purge(request: {
@@ -5767,7 +5881,7 @@ declare namespace gapi.client {
5767
5881
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5768
5882
  uploadType?: string;
5769
5883
  },
5770
- body: GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsRequest
5884
+ body: GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsRequest,
5771
5885
  ): Request<GoogleLongrunningOperation>;
5772
5886
  }
5773
5887
  interface ControlsResource {
@@ -5831,7 +5945,7 @@ declare namespace gapi.client {
5831
5945
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5832
5946
  uploadType?: string;
5833
5947
  },
5834
- body: GoogleCloudDiscoveryengineV1Control
5948
+ body: GoogleCloudDiscoveryengineV1Control,
5835
5949
  ): Request<GoogleCloudDiscoveryengineV1Control>;
5836
5950
  /** Deletes a Control. If the Control to delete does not exist, a NOT_FOUND error is returned. */
5837
5951
  delete(request?: {
@@ -5980,7 +6094,7 @@ declare namespace gapi.client {
5980
6094
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5981
6095
  uploadType?: string;
5982
6096
  },
5983
- body: GoogleCloudDiscoveryengineV1Control
6097
+ body: GoogleCloudDiscoveryengineV1Control,
5984
6098
  ): Request<GoogleCloudDiscoveryengineV1Control>;
5985
6099
  }
5986
6100
  interface ConversationsResource {
@@ -6040,7 +6154,7 @@ declare namespace gapi.client {
6040
6154
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6041
6155
  uploadType?: string;
6042
6156
  },
6043
- body: GoogleCloudDiscoveryengineV1ConverseConversationRequest
6157
+ body: GoogleCloudDiscoveryengineV1ConverseConversationRequest,
6044
6158
  ): Request<GoogleCloudDiscoveryengineV1ConverseConversationResponse>;
6045
6159
  /** Creates a Conversation. If the Conversation to create already exists, an ALREADY_EXISTS error is returned. */
6046
6160
  create(request: {
@@ -6098,7 +6212,7 @@ declare namespace gapi.client {
6098
6212
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6099
6213
  uploadType?: string;
6100
6214
  },
6101
- body: GoogleCloudDiscoveryengineV1Conversation
6215
+ body: GoogleCloudDiscoveryengineV1Conversation,
6102
6216
  ): Request<GoogleCloudDiscoveryengineV1Conversation>;
6103
6217
  /** Deletes a Conversation. If the Conversation to delete does not exist, a NOT_FOUND error is returned. */
6104
6218
  delete(request?: {
@@ -6249,7 +6363,7 @@ declare namespace gapi.client {
6249
6363
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6250
6364
  uploadType?: string;
6251
6365
  },
6252
- body: GoogleCloudDiscoveryengineV1Conversation
6366
+ body: GoogleCloudDiscoveryengineV1Conversation,
6253
6367
  ): Request<GoogleCloudDiscoveryengineV1Conversation>;
6254
6368
  }
6255
6369
  interface CustomModelsResource {
@@ -6531,7 +6645,7 @@ declare namespace gapi.client {
6531
6645
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6532
6646
  uploadType?: string;
6533
6647
  },
6534
- body: GoogleCloudDiscoveryengineV1Schema
6648
+ body: GoogleCloudDiscoveryengineV1Schema,
6535
6649
  ): Request<GoogleLongrunningOperation>;
6536
6650
  /** Deletes a Schema. */
6537
6651
  delete(request?: {
@@ -6678,7 +6792,7 @@ declare namespace gapi.client {
6678
6792
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6679
6793
  uploadType?: string;
6680
6794
  },
6681
- body: GoogleCloudDiscoveryengineV1Schema
6795
+ body: GoogleCloudDiscoveryengineV1Schema,
6682
6796
  ): Request<GoogleLongrunningOperation>;
6683
6797
  operations: OperationsResource;
6684
6798
  }
@@ -6739,7 +6853,7 @@ declare namespace gapi.client {
6739
6853
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6740
6854
  uploadType?: string;
6741
6855
  },
6742
- body: GoogleCloudDiscoveryengineV1AnswerQueryRequest
6856
+ body: GoogleCloudDiscoveryengineV1AnswerQueryRequest,
6743
6857
  ): Request<GoogleCloudDiscoveryengineV1AnswerQueryResponse>;
6744
6858
  /** Updates a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does not exist. */
6745
6859
  patch(request: {
@@ -6801,7 +6915,7 @@ declare namespace gapi.client {
6801
6915
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6802
6916
  uploadType?: string;
6803
6917
  },
6804
- body: GoogleCloudDiscoveryengineV1ServingConfig
6918
+ body: GoogleCloudDiscoveryengineV1ServingConfig,
6805
6919
  ): Request<GoogleCloudDiscoveryengineV1ServingConfig>;
6806
6920
  /** Makes a recommendation, which requires a contextual user event. */
6807
6921
  recommend(request: {
@@ -6859,7 +6973,7 @@ declare namespace gapi.client {
6859
6973
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6860
6974
  uploadType?: string;
6861
6975
  },
6862
- body: GoogleCloudDiscoveryengineV1RecommendRequest
6976
+ body: GoogleCloudDiscoveryengineV1RecommendRequest,
6863
6977
  ): Request<GoogleCloudDiscoveryengineV1RecommendResponse>;
6864
6978
  /** Performs a search. */
6865
6979
  search(request: {
@@ -6917,7 +7031,7 @@ declare namespace gapi.client {
6917
7031
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6918
7032
  uploadType?: string;
6919
7033
  },
6920
- body: GoogleCloudDiscoveryengineV1SearchRequest
7034
+ body: GoogleCloudDiscoveryengineV1SearchRequest,
6921
7035
  ): Request<GoogleCloudDiscoveryengineV1SearchResponse>;
6922
7036
  /** 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
7037
  searchLite(request: {
@@ -6975,7 +7089,7 @@ declare namespace gapi.client {
6975
7089
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6976
7090
  uploadType?: string;
6977
7091
  },
6978
- body: GoogleCloudDiscoveryengineV1SearchRequest
7092
+ body: GoogleCloudDiscoveryengineV1SearchRequest,
6979
7093
  ): Request<GoogleCloudDiscoveryengineV1SearchResponse>;
6980
7094
  /** Answer query method (streaming). It takes one AnswerQueryRequest and returns multiple AnswerQueryResponse messages in a stream. */
6981
7095
  streamAnswer(request: {
@@ -7033,7 +7147,7 @@ declare namespace gapi.client {
7033
7147
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7034
7148
  uploadType?: string;
7035
7149
  },
7036
- body: GoogleCloudDiscoveryengineV1AnswerQueryRequest
7150
+ body: GoogleCloudDiscoveryengineV1AnswerQueryRequest,
7037
7151
  ): Request<GoogleCloudDiscoveryengineV1AnswerQueryResponse>;
7038
7152
  }
7039
7153
  interface AnswersResource {
@@ -7122,7 +7236,7 @@ declare namespace gapi.client {
7122
7236
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7123
7237
  uploadType?: string;
7124
7238
  },
7125
- body: GoogleCloudDiscoveryengineV1Session
7239
+ body: GoogleCloudDiscoveryengineV1Session,
7126
7240
  ): Request<GoogleCloudDiscoveryengineV1Session>;
7127
7241
  /** Deletes a Session. If the Session to delete does not exist, a NOT_FOUND error is returned. */
7128
7242
  delete(request?: {
@@ -7275,7 +7389,7 @@ declare namespace gapi.client {
7275
7389
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7276
7390
  uploadType?: string;
7277
7391
  },
7278
- body: GoogleCloudDiscoveryengineV1Session
7392
+ body: GoogleCloudDiscoveryengineV1Session,
7279
7393
  ): Request<GoogleCloudDiscoveryengineV1Session>;
7280
7394
  answers: AnswersResource;
7281
7395
  }
@@ -7460,7 +7574,7 @@ declare namespace gapi.client {
7460
7574
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7461
7575
  uploadType?: string;
7462
7576
  },
7463
- body: GoogleCloudDiscoveryengineV1BatchCreateTargetSitesRequest
7577
+ body: GoogleCloudDiscoveryengineV1BatchCreateTargetSitesRequest,
7464
7578
  ): Request<GoogleLongrunningOperation>;
7465
7579
  /** Creates a TargetSite. */
7466
7580
  create(request: {
@@ -7518,7 +7632,7 @@ declare namespace gapi.client {
7518
7632
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7519
7633
  uploadType?: string;
7520
7634
  },
7521
- body: GoogleCloudDiscoveryengineV1TargetSite
7635
+ body: GoogleCloudDiscoveryengineV1TargetSite,
7522
7636
  ): Request<GoogleLongrunningOperation>;
7523
7637
  /** Deletes a TargetSite. */
7524
7638
  delete(request?: {
@@ -7661,7 +7775,7 @@ declare namespace gapi.client {
7661
7775
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7662
7776
  uploadType?: string;
7663
7777
  },
7664
- body: GoogleCloudDiscoveryengineV1TargetSite
7778
+ body: GoogleCloudDiscoveryengineV1TargetSite,
7665
7779
  ): Request<GoogleLongrunningOperation>;
7666
7780
  operations: OperationsResource;
7667
7781
  }
@@ -7722,7 +7836,7 @@ declare namespace gapi.client {
7722
7836
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7723
7837
  uploadType?: string;
7724
7838
  },
7725
- body: GoogleCloudDiscoveryengineV1BatchVerifyTargetSitesRequest
7839
+ body: GoogleCloudDiscoveryengineV1BatchVerifyTargetSitesRequest,
7726
7840
  ): Request<GoogleLongrunningOperation>;
7727
7841
  /** Downgrade from advanced site search to basic site search. */
7728
7842
  disableAdvancedSiteSearch(request: {
@@ -7780,7 +7894,7 @@ declare namespace gapi.client {
7780
7894
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7781
7895
  uploadType?: string;
7782
7896
  },
7783
- body: GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchRequest
7897
+ body: GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchRequest,
7784
7898
  ): Request<GoogleLongrunningOperation>;
7785
7899
  /** Upgrade from basic site search to advanced site search. */
7786
7900
  enableAdvancedSiteSearch(request: {
@@ -7838,7 +7952,7 @@ declare namespace gapi.client {
7838
7952
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7839
7953
  uploadType?: string;
7840
7954
  },
7841
- body: GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchRequest
7955
+ body: GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchRequest,
7842
7956
  ): Request<GoogleLongrunningOperation>;
7843
7957
  /** 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
7958
  fetchDomainVerificationStatus(request?: {
@@ -7927,7 +8041,7 @@ declare namespace gapi.client {
7927
8041
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7928
8042
  uploadType?: string;
7929
8043
  },
7930
- body: GoogleCloudDiscoveryengineV1RecrawlUrisRequest
8044
+ body: GoogleCloudDiscoveryengineV1RecrawlUrisRequest,
7931
8045
  ): Request<GoogleLongrunningOperation>;
7932
8046
  operations: OperationsResource;
7933
8047
  targetSites: TargetSitesResource;
@@ -7989,7 +8103,7 @@ declare namespace gapi.client {
7989
8103
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7990
8104
  uploadType?: string;
7991
8105
  },
7992
- body: GoogleCloudDiscoveryengineV1ImportSuggestionDenyListEntriesRequest
8106
+ body: GoogleCloudDiscoveryengineV1ImportSuggestionDenyListEntriesRequest,
7993
8107
  ): Request<GoogleLongrunningOperation>;
7994
8108
  /** Permanently deletes all SuggestionDenyListEntry for a DataStore. */
7995
8109
  purge(request: {
@@ -8047,7 +8161,7 @@ declare namespace gapi.client {
8047
8161
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8048
8162
  uploadType?: string;
8049
8163
  },
8050
- body: GoogleCloudDiscoveryengineV1PurgeSuggestionDenyListEntriesRequest
8164
+ body: GoogleCloudDiscoveryengineV1PurgeSuggestionDenyListEntriesRequest,
8051
8165
  ): Request<GoogleLongrunningOperation>;
8052
8166
  }
8053
8167
  interface UserEventsResource {
@@ -8140,7 +8254,7 @@ declare namespace gapi.client {
8140
8254
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8141
8255
  uploadType?: string;
8142
8256
  },
8143
- body: GoogleCloudDiscoveryengineV1ImportUserEventsRequest
8257
+ body: GoogleCloudDiscoveryengineV1ImportUserEventsRequest,
8144
8258
  ): Request<GoogleLongrunningOperation>;
8145
8259
  /** 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
8260
  purge(request: {
@@ -8198,7 +8312,7 @@ declare namespace gapi.client {
8198
8312
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8199
8313
  uploadType?: string;
8200
8314
  },
8201
- body: GoogleCloudDiscoveryengineV1PurgeUserEventsRequest
8315
+ body: GoogleCloudDiscoveryengineV1PurgeUserEventsRequest,
8202
8316
  ): Request<GoogleLongrunningOperation>;
8203
8317
  /** Writes a single user event. */
8204
8318
  write(request: {
@@ -8260,7 +8374,7 @@ declare namespace gapi.client {
8260
8374
  /** If set to true, the user event is written asynchronously after validation, and the API responds without waiting for the write. */
8261
8375
  writeAsync?: boolean;
8262
8376
  },
8263
- body: GoogleCloudDiscoveryengineV1UserEvent
8377
+ body: GoogleCloudDiscoveryengineV1UserEvent,
8264
8378
  ): Request<GoogleCloudDiscoveryengineV1UserEvent>;
8265
8379
  }
8266
8380
  interface DataStoresResource {
@@ -8375,7 +8489,7 @@ declare namespace gapi.client {
8375
8489
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8376
8490
  uploadType?: string;
8377
8491
  },
8378
- body: GoogleCloudDiscoveryengineV1DataStore
8492
+ body: GoogleCloudDiscoveryengineV1DataStore,
8379
8493
  ): Request<GoogleLongrunningOperation>;
8380
8494
  /** Deletes a DataStore. */
8381
8495
  delete(request?: {
@@ -8551,7 +8665,7 @@ declare namespace gapi.client {
8551
8665
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8552
8666
  uploadType?: string;
8553
8667
  },
8554
- body: GoogleCloudDiscoveryengineV1DataStore
8668
+ body: GoogleCloudDiscoveryengineV1DataStore,
8555
8669
  ): Request<GoogleCloudDiscoveryengineV1DataStore>;
8556
8670
  /** Trains a custom model. */
8557
8671
  trainCustomModel(request: {
@@ -8609,7 +8723,7 @@ declare namespace gapi.client {
8609
8723
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8610
8724
  uploadType?: string;
8611
8725
  },
8612
- body: GoogleCloudDiscoveryengineV1TrainCustomModelRequest
8726
+ body: GoogleCloudDiscoveryengineV1TrainCustomModelRequest,
8613
8727
  ): Request<GoogleLongrunningOperation>;
8614
8728
  branches: BranchesResource;
8615
8729
  completionSuggestions: CompletionSuggestionsResource;
@@ -8686,7 +8800,7 @@ declare namespace gapi.client {
8686
8800
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8687
8801
  uploadType?: string;
8688
8802
  },
8689
- body: GoogleCloudDiscoveryengineV1Control
8803
+ body: GoogleCloudDiscoveryengineV1Control,
8690
8804
  ): Request<GoogleCloudDiscoveryengineV1Control>;
8691
8805
  /** Deletes a Control. If the Control to delete does not exist, a NOT_FOUND error is returned. */
8692
8806
  delete(request?: {
@@ -8835,7 +8949,7 @@ declare namespace gapi.client {
8835
8949
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8836
8950
  uploadType?: string;
8837
8951
  },
8838
- body: GoogleCloudDiscoveryengineV1Control
8952
+ body: GoogleCloudDiscoveryengineV1Control,
8839
8953
  ): Request<GoogleCloudDiscoveryengineV1Control>;
8840
8954
  }
8841
8955
  interface ConversationsResource {
@@ -8895,7 +9009,7 @@ declare namespace gapi.client {
8895
9009
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8896
9010
  uploadType?: string;
8897
9011
  },
8898
- body: GoogleCloudDiscoveryengineV1ConverseConversationRequest
9012
+ body: GoogleCloudDiscoveryengineV1ConverseConversationRequest,
8899
9013
  ): Request<GoogleCloudDiscoveryengineV1ConverseConversationResponse>;
8900
9014
  /** Creates a Conversation. If the Conversation to create already exists, an ALREADY_EXISTS error is returned. */
8901
9015
  create(request: {
@@ -8953,7 +9067,7 @@ declare namespace gapi.client {
8953
9067
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8954
9068
  uploadType?: string;
8955
9069
  },
8956
- body: GoogleCloudDiscoveryengineV1Conversation
9070
+ body: GoogleCloudDiscoveryengineV1Conversation,
8957
9071
  ): Request<GoogleCloudDiscoveryengineV1Conversation>;
8958
9072
  /** Deletes a Conversation. If the Conversation to delete does not exist, a NOT_FOUND error is returned. */
8959
9073
  delete(request?: {
@@ -9104,7 +9218,7 @@ declare namespace gapi.client {
9104
9218
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9105
9219
  uploadType?: string;
9106
9220
  },
9107
- body: GoogleCloudDiscoveryengineV1Conversation
9221
+ body: GoogleCloudDiscoveryengineV1Conversation,
9108
9222
  ): Request<GoogleCloudDiscoveryengineV1Conversation>;
9109
9223
  }
9110
9224
  interface OperationsResource {
@@ -9226,7 +9340,7 @@ declare namespace gapi.client {
9226
9340
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9227
9341
  uploadType?: string;
9228
9342
  },
9229
- body: GoogleCloudDiscoveryengineV1AnswerQueryRequest
9343
+ body: GoogleCloudDiscoveryengineV1AnswerQueryRequest,
9230
9344
  ): Request<GoogleCloudDiscoveryengineV1AnswerQueryResponse>;
9231
9345
  /** Updates a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does not exist. */
9232
9346
  patch(request: {
@@ -9288,7 +9402,7 @@ declare namespace gapi.client {
9288
9402
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9289
9403
  uploadType?: string;
9290
9404
  },
9291
- body: GoogleCloudDiscoveryengineV1ServingConfig
9405
+ body: GoogleCloudDiscoveryengineV1ServingConfig,
9292
9406
  ): Request<GoogleCloudDiscoveryengineV1ServingConfig>;
9293
9407
  /** Makes a recommendation, which requires a contextual user event. */
9294
9408
  recommend(request: {
@@ -9346,7 +9460,7 @@ declare namespace gapi.client {
9346
9460
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9347
9461
  uploadType?: string;
9348
9462
  },
9349
- body: GoogleCloudDiscoveryengineV1RecommendRequest
9463
+ body: GoogleCloudDiscoveryengineV1RecommendRequest,
9350
9464
  ): Request<GoogleCloudDiscoveryengineV1RecommendResponse>;
9351
9465
  /** Performs a search. */
9352
9466
  search(request: {
@@ -9404,7 +9518,7 @@ declare namespace gapi.client {
9404
9518
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9405
9519
  uploadType?: string;
9406
9520
  },
9407
- body: GoogleCloudDiscoveryengineV1SearchRequest
9521
+ body: GoogleCloudDiscoveryengineV1SearchRequest,
9408
9522
  ): Request<GoogleCloudDiscoveryengineV1SearchResponse>;
9409
9523
  /** 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
9524
  searchLite(request: {
@@ -9462,7 +9576,7 @@ declare namespace gapi.client {
9462
9576
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9463
9577
  uploadType?: string;
9464
9578
  },
9465
- body: GoogleCloudDiscoveryengineV1SearchRequest
9579
+ body: GoogleCloudDiscoveryengineV1SearchRequest,
9466
9580
  ): Request<GoogleCloudDiscoveryengineV1SearchResponse>;
9467
9581
  /** Answer query method (streaming). It takes one AnswerQueryRequest and returns multiple AnswerQueryResponse messages in a stream. */
9468
9582
  streamAnswer(request: {
@@ -9520,7 +9634,7 @@ declare namespace gapi.client {
9520
9634
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9521
9635
  uploadType?: string;
9522
9636
  },
9523
- body: GoogleCloudDiscoveryengineV1AnswerQueryRequest
9637
+ body: GoogleCloudDiscoveryengineV1AnswerQueryRequest,
9524
9638
  ): Request<GoogleCloudDiscoveryengineV1AnswerQueryResponse>;
9525
9639
  }
9526
9640
  interface AnswersResource {
@@ -9609,7 +9723,7 @@ declare namespace gapi.client {
9609
9723
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9610
9724
  uploadType?: string;
9611
9725
  },
9612
- body: GoogleCloudDiscoveryengineV1Session
9726
+ body: GoogleCloudDiscoveryengineV1Session,
9613
9727
  ): Request<GoogleCloudDiscoveryengineV1Session>;
9614
9728
  /** Deletes a Session. If the Session to delete does not exist, a NOT_FOUND error is returned. */
9615
9729
  delete(request?: {
@@ -9762,7 +9876,7 @@ declare namespace gapi.client {
9762
9876
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9763
9877
  uploadType?: string;
9764
9878
  },
9765
- body: GoogleCloudDiscoveryengineV1Session
9879
+ body: GoogleCloudDiscoveryengineV1Session,
9766
9880
  ): Request<GoogleCloudDiscoveryengineV1Session>;
9767
9881
  answers: AnswersResource;
9768
9882
  }
@@ -9827,7 +9941,7 @@ declare namespace gapi.client {
9827
9941
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9828
9942
  uploadType?: string;
9829
9943
  },
9830
- body: GoogleCloudDiscoveryengineV1Engine
9944
+ body: GoogleCloudDiscoveryengineV1Engine,
9831
9945
  ): Request<GoogleLongrunningOperation>;
9832
9946
  /** Deletes a Engine. */
9833
9947
  delete(request?: {
@@ -9976,7 +10090,7 @@ declare namespace gapi.client {
9976
10090
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9977
10091
  uploadType?: string;
9978
10092
  },
9979
- body: GoogleCloudDiscoveryengineV1Engine
10093
+ body: GoogleCloudDiscoveryengineV1Engine,
9980
10094
  ): Request<GoogleCloudDiscoveryengineV1Engine>;
9981
10095
  controls: ControlsResource;
9982
10096
  conversations: ConversationsResource;
@@ -10113,7 +10227,7 @@ declare namespace gapi.client {
10113
10227
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10114
10228
  uploadType?: string;
10115
10229
  },
10116
- body: GoogleCloudDiscoveryengineV1Document
10230
+ body: GoogleCloudDiscoveryengineV1Document,
10117
10231
  ): Request<GoogleCloudDiscoveryengineV1Document>;
10118
10232
  /** Deletes a Document. */
10119
10233
  delete(request?: {
@@ -10225,7 +10339,7 @@ declare namespace gapi.client {
10225
10339
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10226
10340
  uploadType?: string;
10227
10341
  },
10228
- body: GoogleCloudDiscoveryengineV1ImportDocumentsRequest
10342
+ body: GoogleCloudDiscoveryengineV1ImportDocumentsRequest,
10229
10343
  ): Request<GoogleLongrunningOperation>;
10230
10344
  /** Gets a list of Documents. */
10231
10345
  list(request?: {
@@ -10322,7 +10436,7 @@ declare namespace gapi.client {
10322
10436
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10323
10437
  uploadType?: string;
10324
10438
  },
10325
- body: GoogleCloudDiscoveryengineV1Document
10439
+ body: GoogleCloudDiscoveryengineV1Document,
10326
10440
  ): Request<GoogleCloudDiscoveryengineV1Document>;
10327
10441
  /** 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
10442
  purge(request: {
@@ -10380,7 +10494,7 @@ declare namespace gapi.client {
10380
10494
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10381
10495
  uploadType?: string;
10382
10496
  },
10383
- body: GoogleCloudDiscoveryengineV1PurgeDocumentsRequest
10497
+ body: GoogleCloudDiscoveryengineV1PurgeDocumentsRequest,
10384
10498
  ): Request<GoogleLongrunningOperation>;
10385
10499
  }
10386
10500
  interface OperationsResource {
@@ -10440,7 +10554,7 @@ declare namespace gapi.client {
10440
10554
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10441
10555
  uploadType?: string;
10442
10556
  },
10443
- body: GoogleLongrunningCancelOperationRequest
10557
+ body: GoogleLongrunningCancelOperationRequest,
10444
10558
  ): Request<{}>;
10445
10559
  /** 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
10560
  get(request?: {
@@ -10595,7 +10709,7 @@ declare namespace gapi.client {
10595
10709
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10596
10710
  uploadType?: string;
10597
10711
  },
10598
- body: GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsRequest
10712
+ body: GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsRequest,
10599
10713
  ): Request<GoogleLongrunningOperation>;
10600
10714
  /** Permanently deletes all CompletionSuggestions for a DataStore. */
10601
10715
  purge(request: {
@@ -10653,7 +10767,7 @@ declare namespace gapi.client {
10653
10767
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10654
10768
  uploadType?: string;
10655
10769
  },
10656
- body: GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsRequest
10770
+ body: GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsRequest,
10657
10771
  ): Request<GoogleLongrunningOperation>;
10658
10772
  }
10659
10773
  interface ControlsResource {
@@ -10717,7 +10831,7 @@ declare namespace gapi.client {
10717
10831
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10718
10832
  uploadType?: string;
10719
10833
  },
10720
- body: GoogleCloudDiscoveryengineV1Control
10834
+ body: GoogleCloudDiscoveryengineV1Control,
10721
10835
  ): Request<GoogleCloudDiscoveryengineV1Control>;
10722
10836
  /** Deletes a Control. If the Control to delete does not exist, a NOT_FOUND error is returned. */
10723
10837
  delete(request?: {
@@ -10866,7 +10980,7 @@ declare namespace gapi.client {
10866
10980
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10867
10981
  uploadType?: string;
10868
10982
  },
10869
- body: GoogleCloudDiscoveryengineV1Control
10983
+ body: GoogleCloudDiscoveryengineV1Control,
10870
10984
  ): Request<GoogleCloudDiscoveryengineV1Control>;
10871
10985
  }
10872
10986
  interface ConversationsResource {
@@ -10926,7 +11040,7 @@ declare namespace gapi.client {
10926
11040
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10927
11041
  uploadType?: string;
10928
11042
  },
10929
- body: GoogleCloudDiscoveryengineV1ConverseConversationRequest
11043
+ body: GoogleCloudDiscoveryengineV1ConverseConversationRequest,
10930
11044
  ): Request<GoogleCloudDiscoveryengineV1ConverseConversationResponse>;
10931
11045
  /** Creates a Conversation. If the Conversation to create already exists, an ALREADY_EXISTS error is returned. */
10932
11046
  create(request: {
@@ -10984,7 +11098,7 @@ declare namespace gapi.client {
10984
11098
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10985
11099
  uploadType?: string;
10986
11100
  },
10987
- body: GoogleCloudDiscoveryengineV1Conversation
11101
+ body: GoogleCloudDiscoveryengineV1Conversation,
10988
11102
  ): Request<GoogleCloudDiscoveryengineV1Conversation>;
10989
11103
  /** Deletes a Conversation. If the Conversation to delete does not exist, a NOT_FOUND error is returned. */
10990
11104
  delete(request?: {
@@ -11135,7 +11249,7 @@ declare namespace gapi.client {
11135
11249
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11136
11250
  uploadType?: string;
11137
11251
  },
11138
- body: GoogleCloudDiscoveryengineV1Conversation
11252
+ body: GoogleCloudDiscoveryengineV1Conversation,
11139
11253
  ): Request<GoogleCloudDiscoveryengineV1Conversation>;
11140
11254
  }
11141
11255
  interface OperationsResource {
@@ -11326,7 +11440,7 @@ declare namespace gapi.client {
11326
11440
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11327
11441
  uploadType?: string;
11328
11442
  },
11329
- body: GoogleCloudDiscoveryengineV1Schema
11443
+ body: GoogleCloudDiscoveryengineV1Schema,
11330
11444
  ): Request<GoogleLongrunningOperation>;
11331
11445
  /** Deletes a Schema. */
11332
11446
  delete(request?: {
@@ -11473,7 +11587,7 @@ declare namespace gapi.client {
11473
11587
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11474
11588
  uploadType?: string;
11475
11589
  },
11476
- body: GoogleCloudDiscoveryengineV1Schema
11590
+ body: GoogleCloudDiscoveryengineV1Schema,
11477
11591
  ): Request<GoogleLongrunningOperation>;
11478
11592
  }
11479
11593
  interface ServingConfigsResource {
@@ -11533,7 +11647,7 @@ declare namespace gapi.client {
11533
11647
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11534
11648
  uploadType?: string;
11535
11649
  },
11536
- body: GoogleCloudDiscoveryengineV1AnswerQueryRequest
11650
+ body: GoogleCloudDiscoveryengineV1AnswerQueryRequest,
11537
11651
  ): Request<GoogleCloudDiscoveryengineV1AnswerQueryResponse>;
11538
11652
  /** Updates a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does not exist. */
11539
11653
  patch(request: {
@@ -11595,7 +11709,7 @@ declare namespace gapi.client {
11595
11709
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11596
11710
  uploadType?: string;
11597
11711
  },
11598
- body: GoogleCloudDiscoveryengineV1ServingConfig
11712
+ body: GoogleCloudDiscoveryengineV1ServingConfig,
11599
11713
  ): Request<GoogleCloudDiscoveryengineV1ServingConfig>;
11600
11714
  /** Makes a recommendation, which requires a contextual user event. */
11601
11715
  recommend(request: {
@@ -11653,7 +11767,7 @@ declare namespace gapi.client {
11653
11767
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11654
11768
  uploadType?: string;
11655
11769
  },
11656
- body: GoogleCloudDiscoveryengineV1RecommendRequest
11770
+ body: GoogleCloudDiscoveryengineV1RecommendRequest,
11657
11771
  ): Request<GoogleCloudDiscoveryengineV1RecommendResponse>;
11658
11772
  /** Performs a search. */
11659
11773
  search(request: {
@@ -11711,7 +11825,7 @@ declare namespace gapi.client {
11711
11825
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11712
11826
  uploadType?: string;
11713
11827
  },
11714
- body: GoogleCloudDiscoveryengineV1SearchRequest
11828
+ body: GoogleCloudDiscoveryengineV1SearchRequest,
11715
11829
  ): Request<GoogleCloudDiscoveryengineV1SearchResponse>;
11716
11830
  /** 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
11831
  searchLite(request: {
@@ -11769,7 +11883,7 @@ declare namespace gapi.client {
11769
11883
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11770
11884
  uploadType?: string;
11771
11885
  },
11772
- body: GoogleCloudDiscoveryengineV1SearchRequest
11886
+ body: GoogleCloudDiscoveryengineV1SearchRequest,
11773
11887
  ): Request<GoogleCloudDiscoveryengineV1SearchResponse>;
11774
11888
  /** Answer query method (streaming). It takes one AnswerQueryRequest and returns multiple AnswerQueryResponse messages in a stream. */
11775
11889
  streamAnswer(request: {
@@ -11827,7 +11941,7 @@ declare namespace gapi.client {
11827
11941
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11828
11942
  uploadType?: string;
11829
11943
  },
11830
- body: GoogleCloudDiscoveryengineV1AnswerQueryRequest
11944
+ body: GoogleCloudDiscoveryengineV1AnswerQueryRequest,
11831
11945
  ): Request<GoogleCloudDiscoveryengineV1AnswerQueryResponse>;
11832
11946
  }
11833
11947
  interface AnswersResource {
@@ -11916,7 +12030,7 @@ declare namespace gapi.client {
11916
12030
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11917
12031
  uploadType?: string;
11918
12032
  },
11919
- body: GoogleCloudDiscoveryengineV1Session
12033
+ body: GoogleCloudDiscoveryengineV1Session,
11920
12034
  ): Request<GoogleCloudDiscoveryengineV1Session>;
11921
12035
  /** Deletes a Session. If the Session to delete does not exist, a NOT_FOUND error is returned. */
11922
12036
  delete(request?: {
@@ -12069,7 +12183,7 @@ declare namespace gapi.client {
12069
12183
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12070
12184
  uploadType?: string;
12071
12185
  },
12072
- body: GoogleCloudDiscoveryengineV1Session
12186
+ body: GoogleCloudDiscoveryengineV1Session,
12073
12187
  ): Request<GoogleCloudDiscoveryengineV1Session>;
12074
12188
  answers: AnswersResource;
12075
12189
  }
@@ -12130,7 +12244,7 @@ declare namespace gapi.client {
12130
12244
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12131
12245
  uploadType?: string;
12132
12246
  },
12133
- body: GoogleCloudDiscoveryengineV1BatchCreateTargetSitesRequest
12247
+ body: GoogleCloudDiscoveryengineV1BatchCreateTargetSitesRequest,
12134
12248
  ): Request<GoogleLongrunningOperation>;
12135
12249
  /** Creates a TargetSite. */
12136
12250
  create(request: {
@@ -12188,7 +12302,7 @@ declare namespace gapi.client {
12188
12302
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12189
12303
  uploadType?: string;
12190
12304
  },
12191
- body: GoogleCloudDiscoveryengineV1TargetSite
12305
+ body: GoogleCloudDiscoveryengineV1TargetSite,
12192
12306
  ): Request<GoogleLongrunningOperation>;
12193
12307
  /** Deletes a TargetSite. */
12194
12308
  delete(request?: {
@@ -12331,7 +12445,7 @@ declare namespace gapi.client {
12331
12445
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12332
12446
  uploadType?: string;
12333
12447
  },
12334
- body: GoogleCloudDiscoveryengineV1TargetSite
12448
+ body: GoogleCloudDiscoveryengineV1TargetSite,
12335
12449
  ): Request<GoogleLongrunningOperation>;
12336
12450
  }
12337
12451
  interface SiteSearchEngineResource {
@@ -12391,7 +12505,7 @@ declare namespace gapi.client {
12391
12505
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12392
12506
  uploadType?: string;
12393
12507
  },
12394
- body: GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchRequest
12508
+ body: GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchRequest,
12395
12509
  ): Request<GoogleLongrunningOperation>;
12396
12510
  /** Upgrade from basic site search to advanced site search. */
12397
12511
  enableAdvancedSiteSearch(request: {
@@ -12449,7 +12563,7 @@ declare namespace gapi.client {
12449
12563
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12450
12564
  uploadType?: string;
12451
12565
  },
12452
- body: GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchRequest
12566
+ body: GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchRequest,
12453
12567
  ): Request<GoogleLongrunningOperation>;
12454
12568
  /** Request on-demand recrawl for a list of URIs. */
12455
12569
  recrawlUris(request: {
@@ -12507,7 +12621,7 @@ declare namespace gapi.client {
12507
12621
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12508
12622
  uploadType?: string;
12509
12623
  },
12510
- body: GoogleCloudDiscoveryengineV1RecrawlUrisRequest
12624
+ body: GoogleCloudDiscoveryengineV1RecrawlUrisRequest,
12511
12625
  ): Request<GoogleLongrunningOperation>;
12512
12626
  targetSites: TargetSitesResource;
12513
12627
  }
@@ -12568,7 +12682,7 @@ declare namespace gapi.client {
12568
12682
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12569
12683
  uploadType?: string;
12570
12684
  },
12571
- body: GoogleCloudDiscoveryengineV1ImportSuggestionDenyListEntriesRequest
12685
+ body: GoogleCloudDiscoveryengineV1ImportSuggestionDenyListEntriesRequest,
12572
12686
  ): Request<GoogleLongrunningOperation>;
12573
12687
  /** Permanently deletes all SuggestionDenyListEntry for a DataStore. */
12574
12688
  purge(request: {
@@ -12626,7 +12740,7 @@ declare namespace gapi.client {
12626
12740
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12627
12741
  uploadType?: string;
12628
12742
  },
12629
- body: GoogleCloudDiscoveryengineV1PurgeSuggestionDenyListEntriesRequest
12743
+ body: GoogleCloudDiscoveryengineV1PurgeSuggestionDenyListEntriesRequest,
12630
12744
  ): Request<GoogleLongrunningOperation>;
12631
12745
  }
12632
12746
  interface UserEventsResource {
@@ -12719,7 +12833,7 @@ declare namespace gapi.client {
12719
12833
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12720
12834
  uploadType?: string;
12721
12835
  },
12722
- body: GoogleCloudDiscoveryengineV1ImportUserEventsRequest
12836
+ body: GoogleCloudDiscoveryengineV1ImportUserEventsRequest,
12723
12837
  ): Request<GoogleLongrunningOperation>;
12724
12838
  /** 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
12839
  purge(request: {
@@ -12777,7 +12891,7 @@ declare namespace gapi.client {
12777
12891
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12778
12892
  uploadType?: string;
12779
12893
  },
12780
- body: GoogleCloudDiscoveryengineV1PurgeUserEventsRequest
12894
+ body: GoogleCloudDiscoveryengineV1PurgeUserEventsRequest,
12781
12895
  ): Request<GoogleLongrunningOperation>;
12782
12896
  /** Writes a single user event. */
12783
12897
  write(request: {
@@ -12839,7 +12953,7 @@ declare namespace gapi.client {
12839
12953
  /** If set to true, the user event is written asynchronously after validation, and the API responds without waiting for the write. */
12840
12954
  writeAsync?: boolean;
12841
12955
  },
12842
- body: GoogleCloudDiscoveryengineV1UserEvent
12956
+ body: GoogleCloudDiscoveryengineV1UserEvent,
12843
12957
  ): Request<GoogleCloudDiscoveryengineV1UserEvent>;
12844
12958
  }
12845
12959
  interface DataStoresResource {
@@ -12954,7 +13068,7 @@ declare namespace gapi.client {
12954
13068
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12955
13069
  uploadType?: string;
12956
13070
  },
12957
- body: GoogleCloudDiscoveryengineV1DataStore
13071
+ body: GoogleCloudDiscoveryengineV1DataStore,
12958
13072
  ): Request<GoogleLongrunningOperation>;
12959
13073
  /** Deletes a DataStore. */
12960
13074
  delete(request?: {
@@ -13130,7 +13244,7 @@ declare namespace gapi.client {
13130
13244
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13131
13245
  uploadType?: string;
13132
13246
  },
13133
- body: GoogleCloudDiscoveryengineV1DataStore
13247
+ body: GoogleCloudDiscoveryengineV1DataStore,
13134
13248
  ): Request<GoogleCloudDiscoveryengineV1DataStore>;
13135
13249
  branches: BranchesResource;
13136
13250
  completionSuggestions: CompletionSuggestionsResource;
@@ -13202,7 +13316,7 @@ declare namespace gapi.client {
13202
13316
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13203
13317
  uploadType?: string;
13204
13318
  },
13205
- body: GoogleCloudDiscoveryengineV1CheckGroundingRequest
13319
+ body: GoogleCloudDiscoveryengineV1CheckGroundingRequest,
13206
13320
  ): Request<GoogleCloudDiscoveryengineV1CheckGroundingResponse>;
13207
13321
  }
13208
13322
  interface OperationsResource {
@@ -13268,6 +13382,308 @@ declare namespace gapi.client {
13268
13382
  }): Request<GoogleLongrunningListOperationsResponse>;
13269
13383
  }
13270
13384
  interface IdentityMappingStoresResource {
13385
+ /** Creates a new Identity Mapping Store. */
13386
+ create(request: {
13387
+ /** V1 error format. */
13388
+ '$.xgafv'?: string;
13389
+ /** OAuth access token. */
13390
+ access_token?: string;
13391
+ /** Data format for response. */
13392
+ alt?: string;
13393
+ /** JSONP */
13394
+ callback?: string;
13395
+ /** Resource name of the CmekConfig to use for protecting this Identity Mapping Store. */
13396
+ cmekConfigName?: string;
13397
+ /** 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. */
13398
+ disableCmek?: boolean;
13399
+ /** Selector specifying which fields to include in a partial response. */
13400
+ fields?: string;
13401
+ /** 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. */
13402
+ identityMappingStoreId?: string;
13403
+ /** 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. */
13404
+ key?: string;
13405
+ /** OAuth 2.0 token for the current user. */
13406
+ oauth_token?: string;
13407
+ /** Required. The parent collection resource name, such as `projects/{project}/locations/{location}`. */
13408
+ parent: string;
13409
+ /** Returns response with indentations and line breaks. */
13410
+ prettyPrint?: boolean;
13411
+ /** 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. */
13412
+ quotaUser?: string;
13413
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
13414
+ upload_protocol?: string;
13415
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13416
+ uploadType?: string;
13417
+ /** Request body */
13418
+ resource: GoogleCloudDiscoveryengineV1IdentityMappingStore;
13419
+ }): Request<GoogleCloudDiscoveryengineV1IdentityMappingStore>;
13420
+ create(
13421
+ request: {
13422
+ /** V1 error format. */
13423
+ '$.xgafv'?: string;
13424
+ /** OAuth access token. */
13425
+ access_token?: string;
13426
+ /** Data format for response. */
13427
+ alt?: string;
13428
+ /** JSONP */
13429
+ callback?: string;
13430
+ /** Resource name of the CmekConfig to use for protecting this Identity Mapping Store. */
13431
+ cmekConfigName?: string;
13432
+ /** 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. */
13433
+ disableCmek?: boolean;
13434
+ /** Selector specifying which fields to include in a partial response. */
13435
+ fields?: string;
13436
+ /** 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. */
13437
+ identityMappingStoreId?: string;
13438
+ /** 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. */
13439
+ key?: string;
13440
+ /** OAuth 2.0 token for the current user. */
13441
+ oauth_token?: string;
13442
+ /** Required. The parent collection resource name, such as `projects/{project}/locations/{location}`. */
13443
+ parent: string;
13444
+ /** Returns response with indentations and line breaks. */
13445
+ prettyPrint?: boolean;
13446
+ /** 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. */
13447
+ quotaUser?: string;
13448
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
13449
+ upload_protocol?: string;
13450
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13451
+ uploadType?: string;
13452
+ },
13453
+ body: GoogleCloudDiscoveryengineV1IdentityMappingStore,
13454
+ ): Request<GoogleCloudDiscoveryengineV1IdentityMappingStore>;
13455
+ /** Deletes the Identity Mapping Store. */
13456
+ delete(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
+ /** 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. */
13468
+ key?: string;
13469
+ /** Required. The name of the Identity Mapping Store to delete. Format: `projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}` */
13470
+ name: 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<GoogleLongrunningOperation>;
13482
+ /** Gets the Identity Mapping Store. */
13483
+ get(request?: {
13484
+ /** V1 error format. */
13485
+ '$.xgafv'?: string;
13486
+ /** OAuth access token. */
13487
+ access_token?: string;
13488
+ /** Data format for response. */
13489
+ alt?: string;
13490
+ /** JSONP */
13491
+ callback?: string;
13492
+ /** Selector specifying which fields to include in a partial response. */
13493
+ fields?: string;
13494
+ /** 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. */
13495
+ key?: string;
13496
+ /** Required. The name of the Identity Mapping Store to get. Format: `projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}` */
13497
+ name: string;
13498
+ /** OAuth 2.0 token for the current user. */
13499
+ oauth_token?: string;
13500
+ /** Returns response with indentations and line breaks. */
13501
+ prettyPrint?: boolean;
13502
+ /** 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. */
13503
+ quotaUser?: string;
13504
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
13505
+ upload_protocol?: string;
13506
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13507
+ uploadType?: string;
13508
+ }): Request<GoogleCloudDiscoveryengineV1IdentityMappingStore>;
13509
+ /** Imports a list of Identity Mapping Entries to an Identity Mapping Store. */
13510
+ importIdentityMappings(request: {
13511
+ /** V1 error format. */
13512
+ '$.xgafv'?: string;
13513
+ /** OAuth access token. */
13514
+ access_token?: string;
13515
+ /** Data format for response. */
13516
+ alt?: string;
13517
+ /** JSONP */
13518
+ callback?: string;
13519
+ /** Selector specifying which fields to include in a partial response. */
13520
+ fields?: string;
13521
+ /** Required. The name of the Identity Mapping Store to import Identity Mapping Entries to. Format: `projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}` */
13522
+ identityMappingStore: string;
13523
+ /** 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. */
13524
+ key?: string;
13525
+ /** OAuth 2.0 token for the current user. */
13526
+ oauth_token?: string;
13527
+ /** Returns response with indentations and line breaks. */
13528
+ prettyPrint?: boolean;
13529
+ /** 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. */
13530
+ quotaUser?: string;
13531
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
13532
+ upload_protocol?: string;
13533
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13534
+ uploadType?: string;
13535
+ /** Request body */
13536
+ resource: GoogleCloudDiscoveryengineV1ImportIdentityMappingsRequest;
13537
+ }): Request<GoogleLongrunningOperation>;
13538
+ importIdentityMappings(
13539
+ request: {
13540
+ /** V1 error format. */
13541
+ '$.xgafv'?: string;
13542
+ /** OAuth access token. */
13543
+ access_token?: string;
13544
+ /** Data format for response. */
13545
+ alt?: string;
13546
+ /** JSONP */
13547
+ callback?: string;
13548
+ /** Selector specifying which fields to include in a partial response. */
13549
+ fields?: string;
13550
+ /** Required. The name of the Identity Mapping Store to import Identity Mapping Entries to. Format: `projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}` */
13551
+ identityMappingStore: string;
13552
+ /** 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. */
13553
+ key?: string;
13554
+ /** OAuth 2.0 token for the current user. */
13555
+ oauth_token?: string;
13556
+ /** Returns response with indentations and line breaks. */
13557
+ prettyPrint?: boolean;
13558
+ /** 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. */
13559
+ quotaUser?: string;
13560
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
13561
+ upload_protocol?: string;
13562
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13563
+ uploadType?: string;
13564
+ },
13565
+ body: GoogleCloudDiscoveryengineV1ImportIdentityMappingsRequest,
13566
+ ): Request<GoogleLongrunningOperation>;
13567
+ /** Lists all Identity Mapping Stores. */
13568
+ list(request?: {
13569
+ /** V1 error format. */
13570
+ '$.xgafv'?: string;
13571
+ /** OAuth access token. */
13572
+ access_token?: string;
13573
+ /** Data format for response. */
13574
+ alt?: string;
13575
+ /** JSONP */
13576
+ callback?: string;
13577
+ /** Selector specifying which fields to include in a partial response. */
13578
+ fields?: string;
13579
+ /** 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. */
13580
+ key?: string;
13581
+ /** OAuth 2.0 token for the current user. */
13582
+ oauth_token?: string;
13583
+ /** 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. */
13584
+ pageSize?: number;
13585
+ /** 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. */
13586
+ pageToken?: string;
13587
+ /** Required. The parent of the Identity Mapping Stores to list. Format: `projects/{project}/locations/{location}`. */
13588
+ parent: string;
13589
+ /** Returns response with indentations and line breaks. */
13590
+ prettyPrint?: boolean;
13591
+ /** 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. */
13592
+ quotaUser?: string;
13593
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
13594
+ upload_protocol?: string;
13595
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13596
+ uploadType?: string;
13597
+ }): Request<GoogleCloudDiscoveryengineV1ListIdentityMappingStoresResponse>;
13598
+ /** Lists Identity Mappings in an Identity Mapping Store. */
13599
+ listIdentityMappings(request?: {
13600
+ /** V1 error format. */
13601
+ '$.xgafv'?: string;
13602
+ /** OAuth access token. */
13603
+ access_token?: string;
13604
+ /** Data format for response. */
13605
+ alt?: string;
13606
+ /** JSONP */
13607
+ callback?: string;
13608
+ /** Selector specifying which fields to include in a partial response. */
13609
+ fields?: string;
13610
+ /** Required. The name of the Identity Mapping Store to list Identity Mapping Entries in. Format: `projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}` */
13611
+ identityMappingStore: string;
13612
+ /** 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. */
13613
+ key?: string;
13614
+ /** OAuth 2.0 token for the current user. */
13615
+ oauth_token?: string;
13616
+ /** 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. */
13617
+ pageSize?: number;
13618
+ /** 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. */
13619
+ pageToken?: string;
13620
+ /** Returns response with indentations and line breaks. */
13621
+ prettyPrint?: boolean;
13622
+ /** 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. */
13623
+ quotaUser?: string;
13624
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
13625
+ upload_protocol?: string;
13626
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13627
+ uploadType?: string;
13628
+ }): Request<GoogleCloudDiscoveryengineV1ListIdentityMappingsResponse>;
13629
+ /** Purges specified or all Identity Mapping Entries from an Identity Mapping Store. */
13630
+ purgeIdentityMappings(request: {
13631
+ /** V1 error format. */
13632
+ '$.xgafv'?: string;
13633
+ /** OAuth access token. */
13634
+ access_token?: string;
13635
+ /** Data format for response. */
13636
+ alt?: string;
13637
+ /** JSONP */
13638
+ callback?: string;
13639
+ /** Selector specifying which fields to include in a partial response. */
13640
+ fields?: string;
13641
+ /** Required. The name of the Identity Mapping Store to purge Identity Mapping Entries from. Format: `projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}` */
13642
+ identityMappingStore: string;
13643
+ /** 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. */
13644
+ key?: string;
13645
+ /** OAuth 2.0 token for the current user. */
13646
+ oauth_token?: string;
13647
+ /** Returns response with indentations and line breaks. */
13648
+ prettyPrint?: boolean;
13649
+ /** 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. */
13650
+ quotaUser?: string;
13651
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
13652
+ upload_protocol?: string;
13653
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13654
+ uploadType?: string;
13655
+ /** Request body */
13656
+ resource: GoogleCloudDiscoveryengineV1PurgeIdentityMappingsRequest;
13657
+ }): Request<GoogleLongrunningOperation>;
13658
+ purgeIdentityMappings(
13659
+ request: {
13660
+ /** V1 error format. */
13661
+ '$.xgafv'?: string;
13662
+ /** OAuth access token. */
13663
+ access_token?: string;
13664
+ /** Data format for response. */
13665
+ alt?: string;
13666
+ /** JSONP */
13667
+ callback?: string;
13668
+ /** Selector specifying which fields to include in a partial response. */
13669
+ fields?: string;
13670
+ /** Required. The name of the Identity Mapping Store to purge Identity Mapping Entries from. Format: `projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}` */
13671
+ identityMappingStore: string;
13672
+ /** 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. */
13673
+ key?: string;
13674
+ /** OAuth 2.0 token for the current user. */
13675
+ oauth_token?: string;
13676
+ /** Returns response with indentations and line breaks. */
13677
+ prettyPrint?: boolean;
13678
+ /** 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. */
13679
+ quotaUser?: string;
13680
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
13681
+ upload_protocol?: string;
13682
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13683
+ uploadType?: string;
13684
+ },
13685
+ body: GoogleCloudDiscoveryengineV1PurgeIdentityMappingsRequest,
13686
+ ): Request<GoogleLongrunningOperation>;
13271
13687
  operations: OperationsResource;
13272
13688
  }
13273
13689
  interface OperationsResource {
@@ -13389,7 +13805,7 @@ declare namespace gapi.client {
13389
13805
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13390
13806
  uploadType?: string;
13391
13807
  },
13392
- body: GoogleCloudDiscoveryengineV1RankRequest
13808
+ body: GoogleCloudDiscoveryengineV1RankRequest,
13393
13809
  ): Request<GoogleCloudDiscoveryengineV1RankResponse>;
13394
13810
  }
13395
13811
  interface UserEventsResource {
@@ -13482,7 +13898,7 @@ declare namespace gapi.client {
13482
13898
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13483
13899
  uploadType?: string;
13484
13900
  },
13485
- body: GoogleCloudDiscoveryengineV1ImportUserEventsRequest
13901
+ body: GoogleCloudDiscoveryengineV1ImportUserEventsRequest,
13486
13902
  ): Request<GoogleLongrunningOperation>;
13487
13903
  /** Writes a single user event. */
13488
13904
  write(request: {
@@ -13544,7 +13960,7 @@ declare namespace gapi.client {
13544
13960
  /** If set to true, the user event is written asynchronously after validation, and the API responds without waiting for the write. */
13545
13961
  writeAsync?: boolean;
13546
13962
  },
13547
- body: GoogleCloudDiscoveryengineV1UserEvent
13963
+ body: GoogleCloudDiscoveryengineV1UserEvent,
13548
13964
  ): Request<GoogleCloudDiscoveryengineV1UserEvent>;
13549
13965
  }
13550
13966
  interface LocationsResource {
@@ -13604,7 +14020,7 @@ declare namespace gapi.client {
13604
14020
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13605
14021
  uploadType?: string;
13606
14022
  },
13607
- body: GoogleCloudDiscoveryengineV1GenerateGroundedContentRequest
14023
+ body: GoogleCloudDiscoveryengineV1GenerateGroundedContentRequest,
13608
14024
  ): Request<GoogleCloudDiscoveryengineV1GenerateGroundedContentResponse>;
13609
14025
  collections: CollectionsResource;
13610
14026
  dataStores: DataStoresResource;
@@ -13671,7 +14087,7 @@ declare namespace gapi.client {
13671
14087
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13672
14088
  uploadType?: string;
13673
14089
  },
13674
- body: GoogleLongrunningCancelOperationRequest
14090
+ body: GoogleLongrunningCancelOperationRequest,
13675
14091
  ): Request<{}>;
13676
14092
  /** 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
14093
  get(request?: {
@@ -13791,7 +14207,7 @@ declare namespace gapi.client {
13791
14207
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13792
14208
  uploadType?: string;
13793
14209
  },
13794
- body: GoogleCloudDiscoveryengineV1ProvisionProjectRequest
14210
+ body: GoogleCloudDiscoveryengineV1ProvisionProjectRequest,
13795
14211
  ): Request<GoogleLongrunningOperation>;
13796
14212
  locations: LocationsResource;
13797
14213
  operations: OperationsResource;