@maxim_mazurok/gapi.client.discoveryengine-v1alpha 0.1.20251008 → 0.1.20251026

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 +1158 -212
  2. package/package.json +1 -1
  3. package/readme.md +6 -0
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
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: 20251008
12
+ // Revision: 20251026
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -420,24 +420,6 @@ declare namespace gapi.client {
420
420
  /** Required. The enrollment status of a customer. */
421
421
  enrollState?: string;
422
422
  }
423
- interface GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig {
424
- /** Optional. The enrollment state of each alert. */
425
- alertEnrollments?: GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment[];
426
- /** Immutable. The fully qualified resource name of the AlertPolicy. */
427
- alertPolicy?: string;
428
- /** Optional. The contact details for each alert policy. */
429
- contactDetails?: GoogleCloudDiscoveryengineV1ContactDetails[];
430
- /** Optional. The language code used for notifications */
431
- languageCode?: string;
432
- }
433
- interface GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment {
434
- /** Immutable. The id of an alert. */
435
- alertId?: string;
436
- /** Required. The enrollment status of a customer. */
437
- enrollState?: string;
438
- /** Optional. Parameters used to instantiate a notification. Used for notifications that are triggered when registered. Not stored. * Gemini Business welcome emails. * Gemini Business user invitation emails. */
439
- notificationParams?: {[P in string]: string};
440
- }
441
423
  interface GoogleCloudDiscoveryengineV1alphaAclConfig {
442
424
  /** Identity provider config. */
443
425
  idpConfig?: GoogleCloudDiscoveryengineV1alphaIdpConfig;
@@ -1162,6 +1144,8 @@ declare namespace gapi.client {
1162
1144
  additionalSystemInstruction?: string;
1163
1145
  }
1164
1146
  interface GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent {
1147
+ /** Source attribution of the generated content. See also https://cloud.google.com/vertex-ai/generative-ai/docs/learn/overview#citation_check */
1148
+ citationMetadata?: GoogleCloudDiscoveryengineV1alphaCitationMetadata;
1165
1149
  /** The content. */
1166
1150
  content?: GoogleCloudDiscoveryengineV1alphaAssistantContent;
1167
1151
  /** Metadata for grounding based on text sources. */
@@ -1221,6 +1205,26 @@ declare namespace gapi.client {
1221
1205
  /** Optional. IANA time zone, e.g. Europe/Budapest. */
1222
1206
  timeZone?: string;
1223
1207
  }
1208
+ interface GoogleCloudDiscoveryengineV1alphaAuthorization {
1209
+ /** Required. The display name of the authorization. It must be a UTF-8 encoded string with a length limit of 128 characters. */
1210
+ displayName?: string;
1211
+ /** Identifier. Resource name of the authorization. Format: `projects/{project}/locations/{location}/authorizations/{authorization}` It must be a UTF-8 encoded string with a length limit of 1024 characters. */
1212
+ name?: string;
1213
+ /** Server-side OAuth2 configuration. */
1214
+ serverSideOauth2?: GoogleCloudDiscoveryengineV1alphaAuthorizationServerSideOAuth2;
1215
+ }
1216
+ interface GoogleCloudDiscoveryengineV1alphaAuthorizationServerSideOAuth2 {
1217
+ /** Required. The URI the user is directed to when they need to authorize. Should include everything required for a successful authorization: OAuth ID, extra flags, etc. Example: `https://accounts.google.com/o/oauth2/v2/auth?client_id=OAUTH_ID&scope=https://www.googleapis.com/auth/calendar.events&response_type=code&access_type=offline&prompt=consent` The `redirect_uri` parameter will be overwritten by the Vertex AI Search frontend. */
1218
+ authorizationUri?: string;
1219
+ /** Required. The OAuth2 client ID. */
1220
+ clientId?: string;
1221
+ /** Required. The OAuth2 client secret. Encrypted at rest. */
1222
+ clientSecret?: string;
1223
+ /** Required. The scopes to request. Example: `https://www.googleapis.com/auth/calendar.events` */
1224
+ scopes?: string[];
1225
+ /** Required. The HTTP endpoint that exchanges a client authorization for an access token. */
1226
+ tokenUri?: string;
1227
+ }
1224
1228
  interface GoogleCloudDiscoveryengineV1alphaBAPConfig {
1225
1229
  /** Optional. The actions enabled on the associated BAP connection. */
1226
1230
  enabledActions?: string[];
@@ -1364,6 +1368,40 @@ declare namespace gapi.client {
1364
1368
  /** The number of documents in a given branch. The key is a group representing a set of documents, and the value is the number of document in that group. Note: keys in this map may change over time. Supported keys: ['all']. */
1365
1369
  documentCounts?: {[P in string]: string};
1366
1370
  }
1371
+ interface GoogleCloudDiscoveryengineV1alphaCannedQuery {
1372
+ /** Required. The default (non-localized) values for the text attributes. */
1373
+ defaultTexts?: GoogleCloudDiscoveryengineV1alphaCannedQueryCannedQueryTexts;
1374
+ /** The display name of the canned query. It must be a UTF-8 encoded string with a length limit of 128 characters. */
1375
+ displayName?: string;
1376
+ /** Whether this canned query is enabled. */
1377
+ enabled?: boolean;
1378
+ /** Output only. Whether this is a Google-defined, read-only canned query. */
1379
+ googleDefined?: boolean;
1380
+ /** Optional. The translations of the text attributes. The keys should be BCP-47 language codes. */
1381
+ localizedTexts?: {
1382
+ [P in string]: GoogleCloudDiscoveryengineV1alphaCannedQueryCannedQueryTexts;
1383
+ };
1384
+ /** Immutable. Resource name of the canned query. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}/cannedQueries/{canned_query}` It must be a UTF-8 encoded string with a length limit of 1024 characters. */
1385
+ name?: string;
1386
+ /** Optional. The capabilities the Assistant needs to have to use this canned query. */
1387
+ requiredCapabilities?: GoogleCloudDiscoveryengineV1alphaCannedQueryAssistantCapability[];
1388
+ }
1389
+ interface GoogleCloudDiscoveryengineV1alphaCannedQueryAssistantCapability {
1390
+ /** The name of the action that the Assistant needs to have set up to use this canned query. */
1391
+ actionName?: string;
1392
+ }
1393
+ interface GoogleCloudDiscoveryengineV1alphaCannedQueryCannedQueryTexts {
1394
+ /** Optional. The prefix that `suggested_prompts` should start with. */
1395
+ prefix?: string;
1396
+ /** Required. The prompts the canned query will offer to the user. */
1397
+ suggestedPrompts?: GoogleCloudDiscoveryengineV1alphaCannedQuerySuggestedPrompt[];
1398
+ /** Required. The title that is for the end user. */
1399
+ title?: string;
1400
+ }
1401
+ interface GoogleCloudDiscoveryengineV1alphaCannedQuerySuggestedPrompt {
1402
+ /** Required. The text of the suggested prompt. */
1403
+ promptText?: string;
1404
+ }
1367
1405
  interface GoogleCloudDiscoveryengineV1alphaCheckGroundingRequest {
1368
1406
  /** Answer candidate to check. It can have a maximum length of 4096 tokens. */
1369
1407
  answerCandidate?: string;
@@ -1500,6 +1538,24 @@ declare namespace gapi.client {
1500
1538
  /** Output only. The structure type of the structured content. */
1501
1539
  structureType?: string;
1502
1540
  }
1541
+ interface GoogleCloudDiscoveryengineV1alphaCitation {
1542
+ /** Output only. End index into the content. */
1543
+ endIndex?: number;
1544
+ /** Output only. License of the attribution. */
1545
+ license?: string;
1546
+ /** Output only. Publication date of the attribution. */
1547
+ publicationDate?: GoogleTypeDate;
1548
+ /** Output only. Start index into the content. */
1549
+ startIndex?: number;
1550
+ /** Output only. Title of the attribution. */
1551
+ title?: string;
1552
+ /** Output only. Url reference of the attribution. */
1553
+ uri?: string;
1554
+ }
1555
+ interface GoogleCloudDiscoveryengineV1alphaCitationMetadata {
1556
+ /** Output only. List of citations. */
1557
+ citations?: GoogleCloudDiscoveryengineV1alphaCitation[];
1558
+ }
1503
1559
  interface GoogleCloudDiscoveryengineV1alphaCloudSqlSource {
1504
1560
  /** Required. The Cloud SQL database to copy the data from with a length limit of 256 characters. */
1505
1561
  databaseId?: string;
@@ -1596,6 +1652,26 @@ declare namespace gapi.client {
1596
1652
  /** Start of time range. Range is inclusive. */
1597
1653
  startTime?: string;
1598
1654
  }
1655
+ interface GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStats {
1656
+ /** A list of metric usages, one for each requested resource type that has data in the requested time range. */
1657
+ metricUsages?: GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsMetricUsage[];
1658
+ /** Identifier. The name of the ConfigurablePricingUsageStats. Format: projects/{project}/locations/{location}/configurablePricingUsageStats */
1659
+ name?: string;
1660
+ }
1661
+ interface GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsDatedUsage {
1662
+ /** The date of the usage. */
1663
+ date?: GoogleTypeDate;
1664
+ /** The usage value on the date. */
1665
+ usage?: number;
1666
+ }
1667
+ interface GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsMetricUsage {
1668
+ /** The list of usages for this resource type, chronologically sorted by date. This is populated for metrics with daily aggregation like DAILY_MDN_QPM. */
1669
+ datedUsages?: GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsDatedUsage[];
1670
+ /** The metric type. */
1671
+ metricType?: string;
1672
+ /** The list of total usages for this resource type */
1673
+ totalUsages?: number[];
1674
+ }
1599
1675
  interface GoogleCloudDiscoveryengineV1alphaConnectorRun {
1600
1676
  /** Output only. The time when the connector run ended. */
1601
1677
  endTime?: string;
@@ -1992,6 +2068,8 @@ declare namespace gapi.client {
1992
2068
  cmekConfig?: GoogleCloudDiscoveryengineV1alphaCmekConfig;
1993
2069
  /** Optional. Configuration for configurable billing approach. See */
1994
2070
  configurableBillingApproach?: string;
2071
+ /** Output only. The timestamp when configurable_billing_approach was last updated. */
2072
+ configurableBillingApproachUpdateTime?: string;
1995
2073
  /** Immutable. The content config of the data store. If this field is unset, the server behavior defaults to ContentConfig.NO_CONTENT. */
1996
2074
  contentConfig?: string;
1997
2075
  /** Output only. Timestamp the DataStore was created at. */
@@ -2109,6 +2187,12 @@ declare namespace gapi.client {
2109
2187
  /** Operation last update time. If the operation is done, this is also the finish time. */
2110
2188
  updateTime?: string;
2111
2189
  }
2190
+ interface GoogleCloudDiscoveryengineV1alphaDeleteUserStoreMetadata {
2191
+ /** The number of end users under the user store that failed to be deleted. */
2192
+ failureCount?: string;
2193
+ /** The number of end users under the user store that were successfully deleted. */
2194
+ successCount?: string;
2195
+ }
2112
2196
  interface GoogleCloudDiscoveryengineV1alphaDestinationConfig {
2113
2197
  /** Optional. The destinations for the corresponding key. */
2114
2198
  destinations?: GoogleCloudDiscoveryengineV1alphaDestinationConfigDestination[];
@@ -2133,6 +2217,20 @@ declare namespace gapi.client {
2133
2217
  }
2134
2218
  interface GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchRequest {}
2135
2219
  interface GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchResponse {}
2220
+ interface GoogleCloudDiscoveryengineV1alphaDistributeLicenseConfigRequest {
2221
+ /** Optional. Distribute seats to this license config instead of creating a new one. If not specified, a new license config will be created from the billing account license config. */
2222
+ licenseConfigId?: string;
2223
+ /** Required. The number of licenses to distribute. */
2224
+ licenseCount?: string;
2225
+ /** Required. The target GCP project region to distribute the license config to. */
2226
+ location?: string;
2227
+ /** Required. The target GCP project number to distribute the license config to. */
2228
+ projectNumber?: string;
2229
+ }
2230
+ interface GoogleCloudDiscoveryengineV1alphaDistributeLicenseConfigResponse {
2231
+ /** The updated or created LicenseConfig. */
2232
+ licenseConfig?: GoogleCloudDiscoveryengineV1alphaLicenseConfig;
2233
+ }
2136
2234
  interface GoogleCloudDiscoveryengineV1alphaDocument {
2137
2235
  /** Access control information for the document. */
2138
2236
  aclInfo?: GoogleCloudDiscoveryengineV1alphaDocumentAclInfo;
@@ -2903,6 +3001,8 @@ declare namespace gapi.client {
2903
3001
  endDate?: GoogleTypeDate;
2904
3002
  /** Optional. Whether the license config is for free trial. */
2905
3003
  freeTrial?: boolean;
3004
+ /** Output only. Whether the license config is for Gemini bundle. */
3005
+ geminiBundle?: boolean;
2906
3006
  /** Required. Number of licenses purchased. */
2907
3007
  licenseCount?: string;
2908
3008
  /** Immutable. Identifier. The fully qualified resource name of the license config. Format: `projects/{project}/locations/{location}/licenseConfigs/{license_config}` */
@@ -2916,10 +3016,22 @@ declare namespace gapi.client {
2916
3016
  /** Required. Subscription tier information for the license config. */
2917
3017
  subscriptionTier?: string;
2918
3018
  }
3019
+ interface GoogleCloudDiscoveryengineV1alphaListAuthorizationsResponse {
3020
+ /** All the customer's Authorizations. */
3021
+ authorizations?: GoogleCloudDiscoveryengineV1alphaAuthorization[];
3022
+ /** A token that can be sent as ListAuthorizationsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. */
3023
+ nextPageToken?: string;
3024
+ }
2919
3025
  interface GoogleCloudDiscoveryengineV1alphaListBranchesResponse {
2920
3026
  /** The Branches. */
2921
3027
  branches?: GoogleCloudDiscoveryengineV1alphaBranch[];
2922
3028
  }
3029
+ interface GoogleCloudDiscoveryengineV1alphaListCannedQueriesResponse {
3030
+ /** The list of CannedQuerys matching the request. */
3031
+ cannedQueries?: GoogleCloudDiscoveryengineV1alphaCannedQuery[];
3032
+ /** A token that can be sent as ListCannedQueriesRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. */
3033
+ nextPageToken?: string;
3034
+ }
2923
3035
  interface GoogleCloudDiscoveryengineV1alphaListChunksResponse {
2924
3036
  /** The Chunks. */
2925
3037
  chunks?: GoogleCloudDiscoveryengineV1alphaChunk[];
@@ -3140,6 +3252,8 @@ declare namespace gapi.client {
3140
3252
  jsonData?: string;
3141
3253
  }
3142
3254
  interface GoogleCloudDiscoveryengineV1alphaProject {
3255
+ /** Output only. The current status of the project's configurable billing. */
3256
+ configurableBillingStatus?: GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatus;
3143
3257
  /** Output only. The timestamp when this project is created. */
3144
3258
  createTime?: string;
3145
3259
  /** Optional. Customer provided configurations. */
@@ -3153,6 +3267,14 @@ declare namespace gapi.client {
3153
3267
  [P in string]: GoogleCloudDiscoveryengineV1alphaProjectServiceTerms;
3154
3268
  };
3155
3269
  }
3270
+ interface GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatus {
3271
+ /** Optional. The currently effective Indexing Core threshold. This is the threshold against which Indexing Core usage is compared for overage calculations. */
3272
+ effectiveIndexingCoreThreshold?: string;
3273
+ /** Optional. The currently effective Search QPM threshold in queries per minute. This is the threshold against which QPM usage is compared for overage calculations. */
3274
+ effectiveSearchQpmThreshold?: string;
3275
+ /** Optional. The start time of the currently active billing subscription. */
3276
+ startTime?: string;
3277
+ }
3156
3278
  interface GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfig {
3157
3279
  /** Optional. Configuration for NotebookLM settings. */
3158
3280
  notebooklmConfig?: GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig;
@@ -3160,6 +3282,8 @@ declare namespace gapi.client {
3160
3282
  interface GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig {
3161
3283
  /** Model Armor configuration to be used for sanitizing user prompts and LLM responses. */
3162
3284
  modelArmorConfig?: GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig;
3285
+ /** Optional. Whether to disable the notebook sharing feature for the project. Default to false if not specified. */
3286
+ optOutNotebookSharing?: boolean;
3163
3287
  }
3164
3288
  interface GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig {
3165
3289
  /** Optional. The resource name of the Model Armor Template for sanitizing LLM responses. Format: projects/{project}/locations/{location}/templates/{template_id} If not specified, no sanitization will be applied to the LLM response. */
@@ -3542,6 +3666,18 @@ declare namespace gapi.client {
3542
3666
  variableId?: string;
3543
3667
  }
3544
3668
  interface GoogleCloudDiscoveryengineV1alphaResumeEngineRequest {}
3669
+ interface GoogleCloudDiscoveryengineV1alphaRetractLicenseConfigRequest {
3670
+ /** Optional. If set to true, retract the entire license config. Otherwise, retract the specified license count. */
3671
+ fullRetract?: boolean;
3672
+ /** Required. Full resource name of LicenseConfig. Format: `projects/{project}/locations/{location}/licenseConfigs/{license_config_id}`. */
3673
+ licenseConfig?: string;
3674
+ /** Optional. The number of licenses to retract. Only used when full_retract is false. */
3675
+ licenseCount?: string;
3676
+ }
3677
+ interface GoogleCloudDiscoveryengineV1alphaRetractLicenseConfigResponse {
3678
+ /** The updated LicenseConfig. */
3679
+ licenseConfig?: GoogleCloudDiscoveryengineV1alphaLicenseConfig;
3680
+ }
3545
3681
  interface GoogleCloudDiscoveryengineV1alphaSafetyRating {
3546
3682
  /** Output only. Indicates whether the content was filtered out because of this rating. */
3547
3683
  blocked?: boolean;
@@ -4236,6 +4372,8 @@ declare namespace gapi.client {
4236
4372
  endTime?: string;
4237
4373
  /** Optional. Whether the session is pinned, pinned session will be displayed on the top of the session list. */
4238
4374
  isPinned?: boolean;
4375
+ /** Optional. The labels for the session. Can be set as filter in ListSessionsRequest. */
4376
+ labels?: string[];
4239
4377
  /** Immutable. Fully qualified name `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/*` */
4240
4378
  name?: string;
4241
4379
  /** Output only. The time the session started. */
@@ -4391,7 +4529,7 @@ declare namespace gapi.client {
4391
4529
  answer?: GoogleCloudDiscoveryengineV1alphaAssistAnswer;
4392
4530
  /** A global unique ID that identifies the current pair of request and stream of responses. Used for feedback and support. */
4393
4531
  assistToken?: string;
4394
- /** Session information. */
4532
+ /** Session information. Only included in the final StreamAssistResponse of the response stream. */
4395
4533
  sessionInfo?: GoogleCloudDiscoveryengineV1alphaStreamAssistResponseSessionInfo;
4396
4534
  }
4397
4535
  interface GoogleCloudDiscoveryengineV1alphaStreamAssistResponseSessionInfo {
@@ -4620,6 +4758,18 @@ declare namespace gapi.client {
4620
4758
  /** Optional. The user profile. We user user full name(First name + Last name) as user profile. */
4621
4759
  userProfile?: string;
4622
4760
  }
4761
+ interface GoogleCloudDiscoveryengineV1alphaUserStore {
4762
+ /** Optional. The default subscription LicenseConfig for the UserStore, if UserStore.enable_license_auto_register is true, new users will automatically register under the default subscription. If default LicenseConfig doesn't have remaining license seats left, new users will not be assigned with license and will be blocked for Vertex AI Search features. This is used if `license_assignment_tier_rules` is not configured. */
4763
+ defaultLicenseConfig?: string;
4764
+ /** The display name of the User Store. */
4765
+ displayName?: string;
4766
+ /** Optional. Whether to enable license auto update for users in this User Store. If true, users with expired licenses will automatically be updated to use the default license config as long as the default license config has seats left. */
4767
+ enableExpiredLicenseAutoUpdate?: boolean;
4768
+ /** Optional. Whether to enable license auto register for users in this User Store. If true, new users will automatically register under the default license config as long as the default license config has seats left. */
4769
+ enableLicenseAutoRegister?: boolean;
4770
+ /** Immutable. The full resource name of the User Store, in the format of `projects/{project}/locations/{location}/userStores/{user_store}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
4771
+ name?: string;
4772
+ }
4623
4773
  interface GoogleCloudDiscoveryengineV1alphaVideoCharacteristics {
4624
4774
  /** Output only. Bitrate of the audio in kbps. */
4625
4775
  audioBitrateKbps?: number;
@@ -4693,6 +4843,8 @@ declare namespace gapi.client {
4693
4843
  fieldsUiComponentsMap?: {
4694
4844
  [P in string]: GoogleCloudDiscoveryengineV1alphaWidgetConfigUIComponentField;
4695
4845
  };
4846
+ /** Output only. Whether the subscription is gemini bundle or not. */
4847
+ geminiBundle?: boolean;
4696
4848
  /** Optional. Describes the homepage settings of the widget. */
4697
4849
  homepageSetting?: GoogleCloudDiscoveryengineV1alphaWidgetConfigHomepageSetting;
4698
4850
  /** Output only. The industry vertical that the WidgetConfig registers. The WidgetConfig industry vertical is based on the associated Engine. */
@@ -4791,7 +4943,7 @@ declare namespace gapi.client {
4791
4943
  field?: string;
4792
4944
  }
4793
4945
  interface GoogleCloudDiscoveryengineV1alphaWidgetConfigHomepageSetting {
4794
- /** Optional. The shortcuts to display on the homepage. LINT.IfChange(max_shortcuts_number) LINT.ThenChange(//depot/google3/cloud/console/web/ai/unified_cloud_search/components/widget_preview/widget_homepage_shortcut_config_form.ts:max_shortcuts_number) */
4946
+ /** Optional. The shortcuts to display on the homepage. LINT.IfChange(max_shortcuts_number) LINT.ThenChange( //depot/google3/cloud/console/web/ai/unified_cloud_search/components/widget_preview/widget_homepage_shortcut_config_form.ts:max_shortcuts_number ) */
4795
4947
  shortcuts?: GoogleCloudDiscoveryengineV1alphaWidgetConfigHomepageSettingShortcut[];
4796
4948
  }
4797
4949
  interface GoogleCloudDiscoveryengineV1alphaWidgetConfigHomepageSettingShortcut {
@@ -5006,24 +5158,6 @@ declare namespace gapi.client {
5006
5158
  /** If set true, initial indexing is disabled for the DataStore. */
5007
5159
  disableInitialIndex?: boolean;
5008
5160
  }
5009
- interface GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig {
5010
- /** Optional. The enrollment state of each alert. */
5011
- alertEnrollments?: GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment[];
5012
- /** Immutable. The fully qualified resource name of the AlertPolicy. */
5013
- alertPolicy?: string;
5014
- /** Optional. The contact details for each alert policy. */
5015
- contactDetails?: GoogleCloudDiscoveryengineV1betaContactDetails[];
5016
- /** Optional. The language code used for notifications */
5017
- languageCode?: string;
5018
- }
5019
- interface GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment {
5020
- /** Immutable. The id of an alert. */
5021
- alertId?: string;
5022
- /** Required. The enrollment status of a customer. */
5023
- enrollState?: string;
5024
- /** Optional. Parameters used to instantiate a notification. Used for notifications that are triggered when registered. Not stored. * Gemini Business welcome emails. * Gemini Business user invitation emails. */
5025
- notificationParams?: {[P in string]: string};
5026
- }
5027
5161
  interface GoogleCloudDiscoveryengineV1betaBatchCreateTargetSiteMetadata {
5028
5162
  /** Operation create time. */
5029
5163
  createTime?: string;
@@ -5088,10 +5222,6 @@ declare namespace gapi.client {
5088
5222
  /** Start of time range. Range is inclusive. */
5089
5223
  startTime?: string;
5090
5224
  }
5091
- interface GoogleCloudDiscoveryengineV1betaContactDetails {
5092
- /** Optional. The email address of the contact. */
5093
- emailAddress?: string;
5094
- }
5095
5225
  interface GoogleCloudDiscoveryengineV1betaControl {
5096
5226
  /** Output only. List of all ServingConfig IDs this control is attached to. May take up to 10 minutes to update after changes. */
5097
5227
  associatedServingConfigIds?: string[];
@@ -5210,6 +5340,8 @@ declare namespace gapi.client {
5210
5340
  cmekConfig?: GoogleCloudDiscoveryengineV1betaCmekConfig;
5211
5341
  /** Optional. Configuration for configurable billing approach. See */
5212
5342
  configurableBillingApproach?: string;
5343
+ /** Output only. The timestamp when configurable_billing_approach was last updated. */
5344
+ configurableBillingApproachUpdateTime?: string;
5213
5345
  /** Immutable. The content config of the data store. If this field is unset, the server behavior defaults to ContentConfig.NO_CONTENT. */
5214
5346
  contentConfig?: string;
5215
5347
  /** Output only. Timestamp the DataStore was created at. */
@@ -5641,14 +5773,14 @@ declare namespace gapi.client {
5641
5773
  region?: string;
5642
5774
  }
5643
5775
  interface GoogleCloudDiscoveryengineV1betaLicenseConfig {
5644
- /** Optional. The alert policy config for this license config. */
5645
- alertPolicyResourceConfig?: GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig;
5646
5776
  /** Optional. Whether the license config should be auto renewed when it reaches the end date. */
5647
5777
  autoRenew?: boolean;
5648
5778
  /** Optional. The planed end date. */
5649
5779
  endDate?: GoogleTypeDate;
5650
5780
  /** Optional. Whether the license config is for free trial. */
5651
5781
  freeTrial?: boolean;
5782
+ /** Output only. Whether the license config is for Gemini bundle. */
5783
+ geminiBundle?: boolean;
5652
5784
  /** Required. Number of licenses purchased. */
5653
5785
  licenseCount?: string;
5654
5786
  /** Immutable. Identifier. The fully qualified resource name of the license config. Format: `projects/{project}/locations/{location}/licenseConfigs/{license_config}` */
@@ -5683,6 +5815,8 @@ declare namespace gapi.client {
5683
5815
  vertexAiOrganicCrawlRate?: GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries;
5684
5816
  }
5685
5817
  interface GoogleCloudDiscoveryengineV1betaProject {
5818
+ /** Output only. The current status of the project's configurable billing. */
5819
+ configurableBillingStatus?: GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatus;
5686
5820
  /** Output only. The timestamp when this project is created. */
5687
5821
  createTime?: string;
5688
5822
  /** Optional. Customer provided configurations. */
@@ -5696,6 +5830,14 @@ declare namespace gapi.client {
5696
5830
  [P in string]: GoogleCloudDiscoveryengineV1betaProjectServiceTerms;
5697
5831
  };
5698
5832
  }
5833
+ interface GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatus {
5834
+ /** Optional. The currently effective Indexing Core threshold. This is the threshold against which Indexing Core usage is compared for overage calculations. */
5835
+ effectiveIndexingCoreThreshold?: string;
5836
+ /** Optional. The currently effective Search QPM threshold in queries per minute. This is the threshold against which QPM usage is compared for overage calculations. */
5837
+ effectiveSearchQpmThreshold?: string;
5838
+ /** Optional. The start time of the currently active billing subscription. */
5839
+ startTime?: string;
5840
+ }
5699
5841
  interface GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfig {
5700
5842
  /** Optional. Configuration for NotebookLM settings. */
5701
5843
  notebooklmConfig?: GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig;
@@ -5703,6 +5845,8 @@ declare namespace gapi.client {
5703
5845
  interface GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig {
5704
5846
  /** Model Armor configuration to be used for sanitizing user prompts and LLM responses. */
5705
5847
  modelArmorConfig?: GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig;
5848
+ /** Optional. Whether to disable the notebook sharing feature for the project. Default to false if not specified. */
5849
+ optOutNotebookSharing?: boolean;
5706
5850
  }
5707
5851
  interface GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig {
5708
5852
  /** Optional. The resource name of the Model Armor Template for sanitizing LLM responses. Format: projects/{project}/locations/{location}/templates/{template_id} If not specified, no sanitization will be applied to the LLM response. */
@@ -6204,6 +6348,18 @@ declare namespace gapi.client {
6204
6348
  /** Optional. The user profile. We user user full name(First name + Last name) as user profile. */
6205
6349
  userProfile?: string;
6206
6350
  }
6351
+ interface GoogleCloudDiscoveryengineV1betaUserStore {
6352
+ /** Optional. The default subscription LicenseConfig for the UserStore, if UserStore.enable_license_auto_register is true, new users will automatically register under the default subscription. If default LicenseConfig doesn't have remaining license seats left, new users will not be assigned with license and will be blocked for Vertex AI Search features. This is used if `license_assignment_tier_rules` is not configured. */
6353
+ defaultLicenseConfig?: string;
6354
+ /** The display name of the User Store. */
6355
+ displayName?: string;
6356
+ /** Optional. Whether to enable license auto update for users in this User Store. If true, users with expired licenses will automatically be updated to use the default license config as long as the default license config has seats left. */
6357
+ enableExpiredLicenseAutoUpdate?: boolean;
6358
+ /** Optional. Whether to enable license auto register for users in this User Store. If true, new users will automatically register under the default license config as long as the default license config has seats left. */
6359
+ enableLicenseAutoRegister?: boolean;
6360
+ /** Immutable. The full resource name of the User Store, in the format of `projects/{project}/locations/{location}/userStores/{user_store}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
6361
+ name?: string;
6362
+ }
6207
6363
  interface GoogleCloudDiscoveryengineV1betaWorkspaceConfig {
6208
6364
  /** Obfuscated Dasher customer ID. */
6209
6365
  dasherCustomerId?: string;
@@ -6260,10 +6416,6 @@ declare namespace gapi.client {
6260
6416
  /** Start of time range. Range is inclusive. */
6261
6417
  startTime?: string;
6262
6418
  }
6263
- interface GoogleCloudDiscoveryengineV1ContactDetails {
6264
- /** Optional. The email address of the contact. */
6265
- emailAddress?: string;
6266
- }
6267
6419
  interface GoogleCloudDiscoveryengineV1Control {
6268
6420
  /** Output only. List of all ServingConfig IDs this control is attached to. May take up to 10 minutes to update after changes. */
6269
6421
  associatedServingConfigIds?: string[];
@@ -6505,6 +6657,8 @@ declare namespace gapi.client {
6505
6657
  cmekConfig?: GoogleCloudDiscoveryengineV1CmekConfig;
6506
6658
  /** Optional. Configuration for configurable billing approach. See */
6507
6659
  configurableBillingApproach?: string;
6660
+ /** Output only. The timestamp when configurable_billing_approach was last updated. */
6661
+ configurableBillingApproachUpdateTime?: string;
6508
6662
  /** Immutable. The content config of the data store. If this field is unset, the server behavior defaults to ContentConfig.NO_CONTENT. */
6509
6663
  contentConfig?: string;
6510
6664
  /** Output only. Timestamp the DataStore was created at. */
@@ -6890,14 +7044,14 @@ declare namespace gapi.client {
6890
7044
  unjoinedEventsCount?: string;
6891
7045
  }
6892
7046
  interface GoogleCloudDiscoveryengineV1LicenseConfig {
6893
- /** Optional. The alert policy config for this license config. */
6894
- alertPolicyResourceConfig?: GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig;
6895
7047
  /** Optional. Whether the license config should be auto renewed when it reaches the end date. */
6896
7048
  autoRenew?: boolean;
6897
7049
  /** Optional. The planed end date. */
6898
7050
  endDate?: GoogleTypeDate;
6899
7051
  /** Optional. Whether the license config is for free trial. */
6900
7052
  freeTrial?: boolean;
7053
+ /** Output only. Whether the license config is for Gemini bundle. */
7054
+ geminiBundle?: boolean;
6901
7055
  /** Required. Number of licenses purchased. */
6902
7056
  licenseCount?: string;
6903
7057
  /** Immutable. Identifier. The fully qualified resource name of the license config. Format: `projects/{project}/locations/{location}/licenseConfigs/{license_config}` */
@@ -6912,6 +7066,8 @@ declare namespace gapi.client {
6912
7066
  subscriptionTier?: string;
6913
7067
  }
6914
7068
  interface GoogleCloudDiscoveryengineV1Project {
7069
+ /** Output only. The current status of the project's configurable billing. */
7070
+ configurableBillingStatus?: GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatus;
6915
7071
  /** Output only. The timestamp when this project is created. */
6916
7072
  createTime?: string;
6917
7073
  /** Optional. Customer provided configurations. */
@@ -6925,6 +7081,14 @@ declare namespace gapi.client {
6925
7081
  [P in string]: GoogleCloudDiscoveryengineV1ProjectServiceTerms;
6926
7082
  };
6927
7083
  }
7084
+ interface GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatus {
7085
+ /** Optional. The currently effective Indexing Core threshold. This is the threshold against which Indexing Core usage is compared for overage calculations. */
7086
+ effectiveIndexingCoreThreshold?: string;
7087
+ /** Optional. The currently effective Search QPM threshold in queries per minute. This is the threshold against which QPM usage is compared for overage calculations. */
7088
+ effectiveSearchQpmThreshold?: string;
7089
+ /** Optional. The start time of the currently active billing subscription. */
7090
+ startTime?: string;
7091
+ }
6928
7092
  interface GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfig {
6929
7093
  /** Optional. Configuration for NotebookLM settings. */
6930
7094
  notebooklmConfig?: GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig;
@@ -6932,6 +7096,8 @@ declare namespace gapi.client {
6932
7096
  interface GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig {
6933
7097
  /** Model Armor configuration to be used for sanitizing user prompts and LLM responses. */
6934
7098
  modelArmorConfig?: GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig;
7099
+ /** Optional. Whether to disable the notebook sharing feature for the project. Default to false if not specified. */
7100
+ optOutNotebookSharing?: boolean;
6935
7101
  }
6936
7102
  interface GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig {
6937
7103
  /** Optional. The resource name of the Model Armor Template for sanitizing LLM responses. Format: projects/{project}/locations/{location}/templates/{template_id} If not specified, no sanitization will be applied to the LLM response. */
@@ -7251,6 +7417,18 @@ declare namespace gapi.client {
7251
7417
  /** Optional. The user profile. We user user full name(First name + Last name) as user profile. */
7252
7418
  userProfile?: string;
7253
7419
  }
7420
+ interface GoogleCloudDiscoveryengineV1UserStore {
7421
+ /** Optional. The default subscription LicenseConfig for the UserStore, if UserStore.enable_license_auto_register is true, new users will automatically register under the default subscription. If default LicenseConfig doesn't have remaining license seats left, new users will not be assigned with license and will be blocked for Vertex AI Search features. This is used if `license_assignment_tier_rules` is not configured. */
7422
+ defaultLicenseConfig?: string;
7423
+ /** The display name of the User Store. */
7424
+ displayName?: string;
7425
+ /** Optional. Whether to enable license auto update for users in this User Store. If true, users with expired licenses will automatically be updated to use the default license config as long as the default license config has seats left. */
7426
+ enableExpiredLicenseAutoUpdate?: boolean;
7427
+ /** Optional. Whether to enable license auto register for users in this User Store. If true, new users will automatically register under the default license config as long as the default license config has seats left. */
7428
+ enableLicenseAutoRegister?: boolean;
7429
+ /** Immutable. The full resource name of the User Store, in the format of `projects/{project}/locations/{location}/userStores/{user_store}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
7430
+ name?: string;
7431
+ }
7254
7432
  interface GoogleCloudDiscoveryengineV1WorkspaceConfig {
7255
7433
  /** Obfuscated Dasher customer ID. */
7256
7434
  dasherCustomerId?: string;
@@ -7645,25 +7823,23 @@ declare namespace gapi.client {
7645
7823
  /** Optional. IANA Time Zone Database version number. For example "2019a". */
7646
7824
  version?: string;
7647
7825
  }
7648
- interface MediaResource {
7649
- /** Downloads a file from the session. */
7650
- download(request?: {
7826
+ interface BillingAccountLicenseConfigsResource {
7827
+ /** Distributes a LicenseConfig from billing account level to project level. */
7828
+ distributeLicenseConfig(request: {
7651
7829
  /** V1 error format. */
7652
7830
  '$.xgafv'?: string;
7653
7831
  /** OAuth access token. */
7654
7832
  access_token?: string;
7655
7833
  /** Data format for response. */
7656
7834
  alt?: string;
7835
+ /** Required. Full resource name of BillingAccountLicenseConfig. Format: `billingAccounts/{billing_account}/billingAccountLicenseConfigs/{billing_account_license_config_id}`. */
7836
+ billingAccountLicenseConfig: string;
7657
7837
  /** JSONP */
7658
7838
  callback?: string;
7659
7839
  /** Selector specifying which fields to include in a partial response. */
7660
7840
  fields?: string;
7661
- /** Required. The ID of the file to be downloaded. */
7662
- fileId?: string;
7663
7841
  /** 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. */
7664
7842
  key?: string;
7665
- /** Required. The resource name of the Session. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}` */
7666
- name: string;
7667
7843
  /** OAuth 2.0 token for the current user. */
7668
7844
  oauth_token?: string;
7669
7845
  /** Returns response with indentations and line breaks. */
@@ -7674,27 +7850,54 @@ declare namespace gapi.client {
7674
7850
  upload_protocol?: string;
7675
7851
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7676
7852
  uploadType?: string;
7677
- /** Optional. The ID of the view to be downloaded. */
7678
- viewId?: string;
7679
- }): Request<GdataMedia>;
7680
- }
7681
- interface CmekConfigsResource {
7682
- /** De-provisions a CmekConfig. */
7683
- delete(request?: {
7853
+ /** Request body */
7854
+ resource: GoogleCloudDiscoveryengineV1alphaDistributeLicenseConfigRequest;
7855
+ }): Request<GoogleCloudDiscoveryengineV1alphaDistributeLicenseConfigResponse>;
7856
+ distributeLicenseConfig(
7857
+ request: {
7858
+ /** V1 error format. */
7859
+ '$.xgafv'?: string;
7860
+ /** OAuth access token. */
7861
+ access_token?: string;
7862
+ /** Data format for response. */
7863
+ alt?: string;
7864
+ /** Required. Full resource name of BillingAccountLicenseConfig. Format: `billingAccounts/{billing_account}/billingAccountLicenseConfigs/{billing_account_license_config_id}`. */
7865
+ billingAccountLicenseConfig: string;
7866
+ /** JSONP */
7867
+ callback?: string;
7868
+ /** Selector specifying which fields to include in a partial response. */
7869
+ fields?: string;
7870
+ /** 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. */
7871
+ key?: string;
7872
+ /** OAuth 2.0 token for the current user. */
7873
+ oauth_token?: string;
7874
+ /** Returns response with indentations and line breaks. */
7875
+ prettyPrint?: boolean;
7876
+ /** 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. */
7877
+ quotaUser?: string;
7878
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
7879
+ upload_protocol?: string;
7880
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7881
+ uploadType?: string;
7882
+ },
7883
+ body: GoogleCloudDiscoveryengineV1alphaDistributeLicenseConfigRequest,
7884
+ ): Request<GoogleCloudDiscoveryengineV1alphaDistributeLicenseConfigResponse>;
7885
+ /** This method is called from the billing account side to retract the LicenseConfig from the given project back to the billing account. */
7886
+ retractLicenseConfig(request: {
7684
7887
  /** V1 error format. */
7685
7888
  '$.xgafv'?: string;
7686
7889
  /** OAuth access token. */
7687
7890
  access_token?: string;
7688
7891
  /** Data format for response. */
7689
7892
  alt?: string;
7893
+ /** Required. Full resource name of BillingAccountLicenseConfig. Format: `billingAccounts/{billing_account}/billingAccountLicenseConfigs/{billing_account_license_config_id}`. */
7894
+ billingAccountLicenseConfig: string;
7690
7895
  /** JSONP */
7691
7896
  callback?: string;
7692
7897
  /** Selector specifying which fields to include in a partial response. */
7693
7898
  fields?: string;
7694
7899
  /** 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. */
7695
7900
  key?: string;
7696
- /** Required. The resource name of the CmekConfig to delete, such as `projects/{project}/locations/{location}/cmekConfigs/{cmek_config}`. */
7697
- name: string;
7698
7901
  /** OAuth 2.0 token for the current user. */
7699
7902
  oauth_token?: string;
7700
7903
  /** Returns response with indentations and line breaks. */
@@ -7705,9 +7908,45 @@ declare namespace gapi.client {
7705
7908
  upload_protocol?: string;
7706
7909
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7707
7910
  uploadType?: string;
7708
- }): Request<GoogleLongrunningOperation>;
7709
- /** Gets the CmekConfig. */
7710
- get(request?: {
7911
+ /** Request body */
7912
+ resource: GoogleCloudDiscoveryengineV1alphaRetractLicenseConfigRequest;
7913
+ }): Request<GoogleCloudDiscoveryengineV1alphaRetractLicenseConfigResponse>;
7914
+ retractLicenseConfig(
7915
+ request: {
7916
+ /** V1 error format. */
7917
+ '$.xgafv'?: string;
7918
+ /** OAuth access token. */
7919
+ access_token?: string;
7920
+ /** Data format for response. */
7921
+ alt?: string;
7922
+ /** Required. Full resource name of BillingAccountLicenseConfig. Format: `billingAccounts/{billing_account}/billingAccountLicenseConfigs/{billing_account_license_config_id}`. */
7923
+ billingAccountLicenseConfig: string;
7924
+ /** JSONP */
7925
+ callback?: string;
7926
+ /** Selector specifying which fields to include in a partial response. */
7927
+ fields?: string;
7928
+ /** 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. */
7929
+ key?: string;
7930
+ /** OAuth 2.0 token for the current user. */
7931
+ oauth_token?: string;
7932
+ /** Returns response with indentations and line breaks. */
7933
+ prettyPrint?: boolean;
7934
+ /** 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. */
7935
+ quotaUser?: string;
7936
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
7937
+ upload_protocol?: string;
7938
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7939
+ uploadType?: string;
7940
+ },
7941
+ body: GoogleCloudDiscoveryengineV1alphaRetractLicenseConfigRequest,
7942
+ ): Request<GoogleCloudDiscoveryengineV1alphaRetractLicenseConfigResponse>;
7943
+ }
7944
+ interface BillingAccountsResource {
7945
+ billingAccountLicenseConfigs: BillingAccountLicenseConfigsResource;
7946
+ }
7947
+ interface MediaResource {
7948
+ /** Downloads a file from the session. */
7949
+ download(request?: {
7711
7950
  /** V1 error format. */
7712
7951
  '$.xgafv'?: string;
7713
7952
  /** OAuth access token. */
@@ -7718,9 +7957,11 @@ declare namespace gapi.client {
7718
7957
  callback?: string;
7719
7958
  /** Selector specifying which fields to include in a partial response. */
7720
7959
  fields?: string;
7960
+ /** Required. The ID of the file to be downloaded. */
7961
+ fileId?: string;
7721
7962
  /** 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. */
7722
7963
  key?: string;
7723
- /** Required. Resource name of CmekConfig, such as `projects/*‍/locations/*‍/cmekConfig` or `projects/*‍/locations/*‍/cmekConfigs/*`. If the caller does not have permission to access the CmekConfig, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. */
7964
+ /** Required. The resource name of the Session. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}` */
7724
7965
  name: string;
7725
7966
  /** OAuth 2.0 token for the current user. */
7726
7967
  oauth_token?: string;
@@ -7732,15 +7973,21 @@ declare namespace gapi.client {
7732
7973
  upload_protocol?: string;
7733
7974
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7734
7975
  uploadType?: string;
7735
- }): Request<GoogleCloudDiscoveryengineV1alphaCmekConfig>;
7736
- /** Lists all the CmekConfigs with the project. */
7737
- list(request?: {
7976
+ /** Optional. The ID of the view to be downloaded. */
7977
+ viewId?: string;
7978
+ }): Request<GdataMedia>;
7979
+ }
7980
+ interface AuthorizationsResource {
7981
+ /** Creates an Authorization. */
7982
+ create(request: {
7738
7983
  /** V1 error format. */
7739
7984
  '$.xgafv'?: string;
7740
7985
  /** OAuth access token. */
7741
7986
  access_token?: string;
7742
7987
  /** Data format for response. */
7743
7988
  alt?: string;
7989
+ /** Required. The ID to use for the authorization, which will become the final component of the resource name. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) with a length limit of 63 characters. */
7990
+ authorizationId?: string;
7744
7991
  /** JSONP */
7745
7992
  callback?: string;
7746
7993
  /** Selector specifying which fields to include in a partial response. */
@@ -7749,7 +7996,7 @@ declare namespace gapi.client {
7749
7996
  key?: string;
7750
7997
  /** OAuth 2.0 token for the current user. */
7751
7998
  oauth_token?: string;
7752
- /** Required. The parent location resource name, such as `projects/{project}/locations/{location}`. If the caller does not have permission to list CmekConfigs under this location, regardless of whether or not a CmekConfig exists, a PERMISSION_DENIED error is returned. */
7999
+ /** Required. The parent resource name. Format: `projects/{project}/locations/{location}` */
7753
8000
  parent: string;
7754
8001
  /** Returns response with indentations and line breaks. */
7755
8002
  prettyPrint?: boolean;
@@ -7759,39 +8006,10 @@ declare namespace gapi.client {
7759
8006
  upload_protocol?: string;
7760
8007
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7761
8008
  uploadType?: string;
7762
- }): Request<GoogleCloudDiscoveryengineV1alphaListCmekConfigsResponse>;
7763
- /** 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. */
7764
- patch(request: {
7765
- /** V1 error format. */
7766
- '$.xgafv'?: string;
7767
- /** OAuth access token. */
7768
- access_token?: string;
7769
- /** Data format for response. */
7770
- alt?: string;
7771
- /** JSONP */
7772
- callback?: string;
7773
- /** Selector specifying which fields to include in a partial response. */
7774
- fields?: string;
7775
- /** 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. */
7776
- key?: string;
7777
- /** Required. The name of the CmekConfig of the form `projects/{project}/locations/{location}/cmekConfig` or `projects/{project}/locations/{location}/cmekConfigs/{cmek_config}`. */
7778
- name: string;
7779
- /** OAuth 2.0 token for the current user. */
7780
- oauth_token?: string;
7781
- /** Returns response with indentations and line breaks. */
7782
- prettyPrint?: boolean;
7783
- /** 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. */
7784
- quotaUser?: string;
7785
- /** Set the following CmekConfig as the default to be used for child resources if one is not specified. */
7786
- setDefault?: boolean;
7787
- /** Upload protocol for media (e.g. "raw", "multipart"). */
7788
- upload_protocol?: string;
7789
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7790
- uploadType?: string;
7791
8009
  /** Request body */
7792
- resource: GoogleCloudDiscoveryengineV1alphaCmekConfig;
7793
- }): Request<GoogleLongrunningOperation>;
7794
- patch(
8010
+ resource: GoogleCloudDiscoveryengineV1alphaAuthorization;
8011
+ }): Request<GoogleCloudDiscoveryengineV1alphaAuthorization>;
8012
+ create(
7795
8013
  request: {
7796
8014
  /** V1 error format. */
7797
8015
  '$.xgafv'?: string;
@@ -7799,33 +8017,31 @@ declare namespace gapi.client {
7799
8017
  access_token?: string;
7800
8018
  /** Data format for response. */
7801
8019
  alt?: string;
8020
+ /** Required. The ID to use for the authorization, which will become the final component of the resource name. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) with a length limit of 63 characters. */
8021
+ authorizationId?: string;
7802
8022
  /** JSONP */
7803
8023
  callback?: string;
7804
8024
  /** Selector specifying which fields to include in a partial response. */
7805
8025
  fields?: string;
7806
8026
  /** 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. */
7807
8027
  key?: string;
7808
- /** Required. The name of the CmekConfig of the form `projects/{project}/locations/{location}/cmekConfig` or `projects/{project}/locations/{location}/cmekConfigs/{cmek_config}`. */
7809
- name: string;
7810
8028
  /** OAuth 2.0 token for the current user. */
7811
8029
  oauth_token?: string;
8030
+ /** Required. The parent resource name. Format: `projects/{project}/locations/{location}` */
8031
+ parent: string;
7812
8032
  /** Returns response with indentations and line breaks. */
7813
8033
  prettyPrint?: boolean;
7814
8034
  /** 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. */
7815
8035
  quotaUser?: string;
7816
- /** Set the following CmekConfig as the default to be used for child resources if one is not specified. */
7817
- setDefault?: boolean;
7818
8036
  /** Upload protocol for media (e.g. "raw", "multipart"). */
7819
8037
  upload_protocol?: string;
7820
8038
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7821
8039
  uploadType?: string;
7822
8040
  },
7823
- body: GoogleCloudDiscoveryengineV1alphaCmekConfig,
7824
- ): Request<GoogleLongrunningOperation>;
7825
- }
7826
- interface ConnectorRunsResource {
7827
- /** Lists the ConnectorRuns of a DataConnector. */
7828
- list(request?: {
8041
+ body: GoogleCloudDiscoveryengineV1alphaAuthorization,
8042
+ ): Request<GoogleCloudDiscoveryengineV1alphaAuthorization>;
8043
+ /** Deletes an Authorization. */
8044
+ delete(request?: {
7829
8045
  /** V1 error format. */
7830
8046
  '$.xgafv'?: string;
7831
8047
  /** OAuth access token. */
@@ -7838,14 +8054,10 @@ declare namespace gapi.client {
7838
8054
  fields?: string;
7839
8055
  /** 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. */
7840
8056
  key?: string;
8057
+ /** Required. Resource name of Authorization. Format: `projects/{project}/locations/{location}/authorizations/{authorization}` If the caller does not have permission to delete the authorization, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. If the authorization to delete does not exist, a `NOT_FOUND` error is returned. */
8058
+ name: string;
7841
8059
  /** OAuth 2.0 token for the current user. */
7842
8060
  oauth_token?: string;
7843
- /** Requested page size. Server may return fewer items than requested. If unspecified, defaults to 10. The maximum value is 50; values above 50 will be coerced to 50. If this field is negative, an INVALID_ARGUMENT error is returned. */
7844
- pageSize?: number;
7845
- /** A page token, received from a previous `ListConnectorRuns` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListConnectorRuns` must match the call that provided the page token. */
7846
- pageToken?: string;
7847
- /** Required. The parent DataConnector resource name, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataConnector`. If the caller does not have permission to list ConnectorRuns under this DataConnector, regardless of whether or not this DataConnector exists, a PERMISSION_DENIED error is returned. */
7848
- parent: string;
7849
8061
  /** Returns response with indentations and line breaks. */
7850
8062
  prettyPrint?: boolean;
7851
8063
  /** 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. */
@@ -7854,10 +8066,8 @@ declare namespace gapi.client {
7854
8066
  upload_protocol?: string;
7855
8067
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7856
8068
  uploadType?: string;
7857
- }): Request<GoogleCloudDiscoveryengineV1alphaListConnectorRunsResponse>;
7858
- }
7859
- interface OperationsResource {
7860
- /** 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. */
8069
+ }): Request<{}>;
8070
+ /** Gets an Authorization. */
7861
8071
  get(request?: {
7862
8072
  /** V1 error format. */
7863
8073
  '$.xgafv'?: string;
@@ -7871,7 +8081,7 @@ declare namespace gapi.client {
7871
8081
  fields?: string;
7872
8082
  /** 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. */
7873
8083
  key?: string;
7874
- /** The name of the operation resource. */
8084
+ /** Required. Resource name of Authorization. Format: `projects/{project}/locations/{location}/authorizations/{authorization}` */
7875
8085
  name: string;
7876
8086
  /** OAuth 2.0 token for the current user. */
7877
8087
  oauth_token?: string;
@@ -7883,8 +8093,8 @@ declare namespace gapi.client {
7883
8093
  upload_protocol?: string;
7884
8094
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7885
8095
  uploadType?: string;
7886
- }): Request<GoogleLongrunningOperation>;
7887
- /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
8096
+ }): Request<GoogleCloudDiscoveryengineV1alphaAuthorization>;
8097
+ /** Lists all Authorizations under an Engine. */
7888
8098
  list(request?: {
7889
8099
  /** V1 error format. */
7890
8100
  '$.xgafv'?: string;
@@ -7896,33 +8106,27 @@ declare namespace gapi.client {
7896
8106
  callback?: string;
7897
8107
  /** Selector specifying which fields to include in a partial response. */
7898
8108
  fields?: string;
7899
- /** The standard list filter. */
7900
- filter?: string;
7901
8109
  /** 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. */
7902
8110
  key?: string;
7903
- /** The name of the operation's parent resource. */
7904
- name: string;
7905
8111
  /** OAuth 2.0 token for the current user. */
7906
8112
  oauth_token?: string;
7907
- /** The standard list page size. */
8113
+ /** Maximum number of Authorizations to return. If unspecified, defaults to 100. The maximum allowed value is 1000; anything above that will be coerced down to 1000. */
7908
8114
  pageSize?: number;
7909
- /** The standard list page token. */
8115
+ /** A page token ListAuthorizationsResponse.next_page_token, received from a previous AuthorizationService.ListAuthorizations call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListAuthorizations must match the call that provided the page token. */
7910
8116
  pageToken?: string;
8117
+ /** Required. The parent resource name. Format: `projects/{project}/locations/{location}` */
8118
+ parent: string;
7911
8119
  /** Returns response with indentations and line breaks. */
7912
8120
  prettyPrint?: boolean;
7913
8121
  /** 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. */
7914
8122
  quotaUser?: string;
7915
- /** When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. */
7916
- returnPartialSuccess?: boolean;
7917
8123
  /** Upload protocol for media (e.g. "raw", "multipart"). */
7918
8124
  upload_protocol?: string;
7919
8125
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7920
8126
  uploadType?: string;
7921
- }): Request<GoogleLongrunningListOperationsResponse>;
7922
- }
7923
- interface DataConnectorResource {
7924
- /** Uses the per-user refresh token minted with AcquireAndStoreRefreshToken to generate and return a new access token and its details. Takes the access token from cache if available. Rotates the stored refresh token if needed. Uses the end user identity to return the user specific access token. Does *not* return the credentials configured by the administrator. Used by action execution and UI. */
7925
- acquireAccessToken(request: {
8127
+ }): Request<GoogleCloudDiscoveryengineV1alphaListAuthorizationsResponse>;
8128
+ /** Updates an Authorization */
8129
+ patch(request: {
7926
8130
  /** V1 error format. */
7927
8131
  '$.xgafv'?: string;
7928
8132
  /** OAuth access token. */
@@ -7935,7 +8139,7 @@ declare namespace gapi.client {
7935
8139
  fields?: string;
7936
8140
  /** 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. */
7937
8141
  key?: string;
7938
- /** Required. The resource name of the connector for which a token is queried. */
8142
+ /** Identifier. Resource name of the authorization. Format: `projects/{project}/locations/{location}/authorizations/{authorization}` It must be a UTF-8 encoded string with a length limit of 1024 characters. */
7939
8143
  name: string;
7940
8144
  /** OAuth 2.0 token for the current user. */
7941
8145
  oauth_token?: string;
@@ -7943,13 +8147,319 @@ declare namespace gapi.client {
7943
8147
  prettyPrint?: boolean;
7944
8148
  /** 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. */
7945
8149
  quotaUser?: string;
8150
+ /** The list of fields to update. */
8151
+ updateMask?: string;
7946
8152
  /** Upload protocol for media (e.g. "raw", "multipart"). */
7947
8153
  upload_protocol?: string;
7948
8154
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7949
8155
  uploadType?: string;
7950
8156
  /** Request body */
7951
- resource: GoogleCloudDiscoveryengineV1alphaAcquireAccessTokenRequest;
7952
- }): Request<GoogleCloudDiscoveryengineV1alphaAcquireAccessTokenResponse>;
8157
+ resource: GoogleCloudDiscoveryengineV1alphaAuthorization;
8158
+ }): Request<GoogleCloudDiscoveryengineV1alphaAuthorization>;
8159
+ patch(
8160
+ request: {
8161
+ /** V1 error format. */
8162
+ '$.xgafv'?: string;
8163
+ /** OAuth access token. */
8164
+ access_token?: string;
8165
+ /** Data format for response. */
8166
+ alt?: string;
8167
+ /** JSONP */
8168
+ callback?: string;
8169
+ /** Selector specifying which fields to include in a partial response. */
8170
+ fields?: string;
8171
+ /** 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. */
8172
+ key?: string;
8173
+ /** Identifier. Resource name of the authorization. Format: `projects/{project}/locations/{location}/authorizations/{authorization}` It must be a UTF-8 encoded string with a length limit of 1024 characters. */
8174
+ name: string;
8175
+ /** OAuth 2.0 token for the current user. */
8176
+ oauth_token?: string;
8177
+ /** Returns response with indentations and line breaks. */
8178
+ prettyPrint?: boolean;
8179
+ /** 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. */
8180
+ quotaUser?: string;
8181
+ /** The list of fields to update. */
8182
+ updateMask?: string;
8183
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
8184
+ upload_protocol?: string;
8185
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8186
+ uploadType?: string;
8187
+ },
8188
+ body: GoogleCloudDiscoveryengineV1alphaAuthorization,
8189
+ ): Request<GoogleCloudDiscoveryengineV1alphaAuthorization>;
8190
+ }
8191
+ interface CmekConfigsResource {
8192
+ /** De-provisions a CmekConfig. */
8193
+ delete(request?: {
8194
+ /** V1 error format. */
8195
+ '$.xgafv'?: string;
8196
+ /** OAuth access token. */
8197
+ access_token?: string;
8198
+ /** Data format for response. */
8199
+ alt?: string;
8200
+ /** JSONP */
8201
+ callback?: string;
8202
+ /** Selector specifying which fields to include in a partial response. */
8203
+ fields?: string;
8204
+ /** 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. */
8205
+ key?: string;
8206
+ /** Required. The resource name of the CmekConfig to delete, such as `projects/{project}/locations/{location}/cmekConfigs/{cmek_config}`. */
8207
+ name: string;
8208
+ /** OAuth 2.0 token for the current user. */
8209
+ oauth_token?: string;
8210
+ /** Returns response with indentations and line breaks. */
8211
+ prettyPrint?: boolean;
8212
+ /** 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. */
8213
+ quotaUser?: string;
8214
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
8215
+ upload_protocol?: string;
8216
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8217
+ uploadType?: string;
8218
+ }): Request<GoogleLongrunningOperation>;
8219
+ /** Gets the CmekConfig. */
8220
+ get(request?: {
8221
+ /** V1 error format. */
8222
+ '$.xgafv'?: string;
8223
+ /** OAuth access token. */
8224
+ access_token?: string;
8225
+ /** Data format for response. */
8226
+ alt?: string;
8227
+ /** JSONP */
8228
+ callback?: string;
8229
+ /** Selector specifying which fields to include in a partial response. */
8230
+ fields?: string;
8231
+ /** 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. */
8232
+ key?: string;
8233
+ /** Required. Resource name of CmekConfig, such as `projects/*‍/locations/*‍/cmekConfig` or `projects/*‍/locations/*‍/cmekConfigs/*`. If the caller does not have permission to access the CmekConfig, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. */
8234
+ name: string;
8235
+ /** OAuth 2.0 token for the current user. */
8236
+ oauth_token?: string;
8237
+ /** Returns response with indentations and line breaks. */
8238
+ prettyPrint?: boolean;
8239
+ /** 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. */
8240
+ quotaUser?: string;
8241
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
8242
+ upload_protocol?: string;
8243
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8244
+ uploadType?: string;
8245
+ }): Request<GoogleCloudDiscoveryengineV1alphaCmekConfig>;
8246
+ /** Lists all the CmekConfigs with the project. */
8247
+ list(request?: {
8248
+ /** V1 error format. */
8249
+ '$.xgafv'?: string;
8250
+ /** OAuth access token. */
8251
+ access_token?: string;
8252
+ /** Data format for response. */
8253
+ alt?: string;
8254
+ /** JSONP */
8255
+ callback?: string;
8256
+ /** Selector specifying which fields to include in a partial response. */
8257
+ fields?: string;
8258
+ /** 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. */
8259
+ key?: string;
8260
+ /** OAuth 2.0 token for the current user. */
8261
+ oauth_token?: string;
8262
+ /** Required. The parent location resource name, such as `projects/{project}/locations/{location}`. If the caller does not have permission to list CmekConfigs under this location, regardless of whether or not a CmekConfig exists, a PERMISSION_DENIED error is returned. */
8263
+ parent: string;
8264
+ /** Returns response with indentations and line breaks. */
8265
+ prettyPrint?: boolean;
8266
+ /** 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. */
8267
+ quotaUser?: string;
8268
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
8269
+ upload_protocol?: string;
8270
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8271
+ uploadType?: string;
8272
+ }): Request<GoogleCloudDiscoveryengineV1alphaListCmekConfigsResponse>;
8273
+ /** 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. */
8274
+ patch(request: {
8275
+ /** V1 error format. */
8276
+ '$.xgafv'?: string;
8277
+ /** OAuth access token. */
8278
+ access_token?: string;
8279
+ /** Data format for response. */
8280
+ alt?: string;
8281
+ /** JSONP */
8282
+ callback?: string;
8283
+ /** Selector specifying which fields to include in a partial response. */
8284
+ fields?: string;
8285
+ /** 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. */
8286
+ key?: string;
8287
+ /** Required. The name of the CmekConfig of the form `projects/{project}/locations/{location}/cmekConfig` or `projects/{project}/locations/{location}/cmekConfigs/{cmek_config}`. */
8288
+ name: string;
8289
+ /** OAuth 2.0 token for the current user. */
8290
+ oauth_token?: string;
8291
+ /** Returns response with indentations and line breaks. */
8292
+ prettyPrint?: boolean;
8293
+ /** 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. */
8294
+ quotaUser?: string;
8295
+ /** Set the following CmekConfig as the default to be used for child resources if one is not specified. */
8296
+ setDefault?: boolean;
8297
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
8298
+ upload_protocol?: string;
8299
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8300
+ uploadType?: string;
8301
+ /** Request body */
8302
+ resource: GoogleCloudDiscoveryengineV1alphaCmekConfig;
8303
+ }): Request<GoogleLongrunningOperation>;
8304
+ patch(
8305
+ request: {
8306
+ /** V1 error format. */
8307
+ '$.xgafv'?: string;
8308
+ /** OAuth access token. */
8309
+ access_token?: string;
8310
+ /** Data format for response. */
8311
+ alt?: string;
8312
+ /** JSONP */
8313
+ callback?: string;
8314
+ /** Selector specifying which fields to include in a partial response. */
8315
+ fields?: string;
8316
+ /** 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. */
8317
+ key?: string;
8318
+ /** Required. The name of the CmekConfig of the form `projects/{project}/locations/{location}/cmekConfig` or `projects/{project}/locations/{location}/cmekConfigs/{cmek_config}`. */
8319
+ name: string;
8320
+ /** OAuth 2.0 token for the current user. */
8321
+ oauth_token?: string;
8322
+ /** Returns response with indentations and line breaks. */
8323
+ prettyPrint?: boolean;
8324
+ /** 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. */
8325
+ quotaUser?: string;
8326
+ /** Set the following CmekConfig as the default to be used for child resources if one is not specified. */
8327
+ setDefault?: boolean;
8328
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
8329
+ upload_protocol?: string;
8330
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8331
+ uploadType?: string;
8332
+ },
8333
+ body: GoogleCloudDiscoveryengineV1alphaCmekConfig,
8334
+ ): Request<GoogleLongrunningOperation>;
8335
+ }
8336
+ interface ConnectorRunsResource {
8337
+ /** Lists the ConnectorRuns of a DataConnector. */
8338
+ list(request?: {
8339
+ /** V1 error format. */
8340
+ '$.xgafv'?: string;
8341
+ /** OAuth access token. */
8342
+ access_token?: string;
8343
+ /** Data format for response. */
8344
+ alt?: string;
8345
+ /** JSONP */
8346
+ callback?: string;
8347
+ /** Selector specifying which fields to include in a partial response. */
8348
+ fields?: string;
8349
+ /** 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. */
8350
+ key?: string;
8351
+ /** OAuth 2.0 token for the current user. */
8352
+ oauth_token?: string;
8353
+ /** Requested page size. Server may return fewer items than requested. If unspecified, defaults to 10. The maximum value is 50; values above 50 will be coerced to 50. If this field is negative, an INVALID_ARGUMENT error is returned. */
8354
+ pageSize?: number;
8355
+ /** A page token, received from a previous `ListConnectorRuns` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListConnectorRuns` must match the call that provided the page token. */
8356
+ pageToken?: string;
8357
+ /** Required. The parent DataConnector resource name, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataConnector`. If the caller does not have permission to list ConnectorRuns under this DataConnector, regardless of whether or not this DataConnector exists, a PERMISSION_DENIED error is returned. */
8358
+ parent: string;
8359
+ /** Returns response with indentations and line breaks. */
8360
+ prettyPrint?: boolean;
8361
+ /** 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. */
8362
+ quotaUser?: string;
8363
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
8364
+ upload_protocol?: string;
8365
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8366
+ uploadType?: string;
8367
+ }): Request<GoogleCloudDiscoveryengineV1alphaListConnectorRunsResponse>;
8368
+ }
8369
+ interface OperationsResource {
8370
+ /** 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. */
8371
+ get(request?: {
8372
+ /** V1 error format. */
8373
+ '$.xgafv'?: string;
8374
+ /** OAuth access token. */
8375
+ access_token?: string;
8376
+ /** Data format for response. */
8377
+ alt?: string;
8378
+ /** JSONP */
8379
+ callback?: string;
8380
+ /** Selector specifying which fields to include in a partial response. */
8381
+ fields?: string;
8382
+ /** 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. */
8383
+ key?: string;
8384
+ /** The name of the operation resource. */
8385
+ name: string;
8386
+ /** OAuth 2.0 token for the current user. */
8387
+ oauth_token?: string;
8388
+ /** Returns response with indentations and line breaks. */
8389
+ prettyPrint?: boolean;
8390
+ /** 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. */
8391
+ quotaUser?: string;
8392
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
8393
+ upload_protocol?: string;
8394
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8395
+ uploadType?: string;
8396
+ }): Request<GoogleLongrunningOperation>;
8397
+ /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
8398
+ list(request?: {
8399
+ /** V1 error format. */
8400
+ '$.xgafv'?: string;
8401
+ /** OAuth access token. */
8402
+ access_token?: string;
8403
+ /** Data format for response. */
8404
+ alt?: string;
8405
+ /** JSONP */
8406
+ callback?: string;
8407
+ /** Selector specifying which fields to include in a partial response. */
8408
+ fields?: string;
8409
+ /** The standard list filter. */
8410
+ filter?: string;
8411
+ /** 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. */
8412
+ key?: string;
8413
+ /** The name of the operation's parent resource. */
8414
+ name: string;
8415
+ /** OAuth 2.0 token for the current user. */
8416
+ oauth_token?: string;
8417
+ /** The standard list page size. */
8418
+ pageSize?: number;
8419
+ /** The standard list page token. */
8420
+ pageToken?: string;
8421
+ /** Returns response with indentations and line breaks. */
8422
+ prettyPrint?: boolean;
8423
+ /** 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. */
8424
+ quotaUser?: string;
8425
+ /** When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. */
8426
+ returnPartialSuccess?: boolean;
8427
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
8428
+ upload_protocol?: string;
8429
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8430
+ uploadType?: string;
8431
+ }): Request<GoogleLongrunningListOperationsResponse>;
8432
+ }
8433
+ interface DataConnectorResource {
8434
+ /** Uses the per-user refresh token minted with AcquireAndStoreRefreshToken to generate and return a new access token and its details. Takes the access token from cache if available. Rotates the stored refresh token if needed. Uses the end user identity to return the user specific access token. Does *not* return the credentials configured by the administrator. Used by action execution and UI. */
8435
+ acquireAccessToken(request: {
8436
+ /** V1 error format. */
8437
+ '$.xgafv'?: string;
8438
+ /** OAuth access token. */
8439
+ access_token?: string;
8440
+ /** Data format for response. */
8441
+ alt?: string;
8442
+ /** JSONP */
8443
+ callback?: string;
8444
+ /** Selector specifying which fields to include in a partial response. */
8445
+ fields?: string;
8446
+ /** 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. */
8447
+ key?: string;
8448
+ /** Required. The resource name of the connector for which a token is queried. */
8449
+ name: string;
8450
+ /** OAuth 2.0 token for the current user. */
8451
+ oauth_token?: string;
8452
+ /** Returns response with indentations and line breaks. */
8453
+ prettyPrint?: boolean;
8454
+ /** 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. */
8455
+ quotaUser?: string;
8456
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
8457
+ upload_protocol?: string;
8458
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8459
+ uploadType?: string;
8460
+ /** Request body */
8461
+ resource: GoogleCloudDiscoveryengineV1alphaAcquireAccessTokenRequest;
8462
+ }): Request<GoogleCloudDiscoveryengineV1alphaAcquireAccessTokenResponse>;
7953
8463
  acquireAccessToken(
7954
8464
  request: {
7955
8465
  /** V1 error format. */
@@ -12097,101 +12607,312 @@ declare namespace gapi.client {
12097
12607
  fields?: string;
12098
12608
  /** 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. */
12099
12609
  key?: string;
12100
- /** The full resource name of the Document Processing Config. Format: `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/documentProcessingConfig`. */
12101
- name: string;
12610
+ /** The full resource name of the Document Processing Config. Format: `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/documentProcessingConfig`. */
12611
+ name: string;
12612
+ /** OAuth 2.0 token for the current user. */
12613
+ oauth_token?: string;
12614
+ /** Returns response with indentations and line breaks. */
12615
+ prettyPrint?: boolean;
12616
+ /** 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. */
12617
+ quotaUser?: string;
12618
+ /** Indicates which fields in the provided DocumentProcessingConfig to update. The following are the only supported fields: * DocumentProcessingConfig.ocr_config If not set, all supported fields are updated. */
12619
+ updateMask?: string;
12620
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
12621
+ upload_protocol?: string;
12622
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12623
+ uploadType?: string;
12624
+ /** Request body */
12625
+ resource: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig;
12626
+ }): Request<GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>;
12627
+ updateDocumentProcessingConfig(
12628
+ request: {
12629
+ /** V1 error format. */
12630
+ '$.xgafv'?: string;
12631
+ /** OAuth access token. */
12632
+ access_token?: string;
12633
+ /** Data format for response. */
12634
+ alt?: string;
12635
+ /** JSONP */
12636
+ callback?: string;
12637
+ /** Selector specifying which fields to include in a partial response. */
12638
+ fields?: string;
12639
+ /** 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. */
12640
+ key?: string;
12641
+ /** The full resource name of the Document Processing Config. Format: `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/documentProcessingConfig`. */
12642
+ name: string;
12643
+ /** OAuth 2.0 token for the current user. */
12644
+ oauth_token?: string;
12645
+ /** Returns response with indentations and line breaks. */
12646
+ prettyPrint?: boolean;
12647
+ /** 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. */
12648
+ quotaUser?: string;
12649
+ /** Indicates which fields in the provided DocumentProcessingConfig to update. The following are the only supported fields: * DocumentProcessingConfig.ocr_config If not set, all supported fields are updated. */
12650
+ updateMask?: string;
12651
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
12652
+ upload_protocol?: string;
12653
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12654
+ uploadType?: string;
12655
+ },
12656
+ body: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig,
12657
+ ): Request<GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>;
12658
+ branches: BranchesResource;
12659
+ completionConfig: CompletionConfigResource;
12660
+ completionSuggestions: CompletionSuggestionsResource;
12661
+ controls: ControlsResource;
12662
+ conversations: ConversationsResource;
12663
+ customModels: CustomModelsResource;
12664
+ models: ModelsResource;
12665
+ operations: OperationsResource;
12666
+ schemas: SchemasResource;
12667
+ servingConfigs: ServingConfigsResource;
12668
+ sessions: SessionsResource;
12669
+ siteSearchEngine: SiteSearchEngineResource;
12670
+ suggestionDenyListEntries: SuggestionDenyListEntriesResource;
12671
+ userEvents: UserEventsResource;
12672
+ widgetConfigs: WidgetConfigsResource;
12673
+ }
12674
+ interface AnalyticsResource {
12675
+ /** Exports metrics. */
12676
+ exportMetrics(request: {
12677
+ /** V1 error format. */
12678
+ '$.xgafv'?: string;
12679
+ /** OAuth access token. */
12680
+ access_token?: string;
12681
+ /** Data format for response. */
12682
+ alt?: string;
12683
+ /** Required. The analytics resource name under the engine where the metrics are created. The format is `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/analytics`. */
12684
+ analytics: string;
12685
+ /** JSONP */
12686
+ callback?: string;
12687
+ /** Selector specifying which fields to include in a partial response. */
12688
+ fields?: string;
12689
+ /** 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. */
12690
+ key?: string;
12691
+ /** OAuth 2.0 token for the current user. */
12692
+ oauth_token?: string;
12693
+ /** Returns response with indentations and line breaks. */
12694
+ prettyPrint?: boolean;
12695
+ /** 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. */
12696
+ quotaUser?: string;
12697
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
12698
+ upload_protocol?: string;
12699
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12700
+ uploadType?: string;
12701
+ /** Request body */
12702
+ resource: GoogleCloudDiscoveryengineV1alphaExportMetricsRequest;
12703
+ }): Request<GoogleLongrunningOperation>;
12704
+ exportMetrics(
12705
+ request: {
12706
+ /** V1 error format. */
12707
+ '$.xgafv'?: string;
12708
+ /** OAuth access token. */
12709
+ access_token?: string;
12710
+ /** Data format for response. */
12711
+ alt?: string;
12712
+ /** Required. The analytics resource name under the engine where the metrics are created. The format is `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/analytics`. */
12713
+ analytics: string;
12714
+ /** JSONP */
12715
+ callback?: string;
12716
+ /** Selector specifying which fields to include in a partial response. */
12717
+ fields?: string;
12718
+ /** 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. */
12719
+ key?: string;
12720
+ /** OAuth 2.0 token for the current user. */
12721
+ oauth_token?: string;
12722
+ /** Returns response with indentations and line breaks. */
12723
+ prettyPrint?: boolean;
12724
+ /** 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. */
12725
+ quotaUser?: string;
12726
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
12727
+ upload_protocol?: string;
12728
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12729
+ uploadType?: string;
12730
+ },
12731
+ body: GoogleCloudDiscoveryengineV1alphaExportMetricsRequest,
12732
+ ): Request<GoogleLongrunningOperation>;
12733
+ }
12734
+ interface CannedQueriesResource {
12735
+ /** Creates a CannedQuery. */
12736
+ create(request: {
12737
+ /** V1 error format. */
12738
+ '$.xgafv'?: string;
12739
+ /** OAuth access token. */
12740
+ access_token?: string;
12741
+ /** Data format for response. */
12742
+ alt?: string;
12743
+ /** JSONP */
12744
+ callback?: string;
12745
+ /** Required. The ID to use for the canned query, which will become the final component of the canned query's resource name. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) with a length limit of 63 characters. */
12746
+ cannedQueryId?: string;
12747
+ /** Selector specifying which fields to include in a partial response. */
12748
+ fields?: string;
12749
+ /** 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. */
12750
+ key?: string;
12751
+ /** OAuth 2.0 token for the current user. */
12752
+ oauth_token?: string;
12753
+ /** Required. The parent resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` */
12754
+ parent: string;
12755
+ /** Returns response with indentations and line breaks. */
12756
+ prettyPrint?: boolean;
12757
+ /** 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. */
12758
+ quotaUser?: string;
12759
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
12760
+ upload_protocol?: string;
12761
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12762
+ uploadType?: string;
12763
+ /** Request body */
12764
+ resource: GoogleCloudDiscoveryengineV1alphaCannedQuery;
12765
+ }): Request<GoogleCloudDiscoveryengineV1alphaCannedQuery>;
12766
+ create(
12767
+ request: {
12768
+ /** V1 error format. */
12769
+ '$.xgafv'?: string;
12770
+ /** OAuth access token. */
12771
+ access_token?: string;
12772
+ /** Data format for response. */
12773
+ alt?: string;
12774
+ /** JSONP */
12775
+ callback?: string;
12776
+ /** Required. The ID to use for the canned query, which will become the final component of the canned query's resource name. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) with a length limit of 63 characters. */
12777
+ cannedQueryId?: string;
12778
+ /** Selector specifying which fields to include in a partial response. */
12779
+ fields?: string;
12780
+ /** 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. */
12781
+ key?: string;
12782
+ /** OAuth 2.0 token for the current user. */
12783
+ oauth_token?: string;
12784
+ /** Required. The parent resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` */
12785
+ parent: string;
12786
+ /** Returns response with indentations and line breaks. */
12787
+ prettyPrint?: boolean;
12788
+ /** 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. */
12789
+ quotaUser?: string;
12790
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
12791
+ upload_protocol?: string;
12792
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12793
+ uploadType?: string;
12794
+ },
12795
+ body: GoogleCloudDiscoveryengineV1alphaCannedQuery,
12796
+ ): Request<GoogleCloudDiscoveryengineV1alphaCannedQuery>;
12797
+ /** Deletes a CannedQuery. */
12798
+ delete(request?: {
12799
+ /** V1 error format. */
12800
+ '$.xgafv'?: string;
12801
+ /** OAuth access token. */
12802
+ access_token?: string;
12803
+ /** Data format for response. */
12804
+ alt?: string;
12805
+ /** JSONP */
12806
+ callback?: string;
12807
+ /** Selector specifying which fields to include in a partial response. */
12808
+ fields?: string;
12809
+ /** 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. */
12810
+ key?: string;
12811
+ /** Required. Resource name of CannedQuery. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}/cannedQueries/{canned_query}` If the caller does not have permission to delete the canned query, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. If the canned query to delete does not exist, a `NOT_FOUND` error is returned. */
12812
+ name: string;
12813
+ /** OAuth 2.0 token for the current user. */
12814
+ oauth_token?: string;
12815
+ /** Returns response with indentations and line breaks. */
12816
+ prettyPrint?: boolean;
12817
+ /** 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. */
12818
+ quotaUser?: string;
12819
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
12820
+ upload_protocol?: string;
12821
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12822
+ uploadType?: string;
12823
+ }): Request<{}>;
12824
+ /** Gets a CannedQuery. */
12825
+ get(request?: {
12826
+ /** V1 error format. */
12827
+ '$.xgafv'?: string;
12828
+ /** OAuth access token. */
12829
+ access_token?: string;
12830
+ /** Data format for response. */
12831
+ alt?: string;
12832
+ /** JSONP */
12833
+ callback?: string;
12834
+ /** Selector specifying which fields to include in a partial response. */
12835
+ fields?: string;
12836
+ /** 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. */
12837
+ key?: string;
12838
+ /** Required. Resource name of CannedQuery. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}/cannedQueries/{canned_query}` */
12839
+ name: string;
12840
+ /** OAuth 2.0 token for the current user. */
12841
+ oauth_token?: string;
12842
+ /** Returns response with indentations and line breaks. */
12843
+ prettyPrint?: boolean;
12844
+ /** 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. */
12845
+ quotaUser?: string;
12846
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
12847
+ upload_protocol?: string;
12848
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12849
+ uploadType?: string;
12850
+ }): Request<GoogleCloudDiscoveryengineV1alphaCannedQuery>;
12851
+ /** Lists all CannedQuerys under an Assistant. */
12852
+ list(request?: {
12853
+ /** V1 error format. */
12854
+ '$.xgafv'?: string;
12855
+ /** OAuth access token. */
12856
+ access_token?: string;
12857
+ /** Data format for response. */
12858
+ alt?: string;
12859
+ /** JSONP */
12860
+ callback?: string;
12861
+ /** Selector specifying which fields to include in a partial response. */
12862
+ fields?: string;
12863
+ /** Optional. The filter expression. Supported fields: * `enabled` * `google_defined` Examples: * `enabled=true` * `google_defined=true` * `enabled=true AND google_defined=true` */
12864
+ filter?: string;
12865
+ /** 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. */
12866
+ key?: string;
12102
12867
  /** OAuth 2.0 token for the current user. */
12103
12868
  oauth_token?: string;
12869
+ /** Maximum number of canned queries to return. If unspecified, defaults to 100. The maximum allowed value is 1000; anything above that will be coerced down to 1000. */
12870
+ pageSize?: number;
12871
+ /** A page token received from a previous CannedQueryService.ListCannedQueries call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to CannedQueryService.ListCannedQueries must match the call that provided the page token. */
12872
+ pageToken?: string;
12873
+ /** Required. The parent resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` */
12874
+ parent: string;
12104
12875
  /** Returns response with indentations and line breaks. */
12105
12876
  prettyPrint?: boolean;
12106
12877
  /** 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. */
12107
12878
  quotaUser?: string;
12108
- /** Indicates which fields in the provided DocumentProcessingConfig to update. The following are the only supported fields: * DocumentProcessingConfig.ocr_config If not set, all supported fields are updated. */
12109
- updateMask?: string;
12110
12879
  /** Upload protocol for media (e.g. "raw", "multipart"). */
12111
12880
  upload_protocol?: string;
12112
12881
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12113
12882
  uploadType?: string;
12114
- /** Request body */
12115
- resource: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig;
12116
- }): Request<GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>;
12117
- updateDocumentProcessingConfig(
12118
- request: {
12119
- /** V1 error format. */
12120
- '$.xgafv'?: string;
12121
- /** OAuth access token. */
12122
- access_token?: string;
12123
- /** Data format for response. */
12124
- alt?: string;
12125
- /** JSONP */
12126
- callback?: string;
12127
- /** Selector specifying which fields to include in a partial response. */
12128
- fields?: string;
12129
- /** 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. */
12130
- key?: string;
12131
- /** The full resource name of the Document Processing Config. Format: `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/documentProcessingConfig`. */
12132
- name: string;
12133
- /** OAuth 2.0 token for the current user. */
12134
- oauth_token?: string;
12135
- /** Returns response with indentations and line breaks. */
12136
- prettyPrint?: boolean;
12137
- /** 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. */
12138
- quotaUser?: string;
12139
- /** Indicates which fields in the provided DocumentProcessingConfig to update. The following are the only supported fields: * DocumentProcessingConfig.ocr_config If not set, all supported fields are updated. */
12140
- updateMask?: string;
12141
- /** Upload protocol for media (e.g. "raw", "multipart"). */
12142
- upload_protocol?: string;
12143
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12144
- uploadType?: string;
12145
- },
12146
- body: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig,
12147
- ): Request<GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>;
12148
- branches: BranchesResource;
12149
- completionConfig: CompletionConfigResource;
12150
- completionSuggestions: CompletionSuggestionsResource;
12151
- controls: ControlsResource;
12152
- conversations: ConversationsResource;
12153
- customModels: CustomModelsResource;
12154
- models: ModelsResource;
12155
- operations: OperationsResource;
12156
- schemas: SchemasResource;
12157
- servingConfigs: ServingConfigsResource;
12158
- sessions: SessionsResource;
12159
- siteSearchEngine: SiteSearchEngineResource;
12160
- suggestionDenyListEntries: SuggestionDenyListEntriesResource;
12161
- userEvents: UserEventsResource;
12162
- widgetConfigs: WidgetConfigsResource;
12163
- }
12164
- interface AnalyticsResource {
12165
- /** Exports metrics. */
12166
- exportMetrics(request: {
12883
+ }): Request<GoogleCloudDiscoveryengineV1alphaListCannedQueriesResponse>;
12884
+ /** Updates a CannedQuery. */
12885
+ patch(request: {
12167
12886
  /** V1 error format. */
12168
12887
  '$.xgafv'?: string;
12169
12888
  /** OAuth access token. */
12170
12889
  access_token?: string;
12171
12890
  /** Data format for response. */
12172
12891
  alt?: string;
12173
- /** Required. The analytics resource name under the engine where the metrics are created. The format is `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/analytics`. */
12174
- analytics: string;
12175
12892
  /** JSONP */
12176
12893
  callback?: string;
12177
12894
  /** Selector specifying which fields to include in a partial response. */
12178
12895
  fields?: string;
12179
12896
  /** 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. */
12180
12897
  key?: string;
12898
+ /** Immutable. Resource name of the canned query. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}/cannedQueries/{canned_query}` It must be a UTF-8 encoded string with a length limit of 1024 characters. */
12899
+ name: string;
12181
12900
  /** OAuth 2.0 token for the current user. */
12182
12901
  oauth_token?: string;
12183
12902
  /** Returns response with indentations and line breaks. */
12184
12903
  prettyPrint?: boolean;
12185
12904
  /** 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. */
12186
12905
  quotaUser?: string;
12906
+ /** The list of fields to update. */
12907
+ updateMask?: string;
12187
12908
  /** Upload protocol for media (e.g. "raw", "multipart"). */
12188
12909
  upload_protocol?: string;
12189
12910
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12190
12911
  uploadType?: string;
12191
12912
  /** Request body */
12192
- resource: GoogleCloudDiscoveryengineV1alphaExportMetricsRequest;
12193
- }): Request<GoogleLongrunningOperation>;
12194
- exportMetrics(
12913
+ resource: GoogleCloudDiscoveryengineV1alphaCannedQuery;
12914
+ }): Request<GoogleCloudDiscoveryengineV1alphaCannedQuery>;
12915
+ patch(
12195
12916
  request: {
12196
12917
  /** V1 error format. */
12197
12918
  '$.xgafv'?: string;
@@ -12199,27 +12920,29 @@ declare namespace gapi.client {
12199
12920
  access_token?: string;
12200
12921
  /** Data format for response. */
12201
12922
  alt?: string;
12202
- /** Required. The analytics resource name under the engine where the metrics are created. The format is `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/analytics`. */
12203
- analytics: string;
12204
12923
  /** JSONP */
12205
12924
  callback?: string;
12206
12925
  /** Selector specifying which fields to include in a partial response. */
12207
12926
  fields?: string;
12208
12927
  /** 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. */
12209
12928
  key?: string;
12929
+ /** Immutable. Resource name of the canned query. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}/cannedQueries/{canned_query}` It must be a UTF-8 encoded string with a length limit of 1024 characters. */
12930
+ name: string;
12210
12931
  /** OAuth 2.0 token for the current user. */
12211
12932
  oauth_token?: string;
12212
12933
  /** Returns response with indentations and line breaks. */
12213
12934
  prettyPrint?: boolean;
12214
12935
  /** 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. */
12215
12936
  quotaUser?: string;
12937
+ /** The list of fields to update. */
12938
+ updateMask?: string;
12216
12939
  /** Upload protocol for media (e.g. "raw", "multipart"). */
12217
12940
  upload_protocol?: string;
12218
12941
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12219
12942
  uploadType?: string;
12220
12943
  },
12221
- body: GoogleCloudDiscoveryengineV1alphaExportMetricsRequest,
12222
- ): Request<GoogleLongrunningOperation>;
12944
+ body: GoogleCloudDiscoveryengineV1alphaCannedQuery,
12945
+ ): Request<GoogleCloudDiscoveryengineV1alphaCannedQuery>;
12223
12946
  }
12224
12947
  interface AssistantsResource {
12225
12948
  /** Gets an Assistant. */
@@ -12369,6 +13092,7 @@ declare namespace gapi.client {
12369
13092
  },
12370
13093
  body: GoogleCloudDiscoveryengineV1alphaStreamAssistRequest,
12371
13094
  ): Request<GoogleCloudDiscoveryengineV1alphaStreamAssistResponse>;
13095
+ cannedQueries: CannedQueriesResource;
12372
13096
  }
12373
13097
  interface CompletionConfigResource {
12374
13098
  /** Completes the user input with advanced keyword suggestions. */
@@ -20432,6 +21156,184 @@ declare namespace gapi.client {
20432
21156
  },
20433
21157
  body: GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesRequest,
20434
21158
  ): Request<GoogleLongrunningOperation>;
21159
+ /** Creates a new User Store. */
21160
+ create(request: {
21161
+ /** V1 error format. */
21162
+ '$.xgafv'?: string;
21163
+ /** OAuth access token. */
21164
+ access_token?: string;
21165
+ /** Data format for response. */
21166
+ alt?: string;
21167
+ /** JSONP */
21168
+ callback?: string;
21169
+ /** Selector specifying which fields to include in a partial response. */
21170
+ fields?: string;
21171
+ /** 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. */
21172
+ key?: string;
21173
+ /** OAuth 2.0 token for the current user. */
21174
+ oauth_token?: string;
21175
+ /** Required. The parent collection resource name, such as `projects/{project}/locations/{location}`. */
21176
+ parent: string;
21177
+ /** Returns response with indentations and line breaks. */
21178
+ prettyPrint?: boolean;
21179
+ /** 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. */
21180
+ quotaUser?: string;
21181
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
21182
+ upload_protocol?: string;
21183
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
21184
+ uploadType?: string;
21185
+ /** Required. The ID of the User 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. */
21186
+ userStoreId?: string;
21187
+ /** Request body */
21188
+ resource: GoogleCloudDiscoveryengineV1alphaUserStore;
21189
+ }): Request<GoogleCloudDiscoveryengineV1alphaUserStore>;
21190
+ create(
21191
+ request: {
21192
+ /** V1 error format. */
21193
+ '$.xgafv'?: string;
21194
+ /** OAuth access token. */
21195
+ access_token?: string;
21196
+ /** Data format for response. */
21197
+ alt?: string;
21198
+ /** JSONP */
21199
+ callback?: string;
21200
+ /** Selector specifying which fields to include in a partial response. */
21201
+ fields?: string;
21202
+ /** 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. */
21203
+ key?: string;
21204
+ /** OAuth 2.0 token for the current user. */
21205
+ oauth_token?: string;
21206
+ /** Required. The parent collection resource name, such as `projects/{project}/locations/{location}`. */
21207
+ parent: string;
21208
+ /** Returns response with indentations and line breaks. */
21209
+ prettyPrint?: boolean;
21210
+ /** 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. */
21211
+ quotaUser?: string;
21212
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
21213
+ upload_protocol?: string;
21214
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
21215
+ uploadType?: string;
21216
+ /** Required. The ID of the User 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. */
21217
+ userStoreId?: string;
21218
+ },
21219
+ body: GoogleCloudDiscoveryengineV1alphaUserStore,
21220
+ ): Request<GoogleCloudDiscoveryengineV1alphaUserStore>;
21221
+ /** Deletes the User Store. */
21222
+ delete(request?: {
21223
+ /** V1 error format. */
21224
+ '$.xgafv'?: string;
21225
+ /** OAuth access token. */
21226
+ access_token?: string;
21227
+ /** Data format for response. */
21228
+ alt?: string;
21229
+ /** JSONP */
21230
+ callback?: string;
21231
+ /** Selector specifying which fields to include in a partial response. */
21232
+ fields?: string;
21233
+ /** 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. */
21234
+ key?: string;
21235
+ /** Required. The name of the User Store to delete. Format: `projects/{project}/locations/{location}/userStores/{user_store_id}` */
21236
+ name: string;
21237
+ /** OAuth 2.0 token for the current user. */
21238
+ oauth_token?: string;
21239
+ /** Returns response with indentations and line breaks. */
21240
+ prettyPrint?: boolean;
21241
+ /** 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. */
21242
+ quotaUser?: string;
21243
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
21244
+ upload_protocol?: string;
21245
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
21246
+ uploadType?: string;
21247
+ }): Request<GoogleLongrunningOperation>;
21248
+ /** Gets the User Store. */
21249
+ get(request?: {
21250
+ /** V1 error format. */
21251
+ '$.xgafv'?: string;
21252
+ /** OAuth access token. */
21253
+ access_token?: string;
21254
+ /** Data format for response. */
21255
+ alt?: string;
21256
+ /** JSONP */
21257
+ callback?: string;
21258
+ /** Selector specifying which fields to include in a partial response. */
21259
+ fields?: string;
21260
+ /** 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. */
21261
+ key?: string;
21262
+ /** Required. The name of the User Store to get. Format: `projects/{project}/locations/{location}/userStores/{user_store_id}` */
21263
+ name: string;
21264
+ /** OAuth 2.0 token for the current user. */
21265
+ oauth_token?: string;
21266
+ /** Returns response with indentations and line breaks. */
21267
+ prettyPrint?: boolean;
21268
+ /** 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. */
21269
+ quotaUser?: string;
21270
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
21271
+ upload_protocol?: string;
21272
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
21273
+ uploadType?: string;
21274
+ }): Request<GoogleCloudDiscoveryengineV1alphaUserStore>;
21275
+ /** Updates the User Store. */
21276
+ patch(request: {
21277
+ /** V1 error format. */
21278
+ '$.xgafv'?: string;
21279
+ /** OAuth access token. */
21280
+ access_token?: string;
21281
+ /** Data format for response. */
21282
+ alt?: string;
21283
+ /** JSONP */
21284
+ callback?: string;
21285
+ /** Selector specifying which fields to include in a partial response. */
21286
+ fields?: string;
21287
+ /** 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. */
21288
+ key?: string;
21289
+ /** Immutable. The full resource name of the User Store, in the format of `projects/{project}/locations/{location}/userStores/{user_store}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
21290
+ name: string;
21291
+ /** OAuth 2.0 token for the current user. */
21292
+ oauth_token?: string;
21293
+ /** Returns response with indentations and line breaks. */
21294
+ prettyPrint?: boolean;
21295
+ /** 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. */
21296
+ quotaUser?: string;
21297
+ /** Optional. The list of fields to update. */
21298
+ updateMask?: string;
21299
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
21300
+ upload_protocol?: string;
21301
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
21302
+ uploadType?: string;
21303
+ /** Request body */
21304
+ resource: GoogleCloudDiscoveryengineV1alphaUserStore;
21305
+ }): Request<GoogleCloudDiscoveryengineV1alphaUserStore>;
21306
+ patch(
21307
+ request: {
21308
+ /** V1 error format. */
21309
+ '$.xgafv'?: string;
21310
+ /** OAuth access token. */
21311
+ access_token?: string;
21312
+ /** Data format for response. */
21313
+ alt?: string;
21314
+ /** JSONP */
21315
+ callback?: string;
21316
+ /** Selector specifying which fields to include in a partial response. */
21317
+ fields?: string;
21318
+ /** 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. */
21319
+ key?: string;
21320
+ /** Immutable. The full resource name of the User Store, in the format of `projects/{project}/locations/{location}/userStores/{user_store}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
21321
+ name: string;
21322
+ /** OAuth 2.0 token for the current user. */
21323
+ oauth_token?: string;
21324
+ /** Returns response with indentations and line breaks. */
21325
+ prettyPrint?: boolean;
21326
+ /** 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. */
21327
+ quotaUser?: string;
21328
+ /** Optional. The list of fields to update. */
21329
+ updateMask?: string;
21330
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
21331
+ upload_protocol?: string;
21332
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
21333
+ uploadType?: string;
21334
+ },
21335
+ body: GoogleCloudDiscoveryengineV1alphaUserStore,
21336
+ ): Request<GoogleCloudDiscoveryengineV1alphaUserStore>;
20435
21337
  operations: OperationsResource;
20436
21338
  userLicenses: UserLicensesResource;
20437
21339
  }
@@ -20548,6 +21450,47 @@ declare namespace gapi.client {
20548
21450
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
20549
21451
  uploadType?: string;
20550
21452
  }): Request<GoogleCloudDiscoveryengineV1alphaCmekConfig>;
21453
+ /** Gets configurable pricing usage stats. */
21454
+ getConfigurablePricingUsageStats(request?: {
21455
+ /** V1 error format. */
21456
+ '$.xgafv'?: string;
21457
+ /** OAuth access token. */
21458
+ access_token?: string;
21459
+ /** Data format for response. */
21460
+ alt?: string;
21461
+ /** JSONP */
21462
+ callback?: string;
21463
+ /** Selector specifying which fields to include in a partial response. */
21464
+ fields?: string;
21465
+ /** 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. */
21466
+ key?: string;
21467
+ /** Optional. The metric types to return usage for. */
21468
+ metricTypes?: string | string[];
21469
+ /** Required. The name of the ConfigurablePricingUsageStats to retrieve. Format: projects/{project}/locations/{location}/configurablePricingUsageStats */
21470
+ name: string;
21471
+ /** OAuth 2.0 token for the current user. */
21472
+ oauth_token?: string;
21473
+ /** Returns response with indentations and line breaks. */
21474
+ prettyPrint?: boolean;
21475
+ /** 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. */
21476
+ quotaUser?: string;
21477
+ /** Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. */
21478
+ 'timeRange.endDate.day'?: number;
21479
+ /** Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. */
21480
+ 'timeRange.endDate.month'?: number;
21481
+ /** Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. */
21482
+ 'timeRange.endDate.year'?: number;
21483
+ /** Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. */
21484
+ 'timeRange.startDate.day'?: number;
21485
+ /** Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. */
21486
+ 'timeRange.startDate.month'?: number;
21487
+ /** Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. */
21488
+ 'timeRange.startDate.year'?: number;
21489
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
21490
+ upload_protocol?: string;
21491
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
21492
+ uploadType?: string;
21493
+ }): Request<GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStats>;
20551
21494
  /** Obtains the time series data of organic or dedicated crawl rate for monitoring. When dedicated crawl rate is not set, it will return vertex AI's organic crawl rate time series. Organic crawl means Google automatically crawl the internet at its own convenience. When dedicated crawl rate is set, it will return vertex AI's dedicated crawl rate time series. */
20552
21495
  obtainCrawlRate(request: {
20553
21496
  /** V1 error format. */
@@ -20966,6 +21909,7 @@ declare namespace gapi.client {
20966
21909
  },
20967
21910
  body: GoogleCloudDiscoveryengineV1alphaCmekConfig,
20968
21911
  ): Request<GoogleLongrunningOperation>;
21912
+ authorizations: AuthorizationsResource;
20969
21913
  cmekConfigs: CmekConfigsResource;
20970
21914
  collections: CollectionsResource;
20971
21915
  dataStores: DataStoresResource;
@@ -21256,6 +22200,8 @@ declare namespace gapi.client {
21256
22200
  operations: OperationsResource;
21257
22201
  }
21258
22202
 
22203
+ const billingAccounts: BillingAccountsResource;
22204
+
21259
22205
  const media: MediaResource;
21260
22206
 
21261
22207
  const projects: ProjectsResource;