@maxim_mazurok/gapi.client.discoveryengine-v1alpha 0.3.20260823 → 0.3.20260908

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 (2) hide show
  1. package/index.d.ts +102 -634
  2. package/package.json +1 -1
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: 20260823
12
+ // Revision: 20260908
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -632,6 +632,9 @@ declare namespace gapi.client {
632
632
  interface GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigGenerationSettingsModelConfig {
633
633
  /** Required. Model name (e.g. `gemini-2.5-flash`, `gemini-3.1-pro-preview`). See `model_mixture` for the list of allowed models. */
634
634
  name?: string;
635
+ /** Optional. Sent as Vertex `ThinkingConfig.thinking_level`. */
636
+ thinkingLevel?:
637
+ 'THINKING_LEVEL_UNSPECIFIED' | 'MINIMAL' | 'LOW' | 'MEDIUM' | 'HIGH';
635
638
  /** Optional. Relative weight for this model in the mixture. Must be a finite, strictly positive value. Weights across all entries are normalized server-side, so they need not sum to 1.0. Defaults to 1.0 when unset, which is convenient when configuring a single model or an even mixture. Some Pro-tier models are capped at most 50% of the total weight; requests violating that cap are rejected with INVALID_ARGUMENT. */
636
639
  weight?: number;
637
640
  }
@@ -1258,6 +1261,8 @@ declare namespace gapi.client {
1258
1261
  };
1259
1262
  /** Optional. Configuration for the generation of the assistant response. */
1260
1263
  generationConfig?: GoogleCloudDiscoveryengineV1alphaAssistantGenerationConfig;
1264
+ /** Optional. Indicates whether Knowledge Catalog is enabled for this specific assistant. When enabled, it powers discovery context using organizational data. */
1265
+ knowledgeCatalogEnabled?: boolean;
1261
1266
  /** Immutable. Resource name of the assistant. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` It must be a UTF-8 encoded string with a length limit of 1024 characters. */
1262
1267
  name?: string;
1263
1268
  /** Output only. Represents the time when this Assistant was most recently updated. */
@@ -2982,7 +2987,7 @@ declare namespace gapi.client {
2982
2987
  disableAnalytics?: boolean;
2983
2988
  /** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
2984
2989
  displayName?: string;
2985
- /** Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` */
2990
+ /** Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` */
2986
2991
  features?: {
2987
2992
  [P in string]:
2988
2993
  | 'FEATURE_STATE_UNSPECIFIED'
@@ -3021,6 +3026,8 @@ declare namespace gapi.client {
3021
3026
  recommendationMetadata?: GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata;
3022
3027
  /** Configurations for the Search Engine. Only applicable if solution_type is SOLUTION_TYPE_SEARCH. */
3023
3028
  searchEngineConfig?: GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig;
3029
+ /** Optional. Non-empty default. Session config for the engine. */
3030
+ sessionConfig?: GoogleCloudDiscoveryengineV1alphaSessionConfig;
3024
3031
  /** Additional config specs for a `similar-items` engine. */
3025
3032
  similarDocumentsConfig?: any;
3026
3033
  /** Required. The solutions of the engine. */
@@ -5601,6 +5608,19 @@ declare namespace gapi.client {
5601
5608
  /** A unique identifier for tracking users. */
5602
5609
  userPseudoId?: string;
5603
5610
  }
5611
+ interface GoogleCloudDiscoveryengineV1alphaSessionConfig {
5612
+ /** Optional. Session management policy that defines who will manage the session. */
5613
+ sessionManagementPolicy?:
5614
+ | 'SESSION_MANAGEMENT_POLICY_UNSPECIFIED'
5615
+ | 'NOT_MANAGED'
5616
+ | 'VERTEX_AI_MANAGED';
5617
+ /** Optional. The TTL for the session. If unset, the default value is 60 days. */
5618
+ sessionTtl?: GoogleCloudDiscoveryengineV1alphaSessionConfigSessionTtl;
5619
+ }
5620
+ interface GoogleCloudDiscoveryengineV1alphaSessionConfigSessionTtl {
5621
+ /** Defines the number of days for session TTL. */
5622
+ days?: number;
5623
+ }
5604
5624
  interface GoogleCloudDiscoveryengineV1alphaSessionTurn {
5605
5625
  /** Optional. The resource name of the answer to the user query. Only set if the answer generation (/answer API call) happened in this turn. */
5606
5626
  answer?: string;
@@ -6244,6 +6264,12 @@ declare namespace gapi.client {
6244
6264
  updateTime?: string;
6245
6265
  }
6246
6266
  interface GoogleCloudDiscoveryengineV1alphaWidgetConfigCustomerProvidedConfig {
6267
+ /** Output only. The customer's Assured Workloads compliance level. `customer_type` collapses every compliance level into a single `GOVERNMENT_CUSTOMER` value, so a client that gates a feature on one specific level rather than on government status as a whole must read this field instead. */
6268
+ complianceLevel?:
6269
+ | 'COMPLIANCE_LEVEL_UNSPECIFIED'
6270
+ | 'COMPLIANCE_LEVEL_FEDRAMP_HIGH'
6271
+ | 'COMPLIANCE_LEVEL_IL4'
6272
+ | 'COMPLIANCE_LEVEL_IL5';
6247
6273
  /** Customer type. */
6248
6274
  customerType?: 'DEFAULT_CUSTOMER' | 'GOVERNMENT_CUSTOMER';
6249
6275
  }
@@ -6366,7 +6392,7 @@ declare namespace gapi.client {
6366
6392
  enableSearchAsYouType?: boolean;
6367
6393
  /** If set to true, the widget will enable visual content summary on applicable search requests. Only used by healthcare search. */
6368
6394
  enableVisualContentSummary?: boolean;
6369
- /** Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` */
6395
+ /** Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` */
6370
6396
  features?: {
6371
6397
  [P in string]:
6372
6398
  | 'FEATURE_STATE_UNSPECIFIED'
@@ -6441,6 +6467,8 @@ declare namespace gapi.client {
6441
6467
  displayName?: string;
6442
6468
  /** Output only. GM3-compatible icon token associated with the model (e.g. `rocket_launch`, `bolt`, `graph_5`). */
6443
6469
  icon?: string;
6470
+ /** Output only. Absolute URL of a brand mark to render instead of `icon`, for models whose vendor logo is not a GM3 glyph. `icon` stays populated as the fallback, so a client that does not render images, or that fails to fetch this one, shows the glyph instead of nothing. */
6471
+ iconUrl?: string;
6444
6472
  /** Output only. Whether the model is currently in preview. Clients should surface this via a "Preview" badge in the selector UI. */
6445
6473
  isPreview?: boolean;
6446
6474
  /** Output only. Short label shown in the compact selector bar chip (e.g. `3.x Flash`) as opposed to the full `display_name` (`Gemini 3.x Flash`). Falls back to `display_name` when the backend registry does not specify a distinct short label. */
@@ -6545,6 +6573,8 @@ declare namespace gapi.client {
6545
6573
  interface GoogleCloudDiscoveryengineV1AssistantCustomerPolicy {
6546
6574
  /** Optional. List of banned phrases. */
6547
6575
  bannedPhrases?: GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase[];
6576
+ /** Optional. Data protection policy to be used for sanitizing file uploads. */
6577
+ dataProtectionPolicy?: GoogleCloudDiscoveryengineV1DataProtectionPolicy;
6548
6578
  /** Optional. Model Armor configuration to be used for sanitizing user prompts and assistant responses. */
6549
6579
  modelArmorConfig?: GoogleCloudDiscoveryengineV1AssistantCustomerPolicyModelArmorConfig;
6550
6580
  }
@@ -6849,6 +6879,14 @@ declare namespace gapi.client {
6849
6879
  /** Operation last update time. If the operation is done, this is also the finish time. */
6850
6880
  updateTime?: string;
6851
6881
  }
6882
+ interface GoogleCloudDiscoveryengineV1betaDataProtectionPolicy {
6883
+ /** Optional. Specifies the sensitive data protection policy for the connector source. */
6884
+ sensitiveDataProtectionPolicy?: GoogleCloudDiscoveryengineV1betaDataProtectionPolicySensitiveDataProtectionPolicy;
6885
+ }
6886
+ interface GoogleCloudDiscoveryengineV1betaDataProtectionPolicySensitiveDataProtectionPolicy {
6887
+ /** Optional. Specifies the resource name of the Sensitive Data Protection content policy. */
6888
+ policy?: string;
6889
+ }
6852
6890
  interface GoogleCloudDiscoveryengineV1betaDataStore {
6853
6891
  /** Immutable. Whether data in the DataStore has ACL information. If set to `true`, the source data must have ACL. ACL will be ingested when data is ingested by DocumentService.ImportDocuments methods. When ACL is enabled for the DataStore, Document can't be accessed by calling DocumentService.GetDocument or DocumentService.ListDocuments. Currently ACL is only supported in `GENERIC` industry vertical with non-`PUBLIC_WEBSITE` content config. */
6854
6892
  aclEnabled?: boolean;
@@ -6874,6 +6912,8 @@ declare namespace gapi.client {
6874
6912
  | 'GOOGLE_WORKSPACE';
6875
6913
  /** Output only. Timestamp the DataStore was created at. */
6876
6914
  createTime?: string;
6915
+ /** Optional. Specifies the data protection policy for the data store. */
6916
+ dataProtectionPolicy?: GoogleCloudDiscoveryengineV1betaDataProtectionPolicy;
6877
6917
  /** Output only. The id of the default Schema associated to this data store. */
6878
6918
  defaultSchemaId?: string;
6879
6919
  /** Required. The data store display name. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. */
@@ -7128,7 +7168,7 @@ declare namespace gapi.client {
7128
7168
  disableAnalytics?: boolean;
7129
7169
  /** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
7130
7170
  displayName?: string;
7131
- /** Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` */
7171
+ /** Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` */
7132
7172
  features?: {
7133
7173
  [P in string]:
7134
7174
  | 'FEATURE_STATE_UNSPECIFIED'
@@ -7165,6 +7205,8 @@ declare namespace gapi.client {
7165
7205
  procurementContactEmails?: string[];
7166
7206
  /** Configurations for the Search Engine. Only applicable if solution_type is SOLUTION_TYPE_SEARCH. */
7167
7207
  searchEngineConfig?: GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig;
7208
+ /** Optional. Non-empty default. Session config for the engine. */
7209
+ sessionConfig?: GoogleCloudDiscoveryengineV1betaSessionConfig;
7168
7210
  /** Required. The solutions of the engine. */
7169
7211
  solutionType?:
7170
7212
  | 'SOLUTION_TYPE_UNSPECIFIED'
@@ -8064,6 +8106,19 @@ declare namespace gapi.client {
8064
8106
  /** The mode under which spell correction replaces the original search query. Defaults to Mode.AUTO. */
8065
8107
  mode?: 'MODE_UNSPECIFIED' | 'SUGGESTION_ONLY' | 'AUTO';
8066
8108
  }
8109
+ interface GoogleCloudDiscoveryengineV1betaSessionConfig {
8110
+ /** Optional. Session management policy that defines who will manage the session. */
8111
+ sessionManagementPolicy?:
8112
+ | 'SESSION_MANAGEMENT_POLICY_UNSPECIFIED'
8113
+ | 'NOT_MANAGED'
8114
+ | 'VERTEX_AI_MANAGED';
8115
+ /** Optional. The TTL for the session. If unset, the default value is 60 days. */
8116
+ sessionTtl?: GoogleCloudDiscoveryengineV1betaSessionConfigSessionTtl;
8117
+ }
8118
+ interface GoogleCloudDiscoveryengineV1betaSessionConfigSessionTtl {
8119
+ /** Defines the number of days for session TTL. */
8120
+ days?: number;
8121
+ }
8067
8122
  interface GoogleCloudDiscoveryengineV1betaSetDedicatedCrawlRateMetadata {
8068
8123
  /** Operation create time. */
8069
8124
  createTime?: string;
@@ -8476,6 +8531,8 @@ declare namespace gapi.client {
8476
8531
  createEuaSaas?: boolean;
8477
8532
  /** Output only. Timestamp the DataConnector was created at. */
8478
8533
  createTime?: string;
8534
+ /** Optional. Specifies the data protection policy for the connector. */
8535
+ dataProtectionPolicy?: GoogleCloudDiscoveryengineV1DataProtectionPolicy;
8479
8536
  /** Required. The identifier for the data source. For the full, up-to-date list of supported connectors and their values, see [Connect a third-party data source](https://docs.cloud.google.com/gemini/enterprise/docs/connectors/connect-third-party-data-source#sources-by-launch-stage). */
8480
8537
  dataSource?: string;
8481
8538
  /** Optional. Any target destinations used to connect to third-party services. */
@@ -8625,6 +8682,14 @@ declare namespace gapi.client {
8625
8682
  /** Optional. The start schema to use for the DataStore created from this SourceEntity. If unset, a default vertical specialized schema will be used. This field is only used by SetUpDataConnector API, and will be ignored if used in other APIs. This field will be omitted from all API responses including GetDataConnector API. To retrieve a schema of a DataStore, use SchemaService.GetSchema API instead. The provided schema will be validated against certain rules on schema. Learn more from [this doc](https://cloud.google.com/generative-ai-app-builder/docs/provide-schema). */
8626
8683
  startingSchema?: GoogleCloudDiscoveryengineV1Schema;
8627
8684
  }
8685
+ interface GoogleCloudDiscoveryengineV1DataProtectionPolicy {
8686
+ /** Optional. Specifies the sensitive data protection policy for the connector source. */
8687
+ sensitiveDataProtectionPolicy?: GoogleCloudDiscoveryengineV1DataProtectionPolicySensitiveDataProtectionPolicy;
8688
+ }
8689
+ interface GoogleCloudDiscoveryengineV1DataProtectionPolicySensitiveDataProtectionPolicy {
8690
+ /** Optional. Specifies the resource name of the Sensitive Data Protection content policy. */
8691
+ policy?: string;
8692
+ }
8628
8693
  interface GoogleCloudDiscoveryengineV1DataStore {
8629
8694
  /** Immutable. Whether data in the DataStore has ACL information. If set to `true`, the source data must have ACL. ACL will be ingested when data is ingested by DocumentService.ImportDocuments methods. When ACL is enabled for the DataStore, Document can't be accessed by calling DocumentService.GetDocument or DocumentService.ListDocuments. Currently ACL is only supported in `GENERIC` industry vertical with non-`PUBLIC_WEBSITE` content config. */
8630
8695
  aclEnabled?: boolean;
@@ -8650,6 +8715,8 @@ declare namespace gapi.client {
8650
8715
  | 'GOOGLE_WORKSPACE';
8651
8716
  /** Output only. Timestamp the DataStore was created at. */
8652
8717
  createTime?: string;
8718
+ /** Optional. Specifies the data protection policy for the data store. */
8719
+ dataProtectionPolicy?: GoogleCloudDiscoveryengineV1DataProtectionPolicy;
8653
8720
  /** Output only. The id of the default Schema associated to this data store. */
8654
8721
  defaultSchemaId?: string;
8655
8722
  /** Required. The data store display name. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. */
@@ -8930,7 +8997,7 @@ declare namespace gapi.client {
8930
8997
  disableAnalytics?: boolean;
8931
8998
  /** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
8932
8999
  displayName?: string;
8933
- /** Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` */
9000
+ /** Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` */
8934
9001
  features?: {
8935
9002
  [P in string]:
8936
9003
  | 'FEATURE_STATE_UNSPECIFIED'
@@ -8967,6 +9034,8 @@ declare namespace gapi.client {
8967
9034
  procurementContactEmails?: string[];
8968
9035
  /** Configurations for the Search Engine. Only applicable if solution_type is SOLUTION_TYPE_SEARCH. */
8969
9036
  searchEngineConfig?: GoogleCloudDiscoveryengineV1EngineSearchEngineConfig;
9037
+ /** Optional. Non-empty default. Session config for the engine. */
9038
+ sessionConfig?: GoogleCloudDiscoveryengineV1SessionConfig;
8970
9039
  /** Required. The solutions of the engine. */
8971
9040
  solutionType?:
8972
9041
  | 'SOLUTION_TYPE_UNSPECIFIED'
@@ -9558,6 +9627,19 @@ declare namespace gapi.client {
9558
9627
  /** Specifies the event type used for demoting recommendation result. Currently supported values: * `view-item`: Item viewed. * `media-play`: Start/resume watching a video, playing a song, etc. * `media-complete`: Finished or stopped midway through a video, song, etc. If unset, watch history demotion will not be applied. Content freshness demotion will still be applied. */
9559
9628
  demotionEventType?: string;
9560
9629
  }
9630
+ interface GoogleCloudDiscoveryengineV1SessionConfig {
9631
+ /** Optional. Session management policy that defines who will manage the session. */
9632
+ sessionManagementPolicy?:
9633
+ | 'SESSION_MANAGEMENT_POLICY_UNSPECIFIED'
9634
+ | 'NOT_MANAGED'
9635
+ | 'VERTEX_AI_MANAGED';
9636
+ /** Optional. The TTL for the session. If unset, the default value is 60 days. */
9637
+ sessionTtl?: GoogleCloudDiscoveryengineV1SessionConfigSessionTtl;
9638
+ }
9639
+ interface GoogleCloudDiscoveryengineV1SessionConfigSessionTtl {
9640
+ /** Defines the number of days for session TTL. */
9641
+ days?: number;
9642
+ }
9561
9643
  interface GoogleCloudDiscoveryengineV1SetUpDataConnectorMetadata {}
9562
9644
  interface GoogleCloudDiscoveryengineV1SingleRegionKey {
9563
9645
  /** Required. Single-regional kms key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`. */
@@ -9716,23 +9798,6 @@ declare namespace gapi.client {
9716
9798
  | 'GOOGLE_PEOPLE'
9717
9799
  | 'GOOGLE_WORKSPACE';
9718
9800
  }
9719
- interface GoogleCloudNotebooklmV1alphaAccountAndRole {
9720
- /** Required. The email address associated with the account. */
9721
- email?: string;
9722
- /** Required. The role in the notebook. */
9723
- role?:
9724
- | 'PROJECT_ROLE_UNKNOWN'
9725
- | 'PROJECT_ROLE_OWNER'
9726
- | 'PROJECT_ROLE_WRITER'
9727
- | 'PROJECT_ROLE_READER'
9728
- | 'PROJECT_ROLE_NOT_SHARED';
9729
- }
9730
- interface GoogleCloudNotebooklmV1alphaAgentspaceMetadata {
9731
- /** Output only. The full document name in Agentspace. */
9732
- documentName?: string;
9733
- /** Output only. The title of the document. */
9734
- documentTitle?: string;
9735
- }
9736
9801
  interface GoogleCloudNotebooklmV1alphaAudioOverview {
9737
9802
  /** Output only. Unique ID of the audio overview. */
9738
9803
  audioOverviewId?: string;
@@ -9760,26 +9825,6 @@ declare namespace gapi.client {
9760
9825
  /** Optional. The sources in which the audio overview is grounded. */
9761
9826
  sourceIds?: GoogleCloudNotebooklmV1alphaSourceId[];
9762
9827
  }
9763
- interface GoogleCloudNotebooklmV1alphaBatchCreateSourcesRequest {
9764
- /** Required. The UserContents to be uploaded. */
9765
- userContents?: GoogleCloudNotebooklmV1alphaUserContent[];
9766
- }
9767
- interface GoogleCloudNotebooklmV1alphaBatchCreateSourcesResponse {
9768
- /** The Sources. */
9769
- sources?: GoogleCloudNotebooklmV1alphaSource[];
9770
- }
9771
- interface GoogleCloudNotebooklmV1alphaBatchDeleteNotebooksRequest {
9772
- /** Required. Full resource names of Notebook, such as `projects/{project}/locations/{location}/notebooks/{notebook_id}`. */
9773
- names?: string[];
9774
- }
9775
- interface GoogleCloudNotebooklmV1alphaBatchDeleteSourcesRequest {
9776
- /** Required. Names of sources to be deleted. Format: projects/{project}/locations/{location}/notebooks/{notebook}/sources/{source} */
9777
- names?: string[];
9778
- }
9779
- interface GoogleCloudNotebooklmV1alphaCmekConfig {
9780
- /** Required. KMS key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`. */
9781
- kmsKey?: string;
9782
- }
9783
9828
  interface GoogleCloudNotebooklmV1alphaCreateAudioOverviewRequest {
9784
9829
  /** Options for the audio overview generation. */
9785
9830
  generationOptions?: GoogleCloudNotebooklmV1alphaAudioOverviewGenerationOptions;
@@ -9788,218 +9833,10 @@ declare namespace gapi.client {
9788
9833
  /** The generated audio overview. */
9789
9834
  audioOverview?: GoogleCloudNotebooklmV1alphaAudioOverview;
9790
9835
  }
9791
- interface GoogleCloudNotebooklmV1alphaFailureReason {
9792
- /** An audio file transcription specific error. */
9793
- audioTranscriptionError?: GoogleCloudNotebooklmV1alphaFailureReasonAudioTranscriptionError;
9794
- /** Error if the user tries to add a source from a blocked domain. */
9795
- domainBlocked?: any;
9796
- /** A google drive specific error. */
9797
- googleDriveError?: GoogleCloudNotebooklmV1alphaFailureReasonGoogleDriveError;
9798
- /** Indicates an error occurred while ingesting the source. */
9799
- ingestionError?: any;
9800
- /** Indicates that the source MIME type is blocked. */
9801
- mimeTypeBlocked?: any;
9802
- /** Indicates that the source is paywalled and cannot be ingested. */
9803
- paywallError?: any;
9804
- /** Indicates that the policy check failed. */
9805
- policyCheckFailed?: any;
9806
- /** Indicates that the source is empty. */
9807
- sourceEmpty?: any;
9808
- /** Error if the user tries to update beyond their limits. */
9809
- sourceLimitExceeded?: any;
9810
- /** Indicates source word count exceeded the user's limit. */
9811
- sourceTooLong?: GoogleCloudNotebooklmV1alphaFailureReasonSourceTooLong;
9812
- /** Indicates that the source is unreachable. */
9813
- sourceUnreachable?: GoogleCloudNotebooklmV1alphaFailureReasonSourceUnreachable;
9814
- /** Indicates an unknown error occurred. */
9815
- unknown?: any;
9816
- /** Indicates an error occurred while uploading the source. */
9817
- uploadError?: any;
9818
- /** A youtube specific error. */
9819
- youtubeError?: GoogleCloudNotebooklmV1alphaFailureReasonYoutubeError;
9820
- }
9821
- interface GoogleCloudNotebooklmV1alphaFailureReasonAudioTranscriptionError {
9822
- /** Could not detect language of the file (it may not be speech). */
9823
- languageDetectionFailed?: any;
9824
- /** No audio was detected in the input file (it may have been a video). */
9825
- noAudioDetected?: any;
9826
- }
9827
- interface GoogleCloudNotebooklmV1alphaFailureReasonAudioTranscriptionErrorLanguageDetectionFailed {}
9828
- interface GoogleCloudNotebooklmV1alphaFailureReasonAudioTranscriptionErrorNoAudioDetected {}
9829
- interface GoogleCloudNotebooklmV1alphaFailureReasonDomainBlocked {}
9830
- interface GoogleCloudNotebooklmV1alphaFailureReasonGoogleDriveError {
9831
- /** The user was prevented from downloading the file. */
9832
- downloadPrevented?: any;
9833
- }
9834
- interface GoogleCloudNotebooklmV1alphaFailureReasonGoogleDriveErrorDownloadPrevented {}
9835
- interface GoogleCloudNotebooklmV1alphaFailureReasonIngestionError {}
9836
- interface GoogleCloudNotebooklmV1alphaFailureReasonMimeTypeBlocked {}
9837
- interface GoogleCloudNotebooklmV1alphaFailureReasonPaywallError {}
9838
- interface GoogleCloudNotebooklmV1alphaFailureReasonPolicyCheckFailed {}
9839
- interface GoogleCloudNotebooklmV1alphaFailureReasonSourceEmpty {}
9840
- interface GoogleCloudNotebooklmV1alphaFailureReasonSourceLimitExceeded {}
9841
- interface GoogleCloudNotebooklmV1alphaFailureReasonSourceTooLong {
9842
- /** The number of words in the source. */
9843
- wordCount?: number;
9844
- /** The word count limit for the current user at the time of the upload. */
9845
- wordLimit?: number;
9846
- }
9847
- interface GoogleCloudNotebooklmV1alphaFailureReasonSourceUnreachable {
9848
- /** Describes why the source is unreachable. */
9849
- errorDetails?:
9850
- | 'ERROR_REASON_UNSPECIFIED'
9851
- | 'ERROR_REASON_INVALID_URL'
9852
- | 'ERROR_REASON_NOT_ACCESSIBLE'
9853
- | 'ERROR_REASON_NOT_REACHABLE'
9854
- | 'ERROR_REASON_URL_NOT_FOUND'
9855
- | 'ERROR_REASON_TRANSIENT_ERROR'
9856
- | 'ERROR_REASON_FETCH_FAILED'
9857
- | 'ERROR_REASON_NOT_SUPPORTED';
9858
- }
9859
- interface GoogleCloudNotebooklmV1alphaFailureReasonUnknown {}
9860
- interface GoogleCloudNotebooklmV1alphaFailureReasonUploadError {}
9861
- interface GoogleCloudNotebooklmV1alphaFailureReasonYoutubeError {
9862
- /** Error to indicate that the source was removed because the video was deleted. */
9863
- videoDeleted?: any;
9864
- }
9865
- interface GoogleCloudNotebooklmV1alphaFailureReasonYoutubeErrorVideoDeleted {}
9866
- interface GoogleCloudNotebooklmV1alphaGoogleDocsSourceMetadata {
9867
- /** Output only. The document id of the google doc. */
9868
- documentId?: string;
9869
- /** Output only. Revision id for the doc. */
9870
- revisionId?: string;
9871
- }
9872
- interface GoogleCloudNotebooklmV1alphaListRecentlyViewedNotebooksResponse {
9873
- /** The page token, provide this to retrieve the subsequent page. */
9874
- nextPageToken?: string;
9875
- /** The list of recently viewed notebooks. */
9876
- notebooks?: GoogleCloudNotebooklmV1alphaNotebook[];
9877
- }
9878
- interface GoogleCloudNotebooklmV1alphaNotebook {
9879
- /** Output only. CMEK-related information for the Notebook. */
9880
- cmekConfig?: GoogleCloudNotebooklmV1alphaCmekConfig;
9881
- /** Output only. The emoji of the notebook. */
9882
- emoji?: string;
9883
- /** Output only. The metadata of the notebook. */
9884
- metadata?: GoogleCloudNotebooklmV1alphaNotebookMetadata;
9885
- /** Identifier. The identifier of the notebook. Format: `projects/{project}/locations/{location}/notebooks/{notebook_id}`. This field must be a UTF-8 encoded string. */
9886
- name?: string;
9887
- /** Output only. Notebook id, which is the last segment of the notebook's resource name. */
9888
- notebookId?: string;
9889
- /** Output only. List of sources in the notebook. This is an output only field. */
9890
- sources?: GoogleCloudNotebooklmV1alphaSource[];
9891
- /** Optional. The title of the notebook. */
9892
- title?: string;
9893
- }
9894
- interface GoogleCloudNotebooklmV1alphaNotebookMetadata {
9895
- /** The time at which this project was created. */
9896
- createTime?: string;
9897
- /** True if the project is shareable. */
9898
- isShareable?: boolean;
9899
- /** True if this project is currently shared with other people, false otherwise. */
9900
- isShared?: boolean;
9901
- /** A timestamp indicating the time that the current in session user has last viewed the project. */
9902
- lastViewed?: string;
9903
- }
9904
- interface GoogleCloudNotebooklmV1alphaShareNotebookRequest {
9905
- /** Required. The list of accounts and roles to share the notebook with. */
9906
- accountAndRoles?: GoogleCloudNotebooklmV1alphaAccountAndRole[];
9907
- /** Required. Whether to notify the shared users via email. */
9908
- notifyViaEmail?: boolean;
9909
- }
9910
- interface GoogleCloudNotebooklmV1alphaShareNotebookResponse {}
9911
- interface GoogleCloudNotebooklmV1alphaSource {
9912
- /** Output only. Metadata about the source. */
9913
- metadata?: GoogleCloudNotebooklmV1alphaSourceMetadata;
9914
- /** Identifier. The full resource name of the source. Format: `projects/{project}/locations/{location}/notebooks/{notebook}/sources/{source_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
9915
- name?: string;
9916
- /** Output only. Status of the source, and any failure reasons. */
9917
- settings?: GoogleCloudNotebooklmV1alphaSourceSettings;
9918
- /** Optional. Output only. Source id, which is the last segment of the source's resource name. */
9919
- sourceId?: GoogleCloudNotebooklmV1alphaSourceId;
9920
- /** Optional. Title of the source. */
9921
- title?: string;
9922
- }
9923
9836
  interface GoogleCloudNotebooklmV1alphaSourceId {
9924
9837
  /** The id of the source. */
9925
9838
  id?: string;
9926
9839
  }
9927
- interface GoogleCloudNotebooklmV1alphaSourceMetadata {
9928
- /** Metadata for an agentspace source. */
9929
- agentspaceMetadata?: GoogleCloudNotebooklmV1alphaAgentspaceMetadata;
9930
- /** Metadata for a google doc source. */
9931
- googleDocsMetadata?: GoogleCloudNotebooklmV1alphaGoogleDocsSourceMetadata;
9932
- /** The timestamp the source was added. */
9933
- sourceAddedTimestamp?: string;
9934
- /** The number of tokens in the source. */
9935
- tokenCount?: number;
9936
- /** The word count of the source. */
9937
- wordCount?: number;
9938
- /** Metadata for a youtube video source. */
9939
- youtubeMetadata?: GoogleCloudNotebooklmV1alphaYoutubeMetadata;
9940
- }
9941
- interface GoogleCloudNotebooklmV1alphaSourceSettings {
9942
- /** Failure reason containing details about why a source failed to ingest. */
9943
- failureReason?: GoogleCloudNotebooklmV1alphaFailureReason;
9944
- /** Status of the source. */
9945
- status?:
9946
- | 'SOURCE_STATUS_UNSPECIFIED'
9947
- | 'SOURCE_STATUS_PENDING'
9948
- | 'SOURCE_STATUS_COMPLETE'
9949
- | 'SOURCE_STATUS_ERROR'
9950
- | 'SOURCE_STATUS_PENDING_DELETION'
9951
- | 'SOURCE_STATUS_TENTATIVE';
9952
- }
9953
- interface GoogleCloudNotebooklmV1alphaUserContent {
9954
- /** Agentspace content uploaded as source. */
9955
- agentspaceContent?: GoogleCloudNotebooklmV1alphaUserContentAgentspaceContent;
9956
- /** The content from Google Drive. */
9957
- googleDriveContent?: GoogleCloudNotebooklmV1alphaUserContentGoogleDriveContent;
9958
- /** The text content uploaded as source. */
9959
- textContent?: GoogleCloudNotebooklmV1alphaUserContentTextContent;
9960
- /** The video content uploaded as source. */
9961
- videoContent?: GoogleCloudNotebooklmV1alphaUserContentVideoContent;
9962
- /** The web content uploaded as source. */
9963
- webContent?: GoogleCloudNotebooklmV1alphaUserContentWebContent;
9964
- }
9965
- interface GoogleCloudNotebooklmV1alphaUserContentAgentspaceContent {
9966
- /** Optional. The full resource name of the Agentspace document. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document_id}`. */
9967
- documentName?: string;
9968
- /** Optional. Engine to verify the permission of the document. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}`. */
9969
- engineName?: string;
9970
- /** Optional. Resource name of the idea forge instance. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/ideaForgeInstances/{instance}` */
9971
- ideaforgeIdeaName?: string;
9972
- }
9973
- interface GoogleCloudNotebooklmV1alphaUserContentGoogleDriveContent {
9974
- /** The document id of the selected document. */
9975
- documentId?: string;
9976
- /** The mime type of the selected document. This can be used to differentiate type of content selected in the drive picker. Use application/vnd.google-apps.document for Google Docs or application/vnd.google-apps.presentation for Google Slides. */
9977
- mimeType?: string;
9978
- /** The name to be displayed for the source. */
9979
- sourceName?: string;
9980
- }
9981
- interface GoogleCloudNotebooklmV1alphaUserContentTextContent {
9982
- /** The name to be displayed for the source. */
9983
- content?: string;
9984
- /** The display name of the text source. */
9985
- sourceName?: string;
9986
- }
9987
- interface GoogleCloudNotebooklmV1alphaUserContentVideoContent {
9988
- /** The youtube url of the video content. */
9989
- youtubeUrl?: string;
9990
- }
9991
- interface GoogleCloudNotebooklmV1alphaUserContentWebContent {
9992
- /** The name to be displayed for the source. */
9993
- sourceName?: string;
9994
- /** If URL is supplied, will fetch the webpage in the backend. */
9995
- url?: string;
9996
- }
9997
- interface GoogleCloudNotebooklmV1alphaYoutubeMetadata {
9998
- /** Output only. The channel name of the youtube video. */
9999
- channelName?: string;
10000
- /** Output only. The id of the youtube video. */
10001
- videoId?: string;
10002
- }
10003
9840
  interface GoogleIamV1Binding {
10004
9841
  /** The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
10005
9842
  condition?: GoogleTypeExpr;
@@ -14750,9 +14587,12 @@ declare namespace gapi.client {
14750
14587
  key?: string;
14751
14588
  /** Optional. BCP-47 language tag (e.g. "en", "fr-CA"). Used to localize human-readable strings in the response, such as the model selector `display_name` / `description` on `WidgetConfig.UiSettings.ModelConfigInfo`. Empty / unset falls back to the default language (English). */
14752
14589
  languageCode?: string;
14753
- /** Optional. Selects which view of `WidgetConfig.UiSettings.ModelConfigInfo` the backend computes. `MODEL_INFO_VIEW_ADMIN` is set by the Cloud Console admin "Feature Management" page (screen/4Vn9gQKbN8tb7gm) to receive the admin-surfaced model set with `ResolvedModel.admin_view` populated; unset / `MODEL_INFO_VIEW_WEB` returns the end-user selector. The mobile surface is detected from the `X-Goog-Gemini-Enterprise-Mobile` header instead (see `ModelInfoView`). */
14590
+ /** Optional. Selects which view of `WidgetConfig.UiSettings.ModelConfigInfo` the backend computes. `ADMIN` is set by the Cloud Console admin "Feature Management" page (screen/4Vn9gQKbN8tb7gm) to receive the admin-surfaced model set with `ResolvedModel.admin_view` populated; `END_USER_MOBILE` is set by the Gemini Enterprise mobile app to receive the mobile model set; unset / `END_USER_WEB` returns the end-user web selector. */
14754
14591
  modelInfoView?:
14755
- 'MODEL_INFO_VIEW_UNSPECIFIED' | 'END_USER_WEB' | 'ADMIN';
14592
+ | 'MODEL_INFO_VIEW_UNSPECIFIED'
14593
+ | 'END_USER_WEB'
14594
+ | 'ADMIN'
14595
+ | 'END_USER_MOBILE';
14756
14596
  /** Required. Full WidgetConfig resource name. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/widgetConfigs/{widget_config_id}` */
14757
14597
  name: string;
14758
14598
  /** OAuth 2.0 token for the current user. */
@@ -18644,9 +18484,12 @@ declare namespace gapi.client {
18644
18484
  key?: string;
18645
18485
  /** Optional. BCP-47 language tag (e.g. "en", "fr-CA"). Used to localize human-readable strings in the response, such as the model selector `display_name` / `description` on `WidgetConfig.UiSettings.ModelConfigInfo`. Empty / unset falls back to the default language (English). */
18646
18486
  languageCode?: string;
18647
- /** Optional. Selects which view of `WidgetConfig.UiSettings.ModelConfigInfo` the backend computes. `MODEL_INFO_VIEW_ADMIN` is set by the Cloud Console admin "Feature Management" page (screen/4Vn9gQKbN8tb7gm) to receive the admin-surfaced model set with `ResolvedModel.admin_view` populated; unset / `MODEL_INFO_VIEW_WEB` returns the end-user selector. The mobile surface is detected from the `X-Goog-Gemini-Enterprise-Mobile` header instead (see `ModelInfoView`). */
18487
+ /** Optional. Selects which view of `WidgetConfig.UiSettings.ModelConfigInfo` the backend computes. `ADMIN` is set by the Cloud Console admin "Feature Management" page (screen/4Vn9gQKbN8tb7gm) to receive the admin-surfaced model set with `ResolvedModel.admin_view` populated; `END_USER_MOBILE` is set by the Gemini Enterprise mobile app to receive the mobile model set; unset / `END_USER_WEB` returns the end-user web selector. */
18648
18488
  modelInfoView?:
18649
- 'MODEL_INFO_VIEW_UNSPECIFIED' | 'END_USER_WEB' | 'ADMIN';
18489
+ | 'MODEL_INFO_VIEW_UNSPECIFIED'
18490
+ | 'END_USER_WEB'
18491
+ | 'ADMIN'
18492
+ | 'END_USER_MOBILE';
18650
18493
  /** Required. Full WidgetConfig resource name. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/widgetConfigs/{widget_config_id}` */
18651
18494
  name: string;
18652
18495
  /** OAuth 2.0 token for the current user. */
@@ -22966,9 +22809,12 @@ declare namespace gapi.client {
22966
22809
  key?: string;
22967
22810
  /** Optional. BCP-47 language tag (e.g. "en", "fr-CA"). Used to localize human-readable strings in the response, such as the model selector `display_name` / `description` on `WidgetConfig.UiSettings.ModelConfigInfo`. Empty / unset falls back to the default language (English). */
22968
22811
  languageCode?: string;
22969
- /** Optional. Selects which view of `WidgetConfig.UiSettings.ModelConfigInfo` the backend computes. `MODEL_INFO_VIEW_ADMIN` is set by the Cloud Console admin "Feature Management" page (screen/4Vn9gQKbN8tb7gm) to receive the admin-surfaced model set with `ResolvedModel.admin_view` populated; unset / `MODEL_INFO_VIEW_WEB` returns the end-user selector. The mobile surface is detected from the `X-Goog-Gemini-Enterprise-Mobile` header instead (see `ModelInfoView`). */
22812
+ /** Optional. Selects which view of `WidgetConfig.UiSettings.ModelConfigInfo` the backend computes. `ADMIN` is set by the Cloud Console admin "Feature Management" page (screen/4Vn9gQKbN8tb7gm) to receive the admin-surfaced model set with `ResolvedModel.admin_view` populated; `END_USER_MOBILE` is set by the Gemini Enterprise mobile app to receive the mobile model set; unset / `END_USER_WEB` returns the end-user web selector. */
22970
22813
  modelInfoView?:
22971
- 'MODEL_INFO_VIEW_UNSPECIFIED' | 'END_USER_WEB' | 'ADMIN';
22814
+ | 'MODEL_INFO_VIEW_UNSPECIFIED'
22815
+ | 'END_USER_WEB'
22816
+ | 'ADMIN'
22817
+ | 'END_USER_MOBILE';
22972
22818
  /** Required. Full WidgetConfig resource name. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/widgetConfigs/{widget_config_id}` */
22973
22819
  name: string;
22974
22820
  /** OAuth 2.0 token for the current user. */
@@ -24710,386 +24556,8 @@ declare namespace gapi.client {
24710
24556
  uploadType?: string;
24711
24557
  }): Request<{}>;
24712
24558
  }
24713
- interface SourcesResource {
24714
- /** Creates a list of Sources. */
24715
- batchCreate(request: {
24716
- /** V1 error format. */
24717
- '$.xgafv'?: '1' | '2';
24718
- /** OAuth access token. */
24719
- access_token?: string;
24720
- /** Data format for response. */
24721
- alt?: 'json' | 'media' | 'proto';
24722
- /** JSONP */
24723
- callback?: string;
24724
- /** Selector specifying which fields to include in a partial response. */
24725
- fields?: string;
24726
- /** 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. */
24727
- key?: string;
24728
- /** OAuth 2.0 token for the current user. */
24729
- oauth_token?: string;
24730
- /** Required. The parent resource where the sources will be created. Format: projects/{project}/locations/{location}/notebooks/{notebook} */
24731
- parent: string;
24732
- /** Returns response with indentations and line breaks. */
24733
- prettyPrint?: boolean;
24734
- /** 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. */
24735
- quotaUser?: string;
24736
- /** Upload protocol for media (e.g. "raw", "multipart"). */
24737
- upload_protocol?: string;
24738
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
24739
- uploadType?: string;
24740
- /** Request body */
24741
- resource: GoogleCloudNotebooklmV1alphaBatchCreateSourcesRequest;
24742
- }): Request<GoogleCloudNotebooklmV1alphaBatchCreateSourcesResponse>;
24743
- batchCreate(
24744
- request: {
24745
- /** V1 error format. */
24746
- '$.xgafv'?: '1' | '2';
24747
- /** OAuth access token. */
24748
- access_token?: string;
24749
- /** Data format for response. */
24750
- alt?: 'json' | 'media' | 'proto';
24751
- /** JSONP */
24752
- callback?: string;
24753
- /** Selector specifying which fields to include in a partial response. */
24754
- fields?: string;
24755
- /** 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. */
24756
- key?: string;
24757
- /** OAuth 2.0 token for the current user. */
24758
- oauth_token?: string;
24759
- /** Required. The parent resource where the sources will be created. Format: projects/{project}/locations/{location}/notebooks/{notebook} */
24760
- parent: string;
24761
- /** Returns response with indentations and line breaks. */
24762
- prettyPrint?: boolean;
24763
- /** 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. */
24764
- quotaUser?: string;
24765
- /** Upload protocol for media (e.g. "raw", "multipart"). */
24766
- upload_protocol?: string;
24767
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
24768
- uploadType?: string;
24769
- },
24770
- body: GoogleCloudNotebooklmV1alphaBatchCreateSourcesRequest,
24771
- ): Request<GoogleCloudNotebooklmV1alphaBatchCreateSourcesResponse>;
24772
- /** Deletes multiple sources */
24773
- batchDelete(request: {
24774
- /** V1 error format. */
24775
- '$.xgafv'?: '1' | '2';
24776
- /** OAuth access token. */
24777
- access_token?: string;
24778
- /** Data format for response. */
24779
- alt?: 'json' | 'media' | 'proto';
24780
- /** JSONP */
24781
- callback?: string;
24782
- /** Selector specifying which fields to include in a partial response. */
24783
- fields?: string;
24784
- /** 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. */
24785
- key?: string;
24786
- /** OAuth 2.0 token for the current user. */
24787
- oauth_token?: string;
24788
- /** Required. The parent resource where the sources will be deleted. Format: projects/{project}/locations/{location}/notebooks/{notebook} */
24789
- parent: string;
24790
- /** Returns response with indentations and line breaks. */
24791
- prettyPrint?: boolean;
24792
- /** 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. */
24793
- quotaUser?: string;
24794
- /** Upload protocol for media (e.g. "raw", "multipart"). */
24795
- upload_protocol?: string;
24796
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
24797
- uploadType?: string;
24798
- /** Request body */
24799
- resource: GoogleCloudNotebooklmV1alphaBatchDeleteSourcesRequest;
24800
- }): Request<{}>;
24801
- batchDelete(
24802
- request: {
24803
- /** V1 error format. */
24804
- '$.xgafv'?: '1' | '2';
24805
- /** OAuth access token. */
24806
- access_token?: string;
24807
- /** Data format for response. */
24808
- alt?: 'json' | 'media' | 'proto';
24809
- /** JSONP */
24810
- callback?: string;
24811
- /** Selector specifying which fields to include in a partial response. */
24812
- fields?: string;
24813
- /** 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. */
24814
- key?: string;
24815
- /** OAuth 2.0 token for the current user. */
24816
- oauth_token?: string;
24817
- /** Required. The parent resource where the sources will be deleted. Format: projects/{project}/locations/{location}/notebooks/{notebook} */
24818
- parent: string;
24819
- /** Returns response with indentations and line breaks. */
24820
- prettyPrint?: boolean;
24821
- /** 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. */
24822
- quotaUser?: string;
24823
- /** Upload protocol for media (e.g. "raw", "multipart"). */
24824
- upload_protocol?: string;
24825
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
24826
- uploadType?: string;
24827
- },
24828
- body: GoogleCloudNotebooklmV1alphaBatchDeleteSourcesRequest,
24829
- ): Request<{}>;
24830
- /** Gets a Source. */
24831
- get(request?: {
24832
- /** V1 error format. */
24833
- '$.xgafv'?: '1' | '2';
24834
- /** OAuth access token. */
24835
- access_token?: string;
24836
- /** Data format for response. */
24837
- alt?: 'json' | 'media' | 'proto';
24838
- /** JSONP */
24839
- callback?: string;
24840
- /** Selector specifying which fields to include in a partial response. */
24841
- fields?: string;
24842
- /** 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. */
24843
- key?: string;
24844
- /** Required. The resource name for source Format: projects/{project}/locations/{location}/notebooks/{notebook}/sources/{source} */
24845
- name: string;
24846
- /** OAuth 2.0 token for the current user. */
24847
- oauth_token?: string;
24848
- /** Returns response with indentations and line breaks. */
24849
- prettyPrint?: boolean;
24850
- /** 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. */
24851
- quotaUser?: string;
24852
- /** Upload protocol for media (e.g. "raw", "multipart"). */
24853
- upload_protocol?: string;
24854
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
24855
- uploadType?: string;
24856
- }): Request<GoogleCloudNotebooklmV1alphaSource>;
24857
- }
24858
24559
  interface NotebooksResource {
24859
- /** Batch deletes Notebooks. */
24860
- batchDelete(request: {
24861
- /** V1 error format. */
24862
- '$.xgafv'?: '1' | '2';
24863
- /** OAuth access token. */
24864
- access_token?: string;
24865
- /** Data format for response. */
24866
- alt?: 'json' | 'media' | 'proto';
24867
- /** JSONP */
24868
- callback?: string;
24869
- /** Selector specifying which fields to include in a partial response. */
24870
- fields?: string;
24871
- /** 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. */
24872
- key?: string;
24873
- /** OAuth 2.0 token for the current user. */
24874
- oauth_token?: string;
24875
- /** Required. The parent branch resource name, such as `projects/{project}/locations/{location}`. */
24876
- parent: string;
24877
- /** Returns response with indentations and line breaks. */
24878
- prettyPrint?: boolean;
24879
- /** 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. */
24880
- quotaUser?: string;
24881
- /** Upload protocol for media (e.g. "raw", "multipart"). */
24882
- upload_protocol?: string;
24883
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
24884
- uploadType?: string;
24885
- /** Request body */
24886
- resource: GoogleCloudNotebooklmV1alphaBatchDeleteNotebooksRequest;
24887
- }): Request<{}>;
24888
- batchDelete(
24889
- request: {
24890
- /** V1 error format. */
24891
- '$.xgafv'?: '1' | '2';
24892
- /** OAuth access token. */
24893
- access_token?: string;
24894
- /** Data format for response. */
24895
- alt?: 'json' | 'media' | 'proto';
24896
- /** JSONP */
24897
- callback?: string;
24898
- /** Selector specifying which fields to include in a partial response. */
24899
- fields?: string;
24900
- /** 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. */
24901
- key?: string;
24902
- /** OAuth 2.0 token for the current user. */
24903
- oauth_token?: string;
24904
- /** Required. The parent branch resource name, such as `projects/{project}/locations/{location}`. */
24905
- parent: string;
24906
- /** Returns response with indentations and line breaks. */
24907
- prettyPrint?: boolean;
24908
- /** 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. */
24909
- quotaUser?: string;
24910
- /** Upload protocol for media (e.g. "raw", "multipart"). */
24911
- upload_protocol?: string;
24912
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
24913
- uploadType?: string;
24914
- },
24915
- body: GoogleCloudNotebooklmV1alphaBatchDeleteNotebooksRequest,
24916
- ): Request<{}>;
24917
- /** Creates a notebook. */
24918
- create(request: {
24919
- /** V1 error format. */
24920
- '$.xgafv'?: '1' | '2';
24921
- /** OAuth access token. */
24922
- access_token?: string;
24923
- /** Data format for response. */
24924
- alt?: 'json' | 'media' | 'proto';
24925
- /** JSONP */
24926
- callback?: string;
24927
- /** Selector specifying which fields to include in a partial response. */
24928
- fields?: string;
24929
- /** 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. */
24930
- key?: string;
24931
- /** OAuth 2.0 token for the current user. */
24932
- oauth_token?: string;
24933
- /** Required. The parent resource name, such as `projects/{project}/locations/{location}`. */
24934
- parent: string;
24935
- /** Returns response with indentations and line breaks. */
24936
- prettyPrint?: boolean;
24937
- /** 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. */
24938
- quotaUser?: string;
24939
- /** Upload protocol for media (e.g. "raw", "multipart"). */
24940
- upload_protocol?: string;
24941
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
24942
- uploadType?: string;
24943
- /** Request body */
24944
- resource: GoogleCloudNotebooklmV1alphaNotebook;
24945
- }): Request<GoogleCloudNotebooklmV1alphaNotebook>;
24946
- create(
24947
- request: {
24948
- /** V1 error format. */
24949
- '$.xgafv'?: '1' | '2';
24950
- /** OAuth access token. */
24951
- access_token?: string;
24952
- /** Data format for response. */
24953
- alt?: 'json' | 'media' | 'proto';
24954
- /** JSONP */
24955
- callback?: string;
24956
- /** Selector specifying which fields to include in a partial response. */
24957
- fields?: string;
24958
- /** 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. */
24959
- key?: string;
24960
- /** OAuth 2.0 token for the current user. */
24961
- oauth_token?: string;
24962
- /** Required. The parent resource name, such as `projects/{project}/locations/{location}`. */
24963
- parent: string;
24964
- /** Returns response with indentations and line breaks. */
24965
- prettyPrint?: boolean;
24966
- /** 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. */
24967
- quotaUser?: string;
24968
- /** Upload protocol for media (e.g. "raw", "multipart"). */
24969
- upload_protocol?: string;
24970
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
24971
- uploadType?: string;
24972
- },
24973
- body: GoogleCloudNotebooklmV1alphaNotebook,
24974
- ): Request<GoogleCloudNotebooklmV1alphaNotebook>;
24975
- /** Gets a notebook. */
24976
- get(request?: {
24977
- /** V1 error format. */
24978
- '$.xgafv'?: '1' | '2';
24979
- /** OAuth access token. */
24980
- access_token?: string;
24981
- /** Data format for response. */
24982
- alt?: 'json' | 'media' | 'proto';
24983
- /** JSONP */
24984
- callback?: string;
24985
- /** Selector specifying which fields to include in a partial response. */
24986
- fields?: string;
24987
- /** 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. */
24988
- key?: string;
24989
- /** Required. Full resource name of Notebook, such as `projects/{project}/locations/{location}/notebooks/{notebook_id}`. */
24990
- name: string;
24991
- /** OAuth 2.0 token for the current user. */
24992
- oauth_token?: string;
24993
- /** Returns response with indentations and line breaks. */
24994
- prettyPrint?: boolean;
24995
- /** 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. */
24996
- quotaUser?: string;
24997
- /** Upload protocol for media (e.g. "raw", "multipart"). */
24998
- upload_protocol?: string;
24999
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
25000
- uploadType?: string;
25001
- }): Request<GoogleCloudNotebooklmV1alphaNotebook>;
25002
- /** Lists the notebooks ordered by last view time. */
25003
- listRecentlyViewed(request?: {
25004
- /** V1 error format. */
25005
- '$.xgafv'?: '1' | '2';
25006
- /** OAuth access token. */
25007
- access_token?: string;
25008
- /** Data format for response. */
25009
- alt?: 'json' | 'media' | 'proto';
25010
- /** JSONP */
25011
- callback?: string;
25012
- /** Selector specifying which fields to include in a partial response. */
25013
- fields?: string;
25014
- /** 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. */
25015
- key?: string;
25016
- /** OAuth 2.0 token for the current user. */
25017
- oauth_token?: string;
25018
- /** Optional. Maximum number of Notebooks to return. If unspecified, defaults to "500". The maximum allowed value is "500". If this field is negative, will use the default value. */
25019
- pageSize?: number;
25020
- /** Optional. The page token, provide this to retrieve the subsequent page. */
25021
- pageToken?: string;
25022
- /** Required. The parent branch resource name, such as `projects/{project}/locations/{location}`. */
25023
- parent: string;
25024
- /** Returns response with indentations and line breaks. */
25025
- prettyPrint?: boolean;
25026
- /** 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. */
25027
- quotaUser?: string;
25028
- /** Upload protocol for media (e.g. "raw", "multipart"). */
25029
- upload_protocol?: string;
25030
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
25031
- uploadType?: string;
25032
- }): Request<GoogleCloudNotebooklmV1alphaListRecentlyViewedNotebooksResponse>;
25033
- /** Shares a notebook to other accounts. */
25034
- share(request: {
25035
- /** V1 error format. */
25036
- '$.xgafv'?: '1' | '2';
25037
- /** OAuth access token. */
25038
- access_token?: string;
25039
- /** Data format for response. */
25040
- alt?: 'json' | 'media' | 'proto';
25041
- /** JSONP */
25042
- callback?: string;
25043
- /** Selector specifying which fields to include in a partial response. */
25044
- fields?: string;
25045
- /** 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. */
25046
- key?: string;
25047
- /** Required. Full resource name of Notebook, such as `projects/{project}/locations/{location}/notebooks/{notebook_id}`. */
25048
- name: string;
25049
- /** OAuth 2.0 token for the current user. */
25050
- oauth_token?: string;
25051
- /** Returns response with indentations and line breaks. */
25052
- prettyPrint?: boolean;
25053
- /** 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. */
25054
- quotaUser?: string;
25055
- /** Upload protocol for media (e.g. "raw", "multipart"). */
25056
- upload_protocol?: string;
25057
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
25058
- uploadType?: string;
25059
- /** Request body */
25060
- resource: GoogleCloudNotebooklmV1alphaShareNotebookRequest;
25061
- }): Request<{}>;
25062
- share(
25063
- request: {
25064
- /** V1 error format. */
25065
- '$.xgafv'?: '1' | '2';
25066
- /** OAuth access token. */
25067
- access_token?: string;
25068
- /** Data format for response. */
25069
- alt?: 'json' | 'media' | 'proto';
25070
- /** JSONP */
25071
- callback?: string;
25072
- /** Selector specifying which fields to include in a partial response. */
25073
- fields?: string;
25074
- /** 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. */
25075
- key?: string;
25076
- /** Required. Full resource name of Notebook, such as `projects/{project}/locations/{location}/notebooks/{notebook_id}`. */
25077
- name: string;
25078
- /** OAuth 2.0 token for the current user. */
25079
- oauth_token?: string;
25080
- /** Returns response with indentations and line breaks. */
25081
- prettyPrint?: boolean;
25082
- /** 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. */
25083
- quotaUser?: string;
25084
- /** Upload protocol for media (e.g. "raw", "multipart"). */
25085
- upload_protocol?: string;
25086
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
25087
- uploadType?: string;
25088
- },
25089
- body: GoogleCloudNotebooklmV1alphaShareNotebookRequest,
25090
- ): Request<{}>;
25091
24560
  audioOverviews: AudioOverviewsResource;
25092
- sources: SourcesResource;
25093
24561
  }
25094
24562
  interface OperationsResource {
25095
24563
  /** 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. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.discoveryengine-v1alpha",
3
- "version": "0.3.20260823",
3
+ "version": "0.3.20260908",
4
4
  "description": "TypeScript typings for Discovery Engine API v1alpha",
5
5
  "repository": {
6
6
  "type": "git",