@maxim_mazurok/gapi.client.discoveryengine-v1 0.0.20250123 → 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 +528 -102
  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: 20250123
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 {
@@ -636,6 +636,8 @@ declare namespace gapi.client {
636
636
  displayName?: string;
637
637
  /** Configuration for Document understanding and enrichment. */
638
638
  documentProcessingConfig?: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig;
639
+ /** Optional. Configuration for `HEALTHCARE_FHIR` vertical. */
640
+ healthcareFhirConfig?: GoogleCloudDiscoveryengineV1alphaHealthcareFhirConfig;
639
641
  /** Output only. Data store level identity provider config. */
640
642
  idpConfig?: GoogleCloudDiscoveryengineV1alphaIdpConfig;
641
643
  /** Immutable. The industry vertical that the data store registers. */
@@ -683,6 +685,12 @@ declare namespace gapi.client {
683
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. */
684
686
  userTriggeredCrawlRate?: GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries;
685
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
+ }
686
694
  interface GoogleCloudDiscoveryengineV1alphaDeleteCollectionMetadata {
687
695
  /** Operation create time. */
688
696
  createTime?: string;
@@ -966,6 +974,20 @@ declare namespace gapi.client {
966
974
  /** Document data keyed by URI pattern. For example: document_data_map = { "www.url1.com/*": { "Categories": ["category1", "category2"] }, "www.url2.com/*": { "Categories": ["category3"] } } */
967
975
  documentDataMap?: {[P in string]: {[P in string]: any}};
968
976
  }
977
+ interface GoogleCloudDiscoveryengineV1alphaHealthcareFhirConfig {
978
+ /** Whether to enable configurable schema for `HEALTHCARE_FHIR` vertical. If set to `true`, the predefined healthcare fhir schema can be extended for more customized searching and filtering. */
979
+ enableConfigurableSchema?: boolean;
980
+ /** 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. */
981
+ enableStaticIndexingForBatchIngestion?: boolean;
982
+ }
983
+ interface GoogleCloudDiscoveryengineV1alphaIdentityMappingEntryOperationMetadata {
984
+ /** The number of IdentityMappingEntries that failed to be processed. */
985
+ failureCount?: string;
986
+ /** The number of IdentityMappingEntries that were successfully processed. */
987
+ successCount?: string;
988
+ /** The total number of IdentityMappingEntries that were processed. */
989
+ totalCount?: string;
990
+ }
969
991
  interface GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig {
970
992
  /** Optional. The UTC time when the next data sync is expected to start for the Data Connector. Customers are only able to specify the hour and minute to schedule the data sync. This is utilized when the data connector has a refresh interval greater than 1 day. */
971
993
  nextSyncTime?: GoogleTypeDateTime;
@@ -1020,6 +1042,10 @@ declare namespace gapi.client {
1020
1042
  /** 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. */
1021
1043
  gcsPrefix?: string;
1022
1044
  }
1045
+ interface GoogleCloudDiscoveryengineV1alphaImportIdentityMappingsResponse {
1046
+ /** A sample of errors encountered while processing the request. */
1047
+ errorSamples?: GoogleRpcStatus[];
1048
+ }
1023
1049
  interface GoogleCloudDiscoveryengineV1alphaImportSampleQueriesMetadata {
1024
1050
  /** ImportSampleQueries operation create time. */
1025
1051
  createTime?: string;
@@ -1246,6 +1272,10 @@ declare namespace gapi.client {
1246
1272
  invalidUris?: string[];
1247
1273
  /** Total number of unique URIs in the request that have invalid format. */
1248
1274
  invalidUrisCount?: number;
1275
+ /** URIs that have no index meta tag. Sample limited to 1000. */
1276
+ noindexUris?: string[];
1277
+ /** Total number of URIs that have no index meta tag. */
1278
+ noindexUrisCount?: number;
1249
1279
  /** Total number of URIs that have yet to be crawled. */
1250
1280
  pendingCount?: number;
1251
1281
  /** Total number of URIs that were rejected due to insufficient indexing resources. */
@@ -1388,7 +1418,7 @@ declare namespace gapi.client {
1388
1418
  sessionSpec?: GoogleCloudDiscoveryengineV1alphaSearchRequestSessionSpec;
1389
1419
  /** The spell correction specification that specifies the mode under which spell correction takes effect. */
1390
1420
  spellCorrectionSpec?: GoogleCloudDiscoveryengineV1alphaSearchRequestSpellCorrectionSpec;
1391
- /** Information about the end user. Highly recommended for analytics. UserInfo.user_agent is used to deduce `device_type` for analytics. */
1421
+ /** Information about the end user. Highly recommended for analytics and personalization. UserInfo.user_agent is used to deduce `device_type` for analytics. */
1392
1422
  userInfo?: GoogleCloudDiscoveryengineV1alphaUserInfo;
1393
1423
  /** The user labels applied to a resource must meet the following requirements: * Each resource can have multiple labels, up to a maximum of 64. * Each label must be a key-value pair. * Keys have a minimum length of 1 character and a maximum length of 63 characters and cannot be empty. Values can be empty and have a maximum length of 63 characters. * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. All characters must use UTF-8 encoding, and international characters are allowed. * The key portion of a label must be unique. However, you can use the same key with multiple resources. * Keys must start with a lowercase letter or international character. See [Google Cloud Document](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements) for more details. */
1394
1424
  userLabels?: {[P in string]: string};
@@ -2291,6 +2321,8 @@ declare namespace gapi.client {
2291
2321
  displayName?: string;
2292
2322
  /** Configuration for Document understanding and enrichment. */
2293
2323
  documentProcessingConfig?: GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig;
2324
+ /** Optional. Configuration for `HEALTHCARE_FHIR` vertical. */
2325
+ healthcareFhirConfig?: GoogleCloudDiscoveryengineV1betaHealthcareFhirConfig;
2294
2326
  /** Immutable. The industry vertical that the data store registers. */
2295
2327
  industryVertical?: string;
2296
2328
  /** Optional. If set, this DataStore is an Infobot FAQ DataStore. */
@@ -2510,6 +2542,20 @@ declare namespace gapi.client {
2510
2542
  /** The Sitemap. */
2511
2543
  sitemap?: GoogleCloudDiscoveryengineV1betaSitemap;
2512
2544
  }
2545
+ interface GoogleCloudDiscoveryengineV1betaHealthcareFhirConfig {
2546
+ /** Whether to enable configurable schema for `HEALTHCARE_FHIR` vertical. If set to `true`, the predefined healthcare fhir schema can be extended for more customized searching and filtering. */
2547
+ enableConfigurableSchema?: boolean;
2548
+ /** 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. */
2549
+ enableStaticIndexingForBatchIngestion?: boolean;
2550
+ }
2551
+ interface GoogleCloudDiscoveryengineV1betaIdentityMappingEntryOperationMetadata {
2552
+ /** The number of IdentityMappingEntries that failed to be processed. */
2553
+ failureCount?: string;
2554
+ /** The number of IdentityMappingEntries that were successfully processed. */
2555
+ successCount?: string;
2556
+ /** The total number of IdentityMappingEntries that were processed. */
2557
+ totalCount?: string;
2558
+ }
2513
2559
  interface GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsMetadata {
2514
2560
  /** Operation create time. */
2515
2561
  createTime?: string;
@@ -2548,6 +2594,10 @@ declare namespace gapi.client {
2548
2594
  /** 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. */
2549
2595
  gcsPrefix?: string;
2550
2596
  }
2597
+ interface GoogleCloudDiscoveryengineV1betaImportIdentityMappingsResponse {
2598
+ /** A sample of errors encountered while processing the request. */
2599
+ errorSamples?: GoogleRpcStatus[];
2600
+ }
2551
2601
  interface GoogleCloudDiscoveryengineV1betaImportSampleQueriesMetadata {
2552
2602
  /** ImportSampleQueries operation create time. */
2553
2603
  createTime?: string;
@@ -2780,7 +2830,7 @@ declare namespace gapi.client {
2780
2830
  sessionSpec?: GoogleCloudDiscoveryengineV1betaSearchRequestSessionSpec;
2781
2831
  /** The spell correction specification that specifies the mode under which spell correction takes effect. */
2782
2832
  spellCorrectionSpec?: GoogleCloudDiscoveryengineV1betaSearchRequestSpellCorrectionSpec;
2783
- /** Information about the end user. Highly recommended for analytics. UserInfo.user_agent is used to deduce `device_type` for analytics. */
2833
+ /** Information about the end user. Highly recommended for analytics and personalization. UserInfo.user_agent is used to deduce `device_type` for analytics. */
2784
2834
  userInfo?: GoogleCloudDiscoveryengineV1betaUserInfo;
2785
2835
  /** The user labels applied to a resource must meet the following requirements: * Each resource can have multiple labels, up to a maximum of 64. * Each label must be a key-value pair. * Keys have a minimum length of 1 character and a maximum length of 63 characters and cannot be empty. Values can be empty and have a maximum length of 63 characters. * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. All characters must use UTF-8 encoding, and international characters are allowed. * The key portion of a label must be unique. However, you can use the same key with multiple resources. * Keys must start with a lowercase letter or international character. See [Google Cloud Document](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements) for more details. */
2786
2836
  userLabels?: {[P in string]: string};
@@ -3141,11 +3191,11 @@ declare namespace gapi.client {
3141
3191
  citationIndices?: number[];
3142
3192
  /** Text for the claim in the answer candidate. Always provided regardless of whether citations or anti-citations are found. */
3143
3193
  claimText?: string;
3144
- /** 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). */
3145
3195
  endPos?: number;
3146
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. */
3147
3197
  groundingCheckRequired?: boolean;
3148
- /** 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). */
3149
3199
  startPos?: number;
3150
3200
  }
3151
3201
  interface GoogleCloudDiscoveryengineV1CheckGroundingSpec {
@@ -3453,6 +3503,8 @@ declare namespace gapi.client {
3453
3503
  displayName?: string;
3454
3504
  /** Configuration for Document understanding and enrichment. */
3455
3505
  documentProcessingConfig?: GoogleCloudDiscoveryengineV1DocumentProcessingConfig;
3506
+ /** Optional. Configuration for `HEALTHCARE_FHIR` vertical. */
3507
+ healthcareFhirConfig?: GoogleCloudDiscoveryengineV1HealthcareFhirConfig;
3456
3508
  /** Immutable. The industry vertical that the data store registers. */
3457
3509
  industryVertical?: string;
3458
3510
  /** Optional. If set, this DataStore is an Infobot FAQ DataStore. */
@@ -3488,6 +3540,12 @@ declare namespace gapi.client {
3488
3540
  /** If set true, the DataStore will not be available for serving search requests. */
3489
3541
  disabledForServing?: boolean;
3490
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
+ }
3491
3549
  interface GoogleCloudDiscoveryengineV1DeleteDataStoreMetadata {
3492
3550
  /** Operation create time. */
3493
3551
  createTime?: string;
@@ -3872,6 +3930,36 @@ declare namespace gapi.client {
3872
3930
  /** Text content of the fact. Can be at most 10K characters long. */
3873
3931
  factText?: string;
3874
3932
  }
3933
+ interface GoogleCloudDiscoveryengineV1HealthcareFhirConfig {
3934
+ /** Whether to enable configurable schema for `HEALTHCARE_FHIR` vertical. If set to `true`, the predefined healthcare fhir schema can be extended for more customized searching and filtering. */
3935
+ enableConfigurableSchema?: boolean;
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. */
3937
+ enableStaticIndexingForBatchIngestion?: boolean;
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
+ }
3947
+ interface GoogleCloudDiscoveryengineV1IdentityMappingEntryOperationMetadata {
3948
+ /** The number of IdentityMappingEntries that failed to be processed. */
3949
+ failureCount?: string;
3950
+ /** The number of IdentityMappingEntries that were successfully processed. */
3951
+ successCount?: string;
3952
+ /** The total number of IdentityMappingEntries that were processed. */
3953
+ totalCount?: string;
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
+ }
3875
3963
  interface GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsMetadata {
3876
3964
  /** Operation create time. */
3877
3965
  createTime?: string;
@@ -3960,6 +4048,18 @@ declare namespace gapi.client {
3960
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. */
3961
4049
  gcsPrefix?: string;
3962
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
+ }
4059
+ interface GoogleCloudDiscoveryengineV1ImportIdentityMappingsResponse {
4060
+ /** A sample of errors encountered while processing the request. */
4061
+ errorSamples?: GoogleRpcStatus[];
4062
+ }
3963
4063
  interface GoogleCloudDiscoveryengineV1ImportSuggestionDenyListEntriesMetadata {
3964
4064
  /** Operation create time. */
3965
4065
  createTime?: string;
@@ -4062,6 +4162,18 @@ declare namespace gapi.client {
4062
4162
  /** Not supported. */
4063
4163
  nextPageToken?: string;
4064
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
+ }
4065
4177
  interface GoogleCloudDiscoveryengineV1ListSchemasResponse {
4066
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. */
4067
4179
  nextPageToken?: string;
@@ -4192,6 +4304,18 @@ declare namespace gapi.client {
4192
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. */
4193
4305
  gcsPrefix?: string;
4194
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
+ }
4195
4319
  interface GoogleCloudDiscoveryengineV1PurgeSuggestionDenyListEntriesMetadata {
4196
4320
  /** Operation create time. */
4197
4321
  createTime?: string;
@@ -4374,7 +4498,7 @@ declare namespace gapi.client {
4374
4498
  sessionSpec?: GoogleCloudDiscoveryengineV1SearchRequestSessionSpec;
4375
4499
  /** The spell correction specification that specifies the mode under which spell correction takes effect. */
4376
4500
  spellCorrectionSpec?: GoogleCloudDiscoveryengineV1SearchRequestSpellCorrectionSpec;
4377
- /** Information about the end user. Highly recommended for analytics. UserInfo.user_agent is used to deduce `device_type` for analytics. */
4501
+ /** Information about the end user. Highly recommended for analytics and personalization. UserInfo.user_agent is used to deduce `device_type` for analytics. */
4378
4502
  userInfo?: GoogleCloudDiscoveryengineV1UserInfo;
4379
4503
  /** The user labels applied to a resource must meet the following requirements: * Each resource can have multiple labels, up to a maximum of 64. * Each label must be a key-value pair. * Keys have a minimum length of 1 character and a maximum length of 63 characters and cannot be empty. Values can be empty and have a maximum length of 63 characters. * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. All characters must use UTF-8 encoding, and international characters are allowed. * The key portion of a label must be unique. However, you can use the same key with multiple resources. * Keys must start with a lowercase letter or international character. See [Google Cloud Document](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements) for more details. */
4380
4504
  userLabels?: {[P in string]: string};
@@ -5163,7 +5287,7 @@ declare namespace gapi.client {
5163
5287
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5164
5288
  uploadType?: string;
5165
5289
  },
5166
- body: GoogleCloudDiscoveryengineV1Document
5290
+ body: GoogleCloudDiscoveryengineV1Document,
5167
5291
  ): Request<GoogleCloudDiscoveryengineV1Document>;
5168
5292
  /** Deletes a Document. */
5169
5293
  delete(request?: {
@@ -5275,7 +5399,7 @@ declare namespace gapi.client {
5275
5399
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5276
5400
  uploadType?: string;
5277
5401
  },
5278
- body: GoogleCloudDiscoveryengineV1ImportDocumentsRequest
5402
+ body: GoogleCloudDiscoveryengineV1ImportDocumentsRequest,
5279
5403
  ): Request<GoogleLongrunningOperation>;
5280
5404
  /** Gets a list of Documents. */
5281
5405
  list(request?: {
@@ -5372,7 +5496,7 @@ declare namespace gapi.client {
5372
5496
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5373
5497
  uploadType?: string;
5374
5498
  },
5375
- body: GoogleCloudDiscoveryengineV1Document
5499
+ body: GoogleCloudDiscoveryengineV1Document,
5376
5500
  ): Request<GoogleCloudDiscoveryengineV1Document>;
5377
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. */
5378
5502
  purge(request: {
@@ -5430,7 +5554,7 @@ declare namespace gapi.client {
5430
5554
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5431
5555
  uploadType?: string;
5432
5556
  },
5433
- body: GoogleCloudDiscoveryengineV1PurgeDocumentsRequest
5557
+ body: GoogleCloudDiscoveryengineV1PurgeDocumentsRequest,
5434
5558
  ): Request<GoogleLongrunningOperation>;
5435
5559
  }
5436
5560
  interface OperationsResource {
@@ -5490,7 +5614,7 @@ declare namespace gapi.client {
5490
5614
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5491
5615
  uploadType?: string;
5492
5616
  },
5493
- body: GoogleLongrunningCancelOperationRequest
5617
+ body: GoogleLongrunningCancelOperationRequest,
5494
5618
  ): Request<{}>;
5495
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. */
5496
5620
  get(request?: {
@@ -5645,7 +5769,7 @@ declare namespace gapi.client {
5645
5769
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5646
5770
  uploadType?: string;
5647
5771
  },
5648
- body: GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsRequest
5772
+ body: GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsRequest,
5649
5773
  ): Request<GoogleLongrunningOperation>;
5650
5774
  /** Permanently deletes all CompletionSuggestions for a DataStore. */
5651
5775
  purge(request: {
@@ -5703,7 +5827,7 @@ declare namespace gapi.client {
5703
5827
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5704
5828
  uploadType?: string;
5705
5829
  },
5706
- body: GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsRequest
5830
+ body: GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsRequest,
5707
5831
  ): Request<GoogleLongrunningOperation>;
5708
5832
  }
5709
5833
  interface ControlsResource {
@@ -5767,7 +5891,7 @@ declare namespace gapi.client {
5767
5891
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5768
5892
  uploadType?: string;
5769
5893
  },
5770
- body: GoogleCloudDiscoveryengineV1Control
5894
+ body: GoogleCloudDiscoveryengineV1Control,
5771
5895
  ): Request<GoogleCloudDiscoveryengineV1Control>;
5772
5896
  /** Deletes a Control. If the Control to delete does not exist, a NOT_FOUND error is returned. */
5773
5897
  delete(request?: {
@@ -5916,7 +6040,7 @@ declare namespace gapi.client {
5916
6040
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5917
6041
  uploadType?: string;
5918
6042
  },
5919
- body: GoogleCloudDiscoveryengineV1Control
6043
+ body: GoogleCloudDiscoveryengineV1Control,
5920
6044
  ): Request<GoogleCloudDiscoveryengineV1Control>;
5921
6045
  }
5922
6046
  interface ConversationsResource {
@@ -5976,7 +6100,7 @@ declare namespace gapi.client {
5976
6100
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5977
6101
  uploadType?: string;
5978
6102
  },
5979
- body: GoogleCloudDiscoveryengineV1ConverseConversationRequest
6103
+ body: GoogleCloudDiscoveryengineV1ConverseConversationRequest,
5980
6104
  ): Request<GoogleCloudDiscoveryengineV1ConverseConversationResponse>;
5981
6105
  /** Creates a Conversation. If the Conversation to create already exists, an ALREADY_EXISTS error is returned. */
5982
6106
  create(request: {
@@ -6034,7 +6158,7 @@ declare namespace gapi.client {
6034
6158
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6035
6159
  uploadType?: string;
6036
6160
  },
6037
- body: GoogleCloudDiscoveryengineV1Conversation
6161
+ body: GoogleCloudDiscoveryengineV1Conversation,
6038
6162
  ): Request<GoogleCloudDiscoveryengineV1Conversation>;
6039
6163
  /** Deletes a Conversation. If the Conversation to delete does not exist, a NOT_FOUND error is returned. */
6040
6164
  delete(request?: {
@@ -6185,7 +6309,7 @@ declare namespace gapi.client {
6185
6309
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6186
6310
  uploadType?: string;
6187
6311
  },
6188
- body: GoogleCloudDiscoveryengineV1Conversation
6312
+ body: GoogleCloudDiscoveryengineV1Conversation,
6189
6313
  ): Request<GoogleCloudDiscoveryengineV1Conversation>;
6190
6314
  }
6191
6315
  interface CustomModelsResource {
@@ -6467,7 +6591,7 @@ declare namespace gapi.client {
6467
6591
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6468
6592
  uploadType?: string;
6469
6593
  },
6470
- body: GoogleCloudDiscoveryengineV1Schema
6594
+ body: GoogleCloudDiscoveryengineV1Schema,
6471
6595
  ): Request<GoogleLongrunningOperation>;
6472
6596
  /** Deletes a Schema. */
6473
6597
  delete(request?: {
@@ -6614,7 +6738,7 @@ declare namespace gapi.client {
6614
6738
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6615
6739
  uploadType?: string;
6616
6740
  },
6617
- body: GoogleCloudDiscoveryengineV1Schema
6741
+ body: GoogleCloudDiscoveryengineV1Schema,
6618
6742
  ): Request<GoogleLongrunningOperation>;
6619
6743
  operations: OperationsResource;
6620
6744
  }
@@ -6675,7 +6799,7 @@ declare namespace gapi.client {
6675
6799
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6676
6800
  uploadType?: string;
6677
6801
  },
6678
- body: GoogleCloudDiscoveryengineV1AnswerQueryRequest
6802
+ body: GoogleCloudDiscoveryengineV1AnswerQueryRequest,
6679
6803
  ): Request<GoogleCloudDiscoveryengineV1AnswerQueryResponse>;
6680
6804
  /** Updates a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does not exist. */
6681
6805
  patch(request: {
@@ -6737,7 +6861,7 @@ declare namespace gapi.client {
6737
6861
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6738
6862
  uploadType?: string;
6739
6863
  },
6740
- body: GoogleCloudDiscoveryengineV1ServingConfig
6864
+ body: GoogleCloudDiscoveryengineV1ServingConfig,
6741
6865
  ): Request<GoogleCloudDiscoveryengineV1ServingConfig>;
6742
6866
  /** Makes a recommendation, which requires a contextual user event. */
6743
6867
  recommend(request: {
@@ -6795,7 +6919,7 @@ declare namespace gapi.client {
6795
6919
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6796
6920
  uploadType?: string;
6797
6921
  },
6798
- body: GoogleCloudDiscoveryengineV1RecommendRequest
6922
+ body: GoogleCloudDiscoveryengineV1RecommendRequest,
6799
6923
  ): Request<GoogleCloudDiscoveryengineV1RecommendResponse>;
6800
6924
  /** Performs a search. */
6801
6925
  search(request: {
@@ -6853,7 +6977,7 @@ declare namespace gapi.client {
6853
6977
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6854
6978
  uploadType?: string;
6855
6979
  },
6856
- body: GoogleCloudDiscoveryengineV1SearchRequest
6980
+ body: GoogleCloudDiscoveryengineV1SearchRequest,
6857
6981
  ): Request<GoogleCloudDiscoveryengineV1SearchResponse>;
6858
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. */
6859
6983
  searchLite(request: {
@@ -6911,7 +7035,7 @@ declare namespace gapi.client {
6911
7035
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6912
7036
  uploadType?: string;
6913
7037
  },
6914
- body: GoogleCloudDiscoveryengineV1SearchRequest
7038
+ body: GoogleCloudDiscoveryengineV1SearchRequest,
6915
7039
  ): Request<GoogleCloudDiscoveryengineV1SearchResponse>;
6916
7040
  /** Answer query method (streaming). It takes one AnswerQueryRequest and returns multiple AnswerQueryResponse messages in a stream. */
6917
7041
  streamAnswer(request: {
@@ -6969,7 +7093,7 @@ declare namespace gapi.client {
6969
7093
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6970
7094
  uploadType?: string;
6971
7095
  },
6972
- body: GoogleCloudDiscoveryengineV1AnswerQueryRequest
7096
+ body: GoogleCloudDiscoveryengineV1AnswerQueryRequest,
6973
7097
  ): Request<GoogleCloudDiscoveryengineV1AnswerQueryResponse>;
6974
7098
  }
6975
7099
  interface AnswersResource {
@@ -7058,7 +7182,7 @@ declare namespace gapi.client {
7058
7182
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7059
7183
  uploadType?: string;
7060
7184
  },
7061
- body: GoogleCloudDiscoveryengineV1Session
7185
+ body: GoogleCloudDiscoveryengineV1Session,
7062
7186
  ): Request<GoogleCloudDiscoveryengineV1Session>;
7063
7187
  /** Deletes a Session. If the Session to delete does not exist, a NOT_FOUND error is returned. */
7064
7188
  delete(request?: {
@@ -7211,7 +7335,7 @@ declare namespace gapi.client {
7211
7335
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7212
7336
  uploadType?: string;
7213
7337
  },
7214
- body: GoogleCloudDiscoveryengineV1Session
7338
+ body: GoogleCloudDiscoveryengineV1Session,
7215
7339
  ): Request<GoogleCloudDiscoveryengineV1Session>;
7216
7340
  answers: AnswersResource;
7217
7341
  }
@@ -7396,7 +7520,7 @@ declare namespace gapi.client {
7396
7520
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7397
7521
  uploadType?: string;
7398
7522
  },
7399
- body: GoogleCloudDiscoveryengineV1BatchCreateTargetSitesRequest
7523
+ body: GoogleCloudDiscoveryengineV1BatchCreateTargetSitesRequest,
7400
7524
  ): Request<GoogleLongrunningOperation>;
7401
7525
  /** Creates a TargetSite. */
7402
7526
  create(request: {
@@ -7454,7 +7578,7 @@ declare namespace gapi.client {
7454
7578
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7455
7579
  uploadType?: string;
7456
7580
  },
7457
- body: GoogleCloudDiscoveryengineV1TargetSite
7581
+ body: GoogleCloudDiscoveryengineV1TargetSite,
7458
7582
  ): Request<GoogleLongrunningOperation>;
7459
7583
  /** Deletes a TargetSite. */
7460
7584
  delete(request?: {
@@ -7597,7 +7721,7 @@ declare namespace gapi.client {
7597
7721
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7598
7722
  uploadType?: string;
7599
7723
  },
7600
- body: GoogleCloudDiscoveryengineV1TargetSite
7724
+ body: GoogleCloudDiscoveryengineV1TargetSite,
7601
7725
  ): Request<GoogleLongrunningOperation>;
7602
7726
  operations: OperationsResource;
7603
7727
  }
@@ -7658,7 +7782,7 @@ declare namespace gapi.client {
7658
7782
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7659
7783
  uploadType?: string;
7660
7784
  },
7661
- body: GoogleCloudDiscoveryengineV1BatchVerifyTargetSitesRequest
7785
+ body: GoogleCloudDiscoveryengineV1BatchVerifyTargetSitesRequest,
7662
7786
  ): Request<GoogleLongrunningOperation>;
7663
7787
  /** Downgrade from advanced site search to basic site search. */
7664
7788
  disableAdvancedSiteSearch(request: {
@@ -7716,7 +7840,7 @@ declare namespace gapi.client {
7716
7840
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7717
7841
  uploadType?: string;
7718
7842
  },
7719
- body: GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchRequest
7843
+ body: GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchRequest,
7720
7844
  ): Request<GoogleLongrunningOperation>;
7721
7845
  /** Upgrade from basic site search to advanced site search. */
7722
7846
  enableAdvancedSiteSearch(request: {
@@ -7774,7 +7898,7 @@ declare namespace gapi.client {
7774
7898
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7775
7899
  uploadType?: string;
7776
7900
  },
7777
- body: GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchRequest
7901
+ body: GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchRequest,
7778
7902
  ): Request<GoogleLongrunningOperation>;
7779
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. */
7780
7904
  fetchDomainVerificationStatus(request?: {
@@ -7863,7 +7987,7 @@ declare namespace gapi.client {
7863
7987
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7864
7988
  uploadType?: string;
7865
7989
  },
7866
- body: GoogleCloudDiscoveryengineV1RecrawlUrisRequest
7990
+ body: GoogleCloudDiscoveryengineV1RecrawlUrisRequest,
7867
7991
  ): Request<GoogleLongrunningOperation>;
7868
7992
  operations: OperationsResource;
7869
7993
  targetSites: TargetSitesResource;
@@ -7925,7 +8049,7 @@ declare namespace gapi.client {
7925
8049
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7926
8050
  uploadType?: string;
7927
8051
  },
7928
- body: GoogleCloudDiscoveryengineV1ImportSuggestionDenyListEntriesRequest
8052
+ body: GoogleCloudDiscoveryengineV1ImportSuggestionDenyListEntriesRequest,
7929
8053
  ): Request<GoogleLongrunningOperation>;
7930
8054
  /** Permanently deletes all SuggestionDenyListEntry for a DataStore. */
7931
8055
  purge(request: {
@@ -7983,7 +8107,7 @@ declare namespace gapi.client {
7983
8107
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7984
8108
  uploadType?: string;
7985
8109
  },
7986
- body: GoogleCloudDiscoveryengineV1PurgeSuggestionDenyListEntriesRequest
8110
+ body: GoogleCloudDiscoveryengineV1PurgeSuggestionDenyListEntriesRequest,
7987
8111
  ): Request<GoogleLongrunningOperation>;
7988
8112
  }
7989
8113
  interface UserEventsResource {
@@ -8076,7 +8200,7 @@ declare namespace gapi.client {
8076
8200
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8077
8201
  uploadType?: string;
8078
8202
  },
8079
- body: GoogleCloudDiscoveryengineV1ImportUserEventsRequest
8203
+ body: GoogleCloudDiscoveryengineV1ImportUserEventsRequest,
8080
8204
  ): Request<GoogleLongrunningOperation>;
8081
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. */
8082
8206
  purge(request: {
@@ -8134,7 +8258,7 @@ declare namespace gapi.client {
8134
8258
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8135
8259
  uploadType?: string;
8136
8260
  },
8137
- body: GoogleCloudDiscoveryengineV1PurgeUserEventsRequest
8261
+ body: GoogleCloudDiscoveryengineV1PurgeUserEventsRequest,
8138
8262
  ): Request<GoogleLongrunningOperation>;
8139
8263
  /** Writes a single user event. */
8140
8264
  write(request: {
@@ -8196,7 +8320,7 @@ declare namespace gapi.client {
8196
8320
  /** If set to true, the user event is written asynchronously after validation, and the API responds without waiting for the write. */
8197
8321
  writeAsync?: boolean;
8198
8322
  },
8199
- body: GoogleCloudDiscoveryengineV1UserEvent
8323
+ body: GoogleCloudDiscoveryengineV1UserEvent,
8200
8324
  ): Request<GoogleCloudDiscoveryengineV1UserEvent>;
8201
8325
  }
8202
8326
  interface DataStoresResource {
@@ -8311,7 +8435,7 @@ declare namespace gapi.client {
8311
8435
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8312
8436
  uploadType?: string;
8313
8437
  },
8314
- body: GoogleCloudDiscoveryengineV1DataStore
8438
+ body: GoogleCloudDiscoveryengineV1DataStore,
8315
8439
  ): Request<GoogleLongrunningOperation>;
8316
8440
  /** Deletes a DataStore. */
8317
8441
  delete(request?: {
@@ -8487,7 +8611,7 @@ declare namespace gapi.client {
8487
8611
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8488
8612
  uploadType?: string;
8489
8613
  },
8490
- body: GoogleCloudDiscoveryengineV1DataStore
8614
+ body: GoogleCloudDiscoveryengineV1DataStore,
8491
8615
  ): Request<GoogleCloudDiscoveryengineV1DataStore>;
8492
8616
  /** Trains a custom model. */
8493
8617
  trainCustomModel(request: {
@@ -8545,7 +8669,7 @@ declare namespace gapi.client {
8545
8669
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8546
8670
  uploadType?: string;
8547
8671
  },
8548
- body: GoogleCloudDiscoveryengineV1TrainCustomModelRequest
8672
+ body: GoogleCloudDiscoveryengineV1TrainCustomModelRequest,
8549
8673
  ): Request<GoogleLongrunningOperation>;
8550
8674
  branches: BranchesResource;
8551
8675
  completionSuggestions: CompletionSuggestionsResource;
@@ -8622,7 +8746,7 @@ declare namespace gapi.client {
8622
8746
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8623
8747
  uploadType?: string;
8624
8748
  },
8625
- body: GoogleCloudDiscoveryengineV1Control
8749
+ body: GoogleCloudDiscoveryengineV1Control,
8626
8750
  ): Request<GoogleCloudDiscoveryengineV1Control>;
8627
8751
  /** Deletes a Control. If the Control to delete does not exist, a NOT_FOUND error is returned. */
8628
8752
  delete(request?: {
@@ -8771,7 +8895,7 @@ declare namespace gapi.client {
8771
8895
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8772
8896
  uploadType?: string;
8773
8897
  },
8774
- body: GoogleCloudDiscoveryengineV1Control
8898
+ body: GoogleCloudDiscoveryengineV1Control,
8775
8899
  ): Request<GoogleCloudDiscoveryengineV1Control>;
8776
8900
  }
8777
8901
  interface ConversationsResource {
@@ -8831,7 +8955,7 @@ declare namespace gapi.client {
8831
8955
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8832
8956
  uploadType?: string;
8833
8957
  },
8834
- body: GoogleCloudDiscoveryengineV1ConverseConversationRequest
8958
+ body: GoogleCloudDiscoveryengineV1ConverseConversationRequest,
8835
8959
  ): Request<GoogleCloudDiscoveryengineV1ConverseConversationResponse>;
8836
8960
  /** Creates a Conversation. If the Conversation to create already exists, an ALREADY_EXISTS error is returned. */
8837
8961
  create(request: {
@@ -8889,7 +9013,7 @@ declare namespace gapi.client {
8889
9013
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8890
9014
  uploadType?: string;
8891
9015
  },
8892
- body: GoogleCloudDiscoveryengineV1Conversation
9016
+ body: GoogleCloudDiscoveryengineV1Conversation,
8893
9017
  ): Request<GoogleCloudDiscoveryengineV1Conversation>;
8894
9018
  /** Deletes a Conversation. If the Conversation to delete does not exist, a NOT_FOUND error is returned. */
8895
9019
  delete(request?: {
@@ -9040,7 +9164,7 @@ declare namespace gapi.client {
9040
9164
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9041
9165
  uploadType?: string;
9042
9166
  },
9043
- body: GoogleCloudDiscoveryengineV1Conversation
9167
+ body: GoogleCloudDiscoveryengineV1Conversation,
9044
9168
  ): Request<GoogleCloudDiscoveryengineV1Conversation>;
9045
9169
  }
9046
9170
  interface OperationsResource {
@@ -9162,7 +9286,7 @@ declare namespace gapi.client {
9162
9286
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9163
9287
  uploadType?: string;
9164
9288
  },
9165
- body: GoogleCloudDiscoveryengineV1AnswerQueryRequest
9289
+ body: GoogleCloudDiscoveryengineV1AnswerQueryRequest,
9166
9290
  ): Request<GoogleCloudDiscoveryengineV1AnswerQueryResponse>;
9167
9291
  /** Updates a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does not exist. */
9168
9292
  patch(request: {
@@ -9224,7 +9348,7 @@ declare namespace gapi.client {
9224
9348
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9225
9349
  uploadType?: string;
9226
9350
  },
9227
- body: GoogleCloudDiscoveryengineV1ServingConfig
9351
+ body: GoogleCloudDiscoveryengineV1ServingConfig,
9228
9352
  ): Request<GoogleCloudDiscoveryengineV1ServingConfig>;
9229
9353
  /** Makes a recommendation, which requires a contextual user event. */
9230
9354
  recommend(request: {
@@ -9282,7 +9406,7 @@ declare namespace gapi.client {
9282
9406
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9283
9407
  uploadType?: string;
9284
9408
  },
9285
- body: GoogleCloudDiscoveryengineV1RecommendRequest
9409
+ body: GoogleCloudDiscoveryengineV1RecommendRequest,
9286
9410
  ): Request<GoogleCloudDiscoveryengineV1RecommendResponse>;
9287
9411
  /** Performs a search. */
9288
9412
  search(request: {
@@ -9340,7 +9464,7 @@ declare namespace gapi.client {
9340
9464
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9341
9465
  uploadType?: string;
9342
9466
  },
9343
- body: GoogleCloudDiscoveryengineV1SearchRequest
9467
+ body: GoogleCloudDiscoveryengineV1SearchRequest,
9344
9468
  ): Request<GoogleCloudDiscoveryengineV1SearchResponse>;
9345
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. */
9346
9470
  searchLite(request: {
@@ -9398,7 +9522,7 @@ declare namespace gapi.client {
9398
9522
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9399
9523
  uploadType?: string;
9400
9524
  },
9401
- body: GoogleCloudDiscoveryengineV1SearchRequest
9525
+ body: GoogleCloudDiscoveryengineV1SearchRequest,
9402
9526
  ): Request<GoogleCloudDiscoveryengineV1SearchResponse>;
9403
9527
  /** Answer query method (streaming). It takes one AnswerQueryRequest and returns multiple AnswerQueryResponse messages in a stream. */
9404
9528
  streamAnswer(request: {
@@ -9456,7 +9580,7 @@ declare namespace gapi.client {
9456
9580
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9457
9581
  uploadType?: string;
9458
9582
  },
9459
- body: GoogleCloudDiscoveryengineV1AnswerQueryRequest
9583
+ body: GoogleCloudDiscoveryengineV1AnswerQueryRequest,
9460
9584
  ): Request<GoogleCloudDiscoveryengineV1AnswerQueryResponse>;
9461
9585
  }
9462
9586
  interface AnswersResource {
@@ -9545,7 +9669,7 @@ declare namespace gapi.client {
9545
9669
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9546
9670
  uploadType?: string;
9547
9671
  },
9548
- body: GoogleCloudDiscoveryengineV1Session
9672
+ body: GoogleCloudDiscoveryengineV1Session,
9549
9673
  ): Request<GoogleCloudDiscoveryengineV1Session>;
9550
9674
  /** Deletes a Session. If the Session to delete does not exist, a NOT_FOUND error is returned. */
9551
9675
  delete(request?: {
@@ -9698,7 +9822,7 @@ declare namespace gapi.client {
9698
9822
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9699
9823
  uploadType?: string;
9700
9824
  },
9701
- body: GoogleCloudDiscoveryengineV1Session
9825
+ body: GoogleCloudDiscoveryengineV1Session,
9702
9826
  ): Request<GoogleCloudDiscoveryengineV1Session>;
9703
9827
  answers: AnswersResource;
9704
9828
  }
@@ -9763,7 +9887,7 @@ declare namespace gapi.client {
9763
9887
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9764
9888
  uploadType?: string;
9765
9889
  },
9766
- body: GoogleCloudDiscoveryengineV1Engine
9890
+ body: GoogleCloudDiscoveryengineV1Engine,
9767
9891
  ): Request<GoogleLongrunningOperation>;
9768
9892
  /** Deletes a Engine. */
9769
9893
  delete(request?: {
@@ -9912,7 +10036,7 @@ declare namespace gapi.client {
9912
10036
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9913
10037
  uploadType?: string;
9914
10038
  },
9915
- body: GoogleCloudDiscoveryengineV1Engine
10039
+ body: GoogleCloudDiscoveryengineV1Engine,
9916
10040
  ): Request<GoogleCloudDiscoveryengineV1Engine>;
9917
10041
  controls: ControlsResource;
9918
10042
  conversations: ConversationsResource;
@@ -10049,7 +10173,7 @@ declare namespace gapi.client {
10049
10173
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10050
10174
  uploadType?: string;
10051
10175
  },
10052
- body: GoogleCloudDiscoveryengineV1Document
10176
+ body: GoogleCloudDiscoveryengineV1Document,
10053
10177
  ): Request<GoogleCloudDiscoveryengineV1Document>;
10054
10178
  /** Deletes a Document. */
10055
10179
  delete(request?: {
@@ -10161,7 +10285,7 @@ declare namespace gapi.client {
10161
10285
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10162
10286
  uploadType?: string;
10163
10287
  },
10164
- body: GoogleCloudDiscoveryengineV1ImportDocumentsRequest
10288
+ body: GoogleCloudDiscoveryengineV1ImportDocumentsRequest,
10165
10289
  ): Request<GoogleLongrunningOperation>;
10166
10290
  /** Gets a list of Documents. */
10167
10291
  list(request?: {
@@ -10258,7 +10382,7 @@ declare namespace gapi.client {
10258
10382
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10259
10383
  uploadType?: string;
10260
10384
  },
10261
- body: GoogleCloudDiscoveryengineV1Document
10385
+ body: GoogleCloudDiscoveryengineV1Document,
10262
10386
  ): Request<GoogleCloudDiscoveryengineV1Document>;
10263
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. */
10264
10388
  purge(request: {
@@ -10316,7 +10440,7 @@ declare namespace gapi.client {
10316
10440
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10317
10441
  uploadType?: string;
10318
10442
  },
10319
- body: GoogleCloudDiscoveryengineV1PurgeDocumentsRequest
10443
+ body: GoogleCloudDiscoveryengineV1PurgeDocumentsRequest,
10320
10444
  ): Request<GoogleLongrunningOperation>;
10321
10445
  }
10322
10446
  interface OperationsResource {
@@ -10376,7 +10500,7 @@ declare namespace gapi.client {
10376
10500
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10377
10501
  uploadType?: string;
10378
10502
  },
10379
- body: GoogleLongrunningCancelOperationRequest
10503
+ body: GoogleLongrunningCancelOperationRequest,
10380
10504
  ): Request<{}>;
10381
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. */
10382
10506
  get(request?: {
@@ -10531,7 +10655,7 @@ declare namespace gapi.client {
10531
10655
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10532
10656
  uploadType?: string;
10533
10657
  },
10534
- body: GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsRequest
10658
+ body: GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsRequest,
10535
10659
  ): Request<GoogleLongrunningOperation>;
10536
10660
  /** Permanently deletes all CompletionSuggestions for a DataStore. */
10537
10661
  purge(request: {
@@ -10589,7 +10713,7 @@ declare namespace gapi.client {
10589
10713
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10590
10714
  uploadType?: string;
10591
10715
  },
10592
- body: GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsRequest
10716
+ body: GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsRequest,
10593
10717
  ): Request<GoogleLongrunningOperation>;
10594
10718
  }
10595
10719
  interface ControlsResource {
@@ -10653,7 +10777,7 @@ declare namespace gapi.client {
10653
10777
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10654
10778
  uploadType?: string;
10655
10779
  },
10656
- body: GoogleCloudDiscoveryengineV1Control
10780
+ body: GoogleCloudDiscoveryengineV1Control,
10657
10781
  ): Request<GoogleCloudDiscoveryengineV1Control>;
10658
10782
  /** Deletes a Control. If the Control to delete does not exist, a NOT_FOUND error is returned. */
10659
10783
  delete(request?: {
@@ -10802,7 +10926,7 @@ declare namespace gapi.client {
10802
10926
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10803
10927
  uploadType?: string;
10804
10928
  },
10805
- body: GoogleCloudDiscoveryengineV1Control
10929
+ body: GoogleCloudDiscoveryengineV1Control,
10806
10930
  ): Request<GoogleCloudDiscoveryengineV1Control>;
10807
10931
  }
10808
10932
  interface ConversationsResource {
@@ -10862,7 +10986,7 @@ declare namespace gapi.client {
10862
10986
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10863
10987
  uploadType?: string;
10864
10988
  },
10865
- body: GoogleCloudDiscoveryengineV1ConverseConversationRequest
10989
+ body: GoogleCloudDiscoveryengineV1ConverseConversationRequest,
10866
10990
  ): Request<GoogleCloudDiscoveryengineV1ConverseConversationResponse>;
10867
10991
  /** Creates a Conversation. If the Conversation to create already exists, an ALREADY_EXISTS error is returned. */
10868
10992
  create(request: {
@@ -10920,7 +11044,7 @@ declare namespace gapi.client {
10920
11044
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10921
11045
  uploadType?: string;
10922
11046
  },
10923
- body: GoogleCloudDiscoveryengineV1Conversation
11047
+ body: GoogleCloudDiscoveryengineV1Conversation,
10924
11048
  ): Request<GoogleCloudDiscoveryengineV1Conversation>;
10925
11049
  /** Deletes a Conversation. If the Conversation to delete does not exist, a NOT_FOUND error is returned. */
10926
11050
  delete(request?: {
@@ -11071,7 +11195,7 @@ declare namespace gapi.client {
11071
11195
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11072
11196
  uploadType?: string;
11073
11197
  },
11074
- body: GoogleCloudDiscoveryengineV1Conversation
11198
+ body: GoogleCloudDiscoveryengineV1Conversation,
11075
11199
  ): Request<GoogleCloudDiscoveryengineV1Conversation>;
11076
11200
  }
11077
11201
  interface OperationsResource {
@@ -11262,7 +11386,7 @@ declare namespace gapi.client {
11262
11386
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11263
11387
  uploadType?: string;
11264
11388
  },
11265
- body: GoogleCloudDiscoveryengineV1Schema
11389
+ body: GoogleCloudDiscoveryengineV1Schema,
11266
11390
  ): Request<GoogleLongrunningOperation>;
11267
11391
  /** Deletes a Schema. */
11268
11392
  delete(request?: {
@@ -11409,7 +11533,7 @@ declare namespace gapi.client {
11409
11533
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11410
11534
  uploadType?: string;
11411
11535
  },
11412
- body: GoogleCloudDiscoveryengineV1Schema
11536
+ body: GoogleCloudDiscoveryengineV1Schema,
11413
11537
  ): Request<GoogleLongrunningOperation>;
11414
11538
  }
11415
11539
  interface ServingConfigsResource {
@@ -11469,7 +11593,7 @@ declare namespace gapi.client {
11469
11593
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11470
11594
  uploadType?: string;
11471
11595
  },
11472
- body: GoogleCloudDiscoveryengineV1AnswerQueryRequest
11596
+ body: GoogleCloudDiscoveryengineV1AnswerQueryRequest,
11473
11597
  ): Request<GoogleCloudDiscoveryengineV1AnswerQueryResponse>;
11474
11598
  /** Updates a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does not exist. */
11475
11599
  patch(request: {
@@ -11531,7 +11655,7 @@ declare namespace gapi.client {
11531
11655
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11532
11656
  uploadType?: string;
11533
11657
  },
11534
- body: GoogleCloudDiscoveryengineV1ServingConfig
11658
+ body: GoogleCloudDiscoveryengineV1ServingConfig,
11535
11659
  ): Request<GoogleCloudDiscoveryengineV1ServingConfig>;
11536
11660
  /** Makes a recommendation, which requires a contextual user event. */
11537
11661
  recommend(request: {
@@ -11589,7 +11713,7 @@ declare namespace gapi.client {
11589
11713
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11590
11714
  uploadType?: string;
11591
11715
  },
11592
- body: GoogleCloudDiscoveryengineV1RecommendRequest
11716
+ body: GoogleCloudDiscoveryengineV1RecommendRequest,
11593
11717
  ): Request<GoogleCloudDiscoveryengineV1RecommendResponse>;
11594
11718
  /** Performs a search. */
11595
11719
  search(request: {
@@ -11647,7 +11771,7 @@ declare namespace gapi.client {
11647
11771
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11648
11772
  uploadType?: string;
11649
11773
  },
11650
- body: GoogleCloudDiscoveryengineV1SearchRequest
11774
+ body: GoogleCloudDiscoveryengineV1SearchRequest,
11651
11775
  ): Request<GoogleCloudDiscoveryengineV1SearchResponse>;
11652
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. */
11653
11777
  searchLite(request: {
@@ -11705,7 +11829,7 @@ declare namespace gapi.client {
11705
11829
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11706
11830
  uploadType?: string;
11707
11831
  },
11708
- body: GoogleCloudDiscoveryengineV1SearchRequest
11832
+ body: GoogleCloudDiscoveryengineV1SearchRequest,
11709
11833
  ): Request<GoogleCloudDiscoveryengineV1SearchResponse>;
11710
11834
  /** Answer query method (streaming). It takes one AnswerQueryRequest and returns multiple AnswerQueryResponse messages in a stream. */
11711
11835
  streamAnswer(request: {
@@ -11763,7 +11887,7 @@ declare namespace gapi.client {
11763
11887
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11764
11888
  uploadType?: string;
11765
11889
  },
11766
- body: GoogleCloudDiscoveryengineV1AnswerQueryRequest
11890
+ body: GoogleCloudDiscoveryengineV1AnswerQueryRequest,
11767
11891
  ): Request<GoogleCloudDiscoveryengineV1AnswerQueryResponse>;
11768
11892
  }
11769
11893
  interface AnswersResource {
@@ -11852,7 +11976,7 @@ declare namespace gapi.client {
11852
11976
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11853
11977
  uploadType?: string;
11854
11978
  },
11855
- body: GoogleCloudDiscoveryengineV1Session
11979
+ body: GoogleCloudDiscoveryengineV1Session,
11856
11980
  ): Request<GoogleCloudDiscoveryengineV1Session>;
11857
11981
  /** Deletes a Session. If the Session to delete does not exist, a NOT_FOUND error is returned. */
11858
11982
  delete(request?: {
@@ -12005,7 +12129,7 @@ declare namespace gapi.client {
12005
12129
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12006
12130
  uploadType?: string;
12007
12131
  },
12008
- body: GoogleCloudDiscoveryengineV1Session
12132
+ body: GoogleCloudDiscoveryengineV1Session,
12009
12133
  ): Request<GoogleCloudDiscoveryengineV1Session>;
12010
12134
  answers: AnswersResource;
12011
12135
  }
@@ -12066,7 +12190,7 @@ declare namespace gapi.client {
12066
12190
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12067
12191
  uploadType?: string;
12068
12192
  },
12069
- body: GoogleCloudDiscoveryengineV1BatchCreateTargetSitesRequest
12193
+ body: GoogleCloudDiscoveryengineV1BatchCreateTargetSitesRequest,
12070
12194
  ): Request<GoogleLongrunningOperation>;
12071
12195
  /** Creates a TargetSite. */
12072
12196
  create(request: {
@@ -12124,7 +12248,7 @@ declare namespace gapi.client {
12124
12248
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12125
12249
  uploadType?: string;
12126
12250
  },
12127
- body: GoogleCloudDiscoveryengineV1TargetSite
12251
+ body: GoogleCloudDiscoveryengineV1TargetSite,
12128
12252
  ): Request<GoogleLongrunningOperation>;
12129
12253
  /** Deletes a TargetSite. */
12130
12254
  delete(request?: {
@@ -12267,7 +12391,7 @@ declare namespace gapi.client {
12267
12391
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12268
12392
  uploadType?: string;
12269
12393
  },
12270
- body: GoogleCloudDiscoveryengineV1TargetSite
12394
+ body: GoogleCloudDiscoveryengineV1TargetSite,
12271
12395
  ): Request<GoogleLongrunningOperation>;
12272
12396
  }
12273
12397
  interface SiteSearchEngineResource {
@@ -12327,7 +12451,7 @@ declare namespace gapi.client {
12327
12451
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12328
12452
  uploadType?: string;
12329
12453
  },
12330
- body: GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchRequest
12454
+ body: GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchRequest,
12331
12455
  ): Request<GoogleLongrunningOperation>;
12332
12456
  /** Upgrade from basic site search to advanced site search. */
12333
12457
  enableAdvancedSiteSearch(request: {
@@ -12385,7 +12509,7 @@ declare namespace gapi.client {
12385
12509
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12386
12510
  uploadType?: string;
12387
12511
  },
12388
- body: GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchRequest
12512
+ body: GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchRequest,
12389
12513
  ): Request<GoogleLongrunningOperation>;
12390
12514
  /** Request on-demand recrawl for a list of URIs. */
12391
12515
  recrawlUris(request: {
@@ -12443,7 +12567,7 @@ declare namespace gapi.client {
12443
12567
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12444
12568
  uploadType?: string;
12445
12569
  },
12446
- body: GoogleCloudDiscoveryengineV1RecrawlUrisRequest
12570
+ body: GoogleCloudDiscoveryengineV1RecrawlUrisRequest,
12447
12571
  ): Request<GoogleLongrunningOperation>;
12448
12572
  targetSites: TargetSitesResource;
12449
12573
  }
@@ -12504,7 +12628,7 @@ declare namespace gapi.client {
12504
12628
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12505
12629
  uploadType?: string;
12506
12630
  },
12507
- body: GoogleCloudDiscoveryengineV1ImportSuggestionDenyListEntriesRequest
12631
+ body: GoogleCloudDiscoveryengineV1ImportSuggestionDenyListEntriesRequest,
12508
12632
  ): Request<GoogleLongrunningOperation>;
12509
12633
  /** Permanently deletes all SuggestionDenyListEntry for a DataStore. */
12510
12634
  purge(request: {
@@ -12562,7 +12686,7 @@ declare namespace gapi.client {
12562
12686
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12563
12687
  uploadType?: string;
12564
12688
  },
12565
- body: GoogleCloudDiscoveryengineV1PurgeSuggestionDenyListEntriesRequest
12689
+ body: GoogleCloudDiscoveryengineV1PurgeSuggestionDenyListEntriesRequest,
12566
12690
  ): Request<GoogleLongrunningOperation>;
12567
12691
  }
12568
12692
  interface UserEventsResource {
@@ -12655,7 +12779,7 @@ declare namespace gapi.client {
12655
12779
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12656
12780
  uploadType?: string;
12657
12781
  },
12658
- body: GoogleCloudDiscoveryengineV1ImportUserEventsRequest
12782
+ body: GoogleCloudDiscoveryengineV1ImportUserEventsRequest,
12659
12783
  ): Request<GoogleLongrunningOperation>;
12660
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. */
12661
12785
  purge(request: {
@@ -12713,7 +12837,7 @@ declare namespace gapi.client {
12713
12837
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12714
12838
  uploadType?: string;
12715
12839
  },
12716
- body: GoogleCloudDiscoveryengineV1PurgeUserEventsRequest
12840
+ body: GoogleCloudDiscoveryengineV1PurgeUserEventsRequest,
12717
12841
  ): Request<GoogleLongrunningOperation>;
12718
12842
  /** Writes a single user event. */
12719
12843
  write(request: {
@@ -12775,7 +12899,7 @@ declare namespace gapi.client {
12775
12899
  /** If set to true, the user event is written asynchronously after validation, and the API responds without waiting for the write. */
12776
12900
  writeAsync?: boolean;
12777
12901
  },
12778
- body: GoogleCloudDiscoveryengineV1UserEvent
12902
+ body: GoogleCloudDiscoveryengineV1UserEvent,
12779
12903
  ): Request<GoogleCloudDiscoveryengineV1UserEvent>;
12780
12904
  }
12781
12905
  interface DataStoresResource {
@@ -12890,7 +13014,7 @@ declare namespace gapi.client {
12890
13014
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12891
13015
  uploadType?: string;
12892
13016
  },
12893
- body: GoogleCloudDiscoveryengineV1DataStore
13017
+ body: GoogleCloudDiscoveryengineV1DataStore,
12894
13018
  ): Request<GoogleLongrunningOperation>;
12895
13019
  /** Deletes a DataStore. */
12896
13020
  delete(request?: {
@@ -13066,7 +13190,7 @@ declare namespace gapi.client {
13066
13190
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13067
13191
  uploadType?: string;
13068
13192
  },
13069
- body: GoogleCloudDiscoveryengineV1DataStore
13193
+ body: GoogleCloudDiscoveryengineV1DataStore,
13070
13194
  ): Request<GoogleCloudDiscoveryengineV1DataStore>;
13071
13195
  branches: BranchesResource;
13072
13196
  completionSuggestions: CompletionSuggestionsResource;
@@ -13138,7 +13262,7 @@ declare namespace gapi.client {
13138
13262
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13139
13263
  uploadType?: string;
13140
13264
  },
13141
- body: GoogleCloudDiscoveryengineV1CheckGroundingRequest
13265
+ body: GoogleCloudDiscoveryengineV1CheckGroundingRequest,
13142
13266
  ): Request<GoogleCloudDiscoveryengineV1CheckGroundingResponse>;
13143
13267
  }
13144
13268
  interface OperationsResource {
@@ -13204,6 +13328,308 @@ declare namespace gapi.client {
13204
13328
  }): Request<GoogleLongrunningListOperationsResponse>;
13205
13329
  }
13206
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>;
13207
13633
  operations: OperationsResource;
13208
13634
  }
13209
13635
  interface OperationsResource {
@@ -13325,7 +13751,7 @@ declare namespace gapi.client {
13325
13751
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13326
13752
  uploadType?: string;
13327
13753
  },
13328
- body: GoogleCloudDiscoveryengineV1RankRequest
13754
+ body: GoogleCloudDiscoveryengineV1RankRequest,
13329
13755
  ): Request<GoogleCloudDiscoveryengineV1RankResponse>;
13330
13756
  }
13331
13757
  interface UserEventsResource {
@@ -13418,7 +13844,7 @@ declare namespace gapi.client {
13418
13844
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13419
13845
  uploadType?: string;
13420
13846
  },
13421
- body: GoogleCloudDiscoveryengineV1ImportUserEventsRequest
13847
+ body: GoogleCloudDiscoveryengineV1ImportUserEventsRequest,
13422
13848
  ): Request<GoogleLongrunningOperation>;
13423
13849
  /** Writes a single user event. */
13424
13850
  write(request: {
@@ -13480,7 +13906,7 @@ declare namespace gapi.client {
13480
13906
  /** If set to true, the user event is written asynchronously after validation, and the API responds without waiting for the write. */
13481
13907
  writeAsync?: boolean;
13482
13908
  },
13483
- body: GoogleCloudDiscoveryengineV1UserEvent
13909
+ body: GoogleCloudDiscoveryengineV1UserEvent,
13484
13910
  ): Request<GoogleCloudDiscoveryengineV1UserEvent>;
13485
13911
  }
13486
13912
  interface LocationsResource {
@@ -13540,7 +13966,7 @@ declare namespace gapi.client {
13540
13966
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13541
13967
  uploadType?: string;
13542
13968
  },
13543
- body: GoogleCloudDiscoveryengineV1GenerateGroundedContentRequest
13969
+ body: GoogleCloudDiscoveryengineV1GenerateGroundedContentRequest,
13544
13970
  ): Request<GoogleCloudDiscoveryengineV1GenerateGroundedContentResponse>;
13545
13971
  collections: CollectionsResource;
13546
13972
  dataStores: DataStoresResource;
@@ -13607,7 +14033,7 @@ declare namespace gapi.client {
13607
14033
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13608
14034
  uploadType?: string;
13609
14035
  },
13610
- body: GoogleLongrunningCancelOperationRequest
14036
+ body: GoogleLongrunningCancelOperationRequest,
13611
14037
  ): Request<{}>;
13612
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. */
13613
14039
  get(request?: {
@@ -13727,7 +14153,7 @@ declare namespace gapi.client {
13727
14153
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13728
14154
  uploadType?: string;
13729
14155
  },
13730
- body: GoogleCloudDiscoveryengineV1ProvisionProjectRequest
14156
+ body: GoogleCloudDiscoveryengineV1ProvisionProjectRequest,
13731
14157
  ): Request<GoogleLongrunningOperation>;
13732
14158
  locations: LocationsResource;
13733
14159
  operations: OperationsResource;