@maxim_mazurok/gapi.client.discoveryengine-v1alpha 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 +585 -130
  2. package/package.json +1 -1
  3. package/readme.md +2 -2
package/index.d.ts CHANGED
@@ -9,14 +9,14 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://discoveryengine.googleapis.com/$discovery/rest?version=v1alpha
12
- // Revision: 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 v1alpha */
18
18
  function load(
19
- urlOrObject: 'https://discoveryengine.googleapis.com/$discovery/rest?version=v1alpha'
19
+ urlOrObject: 'https://discoveryengine.googleapis.com/$discovery/rest?version=v1alpha',
20
20
  ): Promise<void>;
21
21
  /** @deprecated Please load APIs with discovery documents. */
22
22
  function load(name: 'discoveryengine', version: 'v1alpha'): Promise<void>;
@@ -24,7 +24,7 @@ declare namespace gapi.client {
24
24
  function load(
25
25
  name: 'discoveryengine',
26
26
  version: 'v1alpha',
27
- callback: () => any
27
+ callback: () => any,
28
28
  ): void;
29
29
 
30
30
  namespace discoveryengine {
@@ -766,11 +766,11 @@ declare namespace gapi.client {
766
766
  citationIndices?: number[];
767
767
  /** Text for the claim in the answer candidate. Always provided regardless of whether citations or anti-citations are found. */
768
768
  claimText?: string;
769
- /** Position indicating the end of the claim in the answer candidate, exclusive. */
769
+ /** Position indicating the end of the claim in the answer candidate, exclusive, in bytes. Note that this is not measured in characters and, therefore, must be rendered as such. For example, if the claim text contains non-ASCII characters, the start and end positions vary when measured in characters (programming-language-dependent) and when measured in bytes (programming-language-independent). */
770
770
  endPos?: number;
771
771
  /** Indicates that this claim required grounding check. When the system decided this claim doesn't require attribution/grounding check, this field will be set to false. In that case, no grounding check was done for the claim and therefore citation_indices should not be returned. */
772
772
  groundingCheckRequired?: boolean;
773
- /** Position indicating the start of the claim in the answer candidate, measured in bytes. */
773
+ /** Position indicating the start of the claim in the answer candidate, measured in bytes. Note that this is not measured in characters and, therefore, must be rendered in the user interface keeping in mind that some characters may take more than one byte. For example, if the claim text contains non-ASCII characters, the start and end positions vary when measured in characters (programming-language-dependent) and when measured in bytes (programming-language-independent). */
774
774
  startPos?: number;
775
775
  }
776
776
  interface GoogleCloudDiscoveryengineV1alphaCheckGroundingSpec {
@@ -1237,6 +1237,8 @@ declare namespace gapi.client {
1237
1237
  displayName?: string;
1238
1238
  /** Configuration for Document understanding and enrichment. */
1239
1239
  documentProcessingConfig?: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig;
1240
+ /** Optional. Configuration for `HEALTHCARE_FHIR` vertical. */
1241
+ healthcareFhirConfig?: GoogleCloudDiscoveryengineV1alphaHealthcareFhirConfig;
1240
1242
  /** Output only. Data store level identity provider config. */
1241
1243
  idpConfig?: GoogleCloudDiscoveryengineV1alphaIdpConfig;
1242
1244
  /** Immutable. The industry vertical that the data store registers. */
@@ -1284,6 +1286,12 @@ declare namespace gapi.client {
1284
1286
  /** Vertex AI's dedicated crawl rate time series of user triggered crawl, which is the crawl rate of Google-CloudVertexBot when dedicate crawl is set, and user triggered crawl rate is for deterministic use cases like crawling urls or sitemaps specified by users. */
1285
1287
  userTriggeredCrawlRate?: GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries;
1286
1288
  }
1289
+ interface GoogleCloudDiscoveryengineV1alphaDeleteCmekConfigMetadata {
1290
+ /** Operation create time. */
1291
+ createTime?: string;
1292
+ /** Operation last update time. If the operation is done, this is also the finish time. */
1293
+ updateTime?: string;
1294
+ }
1287
1295
  interface GoogleCloudDiscoveryengineV1alphaDeleteCollectionMetadata {
1288
1296
  /** Operation create time. */
1289
1297
  createTime?: string;
@@ -1865,6 +1873,38 @@ declare namespace gapi.client {
1865
1873
  /** Max number of related questions to be returned. The valid range is [1, 5]. If enable_related_questions is true, the default value is 3. */
1866
1874
  maxRelatedQuestions?: number;
1867
1875
  }
1876
+ interface GoogleCloudDiscoveryengineV1alphaHealthcareFhirConfig {
1877
+ /** 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. */
1878
+ enableConfigurableSchema?: boolean;
1879
+ /** 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. */
1880
+ enableStaticIndexingForBatchIngestion?: boolean;
1881
+ }
1882
+ interface GoogleCloudDiscoveryengineV1alphaIdentityMappingEntry {
1883
+ /** Required. Identity outside the customer identity provider. The length limit of external identity will be of 100 characters. */
1884
+ externalIdentity?: string;
1885
+ /** 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. */
1886
+ groupId?: string;
1887
+ /** 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. */
1888
+ userId?: string;
1889
+ }
1890
+ interface GoogleCloudDiscoveryengineV1alphaIdentityMappingEntryOperationMetadata {
1891
+ /** The number of IdentityMappingEntries that failed to be processed. */
1892
+ failureCount?: string;
1893
+ /** The number of IdentityMappingEntries that were successfully processed. */
1894
+ successCount?: string;
1895
+ /** The total number of IdentityMappingEntries that were processed. */
1896
+ totalCount?: string;
1897
+ }
1898
+ interface GoogleCloudDiscoveryengineV1alphaIdentityMappingStore {
1899
+ /** Output only. CMEK-related information for the Identity Mapping Store. */
1900
+ cmekConfig?: GoogleCloudDiscoveryengineV1alphaCmekConfig;
1901
+ /** Output only. The identity provider configuration this is bound to translate the identity mapping entries within. */
1902
+ idpConfig?: GoogleCloudDiscoveryengineV1alphaIdpConfig;
1903
+ /** 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. */
1904
+ kmsKeyName?: string;
1905
+ /** 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. */
1906
+ name?: string;
1907
+ }
1868
1908
  interface GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig {
1869
1909
  /** 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. */
1870
1910
  nextSyncTime?: GoogleTypeDateTime;
@@ -1969,6 +2009,18 @@ declare namespace gapi.client {
1969
2009
  /** 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. */
1970
2010
  gcsPrefix?: string;
1971
2011
  }
2012
+ interface GoogleCloudDiscoveryengineV1alphaImportIdentityMappingsRequest {
2013
+ /** The inline source to import identity mapping entries from. */
2014
+ inlineSource?: GoogleCloudDiscoveryengineV1alphaImportIdentityMappingsRequestInlineSource;
2015
+ }
2016
+ interface GoogleCloudDiscoveryengineV1alphaImportIdentityMappingsRequestInlineSource {
2017
+ /** A maximum of 10000 entries can be imported at one time */
2018
+ identityMappingEntries?: GoogleCloudDiscoveryengineV1alphaIdentityMappingEntry[];
2019
+ }
2020
+ interface GoogleCloudDiscoveryengineV1alphaImportIdentityMappingsResponse {
2021
+ /** A sample of errors encountered while processing the request. */
2022
+ errorSamples?: GoogleRpcStatus[];
2023
+ }
1972
2024
  interface GoogleCloudDiscoveryengineV1alphaImportSampleQueriesMetadata {
1973
2025
  /** ImportSampleQueries operation create time. */
1974
2026
  createTime?: string;
@@ -2153,6 +2205,18 @@ declare namespace gapi.client {
2153
2205
  /** A token that can be sent as ListEvaluationsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. */
2154
2206
  nextPageToken?: string;
2155
2207
  }
2208
+ interface GoogleCloudDiscoveryengineV1alphaListIdentityMappingsResponse {
2209
+ /** The Identity Mapping Entries. */
2210
+ identityMappingEntries?: GoogleCloudDiscoveryengineV1alphaIdentityMappingEntry[];
2211
+ /** A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
2212
+ nextPageToken?: string;
2213
+ }
2214
+ interface GoogleCloudDiscoveryengineV1alphaListIdentityMappingStoresResponse {
2215
+ /** The Identity Mapping Stores. */
2216
+ identityMappingStores?: GoogleCloudDiscoveryengineV1alphaIdentityMappingStore[];
2217
+ /** A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
2218
+ nextPageToken?: string;
2219
+ }
2156
2220
  interface GoogleCloudDiscoveryengineV1alphaListSampleQueriesResponse {
2157
2221
  /** A token that can be sent as ListSampleQueriesRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. */
2158
2222
  nextPageToken?: string;
@@ -2350,6 +2414,18 @@ declare namespace gapi.client {
2350
2414
  /** 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. */
2351
2415
  gcsPrefix?: string;
2352
2416
  }
2417
+ interface GoogleCloudDiscoveryengineV1alphaPurgeIdentityMappingsRequest {
2418
+ /** 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. */
2419
+ filter?: string;
2420
+ /** 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. */
2421
+ force?: boolean;
2422
+ /** The inline source to purge identity mapping entries from. */
2423
+ inlineSource?: GoogleCloudDiscoveryengineV1alphaPurgeIdentityMappingsRequestInlineSource;
2424
+ }
2425
+ interface GoogleCloudDiscoveryengineV1alphaPurgeIdentityMappingsRequestInlineSource {
2426
+ /** A maximum of 10000 entries can be purged at one time */
2427
+ identityMappingEntries?: GoogleCloudDiscoveryengineV1alphaIdentityMappingEntry[];
2428
+ }
2353
2429
  interface GoogleCloudDiscoveryengineV1alphaPurgeSuggestionDenyListEntriesMetadata {
2354
2430
  /** Operation create time. */
2355
2431
  createTime?: string;
@@ -2478,6 +2554,10 @@ declare namespace gapi.client {
2478
2554
  invalidUris?: string[];
2479
2555
  /** Total number of unique URIs in the request that have invalid format. */
2480
2556
  invalidUrisCount?: number;
2557
+ /** URIs that have no index meta tag. Sample limited to 1000. */
2558
+ noindexUris?: string[];
2559
+ /** Total number of URIs that have no index meta tag. */
2560
+ noindexUrisCount?: number;
2481
2561
  /** Total number of URIs that have yet to be crawled. */
2482
2562
  pendingCount?: number;
2483
2563
  /** Total number of URIs that were rejected due to insufficient indexing resources. */
@@ -2749,7 +2829,7 @@ declare namespace gapi.client {
2749
2829
  sessionSpec?: GoogleCloudDiscoveryengineV1alphaSearchRequestSessionSpec;
2750
2830
  /** The spell correction specification that specifies the mode under which spell correction takes effect. */
2751
2831
  spellCorrectionSpec?: GoogleCloudDiscoveryengineV1alphaSearchRequestSpellCorrectionSpec;
2752
- /** Information about the end user. Highly recommended for analytics. UserInfo.user_agent is used to deduce `device_type` for analytics. */
2832
+ /** Information about the end user. Highly recommended for analytics and personalization. UserInfo.user_agent is used to deduce `device_type` for analytics. */
2753
2833
  userInfo?: GoogleCloudDiscoveryengineV1alphaUserInfo;
2754
2834
  /** 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. */
2755
2835
  userLabels?: {[P in string]: string};
@@ -3693,6 +3773,8 @@ declare namespace gapi.client {
3693
3773
  displayName?: string;
3694
3774
  /** Configuration for Document understanding and enrichment. */
3695
3775
  documentProcessingConfig?: GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig;
3776
+ /** Optional. Configuration for `HEALTHCARE_FHIR` vertical. */
3777
+ healthcareFhirConfig?: GoogleCloudDiscoveryengineV1betaHealthcareFhirConfig;
3696
3778
  /** Immutable. The industry vertical that the data store registers. */
3697
3779
  industryVertical?: string;
3698
3780
  /** Optional. If set, this DataStore is an Infobot FAQ DataStore. */
@@ -3912,6 +3994,20 @@ declare namespace gapi.client {
3912
3994
  /** The Sitemap. */
3913
3995
  sitemap?: GoogleCloudDiscoveryengineV1betaSitemap;
3914
3996
  }
3997
+ interface GoogleCloudDiscoveryengineV1betaHealthcareFhirConfig {
3998
+ /** 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. */
3999
+ enableConfigurableSchema?: boolean;
4000
+ /** 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. */
4001
+ enableStaticIndexingForBatchIngestion?: boolean;
4002
+ }
4003
+ interface GoogleCloudDiscoveryengineV1betaIdentityMappingEntryOperationMetadata {
4004
+ /** The number of IdentityMappingEntries that failed to be processed. */
4005
+ failureCount?: string;
4006
+ /** The number of IdentityMappingEntries that were successfully processed. */
4007
+ successCount?: string;
4008
+ /** The total number of IdentityMappingEntries that were processed. */
4009
+ totalCount?: string;
4010
+ }
3915
4011
  interface GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsMetadata {
3916
4012
  /** Operation create time. */
3917
4013
  createTime?: string;
@@ -3950,6 +4046,10 @@ declare namespace gapi.client {
3950
4046
  /** 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. */
3951
4047
  gcsPrefix?: string;
3952
4048
  }
4049
+ interface GoogleCloudDiscoveryengineV1betaImportIdentityMappingsResponse {
4050
+ /** A sample of errors encountered while processing the request. */
4051
+ errorSamples?: GoogleRpcStatus[];
4052
+ }
3953
4053
  interface GoogleCloudDiscoveryengineV1betaImportSampleQueriesMetadata {
3954
4054
  /** ImportSampleQueries operation create time. */
3955
4055
  createTime?: string;
@@ -4182,7 +4282,7 @@ declare namespace gapi.client {
4182
4282
  sessionSpec?: GoogleCloudDiscoveryengineV1betaSearchRequestSessionSpec;
4183
4283
  /** The spell correction specification that specifies the mode under which spell correction takes effect. */
4184
4284
  spellCorrectionSpec?: GoogleCloudDiscoveryengineV1betaSearchRequestSpellCorrectionSpec;
4185
- /** Information about the end user. Highly recommended for analytics. UserInfo.user_agent is used to deduce `device_type` for analytics. */
4285
+ /** Information about the end user. Highly recommended for analytics and personalization. UserInfo.user_agent is used to deduce `device_type` for analytics. */
4186
4286
  userInfo?: GoogleCloudDiscoveryengineV1betaUserInfo;
4187
4287
  /** 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. */
4188
4288
  userLabels?: {[P in string]: string};
@@ -4593,6 +4693,8 @@ declare namespace gapi.client {
4593
4693
  displayName?: string;
4594
4694
  /** Configuration for Document understanding and enrichment. */
4595
4695
  documentProcessingConfig?: GoogleCloudDiscoveryengineV1DocumentProcessingConfig;
4696
+ /** Optional. Configuration for `HEALTHCARE_FHIR` vertical. */
4697
+ healthcareFhirConfig?: GoogleCloudDiscoveryengineV1HealthcareFhirConfig;
4596
4698
  /** Immutable. The industry vertical that the data store registers. */
4597
4699
  industryVertical?: string;
4598
4700
  /** Optional. If set, this DataStore is an Infobot FAQ DataStore. */
@@ -4628,6 +4730,12 @@ declare namespace gapi.client {
4628
4730
  /** If set true, the DataStore will not be available for serving search requests. */
4629
4731
  disabledForServing?: boolean;
4630
4732
  }
4733
+ interface GoogleCloudDiscoveryengineV1DeleteCmekConfigMetadata {
4734
+ /** Operation create time. */
4735
+ createTime?: string;
4736
+ /** Operation last update time. If the operation is done, this is also the finish time. */
4737
+ updateTime?: string;
4738
+ }
4631
4739
  interface GoogleCloudDiscoveryengineV1DeleteDataStoreMetadata {
4632
4740
  /** Operation create time. */
4633
4741
  createTime?: string;
@@ -4766,6 +4874,20 @@ declare namespace gapi.client {
4766
4874
  /** The search feature tier of this engine. Different tiers might have different pricing. To learn more, check the pricing documentation. Defaults to SearchTier.SEARCH_TIER_STANDARD if not specified. */
4767
4875
  searchTier?: string;
4768
4876
  }
4877
+ interface GoogleCloudDiscoveryengineV1HealthcareFhirConfig {
4878
+ /** 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. */
4879
+ enableConfigurableSchema?: boolean;
4880
+ /** 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. */
4881
+ enableStaticIndexingForBatchIngestion?: boolean;
4882
+ }
4883
+ interface GoogleCloudDiscoveryengineV1IdentityMappingEntryOperationMetadata {
4884
+ /** The number of IdentityMappingEntries that failed to be processed. */
4885
+ failureCount?: string;
4886
+ /** The number of IdentityMappingEntries that were successfully processed. */
4887
+ successCount?: string;
4888
+ /** The total number of IdentityMappingEntries that were processed. */
4889
+ totalCount?: string;
4890
+ }
4769
4891
  interface GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsMetadata {
4770
4892
  /** Operation create time. */
4771
4893
  createTime?: string;
@@ -4804,6 +4926,10 @@ declare namespace gapi.client {
4804
4926
  /** 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. */
4805
4927
  gcsPrefix?: string;
4806
4928
  }
4929
+ interface GoogleCloudDiscoveryengineV1ImportIdentityMappingsResponse {
4930
+ /** A sample of errors encountered while processing the request. */
4931
+ errorSamples?: GoogleRpcStatus[];
4932
+ }
4807
4933
  interface GoogleCloudDiscoveryengineV1ImportSuggestionDenyListEntriesMetadata {
4808
4934
  /** Operation create time. */
4809
4935
  createTime?: string;
@@ -5250,6 +5376,33 @@ declare namespace gapi.client {
5250
5376
  version?: string;
5251
5377
  }
5252
5378
  interface CmekConfigsResource {
5379
+ /** De-provisions a CmekConfig. */
5380
+ delete(request?: {
5381
+ /** V1 error format. */
5382
+ '$.xgafv'?: string;
5383
+ /** OAuth access token. */
5384
+ access_token?: string;
5385
+ /** Data format for response. */
5386
+ alt?: string;
5387
+ /** JSONP */
5388
+ callback?: string;
5389
+ /** Selector specifying which fields to include in a partial response. */
5390
+ fields?: string;
5391
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
5392
+ key?: string;
5393
+ /** Required. The resource name of the CmekConfig to delete, such as `projects/{project}/locations/{location}/cmekConfigs/{cmek_config}`. */
5394
+ name: string;
5395
+ /** OAuth 2.0 token for the current user. */
5396
+ oauth_token?: string;
5397
+ /** Returns response with indentations and line breaks. */
5398
+ prettyPrint?: boolean;
5399
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
5400
+ quotaUser?: string;
5401
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5402
+ upload_protocol?: string;
5403
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5404
+ uploadType?: string;
5405
+ }): Request<GoogleLongrunningOperation>;
5253
5406
  /** Gets the CmekConfig. */
5254
5407
  get(request?: {
5255
5408
  /** V1 error format. */
@@ -5364,7 +5517,7 @@ declare namespace gapi.client {
5364
5517
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5365
5518
  uploadType?: string;
5366
5519
  },
5367
- body: GoogleCloudDiscoveryengineV1alphaCmekConfig
5520
+ body: GoogleCloudDiscoveryengineV1alphaCmekConfig,
5368
5521
  ): Request<GoogleLongrunningOperation>;
5369
5522
  }
5370
5523
  interface ConnectorRunsResource {
@@ -5519,7 +5672,7 @@ declare namespace gapi.client {
5519
5672
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5520
5673
  uploadType?: string;
5521
5674
  },
5522
- body: GoogleCloudDiscoveryengineV1alphaStartConnectorRunRequest
5675
+ body: GoogleCloudDiscoveryengineV1alphaStartConnectorRunRequest,
5523
5676
  ): Request<GoogleCloudDiscoveryengineV1alphaConnectorRun>;
5524
5677
  connectorRuns: ConnectorRunsResource;
5525
5678
  operations: OperationsResource;
@@ -5645,7 +5798,7 @@ declare namespace gapi.client {
5645
5798
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5646
5799
  uploadType?: string;
5647
5800
  },
5648
- body: GoogleCloudDiscoveryengineV1alphaDocument
5801
+ body: GoogleCloudDiscoveryengineV1alphaDocument,
5649
5802
  ): Request<GoogleCloudDiscoveryengineV1alphaDocument>;
5650
5803
  /** Deletes a Document. */
5651
5804
  delete(request?: {
@@ -5788,7 +5941,7 @@ declare namespace gapi.client {
5788
5941
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5789
5942
  uploadType?: string;
5790
5943
  },
5791
- body: GoogleCloudDiscoveryengineV1alphaImportDocumentsRequest
5944
+ body: GoogleCloudDiscoveryengineV1alphaImportDocumentsRequest,
5792
5945
  ): Request<GoogleLongrunningOperation>;
5793
5946
  /** Gets a list of Documents. */
5794
5947
  list(request?: {
@@ -5885,7 +6038,7 @@ declare namespace gapi.client {
5885
6038
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5886
6039
  uploadType?: string;
5887
6040
  },
5888
- body: GoogleCloudDiscoveryengineV1alphaDocument
6041
+ body: GoogleCloudDiscoveryengineV1alphaDocument,
5889
6042
  ): Request<GoogleCloudDiscoveryengineV1alphaDocument>;
5890
6043
  /** Permanently deletes all selected Documents in a branch. This process is asynchronous. Depending on the number of Documents to be deleted, this operation can take hours to complete. Before the delete operation completes, some Documents might still be returned by DocumentService.GetDocument or DocumentService.ListDocuments. To get a list of the Documents to be deleted, set PurgeDocumentsRequest.force to false. */
5891
6044
  purge(request: {
@@ -5943,7 +6096,7 @@ declare namespace gapi.client {
5943
6096
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5944
6097
  uploadType?: string;
5945
6098
  },
5946
- body: GoogleCloudDiscoveryengineV1alphaPurgeDocumentsRequest
6099
+ body: GoogleCloudDiscoveryengineV1alphaPurgeDocumentsRequest,
5947
6100
  ): Request<GoogleLongrunningOperation>;
5948
6101
  chunks: ChunksResource;
5949
6102
  }
@@ -6004,7 +6157,7 @@ declare namespace gapi.client {
6004
6157
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6005
6158
  uploadType?: string;
6006
6159
  },
6007
- body: GoogleLongrunningCancelOperationRequest
6160
+ body: GoogleLongrunningCancelOperationRequest,
6008
6161
  ): Request<{}>;
6009
6162
  /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
6010
6163
  get(request?: {
@@ -6159,7 +6312,7 @@ declare namespace gapi.client {
6159
6312
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6160
6313
  uploadType?: string;
6161
6314
  },
6162
- body: GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequest
6315
+ body: GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequest,
6163
6316
  ): Request<GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponse>;
6164
6317
  }
6165
6318
  interface CompletionSuggestionsResource {
@@ -6219,7 +6372,7 @@ declare namespace gapi.client {
6219
6372
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6220
6373
  uploadType?: string;
6221
6374
  },
6222
- body: GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsRequest
6375
+ body: GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsRequest,
6223
6376
  ): Request<GoogleLongrunningOperation>;
6224
6377
  /** Permanently deletes all CompletionSuggestions for a DataStore. */
6225
6378
  purge(request: {
@@ -6277,7 +6430,7 @@ declare namespace gapi.client {
6277
6430
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6278
6431
  uploadType?: string;
6279
6432
  },
6280
- body: GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsRequest
6433
+ body: GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsRequest,
6281
6434
  ): Request<GoogleLongrunningOperation>;
6282
6435
  }
6283
6436
  interface ControlsResource {
@@ -6341,7 +6494,7 @@ declare namespace gapi.client {
6341
6494
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6342
6495
  uploadType?: string;
6343
6496
  },
6344
- body: GoogleCloudDiscoveryengineV1alphaControl
6497
+ body: GoogleCloudDiscoveryengineV1alphaControl,
6345
6498
  ): Request<GoogleCloudDiscoveryengineV1alphaControl>;
6346
6499
  /** Deletes a Control. If the Control to delete does not exist, a NOT_FOUND error is returned. */
6347
6500
  delete(request?: {
@@ -6490,7 +6643,7 @@ declare namespace gapi.client {
6490
6643
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6491
6644
  uploadType?: string;
6492
6645
  },
6493
- body: GoogleCloudDiscoveryengineV1alphaControl
6646
+ body: GoogleCloudDiscoveryengineV1alphaControl,
6494
6647
  ): Request<GoogleCloudDiscoveryengineV1alphaControl>;
6495
6648
  }
6496
6649
  interface ConversationsResource {
@@ -6550,7 +6703,7 @@ declare namespace gapi.client {
6550
6703
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6551
6704
  uploadType?: string;
6552
6705
  },
6553
- body: GoogleCloudDiscoveryengineV1alphaConverseConversationRequest
6706
+ body: GoogleCloudDiscoveryengineV1alphaConverseConversationRequest,
6554
6707
  ): Request<GoogleCloudDiscoveryengineV1alphaConverseConversationResponse>;
6555
6708
  /** Creates a Conversation. If the Conversation to create already exists, an ALREADY_EXISTS error is returned. */
6556
6709
  create(request: {
@@ -6608,7 +6761,7 @@ declare namespace gapi.client {
6608
6761
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6609
6762
  uploadType?: string;
6610
6763
  },
6611
- body: GoogleCloudDiscoveryengineV1alphaConversation
6764
+ body: GoogleCloudDiscoveryengineV1alphaConversation,
6612
6765
  ): Request<GoogleCloudDiscoveryengineV1alphaConversation>;
6613
6766
  /** Deletes a Conversation. If the Conversation to delete does not exist, a NOT_FOUND error is returned. */
6614
6767
  delete(request?: {
@@ -6759,7 +6912,7 @@ declare namespace gapi.client {
6759
6912
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6760
6913
  uploadType?: string;
6761
6914
  },
6762
- body: GoogleCloudDiscoveryengineV1alphaConversation
6915
+ body: GoogleCloudDiscoveryengineV1alphaConversation,
6763
6916
  ): Request<GoogleCloudDiscoveryengineV1alphaConversation>;
6764
6917
  }
6765
6918
  interface CustomModelsResource {
@@ -7041,7 +7194,7 @@ declare namespace gapi.client {
7041
7194
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7042
7195
  uploadType?: string;
7043
7196
  },
7044
- body: GoogleCloudDiscoveryengineV1alphaSchema
7197
+ body: GoogleCloudDiscoveryengineV1alphaSchema,
7045
7198
  ): Request<GoogleLongrunningOperation>;
7046
7199
  /** Deletes a Schema. */
7047
7200
  delete(request?: {
@@ -7188,7 +7341,7 @@ declare namespace gapi.client {
7188
7341
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7189
7342
  uploadType?: string;
7190
7343
  },
7191
- body: GoogleCloudDiscoveryengineV1alphaSchema
7344
+ body: GoogleCloudDiscoveryengineV1alphaSchema,
7192
7345
  ): Request<GoogleLongrunningOperation>;
7193
7346
  operations: OperationsResource;
7194
7347
  }
@@ -7249,7 +7402,7 @@ declare namespace gapi.client {
7249
7402
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7250
7403
  uploadType?: string;
7251
7404
  },
7252
- body: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest
7405
+ body: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest,
7253
7406
  ): Request<GoogleCloudDiscoveryengineV1alphaAnswerQueryResponse>;
7254
7407
  /** Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not exist. */
7255
7408
  get(request?: {
@@ -7369,7 +7522,7 @@ declare namespace gapi.client {
7369
7522
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7370
7523
  uploadType?: string;
7371
7524
  },
7372
- body: GoogleCloudDiscoveryengineV1alphaServingConfig
7525
+ body: GoogleCloudDiscoveryengineV1alphaServingConfig,
7373
7526
  ): Request<GoogleCloudDiscoveryengineV1alphaServingConfig>;
7374
7527
  /** Makes a recommendation, which requires a contextual user event. */
7375
7528
  recommend(request: {
@@ -7427,7 +7580,7 @@ declare namespace gapi.client {
7427
7580
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7428
7581
  uploadType?: string;
7429
7582
  },
7430
- body: GoogleCloudDiscoveryengineV1alphaRecommendRequest
7583
+ body: GoogleCloudDiscoveryengineV1alphaRecommendRequest,
7431
7584
  ): Request<GoogleCloudDiscoveryengineV1alphaRecommendResponse>;
7432
7585
  /** Performs a search. */
7433
7586
  search(request: {
@@ -7485,7 +7638,7 @@ declare namespace gapi.client {
7485
7638
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7486
7639
  uploadType?: string;
7487
7640
  },
7488
- body: GoogleCloudDiscoveryengineV1alphaSearchRequest
7641
+ body: GoogleCloudDiscoveryengineV1alphaSearchRequest,
7489
7642
  ): Request<GoogleCloudDiscoveryengineV1alphaSearchResponse>;
7490
7643
  /** Performs a search. Similar to the SearchService.Search method, but a lite version that allows API key for authentication, where OAuth and IAM checks are not required. Only public website search is supported by this method. If data stores and engines not associated with public website search are specified, a `FAILED_PRECONDITION` error is returned. This method can be used for easy onboarding without having to implement an authentication backend. However, it is strongly recommended to use SearchService.Search instead with required OAuth and IAM checks to provide better data security. */
7491
7644
  searchLite(request: {
@@ -7543,7 +7696,7 @@ declare namespace gapi.client {
7543
7696
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7544
7697
  uploadType?: string;
7545
7698
  },
7546
- body: GoogleCloudDiscoveryengineV1alphaSearchRequest
7699
+ body: GoogleCloudDiscoveryengineV1alphaSearchRequest,
7547
7700
  ): Request<GoogleCloudDiscoveryengineV1alphaSearchResponse>;
7548
7701
  /** Answer query method (streaming). It takes one AnswerQueryRequest and returns multiple AnswerQueryResponse messages in a stream. */
7549
7702
  streamAnswer(request: {
@@ -7601,7 +7754,7 @@ declare namespace gapi.client {
7601
7754
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7602
7755
  uploadType?: string;
7603
7756
  },
7604
- body: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest
7757
+ body: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest,
7605
7758
  ): Request<GoogleCloudDiscoveryengineV1alphaAnswerQueryResponse>;
7606
7759
  }
7607
7760
  interface AnswersResource {
@@ -7690,7 +7843,7 @@ declare namespace gapi.client {
7690
7843
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7691
7844
  uploadType?: string;
7692
7845
  },
7693
- body: GoogleCloudDiscoveryengineV1alphaSession
7846
+ body: GoogleCloudDiscoveryengineV1alphaSession,
7694
7847
  ): Request<GoogleCloudDiscoveryengineV1alphaSession>;
7695
7848
  /** Deletes a Session. If the Session to delete does not exist, a NOT_FOUND error is returned. */
7696
7849
  delete(request?: {
@@ -7843,7 +7996,7 @@ declare namespace gapi.client {
7843
7996
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7844
7997
  uploadType?: string;
7845
7998
  },
7846
- body: GoogleCloudDiscoveryengineV1alphaSession
7999
+ body: GoogleCloudDiscoveryengineV1alphaSession,
7847
8000
  ): Request<GoogleCloudDiscoveryengineV1alphaSession>;
7848
8001
  answers: AnswersResource;
7849
8002
  }
@@ -7966,7 +8119,7 @@ declare namespace gapi.client {
7966
8119
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7967
8120
  uploadType?: string;
7968
8121
  },
7969
- body: GoogleCloudDiscoveryengineV1alphaSitemap
8122
+ body: GoogleCloudDiscoveryengineV1alphaSitemap,
7970
8123
  ): Request<GoogleLongrunningOperation>;
7971
8124
  /** Deletes a Sitemap. */
7972
8125
  delete(request?: {
@@ -8115,7 +8268,7 @@ declare namespace gapi.client {
8115
8268
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8116
8269
  uploadType?: string;
8117
8270
  },
8118
- body: GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSitesRequest
8271
+ body: GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSitesRequest,
8119
8272
  ): Request<GoogleLongrunningOperation>;
8120
8273
  /** Creates a TargetSite. */
8121
8274
  create(request: {
@@ -8173,7 +8326,7 @@ declare namespace gapi.client {
8173
8326
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8174
8327
  uploadType?: string;
8175
8328
  },
8176
- body: GoogleCloudDiscoveryengineV1alphaTargetSite
8329
+ body: GoogleCloudDiscoveryengineV1alphaTargetSite,
8177
8330
  ): Request<GoogleLongrunningOperation>;
8178
8331
  /** Deletes a TargetSite. */
8179
8332
  delete(request?: {
@@ -8316,7 +8469,7 @@ declare namespace gapi.client {
8316
8469
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8317
8470
  uploadType?: string;
8318
8471
  },
8319
- body: GoogleCloudDiscoveryengineV1alphaTargetSite
8472
+ body: GoogleCloudDiscoveryengineV1alphaTargetSite,
8320
8473
  ): Request<GoogleLongrunningOperation>;
8321
8474
  operations: OperationsResource;
8322
8475
  }
@@ -8377,7 +8530,7 @@ declare namespace gapi.client {
8377
8530
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8378
8531
  uploadType?: string;
8379
8532
  },
8380
- body: GoogleCloudDiscoveryengineV1alphaBatchVerifyTargetSitesRequest
8533
+ body: GoogleCloudDiscoveryengineV1alphaBatchVerifyTargetSitesRequest,
8381
8534
  ): Request<GoogleLongrunningOperation>;
8382
8535
  /** Downgrade from advanced site search to basic site search. */
8383
8536
  disableAdvancedSiteSearch(request: {
@@ -8435,7 +8588,7 @@ declare namespace gapi.client {
8435
8588
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8436
8589
  uploadType?: string;
8437
8590
  },
8438
- body: GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchRequest
8591
+ body: GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchRequest,
8439
8592
  ): Request<GoogleLongrunningOperation>;
8440
8593
  /** Upgrade from basic site search to advanced site search. */
8441
8594
  enableAdvancedSiteSearch(request: {
@@ -8493,7 +8646,7 @@ declare namespace gapi.client {
8493
8646
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8494
8647
  uploadType?: string;
8495
8648
  },
8496
- body: GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchRequest
8649
+ body: GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchRequest,
8497
8650
  ): Request<GoogleLongrunningOperation>;
8498
8651
  /** Returns list of target sites with its domain verification status. This method can only be called under data store with BASIC_SITE_SEARCH state at the moment. */
8499
8652
  fetchDomainVerificationStatus(request?: {
@@ -8609,7 +8762,7 @@ declare namespace gapi.client {
8609
8762
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8610
8763
  uploadType?: string;
8611
8764
  },
8612
- body: GoogleCloudDiscoveryengineV1alphaRecrawlUrisRequest
8765
+ body: GoogleCloudDiscoveryengineV1alphaRecrawlUrisRequest,
8613
8766
  ): Request<GoogleLongrunningOperation>;
8614
8767
  /** Sets the URI Pattern to Document data mapping for an Advanced Site Search DataStore. */
8615
8768
  setUriPatternDocumentData(request: {
@@ -8667,7 +8820,7 @@ declare namespace gapi.client {
8667
8820
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8668
8821
  uploadType?: string;
8669
8822
  },
8670
- body: GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataRequest
8823
+ body: GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataRequest,
8671
8824
  ): Request<GoogleLongrunningOperation>;
8672
8825
  operations: OperationsResource;
8673
8826
  sitemaps: SitemapsResource;
@@ -8730,7 +8883,7 @@ declare namespace gapi.client {
8730
8883
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8731
8884
  uploadType?: string;
8732
8885
  },
8733
- body: GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesRequest
8886
+ body: GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesRequest,
8734
8887
  ): Request<GoogleLongrunningOperation>;
8735
8888
  /** Permanently deletes all SuggestionDenyListEntry for a DataStore. */
8736
8889
  purge(request: {
@@ -8788,7 +8941,7 @@ declare namespace gapi.client {
8788
8941
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8789
8942
  uploadType?: string;
8790
8943
  },
8791
- body: GoogleCloudDiscoveryengineV1alphaPurgeSuggestionDenyListEntriesRequest
8944
+ body: GoogleCloudDiscoveryengineV1alphaPurgeSuggestionDenyListEntriesRequest,
8792
8945
  ): Request<GoogleLongrunningOperation>;
8793
8946
  }
8794
8947
  interface UserEventsResource {
@@ -8881,7 +9034,7 @@ declare namespace gapi.client {
8881
9034
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8882
9035
  uploadType?: string;
8883
9036
  },
8884
- body: GoogleCloudDiscoveryengineV1alphaImportUserEventsRequest
9037
+ body: GoogleCloudDiscoveryengineV1alphaImportUserEventsRequest,
8885
9038
  ): Request<GoogleLongrunningOperation>;
8886
9039
  /** Deletes permanently all user events specified by the filter provided. Depending on the number of events specified by the filter, this operation could take hours or days to complete. To test a filter, use the list command first. */
8887
9040
  purge(request: {
@@ -8939,7 +9092,7 @@ declare namespace gapi.client {
8939
9092
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8940
9093
  uploadType?: string;
8941
9094
  },
8942
- body: GoogleCloudDiscoveryengineV1alphaPurgeUserEventsRequest
9095
+ body: GoogleCloudDiscoveryengineV1alphaPurgeUserEventsRequest,
8943
9096
  ): Request<GoogleLongrunningOperation>;
8944
9097
  /** Writes a single user event. */
8945
9098
  write(request: {
@@ -9001,7 +9154,7 @@ declare namespace gapi.client {
9001
9154
  /** If set to true, the user event is written asynchronously after validation, and the API responds without waiting for the write. */
9002
9155
  writeAsync?: boolean;
9003
9156
  },
9004
- body: GoogleCloudDiscoveryengineV1alphaUserEvent
9157
+ body: GoogleCloudDiscoveryengineV1alphaUserEvent,
9005
9158
  ): Request<GoogleCloudDiscoveryengineV1alphaUserEvent>;
9006
9159
  }
9007
9160
  interface DataStoresResource {
@@ -9116,7 +9269,7 @@ declare namespace gapi.client {
9116
9269
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9117
9270
  uploadType?: string;
9118
9271
  },
9119
- body: GoogleCloudDiscoveryengineV1alphaDataStore
9272
+ body: GoogleCloudDiscoveryengineV1alphaDataStore,
9120
9273
  ): Request<GoogleLongrunningOperation>;
9121
9274
  /** Deletes a DataStore. */
9122
9275
  delete(request?: {
@@ -9319,7 +9472,7 @@ declare namespace gapi.client {
9319
9472
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9320
9473
  uploadType?: string;
9321
9474
  },
9322
- body: GoogleCloudDiscoveryengineV1alphaDataStore
9475
+ body: GoogleCloudDiscoveryengineV1alphaDataStore,
9323
9476
  ): Request<GoogleCloudDiscoveryengineV1alphaDataStore>;
9324
9477
  /** Trains a custom model. */
9325
9478
  trainCustomModel(request: {
@@ -9377,7 +9530,7 @@ declare namespace gapi.client {
9377
9530
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9378
9531
  uploadType?: string;
9379
9532
  },
9380
- body: GoogleCloudDiscoveryengineV1alphaTrainCustomModelRequest
9533
+ body: GoogleCloudDiscoveryengineV1alphaTrainCustomModelRequest,
9381
9534
  ): Request<GoogleLongrunningOperation>;
9382
9535
  /** Updates the DocumentProcessingConfig. DocumentProcessingConfig is a singleon resource of DataStore. It's empty when DataStore is created. The first call to this method will set up DocumentProcessingConfig. */
9383
9536
  updateDocumentProcessingConfig(request: {
@@ -9439,7 +9592,7 @@ declare namespace gapi.client {
9439
9592
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9440
9593
  uploadType?: string;
9441
9594
  },
9442
- body: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig
9595
+ body: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig,
9443
9596
  ): Request<GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>;
9444
9597
  branches: BranchesResource;
9445
9598
  completionConfig: CompletionConfigResource;
@@ -9513,7 +9666,7 @@ declare namespace gapi.client {
9513
9666
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9514
9667
  uploadType?: string;
9515
9668
  },
9516
- body: GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequest
9669
+ body: GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequest,
9517
9670
  ): Request<GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponse>;
9518
9671
  }
9519
9672
  interface ControlsResource {
@@ -9577,7 +9730,7 @@ declare namespace gapi.client {
9577
9730
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9578
9731
  uploadType?: string;
9579
9732
  },
9580
- body: GoogleCloudDiscoveryengineV1alphaControl
9733
+ body: GoogleCloudDiscoveryengineV1alphaControl,
9581
9734
  ): Request<GoogleCloudDiscoveryengineV1alphaControl>;
9582
9735
  /** Deletes a Control. If the Control to delete does not exist, a NOT_FOUND error is returned. */
9583
9736
  delete(request?: {
@@ -9726,7 +9879,7 @@ declare namespace gapi.client {
9726
9879
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9727
9880
  uploadType?: string;
9728
9881
  },
9729
- body: GoogleCloudDiscoveryengineV1alphaControl
9882
+ body: GoogleCloudDiscoveryengineV1alphaControl,
9730
9883
  ): Request<GoogleCloudDiscoveryengineV1alphaControl>;
9731
9884
  }
9732
9885
  interface ConversationsResource {
@@ -9786,7 +9939,7 @@ declare namespace gapi.client {
9786
9939
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9787
9940
  uploadType?: string;
9788
9941
  },
9789
- body: GoogleCloudDiscoveryengineV1alphaConverseConversationRequest
9942
+ body: GoogleCloudDiscoveryengineV1alphaConverseConversationRequest,
9790
9943
  ): Request<GoogleCloudDiscoveryengineV1alphaConverseConversationResponse>;
9791
9944
  /** Creates a Conversation. If the Conversation to create already exists, an ALREADY_EXISTS error is returned. */
9792
9945
  create(request: {
@@ -9844,7 +9997,7 @@ declare namespace gapi.client {
9844
9997
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9845
9998
  uploadType?: string;
9846
9999
  },
9847
- body: GoogleCloudDiscoveryengineV1alphaConversation
10000
+ body: GoogleCloudDiscoveryengineV1alphaConversation,
9848
10001
  ): Request<GoogleCloudDiscoveryengineV1alphaConversation>;
9849
10002
  /** Deletes a Conversation. If the Conversation to delete does not exist, a NOT_FOUND error is returned. */
9850
10003
  delete(request?: {
@@ -9995,7 +10148,7 @@ declare namespace gapi.client {
9995
10148
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9996
10149
  uploadType?: string;
9997
10150
  },
9998
- body: GoogleCloudDiscoveryengineV1alphaConversation
10151
+ body: GoogleCloudDiscoveryengineV1alphaConversation,
9999
10152
  ): Request<GoogleCloudDiscoveryengineV1alphaConversation>;
10000
10153
  }
10001
10154
  interface OperationsResource {
@@ -10117,7 +10270,7 @@ declare namespace gapi.client {
10117
10270
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10118
10271
  uploadType?: string;
10119
10272
  },
10120
- body: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest
10273
+ body: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest,
10121
10274
  ): Request<GoogleCloudDiscoveryengineV1alphaAnswerQueryResponse>;
10122
10275
  /** Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not exist. */
10123
10276
  get(request?: {
@@ -10237,7 +10390,7 @@ declare namespace gapi.client {
10237
10390
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10238
10391
  uploadType?: string;
10239
10392
  },
10240
- body: GoogleCloudDiscoveryengineV1alphaServingConfig
10393
+ body: GoogleCloudDiscoveryengineV1alphaServingConfig,
10241
10394
  ): Request<GoogleCloudDiscoveryengineV1alphaServingConfig>;
10242
10395
  /** Makes a recommendation, which requires a contextual user event. */
10243
10396
  recommend(request: {
@@ -10295,7 +10448,7 @@ declare namespace gapi.client {
10295
10448
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10296
10449
  uploadType?: string;
10297
10450
  },
10298
- body: GoogleCloudDiscoveryengineV1alphaRecommendRequest
10451
+ body: GoogleCloudDiscoveryengineV1alphaRecommendRequest,
10299
10452
  ): Request<GoogleCloudDiscoveryengineV1alphaRecommendResponse>;
10300
10453
  /** Performs a search. */
10301
10454
  search(request: {
@@ -10353,7 +10506,7 @@ declare namespace gapi.client {
10353
10506
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10354
10507
  uploadType?: string;
10355
10508
  },
10356
- body: GoogleCloudDiscoveryengineV1alphaSearchRequest
10509
+ body: GoogleCloudDiscoveryengineV1alphaSearchRequest,
10357
10510
  ): Request<GoogleCloudDiscoveryengineV1alphaSearchResponse>;
10358
10511
  /** Performs a search. Similar to the SearchService.Search method, but a lite version that allows API key for authentication, where OAuth and IAM checks are not required. Only public website search is supported by this method. If data stores and engines not associated with public website search are specified, a `FAILED_PRECONDITION` error is returned. This method can be used for easy onboarding without having to implement an authentication backend. However, it is strongly recommended to use SearchService.Search instead with required OAuth and IAM checks to provide better data security. */
10359
10512
  searchLite(request: {
@@ -10411,7 +10564,7 @@ declare namespace gapi.client {
10411
10564
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10412
10565
  uploadType?: string;
10413
10566
  },
10414
- body: GoogleCloudDiscoveryengineV1alphaSearchRequest
10567
+ body: GoogleCloudDiscoveryengineV1alphaSearchRequest,
10415
10568
  ): Request<GoogleCloudDiscoveryengineV1alphaSearchResponse>;
10416
10569
  /** Answer query method (streaming). It takes one AnswerQueryRequest and returns multiple AnswerQueryResponse messages in a stream. */
10417
10570
  streamAnswer(request: {
@@ -10469,7 +10622,7 @@ declare namespace gapi.client {
10469
10622
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10470
10623
  uploadType?: string;
10471
10624
  },
10472
- body: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest
10625
+ body: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest,
10473
10626
  ): Request<GoogleCloudDiscoveryengineV1alphaAnswerQueryResponse>;
10474
10627
  }
10475
10628
  interface AnswersResource {
@@ -10558,7 +10711,7 @@ declare namespace gapi.client {
10558
10711
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10559
10712
  uploadType?: string;
10560
10713
  },
10561
- body: GoogleCloudDiscoveryengineV1alphaSession
10714
+ body: GoogleCloudDiscoveryengineV1alphaSession,
10562
10715
  ): Request<GoogleCloudDiscoveryengineV1alphaSession>;
10563
10716
  /** Deletes a Session. If the Session to delete does not exist, a NOT_FOUND error is returned. */
10564
10717
  delete(request?: {
@@ -10711,7 +10864,7 @@ declare namespace gapi.client {
10711
10864
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10712
10865
  uploadType?: string;
10713
10866
  },
10714
- body: GoogleCloudDiscoveryengineV1alphaSession
10867
+ body: GoogleCloudDiscoveryengineV1alphaSession,
10715
10868
  ): Request<GoogleCloudDiscoveryengineV1alphaSession>;
10716
10869
  answers: AnswersResource;
10717
10870
  }
@@ -10776,7 +10929,7 @@ declare namespace gapi.client {
10776
10929
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10777
10930
  uploadType?: string;
10778
10931
  },
10779
- body: GoogleCloudDiscoveryengineV1alphaEngine
10932
+ body: GoogleCloudDiscoveryengineV1alphaEngine,
10780
10933
  ): Request<GoogleLongrunningOperation>;
10781
10934
  /** Deletes a Engine. */
10782
10935
  delete(request?: {
@@ -10925,7 +11078,7 @@ declare namespace gapi.client {
10925
11078
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10926
11079
  uploadType?: string;
10927
11080
  },
10928
- body: GoogleCloudDiscoveryengineV1alphaEngine
11081
+ body: GoogleCloudDiscoveryengineV1alphaEngine,
10929
11082
  ): Request<GoogleCloudDiscoveryengineV1alphaEngine>;
10930
11083
  /** Pauses the training of an existing engine. Only applicable if SolutionType is SOLUTION_TYPE_RECOMMENDATION. */
10931
11084
  pause(request: {
@@ -10983,7 +11136,7 @@ declare namespace gapi.client {
10983
11136
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10984
11137
  uploadType?: string;
10985
11138
  },
10986
- body: GoogleCloudDiscoveryengineV1alphaPauseEngineRequest
11139
+ body: GoogleCloudDiscoveryengineV1alphaPauseEngineRequest,
10987
11140
  ): Request<GoogleCloudDiscoveryengineV1alphaEngine>;
10988
11141
  /** Resumes the training of an existing engine. Only applicable if SolutionType is SOLUTION_TYPE_RECOMMENDATION. */
10989
11142
  resume(request: {
@@ -11041,7 +11194,7 @@ declare namespace gapi.client {
11041
11194
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11042
11195
  uploadType?: string;
11043
11196
  },
11044
- body: GoogleCloudDiscoveryengineV1alphaResumeEngineRequest
11197
+ body: GoogleCloudDiscoveryengineV1alphaResumeEngineRequest,
11045
11198
  ): Request<GoogleCloudDiscoveryengineV1alphaEngine>;
11046
11199
  /** Tunes an existing engine. Only applicable if SolutionType is SOLUTION_TYPE_RECOMMENDATION. */
11047
11200
  tune(request: {
@@ -11099,7 +11252,7 @@ declare namespace gapi.client {
11099
11252
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11100
11253
  uploadType?: string;
11101
11254
  },
11102
- body: GoogleCloudDiscoveryengineV1alphaTuneEngineRequest
11255
+ body: GoogleCloudDiscoveryengineV1alphaTuneEngineRequest,
11103
11256
  ): Request<GoogleLongrunningOperation>;
11104
11257
  completionConfig: CompletionConfigResource;
11105
11258
  controls: ControlsResource;
@@ -11345,7 +11498,7 @@ declare namespace gapi.client {
11345
11498
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11346
11499
  uploadType?: string;
11347
11500
  },
11348
- body: GoogleCloudDiscoveryengineV1alphaCollection
11501
+ body: GoogleCloudDiscoveryengineV1alphaCollection,
11349
11502
  ): Request<GoogleLongrunningOperation>;
11350
11503
  /** Updates a DataConnector. */
11351
11504
  updateDataConnector(request: {
@@ -11407,7 +11560,7 @@ declare namespace gapi.client {
11407
11560
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11408
11561
  uploadType?: string;
11409
11562
  },
11410
- body: GoogleCloudDiscoveryengineV1alphaDataConnector
11563
+ body: GoogleCloudDiscoveryengineV1alphaDataConnector,
11411
11564
  ): Request<GoogleCloudDiscoveryengineV1alphaDataConnector>;
11412
11565
  dataConnector: DataConnectorResource;
11413
11566
  dataStores: DataStoresResource;
@@ -11535,7 +11688,7 @@ declare namespace gapi.client {
11535
11688
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11536
11689
  uploadType?: string;
11537
11690
  },
11538
- body: GoogleCloudDiscoveryengineV1alphaDocument
11691
+ body: GoogleCloudDiscoveryengineV1alphaDocument,
11539
11692
  ): Request<GoogleCloudDiscoveryengineV1alphaDocument>;
11540
11693
  /** Deletes a Document. */
11541
11694
  delete(request?: {
@@ -11678,7 +11831,7 @@ declare namespace gapi.client {
11678
11831
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11679
11832
  uploadType?: string;
11680
11833
  },
11681
- body: GoogleCloudDiscoveryengineV1alphaImportDocumentsRequest
11834
+ body: GoogleCloudDiscoveryengineV1alphaImportDocumentsRequest,
11682
11835
  ): Request<GoogleLongrunningOperation>;
11683
11836
  /** Gets a list of Documents. */
11684
11837
  list(request?: {
@@ -11775,7 +11928,7 @@ declare namespace gapi.client {
11775
11928
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11776
11929
  uploadType?: string;
11777
11930
  },
11778
- body: GoogleCloudDiscoveryengineV1alphaDocument
11931
+ body: GoogleCloudDiscoveryengineV1alphaDocument,
11779
11932
  ): Request<GoogleCloudDiscoveryengineV1alphaDocument>;
11780
11933
  /** Permanently deletes all selected Documents in a branch. This process is asynchronous. Depending on the number of Documents to be deleted, this operation can take hours to complete. Before the delete operation completes, some Documents might still be returned by DocumentService.GetDocument or DocumentService.ListDocuments. To get a list of the Documents to be deleted, set PurgeDocumentsRequest.force to false. */
11781
11934
  purge(request: {
@@ -11833,7 +11986,7 @@ declare namespace gapi.client {
11833
11986
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11834
11987
  uploadType?: string;
11835
11988
  },
11836
- body: GoogleCloudDiscoveryengineV1alphaPurgeDocumentsRequest
11989
+ body: GoogleCloudDiscoveryengineV1alphaPurgeDocumentsRequest,
11837
11990
  ): Request<GoogleLongrunningOperation>;
11838
11991
  chunks: ChunksResource;
11839
11992
  }
@@ -11894,7 +12047,7 @@ declare namespace gapi.client {
11894
12047
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11895
12048
  uploadType?: string;
11896
12049
  },
11897
- body: GoogleLongrunningCancelOperationRequest
12050
+ body: GoogleLongrunningCancelOperationRequest,
11898
12051
  ): Request<{}>;
11899
12052
  /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
11900
12053
  get(request?: {
@@ -12049,7 +12202,7 @@ declare namespace gapi.client {
12049
12202
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12050
12203
  uploadType?: string;
12051
12204
  },
12052
- body: GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequest
12205
+ body: GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequest,
12053
12206
  ): Request<GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponse>;
12054
12207
  }
12055
12208
  interface CompletionSuggestionsResource {
@@ -12109,7 +12262,7 @@ declare namespace gapi.client {
12109
12262
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12110
12263
  uploadType?: string;
12111
12264
  },
12112
- body: GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsRequest
12265
+ body: GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsRequest,
12113
12266
  ): Request<GoogleLongrunningOperation>;
12114
12267
  /** Permanently deletes all CompletionSuggestions for a DataStore. */
12115
12268
  purge(request: {
@@ -12167,7 +12320,7 @@ declare namespace gapi.client {
12167
12320
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12168
12321
  uploadType?: string;
12169
12322
  },
12170
- body: GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsRequest
12323
+ body: GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsRequest,
12171
12324
  ): Request<GoogleLongrunningOperation>;
12172
12325
  }
12173
12326
  interface ControlsResource {
@@ -12231,7 +12384,7 @@ declare namespace gapi.client {
12231
12384
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12232
12385
  uploadType?: string;
12233
12386
  },
12234
- body: GoogleCloudDiscoveryengineV1alphaControl
12387
+ body: GoogleCloudDiscoveryengineV1alphaControl,
12235
12388
  ): Request<GoogleCloudDiscoveryengineV1alphaControl>;
12236
12389
  /** Deletes a Control. If the Control to delete does not exist, a NOT_FOUND error is returned. */
12237
12390
  delete(request?: {
@@ -12380,7 +12533,7 @@ declare namespace gapi.client {
12380
12533
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12381
12534
  uploadType?: string;
12382
12535
  },
12383
- body: GoogleCloudDiscoveryengineV1alphaControl
12536
+ body: GoogleCloudDiscoveryengineV1alphaControl,
12384
12537
  ): Request<GoogleCloudDiscoveryengineV1alphaControl>;
12385
12538
  }
12386
12539
  interface ConversationsResource {
@@ -12440,7 +12593,7 @@ declare namespace gapi.client {
12440
12593
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12441
12594
  uploadType?: string;
12442
12595
  },
12443
- body: GoogleCloudDiscoveryengineV1alphaConverseConversationRequest
12596
+ body: GoogleCloudDiscoveryengineV1alphaConverseConversationRequest,
12444
12597
  ): Request<GoogleCloudDiscoveryengineV1alphaConverseConversationResponse>;
12445
12598
  /** Creates a Conversation. If the Conversation to create already exists, an ALREADY_EXISTS error is returned. */
12446
12599
  create(request: {
@@ -12498,7 +12651,7 @@ declare namespace gapi.client {
12498
12651
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12499
12652
  uploadType?: string;
12500
12653
  },
12501
- body: GoogleCloudDiscoveryengineV1alphaConversation
12654
+ body: GoogleCloudDiscoveryengineV1alphaConversation,
12502
12655
  ): Request<GoogleCloudDiscoveryengineV1alphaConversation>;
12503
12656
  /** Deletes a Conversation. If the Conversation to delete does not exist, a NOT_FOUND error is returned. */
12504
12657
  delete(request?: {
@@ -12649,7 +12802,7 @@ declare namespace gapi.client {
12649
12802
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12650
12803
  uploadType?: string;
12651
12804
  },
12652
- body: GoogleCloudDiscoveryengineV1alphaConversation
12805
+ body: GoogleCloudDiscoveryengineV1alphaConversation,
12653
12806
  ): Request<GoogleCloudDiscoveryengineV1alphaConversation>;
12654
12807
  }
12655
12808
  interface OperationsResource {
@@ -12840,7 +12993,7 @@ declare namespace gapi.client {
12840
12993
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12841
12994
  uploadType?: string;
12842
12995
  },
12843
- body: GoogleCloudDiscoveryengineV1alphaSchema
12996
+ body: GoogleCloudDiscoveryengineV1alphaSchema,
12844
12997
  ): Request<GoogleLongrunningOperation>;
12845
12998
  /** Deletes a Schema. */
12846
12999
  delete(request?: {
@@ -12987,7 +13140,7 @@ declare namespace gapi.client {
12987
13140
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12988
13141
  uploadType?: string;
12989
13142
  },
12990
- body: GoogleCloudDiscoveryengineV1alphaSchema
13143
+ body: GoogleCloudDiscoveryengineV1alphaSchema,
12991
13144
  ): Request<GoogleLongrunningOperation>;
12992
13145
  }
12993
13146
  interface ServingConfigsResource {
@@ -13047,7 +13200,7 @@ declare namespace gapi.client {
13047
13200
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13048
13201
  uploadType?: string;
13049
13202
  },
13050
- body: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest
13203
+ body: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest,
13051
13204
  ): Request<GoogleCloudDiscoveryengineV1alphaAnswerQueryResponse>;
13052
13205
  /** Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not exist. */
13053
13206
  get(request?: {
@@ -13167,7 +13320,7 @@ declare namespace gapi.client {
13167
13320
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13168
13321
  uploadType?: string;
13169
13322
  },
13170
- body: GoogleCloudDiscoveryengineV1alphaServingConfig
13323
+ body: GoogleCloudDiscoveryengineV1alphaServingConfig,
13171
13324
  ): Request<GoogleCloudDiscoveryengineV1alphaServingConfig>;
13172
13325
  /** Makes a recommendation, which requires a contextual user event. */
13173
13326
  recommend(request: {
@@ -13225,7 +13378,7 @@ declare namespace gapi.client {
13225
13378
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13226
13379
  uploadType?: string;
13227
13380
  },
13228
- body: GoogleCloudDiscoveryengineV1alphaRecommendRequest
13381
+ body: GoogleCloudDiscoveryengineV1alphaRecommendRequest,
13229
13382
  ): Request<GoogleCloudDiscoveryengineV1alphaRecommendResponse>;
13230
13383
  /** Performs a search. */
13231
13384
  search(request: {
@@ -13283,7 +13436,7 @@ declare namespace gapi.client {
13283
13436
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13284
13437
  uploadType?: string;
13285
13438
  },
13286
- body: GoogleCloudDiscoveryengineV1alphaSearchRequest
13439
+ body: GoogleCloudDiscoveryengineV1alphaSearchRequest,
13287
13440
  ): Request<GoogleCloudDiscoveryengineV1alphaSearchResponse>;
13288
13441
  /** Performs a search. Similar to the SearchService.Search method, but a lite version that allows API key for authentication, where OAuth and IAM checks are not required. Only public website search is supported by this method. If data stores and engines not associated with public website search are specified, a `FAILED_PRECONDITION` error is returned. This method can be used for easy onboarding without having to implement an authentication backend. However, it is strongly recommended to use SearchService.Search instead with required OAuth and IAM checks to provide better data security. */
13289
13442
  searchLite(request: {
@@ -13341,7 +13494,7 @@ declare namespace gapi.client {
13341
13494
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13342
13495
  uploadType?: string;
13343
13496
  },
13344
- body: GoogleCloudDiscoveryengineV1alphaSearchRequest
13497
+ body: GoogleCloudDiscoveryengineV1alphaSearchRequest,
13345
13498
  ): Request<GoogleCloudDiscoveryengineV1alphaSearchResponse>;
13346
13499
  /** Answer query method (streaming). It takes one AnswerQueryRequest and returns multiple AnswerQueryResponse messages in a stream. */
13347
13500
  streamAnswer(request: {
@@ -13399,7 +13552,7 @@ declare namespace gapi.client {
13399
13552
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13400
13553
  uploadType?: string;
13401
13554
  },
13402
- body: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest
13555
+ body: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest,
13403
13556
  ): Request<GoogleCloudDiscoveryengineV1alphaAnswerQueryResponse>;
13404
13557
  }
13405
13558
  interface AnswersResource {
@@ -13488,7 +13641,7 @@ declare namespace gapi.client {
13488
13641
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13489
13642
  uploadType?: string;
13490
13643
  },
13491
- body: GoogleCloudDiscoveryengineV1alphaSession
13644
+ body: GoogleCloudDiscoveryengineV1alphaSession,
13492
13645
  ): Request<GoogleCloudDiscoveryengineV1alphaSession>;
13493
13646
  /** Deletes a Session. If the Session to delete does not exist, a NOT_FOUND error is returned. */
13494
13647
  delete(request?: {
@@ -13641,7 +13794,7 @@ declare namespace gapi.client {
13641
13794
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13642
13795
  uploadType?: string;
13643
13796
  },
13644
- body: GoogleCloudDiscoveryengineV1alphaSession
13797
+ body: GoogleCloudDiscoveryengineV1alphaSession,
13645
13798
  ): Request<GoogleCloudDiscoveryengineV1alphaSession>;
13646
13799
  answers: AnswersResource;
13647
13800
  }
@@ -13702,7 +13855,7 @@ declare namespace gapi.client {
13702
13855
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13703
13856
  uploadType?: string;
13704
13857
  },
13705
- body: GoogleCloudDiscoveryengineV1alphaSitemap
13858
+ body: GoogleCloudDiscoveryengineV1alphaSitemap,
13706
13859
  ): Request<GoogleLongrunningOperation>;
13707
13860
  /** Deletes a Sitemap. */
13708
13861
  delete(request?: {
@@ -13818,7 +13971,7 @@ declare namespace gapi.client {
13818
13971
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13819
13972
  uploadType?: string;
13820
13973
  },
13821
- body: GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSitesRequest
13974
+ body: GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSitesRequest,
13822
13975
  ): Request<GoogleLongrunningOperation>;
13823
13976
  /** Creates a TargetSite. */
13824
13977
  create(request: {
@@ -13876,7 +14029,7 @@ declare namespace gapi.client {
13876
14029
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13877
14030
  uploadType?: string;
13878
14031
  },
13879
- body: GoogleCloudDiscoveryengineV1alphaTargetSite
14032
+ body: GoogleCloudDiscoveryengineV1alphaTargetSite,
13880
14033
  ): Request<GoogleLongrunningOperation>;
13881
14034
  /** Deletes a TargetSite. */
13882
14035
  delete(request?: {
@@ -14019,7 +14172,7 @@ declare namespace gapi.client {
14019
14172
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14020
14173
  uploadType?: string;
14021
14174
  },
14022
- body: GoogleCloudDiscoveryengineV1alphaTargetSite
14175
+ body: GoogleCloudDiscoveryengineV1alphaTargetSite,
14023
14176
  ): Request<GoogleLongrunningOperation>;
14024
14177
  }
14025
14178
  interface SiteSearchEngineResource {
@@ -14079,7 +14232,7 @@ declare namespace gapi.client {
14079
14232
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14080
14233
  uploadType?: string;
14081
14234
  },
14082
- body: GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchRequest
14235
+ body: GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchRequest,
14083
14236
  ): Request<GoogleLongrunningOperation>;
14084
14237
  /** Upgrade from basic site search to advanced site search. */
14085
14238
  enableAdvancedSiteSearch(request: {
@@ -14137,7 +14290,7 @@ declare namespace gapi.client {
14137
14290
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14138
14291
  uploadType?: string;
14139
14292
  },
14140
- body: GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchRequest
14293
+ body: GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchRequest,
14141
14294
  ): Request<GoogleLongrunningOperation>;
14142
14295
  /** Request on-demand recrawl for a list of URIs. */
14143
14296
  recrawlUris(request: {
@@ -14195,7 +14348,7 @@ declare namespace gapi.client {
14195
14348
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14196
14349
  uploadType?: string;
14197
14350
  },
14198
- body: GoogleCloudDiscoveryengineV1alphaRecrawlUrisRequest
14351
+ body: GoogleCloudDiscoveryengineV1alphaRecrawlUrisRequest,
14199
14352
  ): Request<GoogleLongrunningOperation>;
14200
14353
  sitemaps: SitemapsResource;
14201
14354
  targetSites: TargetSitesResource;
@@ -14257,7 +14410,7 @@ declare namespace gapi.client {
14257
14410
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14258
14411
  uploadType?: string;
14259
14412
  },
14260
- body: GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesRequest
14413
+ body: GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesRequest,
14261
14414
  ): Request<GoogleLongrunningOperation>;
14262
14415
  /** Permanently deletes all SuggestionDenyListEntry for a DataStore. */
14263
14416
  purge(request: {
@@ -14315,7 +14468,7 @@ declare namespace gapi.client {
14315
14468
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14316
14469
  uploadType?: string;
14317
14470
  },
14318
- body: GoogleCloudDiscoveryengineV1alphaPurgeSuggestionDenyListEntriesRequest
14471
+ body: GoogleCloudDiscoveryengineV1alphaPurgeSuggestionDenyListEntriesRequest,
14319
14472
  ): Request<GoogleLongrunningOperation>;
14320
14473
  }
14321
14474
  interface UserEventsResource {
@@ -14408,7 +14561,7 @@ declare namespace gapi.client {
14408
14561
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14409
14562
  uploadType?: string;
14410
14563
  },
14411
- body: GoogleCloudDiscoveryengineV1alphaImportUserEventsRequest
14564
+ body: GoogleCloudDiscoveryengineV1alphaImportUserEventsRequest,
14412
14565
  ): Request<GoogleLongrunningOperation>;
14413
14566
  /** Deletes permanently all user events specified by the filter provided. Depending on the number of events specified by the filter, this operation could take hours or days to complete. To test a filter, use the list command first. */
14414
14567
  purge(request: {
@@ -14466,7 +14619,7 @@ declare namespace gapi.client {
14466
14619
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14467
14620
  uploadType?: string;
14468
14621
  },
14469
- body: GoogleCloudDiscoveryengineV1alphaPurgeUserEventsRequest
14622
+ body: GoogleCloudDiscoveryengineV1alphaPurgeUserEventsRequest,
14470
14623
  ): Request<GoogleLongrunningOperation>;
14471
14624
  /** Writes a single user event. */
14472
14625
  write(request: {
@@ -14528,7 +14681,7 @@ declare namespace gapi.client {
14528
14681
  /** If set to true, the user event is written asynchronously after validation, and the API responds without waiting for the write. */
14529
14682
  writeAsync?: boolean;
14530
14683
  },
14531
- body: GoogleCloudDiscoveryengineV1alphaUserEvent
14684
+ body: GoogleCloudDiscoveryengineV1alphaUserEvent,
14532
14685
  ): Request<GoogleCloudDiscoveryengineV1alphaUserEvent>;
14533
14686
  }
14534
14687
  interface DataStoresResource {
@@ -14643,7 +14796,7 @@ declare namespace gapi.client {
14643
14796
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14644
14797
  uploadType?: string;
14645
14798
  },
14646
- body: GoogleCloudDiscoveryengineV1alphaDataStore
14799
+ body: GoogleCloudDiscoveryengineV1alphaDataStore,
14647
14800
  ): Request<GoogleLongrunningOperation>;
14648
14801
  /** Deletes a DataStore. */
14649
14802
  delete(request?: {
@@ -14846,7 +14999,7 @@ declare namespace gapi.client {
14846
14999
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14847
15000
  uploadType?: string;
14848
15001
  },
14849
- body: GoogleCloudDiscoveryengineV1alphaDataStore
15002
+ body: GoogleCloudDiscoveryengineV1alphaDataStore,
14850
15003
  ): Request<GoogleCloudDiscoveryengineV1alphaDataStore>;
14851
15004
  /** Updates the DocumentProcessingConfig. DocumentProcessingConfig is a singleon resource of DataStore. It's empty when DataStore is created. The first call to this method will set up DocumentProcessingConfig. */
14852
15005
  updateDocumentProcessingConfig(request: {
@@ -14908,7 +15061,7 @@ declare namespace gapi.client {
14908
15061
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14909
15062
  uploadType?: string;
14910
15063
  },
14911
- body: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig
15064
+ body: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig,
14912
15065
  ): Request<GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>;
14913
15066
  branches: BranchesResource;
14914
15067
  completionConfig: CompletionConfigResource;
@@ -15010,7 +15163,7 @@ declare namespace gapi.client {
15010
15163
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15011
15164
  uploadType?: string;
15012
15165
  },
15013
- body: GoogleCloudDiscoveryengineV1alphaEvaluation
15166
+ body: GoogleCloudDiscoveryengineV1alphaEvaluation,
15014
15167
  ): Request<GoogleLongrunningOperation>;
15015
15168
  /** Gets a Evaluation. */
15016
15169
  get(request?: {
@@ -15160,7 +15313,7 @@ declare namespace gapi.client {
15160
15313
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15161
15314
  uploadType?: string;
15162
15315
  },
15163
- body: GoogleCloudDiscoveryengineV1alphaCheckGroundingRequest
15316
+ body: GoogleCloudDiscoveryengineV1alphaCheckGroundingRequest,
15164
15317
  ): Request<GoogleCloudDiscoveryengineV1alphaCheckGroundingResponse>;
15165
15318
  }
15166
15319
  interface OperationsResource {
@@ -15226,6 +15379,308 @@ declare namespace gapi.client {
15226
15379
  }): Request<GoogleLongrunningListOperationsResponse>;
15227
15380
  }
15228
15381
  interface IdentityMappingStoresResource {
15382
+ /** Creates a new Identity Mapping Store. */
15383
+ create(request: {
15384
+ /** V1 error format. */
15385
+ '$.xgafv'?: string;
15386
+ /** OAuth access token. */
15387
+ access_token?: string;
15388
+ /** Data format for response. */
15389
+ alt?: string;
15390
+ /** JSONP */
15391
+ callback?: string;
15392
+ /** Resource name of the CmekConfig to use for protecting this Identity Mapping Store. */
15393
+ cmekConfigName?: string;
15394
+ /** 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. */
15395
+ disableCmek?: boolean;
15396
+ /** Selector specifying which fields to include in a partial response. */
15397
+ fields?: string;
15398
+ /** 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. */
15399
+ identityMappingStoreId?: string;
15400
+ /** 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. */
15401
+ key?: string;
15402
+ /** OAuth 2.0 token for the current user. */
15403
+ oauth_token?: string;
15404
+ /** Required. The parent collection resource name, such as `projects/{project}/locations/{location}`. */
15405
+ parent: string;
15406
+ /** Returns response with indentations and line breaks. */
15407
+ prettyPrint?: boolean;
15408
+ /** 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. */
15409
+ quotaUser?: string;
15410
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
15411
+ upload_protocol?: string;
15412
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15413
+ uploadType?: string;
15414
+ /** Request body */
15415
+ resource: GoogleCloudDiscoveryengineV1alphaIdentityMappingStore;
15416
+ }): Request<GoogleCloudDiscoveryengineV1alphaIdentityMappingStore>;
15417
+ create(
15418
+ request: {
15419
+ /** V1 error format. */
15420
+ '$.xgafv'?: string;
15421
+ /** OAuth access token. */
15422
+ access_token?: string;
15423
+ /** Data format for response. */
15424
+ alt?: string;
15425
+ /** JSONP */
15426
+ callback?: string;
15427
+ /** Resource name of the CmekConfig to use for protecting this Identity Mapping Store. */
15428
+ cmekConfigName?: string;
15429
+ /** 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. */
15430
+ disableCmek?: boolean;
15431
+ /** Selector specifying which fields to include in a partial response. */
15432
+ fields?: string;
15433
+ /** 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. */
15434
+ identityMappingStoreId?: string;
15435
+ /** 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. */
15436
+ key?: string;
15437
+ /** OAuth 2.0 token for the current user. */
15438
+ oauth_token?: string;
15439
+ /** Required. The parent collection resource name, such as `projects/{project}/locations/{location}`. */
15440
+ parent: string;
15441
+ /** Returns response with indentations and line breaks. */
15442
+ prettyPrint?: boolean;
15443
+ /** 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. */
15444
+ quotaUser?: string;
15445
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
15446
+ upload_protocol?: string;
15447
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15448
+ uploadType?: string;
15449
+ },
15450
+ body: GoogleCloudDiscoveryengineV1alphaIdentityMappingStore,
15451
+ ): Request<GoogleCloudDiscoveryengineV1alphaIdentityMappingStore>;
15452
+ /** Deletes the Identity Mapping Store. */
15453
+ delete(request?: {
15454
+ /** V1 error format. */
15455
+ '$.xgafv'?: string;
15456
+ /** OAuth access token. */
15457
+ access_token?: string;
15458
+ /** Data format for response. */
15459
+ alt?: string;
15460
+ /** JSONP */
15461
+ callback?: string;
15462
+ /** Selector specifying which fields to include in a partial response. */
15463
+ fields?: string;
15464
+ /** 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. */
15465
+ key?: string;
15466
+ /** Required. The name of the Identity Mapping Store to delete. Format: `projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}` */
15467
+ name: string;
15468
+ /** OAuth 2.0 token for the current user. */
15469
+ oauth_token?: string;
15470
+ /** Returns response with indentations and line breaks. */
15471
+ prettyPrint?: boolean;
15472
+ /** 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. */
15473
+ quotaUser?: string;
15474
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
15475
+ upload_protocol?: string;
15476
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15477
+ uploadType?: string;
15478
+ }): Request<GoogleLongrunningOperation>;
15479
+ /** Gets the Identity Mapping Store. */
15480
+ get(request?: {
15481
+ /** V1 error format. */
15482
+ '$.xgafv'?: string;
15483
+ /** OAuth access token. */
15484
+ access_token?: string;
15485
+ /** Data format for response. */
15486
+ alt?: string;
15487
+ /** JSONP */
15488
+ callback?: string;
15489
+ /** Selector specifying which fields to include in a partial response. */
15490
+ fields?: string;
15491
+ /** 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. */
15492
+ key?: string;
15493
+ /** Required. The name of the Identity Mapping Store to get. Format: `projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}` */
15494
+ name: string;
15495
+ /** OAuth 2.0 token for the current user. */
15496
+ oauth_token?: string;
15497
+ /** Returns response with indentations and line breaks. */
15498
+ prettyPrint?: boolean;
15499
+ /** 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. */
15500
+ quotaUser?: string;
15501
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
15502
+ upload_protocol?: string;
15503
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15504
+ uploadType?: string;
15505
+ }): Request<GoogleCloudDiscoveryengineV1alphaIdentityMappingStore>;
15506
+ /** Imports a list of Identity Mapping Entries to an Identity Mapping Store. */
15507
+ importIdentityMappings(request: {
15508
+ /** V1 error format. */
15509
+ '$.xgafv'?: string;
15510
+ /** OAuth access token. */
15511
+ access_token?: string;
15512
+ /** Data format for response. */
15513
+ alt?: string;
15514
+ /** JSONP */
15515
+ callback?: string;
15516
+ /** Selector specifying which fields to include in a partial response. */
15517
+ fields?: string;
15518
+ /** Required. The name of the Identity Mapping Store to import Identity Mapping Entries to. Format: `projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}` */
15519
+ identityMappingStore: string;
15520
+ /** 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. */
15521
+ key?: string;
15522
+ /** OAuth 2.0 token for the current user. */
15523
+ oauth_token?: string;
15524
+ /** Returns response with indentations and line breaks. */
15525
+ prettyPrint?: boolean;
15526
+ /** 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. */
15527
+ quotaUser?: string;
15528
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
15529
+ upload_protocol?: string;
15530
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15531
+ uploadType?: string;
15532
+ /** Request body */
15533
+ resource: GoogleCloudDiscoveryengineV1alphaImportIdentityMappingsRequest;
15534
+ }): Request<GoogleLongrunningOperation>;
15535
+ importIdentityMappings(
15536
+ request: {
15537
+ /** V1 error format. */
15538
+ '$.xgafv'?: string;
15539
+ /** OAuth access token. */
15540
+ access_token?: string;
15541
+ /** Data format for response. */
15542
+ alt?: string;
15543
+ /** JSONP */
15544
+ callback?: string;
15545
+ /** Selector specifying which fields to include in a partial response. */
15546
+ fields?: string;
15547
+ /** Required. The name of the Identity Mapping Store to import Identity Mapping Entries to. Format: `projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}` */
15548
+ identityMappingStore: string;
15549
+ /** 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. */
15550
+ key?: string;
15551
+ /** OAuth 2.0 token for the current user. */
15552
+ oauth_token?: string;
15553
+ /** Returns response with indentations and line breaks. */
15554
+ prettyPrint?: boolean;
15555
+ /** 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. */
15556
+ quotaUser?: string;
15557
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
15558
+ upload_protocol?: string;
15559
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15560
+ uploadType?: string;
15561
+ },
15562
+ body: GoogleCloudDiscoveryengineV1alphaImportIdentityMappingsRequest,
15563
+ ): Request<GoogleLongrunningOperation>;
15564
+ /** Lists all Identity Mapping Stores. */
15565
+ list(request?: {
15566
+ /** V1 error format. */
15567
+ '$.xgafv'?: string;
15568
+ /** OAuth access token. */
15569
+ access_token?: string;
15570
+ /** Data format for response. */
15571
+ alt?: string;
15572
+ /** JSONP */
15573
+ callback?: string;
15574
+ /** Selector specifying which fields to include in a partial response. */
15575
+ fields?: string;
15576
+ /** 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. */
15577
+ key?: string;
15578
+ /** OAuth 2.0 token for the current user. */
15579
+ oauth_token?: string;
15580
+ /** 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. */
15581
+ pageSize?: number;
15582
+ /** 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. */
15583
+ pageToken?: string;
15584
+ /** Required. The parent of the Identity Mapping Stores to list. Format: `projects/{project}/locations/{location}`. */
15585
+ parent: string;
15586
+ /** Returns response with indentations and line breaks. */
15587
+ prettyPrint?: boolean;
15588
+ /** 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. */
15589
+ quotaUser?: string;
15590
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
15591
+ upload_protocol?: string;
15592
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15593
+ uploadType?: string;
15594
+ }): Request<GoogleCloudDiscoveryengineV1alphaListIdentityMappingStoresResponse>;
15595
+ /** Lists Identity Mappings in an Identity Mapping Store. */
15596
+ listIdentityMappings(request?: {
15597
+ /** V1 error format. */
15598
+ '$.xgafv'?: string;
15599
+ /** OAuth access token. */
15600
+ access_token?: string;
15601
+ /** Data format for response. */
15602
+ alt?: string;
15603
+ /** JSONP */
15604
+ callback?: string;
15605
+ /** Selector specifying which fields to include in a partial response. */
15606
+ fields?: string;
15607
+ /** Required. The name of the Identity Mapping Store to list Identity Mapping Entries in. Format: `projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}` */
15608
+ identityMappingStore: string;
15609
+ /** 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. */
15610
+ key?: string;
15611
+ /** OAuth 2.0 token for the current user. */
15612
+ oauth_token?: string;
15613
+ /** 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. */
15614
+ pageSize?: number;
15615
+ /** 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. */
15616
+ pageToken?: string;
15617
+ /** Returns response with indentations and line breaks. */
15618
+ prettyPrint?: boolean;
15619
+ /** 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. */
15620
+ quotaUser?: string;
15621
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
15622
+ upload_protocol?: string;
15623
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15624
+ uploadType?: string;
15625
+ }): Request<GoogleCloudDiscoveryengineV1alphaListIdentityMappingsResponse>;
15626
+ /** Purges specified or all Identity Mapping Entries from an Identity Mapping Store. */
15627
+ purgeIdentityMappings(request: {
15628
+ /** V1 error format. */
15629
+ '$.xgafv'?: string;
15630
+ /** OAuth access token. */
15631
+ access_token?: string;
15632
+ /** Data format for response. */
15633
+ alt?: string;
15634
+ /** JSONP */
15635
+ callback?: string;
15636
+ /** Selector specifying which fields to include in a partial response. */
15637
+ fields?: string;
15638
+ /** Required. The name of the Identity Mapping Store to purge Identity Mapping Entries from. Format: `projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}` */
15639
+ identityMappingStore: string;
15640
+ /** 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. */
15641
+ key?: string;
15642
+ /** OAuth 2.0 token for the current user. */
15643
+ oauth_token?: string;
15644
+ /** Returns response with indentations and line breaks. */
15645
+ prettyPrint?: boolean;
15646
+ /** 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. */
15647
+ quotaUser?: string;
15648
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
15649
+ upload_protocol?: string;
15650
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15651
+ uploadType?: string;
15652
+ /** Request body */
15653
+ resource: GoogleCloudDiscoveryengineV1alphaPurgeIdentityMappingsRequest;
15654
+ }): Request<GoogleLongrunningOperation>;
15655
+ purgeIdentityMappings(
15656
+ request: {
15657
+ /** V1 error format. */
15658
+ '$.xgafv'?: string;
15659
+ /** OAuth access token. */
15660
+ access_token?: string;
15661
+ /** Data format for response. */
15662
+ alt?: string;
15663
+ /** JSONP */
15664
+ callback?: string;
15665
+ /** Selector specifying which fields to include in a partial response. */
15666
+ fields?: string;
15667
+ /** Required. The name of the Identity Mapping Store to purge Identity Mapping Entries from. Format: `projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}` */
15668
+ identityMappingStore: string;
15669
+ /** 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. */
15670
+ key?: string;
15671
+ /** OAuth 2.0 token for the current user. */
15672
+ oauth_token?: string;
15673
+ /** Returns response with indentations and line breaks. */
15674
+ prettyPrint?: boolean;
15675
+ /** 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. */
15676
+ quotaUser?: string;
15677
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
15678
+ upload_protocol?: string;
15679
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15680
+ uploadType?: string;
15681
+ },
15682
+ body: GoogleCloudDiscoveryengineV1alphaPurgeIdentityMappingsRequest,
15683
+ ): Request<GoogleLongrunningOperation>;
15229
15684
  operations: OperationsResource;
15230
15685
  }
15231
15686
  interface OperationsResource {
@@ -15347,7 +15802,7 @@ declare namespace gapi.client {
15347
15802
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15348
15803
  uploadType?: string;
15349
15804
  },
15350
- body: GoogleCloudDiscoveryengineV1alphaRankRequest
15805
+ body: GoogleCloudDiscoveryengineV1alphaRankRequest,
15351
15806
  ): Request<GoogleCloudDiscoveryengineV1alphaRankResponse>;
15352
15807
  }
15353
15808
  interface RequirementsResource {
@@ -15407,7 +15862,7 @@ declare namespace gapi.client {
15407
15862
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15408
15863
  uploadType?: string;
15409
15864
  },
15410
- body: GoogleCloudDiscoveryengineV1alphaCheckRequirementRequest
15865
+ body: GoogleCloudDiscoveryengineV1alphaCheckRequirementRequest,
15411
15866
  ): Request<GoogleCloudDiscoveryengineV1alphaCheckRequirementResponse>;
15412
15867
  }
15413
15868
  interface OperationsResource {
@@ -15500,7 +15955,7 @@ declare namespace gapi.client {
15500
15955
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15501
15956
  uploadType?: string;
15502
15957
  },
15503
- body: GoogleCloudDiscoveryengineV1alphaSampleQuery
15958
+ body: GoogleCloudDiscoveryengineV1alphaSampleQuery,
15504
15959
  ): Request<GoogleCloudDiscoveryengineV1alphaSampleQuery>;
15505
15960
  /** Deletes a SampleQuery. */
15506
15961
  delete(request?: {
@@ -15612,7 +16067,7 @@ declare namespace gapi.client {
15612
16067
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15613
16068
  uploadType?: string;
15614
16069
  },
15615
- body: GoogleCloudDiscoveryengineV1alphaImportSampleQueriesRequest
16070
+ body: GoogleCloudDiscoveryengineV1alphaImportSampleQueriesRequest,
15616
16071
  ): Request<GoogleLongrunningOperation>;
15617
16072
  /** Gets a list of SampleQuerys. */
15618
16073
  list(request?: {
@@ -15705,7 +16160,7 @@ declare namespace gapi.client {
15705
16160
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15706
16161
  uploadType?: string;
15707
16162
  },
15708
- body: GoogleCloudDiscoveryengineV1alphaSampleQuery
16163
+ body: GoogleCloudDiscoveryengineV1alphaSampleQuery,
15709
16164
  ): Request<GoogleCloudDiscoveryengineV1alphaSampleQuery>;
15710
16165
  }
15711
16166
  interface SampleQuerySetsResource {
@@ -15769,7 +16224,7 @@ declare namespace gapi.client {
15769
16224
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15770
16225
  uploadType?: string;
15771
16226
  },
15772
- body: GoogleCloudDiscoveryengineV1alphaSampleQuerySet
16227
+ body: GoogleCloudDiscoveryengineV1alphaSampleQuerySet,
15773
16228
  ): Request<GoogleCloudDiscoveryengineV1alphaSampleQuerySet>;
15774
16229
  /** Deletes a SampleQuerySet. */
15775
16230
  delete(request?: {
@@ -15916,7 +16371,7 @@ declare namespace gapi.client {
15916
16371
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15917
16372
  uploadType?: string;
15918
16373
  },
15919
- body: GoogleCloudDiscoveryengineV1alphaSampleQuerySet
16374
+ body: GoogleCloudDiscoveryengineV1alphaSampleQuerySet,
15920
16375
  ): Request<GoogleCloudDiscoveryengineV1alphaSampleQuerySet>;
15921
16376
  operations: OperationsResource;
15922
16377
  sampleQueries: SampleQueriesResource;
@@ -16011,7 +16466,7 @@ declare namespace gapi.client {
16011
16466
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16012
16467
  uploadType?: string;
16013
16468
  },
16014
- body: GoogleCloudDiscoveryengineV1alphaImportUserEventsRequest
16469
+ body: GoogleCloudDiscoveryengineV1alphaImportUserEventsRequest,
16015
16470
  ): Request<GoogleLongrunningOperation>;
16016
16471
  /** Writes a single user event. */
16017
16472
  write(request: {
@@ -16073,7 +16528,7 @@ declare namespace gapi.client {
16073
16528
  /** If set to true, the user event is written asynchronously after validation, and the API responds without waiting for the write. */
16074
16529
  writeAsync?: boolean;
16075
16530
  },
16076
- body: GoogleCloudDiscoveryengineV1alphaUserEvent
16531
+ body: GoogleCloudDiscoveryengineV1alphaUserEvent,
16077
16532
  ): Request<GoogleCloudDiscoveryengineV1alphaUserEvent>;
16078
16533
  }
16079
16534
  interface OperationsResource {
@@ -16198,7 +16653,7 @@ declare namespace gapi.client {
16198
16653
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16199
16654
  uploadType?: string;
16200
16655
  },
16201
- body: GoogleCloudDiscoveryengineV1alphaEstimateDataSizeRequest
16656
+ body: GoogleCloudDiscoveryengineV1alphaEstimateDataSizeRequest,
16202
16657
  ): Request<GoogleLongrunningOperation>;
16203
16658
  /** Generates grounded content. */
16204
16659
  generateGroundedContent(request: {
@@ -16256,7 +16711,7 @@ declare namespace gapi.client {
16256
16711
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16257
16712
  uploadType?: string;
16258
16713
  },
16259
- body: GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequest
16714
+ body: GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequest,
16260
16715
  ): Request<GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponse>;
16261
16716
  /** Gets the AclConfig. */
16262
16717
  getAclConfig(request?: {
@@ -16368,7 +16823,7 @@ declare namespace gapi.client {
16368
16823
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16369
16824
  uploadType?: string;
16370
16825
  },
16371
- body: GoogleCloudDiscoveryengineV1alphaObtainCrawlRateRequest
16826
+ body: GoogleCloudDiscoveryengineV1alphaObtainCrawlRateRequest,
16372
16827
  ): Request<GoogleCloudDiscoveryengineV1alphaObtainCrawlRateResponse>;
16373
16828
  /** Removes the dedicated crawl rate for a craw_rate_scope. If the dedicated crawl rate was set, this will disable vertex AI's crawl bot from using the dedicated crawl rate for crawling. If the dedicated crawl rate was not set, this is a no-op. */
16374
16829
  removeDedicatedCrawlRate(request: {
@@ -16426,7 +16881,7 @@ declare namespace gapi.client {
16426
16881
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16427
16882
  uploadType?: string;
16428
16883
  },
16429
- body: GoogleCloudDiscoveryengineV1alphaRemoveDedicatedCrawlRateRequest
16884
+ body: GoogleCloudDiscoveryengineV1alphaRemoveDedicatedCrawlRateRequest,
16430
16885
  ): Request<GoogleLongrunningOperation>;
16431
16886
  /** Sets the dedicated crawl rate for a crawl_rate_scope. If the dedicated crawl rate was not set, this will enable vertex AI's crawl bot to use the new dedicated crawl rate for crawling. If the dedicated crawl rate was set, vertex AI's crawl bot will try to update the rate to the new value. If the new value is too high, the crawl bot may crawl at a lower rate to avoid overloading the user's website. */
16432
16887
  setDedicatedCrawlRate(request: {
@@ -16484,7 +16939,7 @@ declare namespace gapi.client {
16484
16939
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16485
16940
  uploadType?: string;
16486
16941
  },
16487
- body: GoogleCloudDiscoveryengineV1alphaSetDedicatedCrawlRateRequest
16942
+ body: GoogleCloudDiscoveryengineV1alphaSetDedicatedCrawlRateRequest,
16488
16943
  ): Request<GoogleLongrunningOperation>;
16489
16944
  /** Creates a Collection and sets up the DataConnector for it. To stop a DataConnector after setup, use the CollectionService.DeleteCollection method. */
16490
16945
  setUpDataConnector(request: {
@@ -16542,7 +16997,7 @@ declare namespace gapi.client {
16542
16997
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16543
16998
  uploadType?: string;
16544
16999
  },
16545
- body: GoogleCloudDiscoveryengineV1alphaSetUpDataConnectorRequest
17000
+ body: GoogleCloudDiscoveryengineV1alphaSetUpDataConnectorRequest,
16546
17001
  ): Request<GoogleLongrunningOperation>;
16547
17002
  /** Default ACL configuration for use in a location of a customer's project. Updates will only reflect to new data stores. Existing data stores will still use the old value. */
16548
17003
  updateAclConfig(request: {
@@ -16600,7 +17055,7 @@ declare namespace gapi.client {
16600
17055
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16601
17056
  uploadType?: string;
16602
17057
  },
16603
- body: GoogleCloudDiscoveryengineV1alphaAclConfig
17058
+ body: GoogleCloudDiscoveryengineV1alphaAclConfig,
16604
17059
  ): Request<GoogleCloudDiscoveryengineV1alphaAclConfig>;
16605
17060
  /** Provisions a CMEK key for use in a location of a customer's project. This method will also conduct location validation on the provided cmekConfig to make sure the key is valid and can be used in the selected location. */
16606
17061
  updateCmekConfig(request: {
@@ -16662,7 +17117,7 @@ declare namespace gapi.client {
16662
17117
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16663
17118
  uploadType?: string;
16664
17119
  },
16665
- body: GoogleCloudDiscoveryengineV1alphaCmekConfig
17120
+ body: GoogleCloudDiscoveryengineV1alphaCmekConfig,
16666
17121
  ): Request<GoogleLongrunningOperation>;
16667
17122
  cmekConfigs: CmekConfigsResource;
16668
17123
  collections: CollectionsResource;
@@ -16823,7 +17278,7 @@ declare namespace gapi.client {
16823
17278
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16824
17279
  uploadType?: string;
16825
17280
  },
16826
- body: GoogleCloudDiscoveryengineV1alphaProvisionProjectRequest
17281
+ body: GoogleCloudDiscoveryengineV1alphaProvisionProjectRequest,
16827
17282
  ): Request<GoogleLongrunningOperation>;
16828
17283
  /** Updates service terms for this project. This method can be used to retroactively accept the latest terms. Terms available for update: * [Terms for data use](https://cloud.google.com/retail/data-use-terms) */
16829
17284
  reportConsentChange(request: {
@@ -16881,7 +17336,7 @@ declare namespace gapi.client {
16881
17336
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16882
17337
  uploadType?: string;
16883
17338
  },
16884
- body: GoogleCloudDiscoveryengineV1alphaReportConsentChangeRequest
17339
+ body: GoogleCloudDiscoveryengineV1alphaReportConsentChangeRequest,
16885
17340
  ): Request<GoogleCloudDiscoveryengineV1alphaProject>;
16886
17341
  locations: LocationsResource;
16887
17342
  operations: OperationsResource;