@google/genai 1.25.0 → 1.27.0

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.
package/dist/web/web.d.ts CHANGED
@@ -64,13 +64,13 @@ export declare enum AdapterSize {
64
64
  ADAPTER_SIZE_THIRTY_TWO = "ADAPTER_SIZE_THIRTY_TWO"
65
65
  }
66
66
 
67
- /** The generic reusable api auth config. Deprecated. Please use AuthConfig (google/cloud/aiplatform/master/auth.proto) instead. */
67
+ /** The generic reusable api auth config. Deprecated. Please use AuthConfig (google/cloud/aiplatform/master/auth.proto) instead. This data type is not supported in Gemini API. */
68
68
  export declare interface ApiAuth {
69
69
  /** The API secret. */
70
70
  apiKeyConfig?: ApiAuthApiKeyConfig;
71
71
  }
72
72
 
73
- /** The API secret. */
73
+ /** The API secret. This data type is not supported in Gemini API. */
74
74
  export declare interface ApiAuthApiKeyConfig {
75
75
  /** Required. The SecretManager secret version resource name storing API key. e.g. projects/{project}/secrets/{secret}/versions/{version} */
76
76
  apiKeySecretVersion?: string;
@@ -278,8 +278,9 @@ declare interface Auth {
278
278
  * Sets the headers needed to authenticate with the API service.
279
279
  *
280
280
  * @param headers - The Headers object that will be updated with the authentication headers.
281
+ * @param url - The URL of the request.
281
282
  */
282
- addAuthHeaders(headers: Headers): Promise<void>;
283
+ addAuthHeaders(headers: Headers, url?: string): Promise<void>;
283
284
  }
284
285
 
285
286
  /** Auth configuration to run the extension. */
@@ -298,19 +299,19 @@ export declare interface AuthConfig {
298
299
  oidcConfig?: AuthConfigOidcConfig;
299
300
  }
300
301
 
301
- /** Config for Google Service Account Authentication. */
302
+ /** Config for Google Service Account Authentication. This data type is not supported in Gemini API. */
302
303
  export declare interface AuthConfigGoogleServiceAccountConfig {
303
304
  /** Optional. The service account that the extension execution service runs as. - If the service account is specified, the `iam.serviceAccounts.getAccessToken` permission should be granted to Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) on the specified service account. - If not specified, the Vertex AI Extension Service Agent will be used to execute the Extension. */
304
305
  serviceAccount?: string;
305
306
  }
306
307
 
307
- /** Config for HTTP Basic Authentication. */
308
+ /** Config for HTTP Basic Authentication. This data type is not supported in Gemini API. */
308
309
  export declare interface AuthConfigHttpBasicAuthConfig {
309
310
  /** Required. The name of the SecretManager secret version resource storing the base64 encoded credentials. Format: `projects/{project}/secrets/{secrete}/versions/{version}` - If specified, the `secretmanager.versions.access` permission should be granted to Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) on the specified resource. */
310
311
  credentialSecret?: string;
311
312
  }
312
313
 
313
- /** Config for user oauth. */
314
+ /** Config for user oauth. This data type is not supported in Gemini API. */
314
315
  export declare interface AuthConfigOauthConfig {
315
316
  /** Access token for extension endpoint. Only used to propagate token from [[ExecuteExtensionRequest.runtime_auth_config]] at request time. */
316
317
  accessToken?: string;
@@ -318,7 +319,7 @@ export declare interface AuthConfigOauthConfig {
318
319
  serviceAccount?: string;
319
320
  }
320
321
 
321
- /** Config for user OIDC auth. */
322
+ /** Config for user OIDC auth. This data type is not supported in Gemini API. */
322
323
  export declare interface AuthConfigOidcConfig {
323
324
  /** OpenID Connect formatted ID token for extension endpoint. Only used to propagate token from [[ExecuteExtensionRequest.runtime_auth_config]] at request time. */
324
325
  idToken?: string;
@@ -646,32 +647,40 @@ export { Blob_2 as Blob }
646
647
 
647
648
  export declare type BlobImageUnion = Blob_2;
648
649
 
649
- /** Output only. Blocked reason. */
650
+ /** Output only. The reason why the prompt was blocked. */
650
651
  export declare enum BlockedReason {
651
652
  /**
652
- * Unspecified blocked reason.
653
+ * The blocked reason is unspecified.
653
654
  */
654
655
  BLOCKED_REASON_UNSPECIFIED = "BLOCKED_REASON_UNSPECIFIED",
655
656
  /**
656
- * Candidates blocked due to safety.
657
+ * The prompt was blocked for safety reasons.
657
658
  */
658
659
  SAFETY = "SAFETY",
659
660
  /**
660
- * Candidates blocked due to other reason.
661
+ * The prompt was blocked for other reasons. For example, it may be due to the prompt's language, or because it contains other harmful content.
661
662
  */
662
663
  OTHER = "OTHER",
663
664
  /**
664
- * Candidates blocked due to the terms which are included from the terminology blocklist.
665
+ * The prompt was blocked because it contains a term from the terminology blocklist.
665
666
  */
666
667
  BLOCKLIST = "BLOCKLIST",
667
668
  /**
668
- * Candidates blocked due to prohibited content.
669
+ * The prompt was blocked because it contains prohibited content.
669
670
  */
670
671
  PROHIBITED_CONTENT = "PROHIBITED_CONTENT",
671
672
  /**
672
- * Candidates blocked due to unsafe image generation content.
673
+ * The prompt was blocked because it contains content that is unsafe for image generation.
673
674
  */
674
- IMAGE_SAFETY = "IMAGE_SAFETY"
675
+ IMAGE_SAFETY = "IMAGE_SAFETY",
676
+ /**
677
+ * The prompt was blocked by Model Armor. This enum value is not supported in Gemini API.
678
+ */
679
+ MODEL_ARMOR = "MODEL_ARMOR",
680
+ /**
681
+ * The prompt was blocked as a jailbreak attempt. This enum value is not supported in Gemini API.
682
+ */
683
+ JAILBREAK = "JAILBREAK"
675
684
  }
676
685
 
677
686
  /** A resource used in LLM queries for users to explicitly specify what to cache. */
@@ -694,15 +703,15 @@ export declare interface CachedContent {
694
703
 
695
704
  /** Metadata on the usage of the cached content. */
696
705
  export declare interface CachedContentUsageMetadata {
697
- /** Duration of audio in seconds. */
706
+ /** Duration of audio in seconds. This field is not supported in Gemini API. */
698
707
  audioDurationSeconds?: number;
699
- /** Number of images. */
708
+ /** Number of images. This field is not supported in Gemini API. */
700
709
  imageCount?: number;
701
- /** Number of text characters. */
710
+ /** Number of text characters. This field is not supported in Gemini API. */
702
711
  textCount?: number;
703
712
  /** Total number of tokens that the cached content consumes. */
704
713
  totalTokenCount?: number;
705
- /** Duration of video in seconds. */
714
+ /** Duration of video in seconds. This field is not supported in Gemini API. */
706
715
  videoDurationSeconds?: number;
707
716
  }
708
717
 
@@ -1033,7 +1042,7 @@ export declare interface Checkpoint {
1033
1042
  step?: string;
1034
1043
  }
1035
1044
 
1036
- /** Source attributions for content. */
1045
+ /** Source attributions for content. This data type is not supported in Gemini API. */
1037
1046
  export declare interface Citation {
1038
1047
  /** Output only. End index into the content. */
1039
1048
  endIndex?: number;
@@ -1530,7 +1539,7 @@ export declare interface CreateTuningJobConfig {
1530
1539
  be charged usage for any applicable operations.
1531
1540
  */
1532
1541
  abortSignal?: AbortSignal;
1533
- /** Cloud Storage path to file containing training dataset for tuning. The dataset must be formatted as a JSONL file. */
1542
+ /** Validation dataset for tuning. The dataset must be formatted as a JSONL file. */
1534
1543
  validationDataset?: TuningValidationDataset;
1535
1544
  /** The display name of the tuned Model. The name can be up to 128 characters long and can consist of any UTF-8 characters. */
1536
1545
  tunedModelDisplayName?: string;
@@ -1581,7 +1590,7 @@ export declare interface CreateTuningJobParametersPrivate {
1581
1590
  */
1582
1591
  export declare function createUserContent(partOrString: PartListUnion | string): Content;
1583
1592
 
1584
- /** Distribution computed over a tuning dataset. */
1593
+ /** Distribution computed over a tuning dataset. This data type is not supported in Gemini API. */
1585
1594
  export declare interface DatasetDistribution {
1586
1595
  /** Output only. Defines the histogram bucket. */
1587
1596
  buckets?: DatasetDistributionDistributionBucket[];
@@ -1601,7 +1610,7 @@ export declare interface DatasetDistribution {
1601
1610
  sum?: number;
1602
1611
  }
1603
1612
 
1604
- /** Dataset bucket used to create a histogram for the distribution given a population of values. */
1613
+ /** Dataset bucket used to create a histogram for the distribution given a population of values. This data type is not supported in Gemini API. */
1605
1614
  export declare interface DatasetDistributionDistributionBucket {
1606
1615
  /** Output only. Number of values in the bucket. */
1607
1616
  count?: string;
@@ -1611,7 +1620,7 @@ export declare interface DatasetDistributionDistributionBucket {
1611
1620
  right?: number;
1612
1621
  }
1613
1622
 
1614
- /** Statistics computed over a tuning dataset. */
1623
+ /** Statistics computed over a tuning dataset. This data type is not supported in Gemini API. */
1615
1624
  export declare interface DatasetStats {
1616
1625
  /** Output only. Number of billable characters in the tuning dataset. */
1617
1626
  totalBillableCharacterCount?: string;
@@ -1745,7 +1754,7 @@ export declare interface DeleteResourceJob {
1745
1754
  error?: JobError;
1746
1755
  }
1747
1756
 
1748
- /** Statistics computed for datasets used for distillation. */
1757
+ /** Statistics computed for datasets used for distillation. This data type is not supported in Gemini API. */
1749
1758
  export declare interface DistillationDataStats {
1750
1759
  /** Output only. Statistics computed for the training dataset. */
1751
1760
  trainingDatasetStats?: DatasetStats;
@@ -1982,7 +1991,7 @@ export declare interface EmbeddingsBatchJobSource {
1982
1991
  inlinedRequests?: EmbedContentBatch;
1983
1992
  }
1984
1993
 
1985
- /** Represents a customer-managed encryption key spec that can be applied to a top-level resource. */
1994
+ /** Represents a customer-managed encryption key spec that can be applied to a top-level resource. This data type is not supported in Gemini API. */
1986
1995
  export declare interface EncryptionSpec {
1987
1996
  /** Required. The Cloud KMS resource identifier of the customer managed encryption key used to protect a resource. Has the form: `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`. The key needs to be in the same region as where the compute resource is created. */
1988
1997
  kmsKeyName?: string;
@@ -2046,7 +2055,7 @@ export declare interface ExecutableCode {
2046
2055
  language?: Language;
2047
2056
  }
2048
2057
 
2049
- /** Retrieve from data source powered by external API for grounding. The external API is not owned by Google, but need to follow the pre-defined API spec. */
2058
+ /** Retrieve from data source powered by external API for grounding. The external API is not owned by Google, but need to follow the pre-defined API spec. This data type is not supported in Gemini API. */
2050
2059
  export declare interface ExternalApi {
2051
2060
  /** The authentication config to access the API. Deprecated. Please use auth_config instead. */
2052
2061
  apiAuth?: ApiAuth;
@@ -2062,7 +2071,7 @@ export declare interface ExternalApi {
2062
2071
  simpleSearchParams?: ExternalApiSimpleSearchParams;
2063
2072
  }
2064
2073
 
2065
- /** The search parameters to use for the ELASTIC_SEARCH spec. */
2074
+ /** The search parameters to use for the ELASTIC_SEARCH spec. This data type is not supported in Gemini API. */
2066
2075
  export declare interface ExternalApiElasticSearchParams {
2067
2076
  /** The ElasticSearch index to use. */
2068
2077
  index?: string;
@@ -2072,7 +2081,7 @@ export declare interface ExternalApiElasticSearchParams {
2072
2081
  searchTemplate?: string;
2073
2082
  }
2074
2083
 
2075
- /** The search parameters to use for SIMPLE_SEARCH spec. */
2084
+ /** The search parameters to use for SIMPLE_SEARCH spec. This data type is not supported in Gemini API. */
2076
2085
  export declare interface ExternalApiSimpleSearchParams {
2077
2086
  }
2078
2087
 
@@ -2509,7 +2518,7 @@ export declare enum FunctionResponseScheduling {
2509
2518
  INTERRUPT = "INTERRUPT"
2510
2519
  }
2511
2520
 
2512
- /** Input example for preference optimization. */
2521
+ /** Input example for preference optimization. This data type is not supported in Gemini API. */
2513
2522
  export declare interface GeminiPreferenceExample {
2514
2523
  /** List of completions for a given prompt. */
2515
2524
  completions?: GeminiPreferenceExampleCompletion[];
@@ -2517,7 +2526,7 @@ export declare interface GeminiPreferenceExample {
2517
2526
  contents?: Content[];
2518
2527
  }
2519
2528
 
2520
- /** Completion and its preference score. */
2529
+ /** Completion and its preference score. This data type is not supported in Gemini API. */
2521
2530
  export declare interface GeminiPreferenceExampleCompletion {
2522
2531
  /** Single turn completion for the given prompt. */
2523
2532
  completion?: Content;
@@ -2839,17 +2848,17 @@ export declare class GenerateContentResponse {
2839
2848
  get codeExecutionResult(): string | undefined;
2840
2849
  }
2841
2850
 
2842
- /** Content filter results for a prompt sent in the request. */
2851
+ /** Content filter results for a prompt sent in the request. Note: This is sent only in the first stream chunk and only if no candidates were generated due to content violations. */
2843
2852
  export declare class GenerateContentResponsePromptFeedback {
2844
- /** Output only. Blocked reason. */
2853
+ /** Output only. The reason why the prompt was blocked. */
2845
2854
  blockReason?: BlockedReason;
2846
- /** Output only. A readable block reason message. */
2855
+ /** Output only. A readable message that explains the reason why the prompt was blocked. This field is not supported in Gemini API. */
2847
2856
  blockReasonMessage?: string;
2848
- /** Output only. Safety ratings. */
2857
+ /** Output only. A list of safety ratings for the prompt. There is one rating per category. */
2849
2858
  safetyRatings?: SafetyRating[];
2850
2859
  }
2851
2860
 
2852
- /** Usage metadata about response(s). */
2861
+ /** Usage metadata about response(s). This data type is not supported in Gemini API. */
2853
2862
  export declare class GenerateContentResponseUsageMetadata {
2854
2863
  /** Output only. List of modalities of the cached content in the request input. */
2855
2864
  cacheTokensDetails?: ModalityTokenCount[];
@@ -3109,11 +3118,11 @@ export declare interface GenerateVideosSource {
3109
3118
  export declare interface GenerationConfig {
3110
3119
  /** Optional. Config for model selection. */
3111
3120
  modelSelectionConfig?: ModelSelectionConfig;
3112
- /** Optional. If enabled, audio timestamp will be included in the request to the model. */
3121
+ /** Optional. If enabled, audio timestamp will be included in the request to the model. This field is not supported in Gemini API. */
3113
3122
  audioTimestamp?: boolean;
3114
3123
  /** Optional. Number of candidates to generate. */
3115
3124
  candidateCount?: number;
3116
- /** Optional. If enabled, the model will detect emotions and adapt its responses accordingly. */
3125
+ /** Optional. If enabled, the model will detect emotions and adapt its responses accordingly. This field is not supported in Gemini API. */
3117
3126
  enableAffectiveDialog?: boolean;
3118
3127
  /** Optional. Frequency penalties. */
3119
3128
  frequencyPenalty?: number;
@@ -3135,7 +3144,7 @@ export declare interface GenerationConfig {
3135
3144
  responseModalities?: Modality[];
3136
3145
  /** Optional. The `Schema` object allows the definition of input and output data types. These types can be objects, but also primitives and arrays. Represents a select subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema). If set, a compatible response_mime_type must also be set. Compatible mimetypes: `application/json`: Schema for JSON response. */
3137
3146
  responseSchema?: Schema;
3138
- /** Optional. Routing configuration. */
3147
+ /** Optional. Routing configuration. This field is not supported in Gemini API. */
3139
3148
  routingConfig?: GenerationConfigRoutingConfig;
3140
3149
  /** Optional. Seed. */
3141
3150
  seed?: number;
@@ -3146,14 +3155,16 @@ export declare interface GenerationConfig {
3146
3155
  /** Optional. Controls the randomness of predictions. */
3147
3156
  temperature?: number;
3148
3157
  /** Optional. Config for thinking features. An error will be returned if this field is set for models that don't support thinking. */
3149
- thinkingConfig?: GenerationConfigThinkingConfig;
3158
+ thinkingConfig?: ThinkingConfig;
3150
3159
  /** Optional. If specified, top-k sampling will be used. */
3151
3160
  topK?: number;
3152
3161
  /** Optional. If specified, nucleus sampling will be used. */
3153
3162
  topP?: number;
3163
+ /** Optional. Enables enhanced civic answers. It may not be available for all models. This field is not supported in Vertex AI. */
3164
+ enableEnhancedCivicAnswers?: boolean;
3154
3165
  }
3155
3166
 
3156
- /** The configuration for routing the request to a specific model. */
3167
+ /** The configuration for routing the request to a specific model. This data type is not supported in Gemini API. */
3157
3168
  export declare interface GenerationConfigRoutingConfig {
3158
3169
  /** Automated routing. */
3159
3170
  autoMode?: GenerationConfigRoutingConfigAutoRoutingMode;
@@ -3161,24 +3172,24 @@ export declare interface GenerationConfigRoutingConfig {
3161
3172
  manualMode?: GenerationConfigRoutingConfigManualRoutingMode;
3162
3173
  }
3163
3174
 
3164
- /** When automated routing is specified, the routing will be determined by the pretrained routing model and customer provided model routing preference. */
3175
+ /** When automated routing is specified, the routing will be determined by the pretrained routing model and customer provided model routing preference. This data type is not supported in Gemini API. */
3165
3176
  export declare interface GenerationConfigRoutingConfigAutoRoutingMode {
3166
3177
  /** The model routing preference. */
3167
3178
  modelRoutingPreference?: 'UNKNOWN' | 'PRIORITIZE_QUALITY' | 'BALANCED' | 'PRIORITIZE_COST';
3168
3179
  }
3169
3180
 
3170
- /** When manual routing is set, the specified model will be used directly. */
3181
+ /** When manual routing is set, the specified model will be used directly. This data type is not supported in Gemini API. */
3171
3182
  export declare interface GenerationConfigRoutingConfigManualRoutingMode {
3172
3183
  /** The model name to use. Only the public LLM models are accepted. See [Supported models](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/inference#supported-models). */
3173
3184
  modelName?: string;
3174
3185
  }
3175
3186
 
3176
- /** Config for thinking features. */
3177
- export declare interface GenerationConfigThinkingConfig {
3178
- /** Optional. Indicates whether to include thoughts in the response. If true, thoughts are returned only when available. */
3179
- includeThoughts?: boolean;
3180
- /** Optional. Indicates the thinking budget in tokens. */
3181
- thinkingBudget?: number;
3187
+ /**
3188
+ * Config for thinking feature.
3189
+ *
3190
+ * @deprecated This interface will be deprecated. Please use `ThinkingConfig` instead.
3191
+ */
3192
+ export declare interface GenerationConfigThinkingConfig extends ThinkingConfig {
3182
3193
  }
3183
3194
 
3184
3195
  /** Optional parameters. */
@@ -3431,7 +3442,7 @@ export declare interface GoogleMaps {
3431
3442
  enableWidget?: boolean;
3432
3443
  }
3433
3444
 
3434
- /** The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). */
3445
+ /** The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). This data type is not supported in Gemini API. */
3435
3446
  export declare interface GoogleRpcStatus {
3436
3447
  /** The status code, which should be an enum value of google.rpc.Code. */
3437
3448
  code?: number;
@@ -3447,8 +3458,7 @@ export declare interface GoogleSearch {
3447
3458
  If customers set a start time, they must set an end time (and vice versa).
3448
3459
  */
3449
3460
  timeRangeFilter?: Interval;
3450
- /** Optional. List of domains to be excluded from the search results.
3451
- The default limit is 2000 domains. */
3461
+ /** Optional. List of domains to be excluded from the search results. The default limit is 2000 domains. Example: ["amazon.com", "facebook.com"]. This field is not supported in Gemini API. */
3452
3462
  excludeDomains?: string[];
3453
3463
  }
3454
3464
 
@@ -3458,7 +3468,7 @@ export declare interface GoogleSearchRetrieval {
3458
3468
  dynamicRetrievalConfig?: DynamicRetrievalConfig;
3459
3469
  }
3460
3470
 
3461
- /** Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp */
3471
+ /** Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp. This data type is not supported in Gemini API. */
3462
3472
  export declare interface GoogleTypeDate {
3463
3473
  /** 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. */
3464
3474
  day?: number;
@@ -3470,15 +3480,15 @@ export declare interface GoogleTypeDate {
3470
3480
 
3471
3481
  /** Grounding chunk. */
3472
3482
  export declare interface GroundingChunk {
3473
- /** Grounding chunk from Google Maps. */
3483
+ /** Grounding chunk from Google Maps. This field is not supported in Gemini API. */
3474
3484
  maps?: GroundingChunkMaps;
3475
- /** Grounding chunk from context retrieved by the retrieval tools. */
3485
+ /** Grounding chunk from context retrieved by the retrieval tools. This field is not supported in Gemini API. */
3476
3486
  retrievedContext?: GroundingChunkRetrievedContext;
3477
3487
  /** Grounding chunk from the web. */
3478
3488
  web?: GroundingChunkWeb;
3479
3489
  }
3480
3490
 
3481
- /** Chunk from Google Maps. */
3491
+ /** Chunk from Google Maps. This data type is not supported in Gemini API. */
3482
3492
  export declare interface GroundingChunkMaps {
3483
3493
  /** Sources used to generate the place answer. This includes review snippets and photos that were used to generate the answer, as well as uris to flag content. */
3484
3494
  placeAnswerSources?: GroundingChunkMapsPlaceAnswerSources;
@@ -3492,7 +3502,7 @@ export declare interface GroundingChunkMaps {
3492
3502
  uri?: string;
3493
3503
  }
3494
3504
 
3495
- /** Sources used to generate the place answer. */
3505
+ /** Sources used to generate the place answer. This data type is not supported in Gemini API. */
3496
3506
  export declare interface GroundingChunkMapsPlaceAnswerSources {
3497
3507
  /** A link where users can flag a problem with the generated answer. */
3498
3508
  flagContentUri?: string;
@@ -3500,7 +3510,7 @@ export declare interface GroundingChunkMapsPlaceAnswerSources {
3500
3510
  reviewSnippets?: GroundingChunkMapsPlaceAnswerSourcesReviewSnippet[];
3501
3511
  }
3502
3512
 
3503
- /** Author attribution for a photo or review. */
3513
+ /** Author attribution for a photo or review. This data type is not supported in Gemini API. */
3504
3514
  export declare interface GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution {
3505
3515
  /** Name of the author of the Photo or Review. */
3506
3516
  displayName?: string;
@@ -3510,7 +3520,7 @@ export declare interface GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution {
3510
3520
  uri?: string;
3511
3521
  }
3512
3522
 
3513
- /** Encapsulates a review snippet. */
3523
+ /** Encapsulates a review snippet. This data type is not supported in Gemini API. */
3514
3524
  export declare interface GroundingChunkMapsPlaceAnswerSourcesReviewSnippet {
3515
3525
  /** This review's author. */
3516
3526
  authorAttribution?: GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution;
@@ -3528,7 +3538,7 @@ export declare interface GroundingChunkMapsPlaceAnswerSourcesReviewSnippet {
3528
3538
  title?: string;
3529
3539
  }
3530
3540
 
3531
- /** Chunk from context retrieved by the retrieval tools. */
3541
+ /** Chunk from context retrieved by the retrieval tools. This data type is not supported in Gemini API. */
3532
3542
  export declare interface GroundingChunkRetrievedContext {
3533
3543
  /** Output only. The full document name for the referenced Vertex AI Search document. */
3534
3544
  documentName?: string;
@@ -3544,7 +3554,7 @@ export declare interface GroundingChunkRetrievedContext {
3544
3554
 
3545
3555
  /** Chunk from the web. */
3546
3556
  export declare interface GroundingChunkWeb {
3547
- /** Domain of the (original) URI. */
3557
+ /** Domain of the (original) URI. This field is not supported in Gemini API. */
3548
3558
  domain?: string;
3549
3559
  /** Title of the chunk. */
3550
3560
  title?: string;
@@ -3554,7 +3564,7 @@ export declare interface GroundingChunkWeb {
3554
3564
 
3555
3565
  /** Metadata returned to client when grounding is enabled. */
3556
3566
  export declare interface GroundingMetadata {
3557
- /** Optional. Output only. Resource name of the Google Maps widget context token to be used with the PlacesContextElement widget to render contextual data. This is populated only for Google Maps grounding. */
3567
+ /** Optional. Output only. Resource name of the Google Maps widget context token to be used with the PlacesContextElement widget to render contextual data. This is populated only for Google Maps grounding. This field is not supported in Gemini API. */
3558
3568
  googleMapsWidgetContextToken?: string;
3559
3569
  /** List of supporting references retrieved from specified grounding source. */
3560
3570
  groundingChunks?: GroundingChunk[];
@@ -3562,17 +3572,17 @@ export declare interface GroundingMetadata {
3562
3572
  groundingSupports?: GroundingSupport[];
3563
3573
  /** Optional. Output only. Retrieval metadata. */
3564
3574
  retrievalMetadata?: RetrievalMetadata;
3565
- /** Optional. Queries executed by the retrieval tools. */
3575
+ /** Optional. Queries executed by the retrieval tools. This field is not supported in Gemini API. */
3566
3576
  retrievalQueries?: string[];
3567
3577
  /** Optional. Google search entry for the following-up web searches. */
3568
3578
  searchEntryPoint?: SearchEntryPoint;
3569
- /** Optional. Output only. List of source flagging uris. This is currently populated only for Google Maps grounding. */
3579
+ /** Optional. Output only. List of source flagging uris. This is currently populated only for Google Maps grounding. This field is not supported in Gemini API. */
3570
3580
  sourceFlaggingUris?: GroundingMetadataSourceFlaggingUri[];
3571
3581
  /** Optional. Web search queries for the following-up web search. */
3572
3582
  webSearchQueries?: string[];
3573
3583
  }
3574
3584
 
3575
- /** Source content flagging uri for a place or review. This is currently populated only for Google Maps grounding. */
3585
+ /** Source content flagging uri for a place or review. This is currently populated only for Google Maps grounding. This data type is not supported in Gemini API. */
3576
3586
  export declare interface GroundingMetadataSourceFlaggingUri {
3577
3587
  /** A link where users can flag a problem with the source (place or review). */
3578
3588
  flagContentUri?: string;
@@ -3640,42 +3650,46 @@ export declare enum HarmCategory {
3640
3650
  * The harm category is unspecified.
3641
3651
  */
3642
3652
  HARM_CATEGORY_UNSPECIFIED = "HARM_CATEGORY_UNSPECIFIED",
3643
- /**
3644
- * The harm category is hate speech.
3645
- */
3646
- HARM_CATEGORY_HATE_SPEECH = "HARM_CATEGORY_HATE_SPEECH",
3647
- /**
3648
- * The harm category is dangerous content.
3649
- */
3650
- HARM_CATEGORY_DANGEROUS_CONTENT = "HARM_CATEGORY_DANGEROUS_CONTENT",
3651
3653
  /**
3652
3654
  * The harm category is harassment.
3653
3655
  */
3654
3656
  HARM_CATEGORY_HARASSMENT = "HARM_CATEGORY_HARASSMENT",
3657
+ /**
3658
+ * The harm category is hate speech.
3659
+ */
3660
+ HARM_CATEGORY_HATE_SPEECH = "HARM_CATEGORY_HATE_SPEECH",
3655
3661
  /**
3656
3662
  * The harm category is sexually explicit content.
3657
3663
  */
3658
3664
  HARM_CATEGORY_SEXUALLY_EXPLICIT = "HARM_CATEGORY_SEXUALLY_EXPLICIT",
3665
+ /**
3666
+ * The harm category is dangerous content.
3667
+ */
3668
+ HARM_CATEGORY_DANGEROUS_CONTENT = "HARM_CATEGORY_DANGEROUS_CONTENT",
3659
3669
  /**
3660
3670
  * Deprecated: Election filter is not longer supported. The harm category is civic integrity.
3661
3671
  */
3662
3672
  HARM_CATEGORY_CIVIC_INTEGRITY = "HARM_CATEGORY_CIVIC_INTEGRITY",
3663
3673
  /**
3664
- * The harm category is image hate.
3674
+ * The harm category is image hate. This enum value is not supported in Gemini API.
3665
3675
  */
3666
3676
  HARM_CATEGORY_IMAGE_HATE = "HARM_CATEGORY_IMAGE_HATE",
3667
3677
  /**
3668
- * The harm category is image dangerous content.
3678
+ * The harm category is image dangerous content. This enum value is not supported in Gemini API.
3669
3679
  */
3670
3680
  HARM_CATEGORY_IMAGE_DANGEROUS_CONTENT = "HARM_CATEGORY_IMAGE_DANGEROUS_CONTENT",
3671
3681
  /**
3672
- * The harm category is image harassment.
3682
+ * The harm category is image harassment. This enum value is not supported in Gemini API.
3673
3683
  */
3674
3684
  HARM_CATEGORY_IMAGE_HARASSMENT = "HARM_CATEGORY_IMAGE_HARASSMENT",
3675
3685
  /**
3676
- * The harm category is image sexually explicit content.
3686
+ * The harm category is image sexually explicit content. This enum value is not supported in Gemini API.
3687
+ */
3688
+ HARM_CATEGORY_IMAGE_SEXUALLY_EXPLICIT = "HARM_CATEGORY_IMAGE_SEXUALLY_EXPLICIT",
3689
+ /**
3690
+ * The harm category is for jailbreak prompts. This enum value is not supported in Gemini API.
3677
3691
  */
3678
- HARM_CATEGORY_IMAGE_SEXUALLY_EXPLICIT = "HARM_CATEGORY_IMAGE_SEXUALLY_EXPLICIT"
3692
+ HARM_CATEGORY_JAILBREAK = "HARM_CATEGORY_JAILBREAK"
3679
3693
  }
3680
3694
 
3681
3695
  /** Output only. Harm probability levels in the content. */
@@ -4081,9 +4095,9 @@ export declare interface ListFilesParameters {
4081
4095
  export declare class ListFilesResponse {
4082
4096
  /** Used to retain the full HTTP response. */
4083
4097
  sdkHttpResponse?: HttpResponse;
4084
- /** A token to retrieve next page of results. */
4098
+ /** A token that can be sent as a `page_token` into a subsequent `ListFiles` call. */
4085
4099
  nextPageToken?: string;
4086
- /** The list of files. */
4100
+ /** The list of `File`s. */
4087
4101
  files?: File_2[];
4088
4102
  }
4089
4103
 
@@ -5743,7 +5757,7 @@ export declare interface Part {
5743
5757
 
5744
5758
  export declare type PartListUnion = PartUnion[] | PartUnion;
5745
5759
 
5746
- /** Tuning spec for Partner models. */
5760
+ /** Tuning spec for Partner models. This data type is not supported in Gemini API. */
5747
5761
  export declare interface PartnerModelTuningSpec {
5748
5762
  /** Hyperparameters for tuning. The accepted hyper_parameters and their valid range of values will differ depending on the base model. */
5749
5763
  hyperParameters?: Record<string, unknown>;
@@ -5777,7 +5791,7 @@ export declare interface PrebuiltVoiceConfig {
5777
5791
  voiceName?: string;
5778
5792
  }
5779
5793
 
5780
- /** Statistics computed for datasets used for preference optimization. */
5794
+ /** Statistics computed for datasets used for preference optimization. This data type is not supported in Gemini API. */
5781
5795
  export declare interface PreferenceOptimizationDataStats {
5782
5796
  /** Output only. Dataset distributions for scores variance per example. */
5783
5797
  scoreVariancePerExampleDistribution?: DatasetDistribution;
@@ -5797,7 +5811,7 @@ export declare interface PreferenceOptimizationDataStats {
5797
5811
  userOutputTokenDistribution?: DatasetDistribution;
5798
5812
  }
5799
5813
 
5800
- /** A pre-tuned model for continuous tuning. */
5814
+ /** A pre-tuned model for continuous tuning. This data type is not supported in Gemini API. */
5801
5815
  export declare interface PreTunedModel {
5802
5816
  /** Output only. The name of the base model this PreTunedModel was tuned from. */
5803
5817
  baseModel?: string;
@@ -5821,7 +5835,7 @@ export declare interface ProductImage {
5821
5835
  productImage?: Image_2;
5822
5836
  }
5823
5837
 
5824
- /** A RagChunk includes the content of a chunk of a RagFile, and associated metadata. */
5838
+ /** A RagChunk includes the content of a chunk of a RagFile, and associated metadata. This data type is not supported in Gemini API. */
5825
5839
  export declare interface RagChunk {
5826
5840
  /** If populated, represents where the chunk starts and ends in the document. */
5827
5841
  pageSpan?: RagChunkPageSpan;
@@ -5829,7 +5843,7 @@ export declare interface RagChunk {
5829
5843
  text?: string;
5830
5844
  }
5831
5845
 
5832
- /** Represents where the chunk starts and ends in the document. */
5846
+ /** Represents where the chunk starts and ends in the document. This data type is not supported in Gemini API. */
5833
5847
  export declare interface RagChunkPageSpan {
5834
5848
  /** Page where chunk starts in the document. Inclusive. 1-indexed. */
5835
5849
  firstPage?: number;
@@ -5837,7 +5851,7 @@ export declare interface RagChunkPageSpan {
5837
5851
  lastPage?: number;
5838
5852
  }
5839
5853
 
5840
- /** Specifies the context retrieval config. */
5854
+ /** Specifies the context retrieval config. This data type is not supported in Gemini API. */
5841
5855
  export declare interface RagRetrievalConfig {
5842
5856
  /** Optional. Config for filters. */
5843
5857
  filter?: RagRetrievalConfigFilter;
@@ -5849,7 +5863,7 @@ export declare interface RagRetrievalConfig {
5849
5863
  topK?: number;
5850
5864
  }
5851
5865
 
5852
- /** Config for filters. */
5866
+ /** Config for filters. This data type is not supported in Gemini API. */
5853
5867
  export declare interface RagRetrievalConfigFilter {
5854
5868
  /** Optional. String for metadata filtering. */
5855
5869
  metadataFilter?: string;
@@ -5859,13 +5873,13 @@ export declare interface RagRetrievalConfigFilter {
5859
5873
  vectorSimilarityThreshold?: number;
5860
5874
  }
5861
5875
 
5862
- /** Config for Hybrid Search. */
5876
+ /** Config for Hybrid Search. This data type is not supported in Gemini API. */
5863
5877
  export declare interface RagRetrievalConfigHybridSearch {
5864
5878
  /** Optional. Alpha value controls the weight between dense and sparse vector search results. The range is [0, 1], while 0 means sparse vector search only and 1 means dense vector search only. The default value is 0.5 which balances sparse and dense vector search equally. */
5865
5879
  alpha?: number;
5866
5880
  }
5867
5881
 
5868
- /** Config for ranking and reranking. */
5882
+ /** Config for ranking and reranking. This data type is not supported in Gemini API. */
5869
5883
  export declare interface RagRetrievalConfigRanking {
5870
5884
  /** Optional. Config for LlmRanker. */
5871
5885
  llmRanker?: RagRetrievalConfigRankingLlmRanker;
@@ -5873,13 +5887,13 @@ export declare interface RagRetrievalConfigRanking {
5873
5887
  rankService?: RagRetrievalConfigRankingRankService;
5874
5888
  }
5875
5889
 
5876
- /** Config for LlmRanker. */
5890
+ /** Config for LlmRanker. This data type is not supported in Gemini API. */
5877
5891
  export declare interface RagRetrievalConfigRankingLlmRanker {
5878
5892
  /** Optional. The model name used for ranking. See [Supported models](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/inference#supported-models). */
5879
5893
  modelName?: string;
5880
5894
  }
5881
5895
 
5882
- /** Config for Rank Service. */
5896
+ /** Config for Rank Service. This data type is not supported in Gemini API. */
5883
5897
  export declare interface RagRetrievalConfigRankingRankService {
5884
5898
  /** Optional. The model name of the rank service. Format: `semantic-ranker-512@latest` */
5885
5899
  modelName?: string;
@@ -6029,7 +6043,7 @@ export declare class ReplayResponse {
6029
6043
  sdkResponseSegments?: Record<string, unknown>[];
6030
6044
  }
6031
6045
 
6032
- /** Defines a retrieval tool that model can call to access external knowledge. */
6046
+ /** Defines a retrieval tool that model can call to access external knowledge. This data type is not supported in Gemini API. */
6033
6047
  export declare interface Retrieval {
6034
6048
  /** Optional. Deprecated. This option is no longer supported. */
6035
6049
  disableAttribution?: boolean;
@@ -6084,11 +6098,11 @@ export declare interface SafetyRating {
6084
6098
  overwrittenThreshold?: HarmBlockThreshold;
6085
6099
  /** Output only. Harm probability levels in the content. */
6086
6100
  probability?: HarmProbability;
6087
- /** Output only. Harm probability score. */
6101
+ /** Output only. Harm probability score. This field is not supported in Gemini API. */
6088
6102
  probabilityScore?: number;
6089
6103
  /** Output only. Harm severity levels in the content. */
6090
6104
  severity?: HarmSeverity;
6091
- /** Output only. Harm severity score. */
6105
+ /** Output only. Harm severity score. This field is not supported in Gemini API. */
6092
6106
  severityScore?: number;
6093
6107
  }
6094
6108
 
@@ -6615,7 +6629,7 @@ export declare enum SubjectReferenceType {
6615
6629
  SUBJECT_TYPE_PRODUCT = "SUBJECT_TYPE_PRODUCT"
6616
6630
  }
6617
6631
 
6618
- /** Hyperparameters for SFT. */
6632
+ /** Hyperparameters for SFT. This data type is not supported in Gemini API. */
6619
6633
  export declare interface SupervisedHyperParameters {
6620
6634
  /** Optional. Adapter size for tuning. */
6621
6635
  adapterSize?: AdapterSize;
@@ -6629,7 +6643,7 @@ export declare interface SupervisedHyperParameters {
6629
6643
  learningRateMultiplier?: number;
6630
6644
  }
6631
6645
 
6632
- /** Dataset distribution for Supervised Tuning. */
6646
+ /** Dataset distribution for Supervised Tuning. This data type is not supported in Gemini API. */
6633
6647
  export declare interface SupervisedTuningDatasetDistribution {
6634
6648
  /** Output only. Sum of a given population of values that are billable. */
6635
6649
  billableSum?: string;
@@ -6651,7 +6665,7 @@ export declare interface SupervisedTuningDatasetDistribution {
6651
6665
  sum?: string;
6652
6666
  }
6653
6667
 
6654
- /** Dataset bucket used to create a histogram for the distribution given a population of values. */
6668
+ /** Dataset bucket used to create a histogram for the distribution given a population of values. This data type is not supported in Gemini API. */
6655
6669
  export declare interface SupervisedTuningDatasetDistributionDatasetBucket {
6656
6670
  /** Output only. Number of values in the bucket. */
6657
6671
  count?: number;
@@ -6661,7 +6675,7 @@ export declare interface SupervisedTuningDatasetDistributionDatasetBucket {
6661
6675
  right?: number;
6662
6676
  }
6663
6677
 
6664
- /** Tuning data statistics for Supervised Tuning. */
6678
+ /** Tuning data statistics for Supervised Tuning. This data type is not supported in Gemini API. */
6665
6679
  export declare interface SupervisedTuningDataStats {
6666
6680
  /** Output only. For each index in `truncated_example_indices`, the user-facing reason why the example was dropped. */
6667
6681
  droppedExampleReasons?: string[];
@@ -6689,7 +6703,7 @@ export declare interface SupervisedTuningDataStats {
6689
6703
  userOutputTokenDistribution?: SupervisedTuningDatasetDistribution;
6690
6704
  }
6691
6705
 
6692
- /** Tuning Spec for Supervised Tuning for first party models. */
6706
+ /** Tuning Spec for Supervised Tuning for first party models. This data type is not supported in Gemini API. */
6693
6707
  export declare interface SupervisedTuningSpec {
6694
6708
  /** Optional. If set to true, disable intermediate checkpoints for SFT and only the last checkpoint will be exported. Otherwise, enable intermediate checkpoints for SFT. Default is false. */
6695
6709
  exportLastCheckpointOnly?: boolean;
@@ -6843,7 +6857,7 @@ export declare interface TokensInfo {
6843
6857
  export declare interface Tool {
6844
6858
  /** List of function declarations that the tool supports. */
6845
6859
  functionDeclarations?: FunctionDeclaration[];
6846
- /** Optional. Retrieval tool type. System will always execute the provided retrieval tool(s) to get external knowledge to answer the prompt. Retrieval results are presented to the model for generation. */
6860
+ /** Optional. Retrieval tool type. System will always execute the provided retrieval tool(s) to get external knowledge to answer the prompt. Retrieval results are presented to the model for generation. This field is not supported in Gemini API. */
6847
6861
  retrieval?: Retrieval;
6848
6862
  /** Optional. Google Search tool type. Specialized retrieval tool
6849
6863
  that is powered by Google Search. */
@@ -6866,7 +6880,7 @@ export declare interface Tool {
6866
6880
  codeExecution?: ToolCodeExecution;
6867
6881
  }
6868
6882
 
6869
- /** Tool that executes code generated by the model, and automatically returns the result to the model. See also [ExecutableCode]and [CodeExecutionResult] which are input and output to this tool. */
6883
+ /** Tool that executes code generated by the model, and automatically returns the result to the model. See also [ExecutableCode]and [CodeExecutionResult] which are input and output to this tool. This data type is not supported in Gemini API. */
6870
6884
  export declare interface ToolCodeExecution {
6871
6885
  }
6872
6886
 
@@ -6910,10 +6924,18 @@ export declare interface Transcription {
6910
6924
  finished?: boolean;
6911
6925
  }
6912
6926
 
6927
+ /** TunedModel for the Tuned Model of a Tuning Job. */
6913
6928
  export declare interface TunedModel {
6914
- /** Output only. The resource name of the TunedModel. Format: `projects/{project}/locations/{location}/models/{model}@{version_id}` When tuning from a base model, the version_id will be 1. For continuous tuning, the version id will be incremented by 1 from the last version id in the parent model. E.g., `projects/{project}/locations/{location}/models/{model}@{last_version_id + 1}` */
6929
+ /** Output only. The resource name of the TunedModel.
6930
+ Format: `projects/{project}/locations/{location}/models/{model}@{version_id}`
6931
+ When tuning from a base model, the version_id will be 1.
6932
+ For continuous tuning, the version id will be incremented by 1 from the
6933
+ last version id in the parent model. E.g., `projects/{project}/locations/{location}/models/{model}@{last_version_id + 1}`
6934
+ */
6915
6935
  model?: string;
6916
- /** Output only. A resource name of an Endpoint. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`. */
6936
+ /** Output only. A resource name of an Endpoint.
6937
+ Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`.
6938
+ */
6917
6939
  endpoint?: string;
6918
6940
  /** The checkpoints associated with this TunedModel.
6919
6941
  This field is only populated for tuning jobs that enable intermediate
@@ -6958,7 +6980,7 @@ export declare interface TuningDataset {
6958
6980
  examples?: TuningExample[];
6959
6981
  }
6960
6982
 
6961
- /** The tuning data statistic values for TuningJob. */
6983
+ /** The tuning data statistic values for TuningJob. This data type is not supported in Gemini API. */
6962
6984
  export declare interface TuningDataStats {
6963
6985
  /** Output only. Statistics for distillation. */
6964
6986
  distillationDataStats?: DistillationDataStats;
@@ -6968,11 +6990,12 @@ export declare interface TuningDataStats {
6968
6990
  supervisedTuningDataStats?: SupervisedTuningDataStats;
6969
6991
  }
6970
6992
 
6993
+ /** A single example for tuning. This data type is not supported in Vertex AI. */
6971
6994
  export declare interface TuningExample {
6972
- /** Text model input. */
6973
- textInput?: string;
6974
- /** The expected model output. */
6995
+ /** Required. The expected model output. */
6975
6996
  output?: string;
6997
+ /** Optional. Text model input. */
6998
+ textInput?: string;
6976
6999
  }
6977
7000
 
6978
7001
  /** A tuning job. */
@@ -7127,7 +7150,7 @@ export declare enum TuningTask {
7127
7150
  export declare interface TuningValidationDataset {
7128
7151
  /** GCS URI of the file containing validation dataset in JSONL format. */
7129
7152
  gcsUri?: string;
7130
- /** The resource name of the Vertex Multimodal Dataset that is used as training dataset. Example: 'projects/my-project-id-or-number/locations/my-location/datasets/my-dataset-id'. */
7153
+ /** The resource name of the Vertex Multimodal Dataset that is used as validation dataset. Example: 'projects/my-project-id-or-number/locations/my-location/datasets/my-dataset-id'. */
7131
7154
  vertexDatasetResource?: string;
7132
7155
  }
7133
7156
 
@@ -7218,6 +7241,7 @@ declare namespace types {
7218
7241
  createModelContent,
7219
7242
  Outcome,
7220
7243
  Language,
7244
+ FunctionResponseScheduling,
7221
7245
  Type,
7222
7246
  HarmCategory,
7223
7247
  HarmBlockMethod,
@@ -7261,7 +7285,6 @@ declare namespace types {
7261
7285
  EndSensitivity,
7262
7286
  ActivityHandling,
7263
7287
  TurnCoverage,
7264
- FunctionResponseScheduling,
7265
7288
  Scale,
7266
7289
  MusicGenerationMode,
7267
7290
  LiveMusicPlaybackControl,
@@ -7409,7 +7432,6 @@ declare namespace types {
7409
7432
  DeleteModelConfig,
7410
7433
  DeleteModelParameters,
7411
7434
  DeleteModelResponse,
7412
- GenerationConfigThinkingConfig,
7413
7435
  GenerationConfig,
7414
7436
  CountTokensConfig,
7415
7437
  CountTokensParameters,
@@ -7545,6 +7567,7 @@ declare namespace types {
7545
7567
  LiveServerSessionResumptionUpdate,
7546
7568
  LiveServerMessage,
7547
7569
  OperationFromAPIResponseParameters,
7570
+ GenerationConfigThinkingConfig,
7548
7571
  AutomaticActivityDetection,
7549
7572
  RealtimeInputConfig,
7550
7573
  SessionResumptionConfig,
@@ -7829,7 +7852,7 @@ export declare interface UsageMetadata {
7829
7852
  trafficType?: TrafficType;
7830
7853
  }
7831
7854
 
7832
- /** Hyperparameters for Veo. */
7855
+ /** Hyperparameters for Veo. This data type is not supported in Gemini API. */
7833
7856
  export declare interface VeoHyperParameters {
7834
7857
  /** Optional. Number of complete passes the model makes over the entire training dataset during training. */
7835
7858
  epochCount?: string;
@@ -7839,7 +7862,7 @@ export declare interface VeoHyperParameters {
7839
7862
  tuningTask?: TuningTask;
7840
7863
  }
7841
7864
 
7842
- /** Tuning Spec for Veo Model Tuning. */
7865
+ /** Tuning Spec for Veo Model Tuning. This data type is not supported in Gemini API. */
7843
7866
  export declare interface VeoTuningSpec {
7844
7867
  /** Optional. Hyperparameters for Veo. */
7845
7868
  hyperParameters?: VeoHyperParameters;
@@ -7849,7 +7872,7 @@ export declare interface VeoTuningSpec {
7849
7872
  validationDatasetUri?: string;
7850
7873
  }
7851
7874
 
7852
- /** Retrieve from Vertex AI Search datastore or engine for grounding. datastore and engine are mutually exclusive. See https://cloud.google.com/products/agent-builder */
7875
+ /** Retrieve from Vertex AI Search datastore or engine for grounding. datastore and engine are mutually exclusive. See https://cloud.google.com/products/agent-builder. This data type is not supported in Gemini API. */
7853
7876
  export declare interface VertexAISearch {
7854
7877
  /** Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. It should only be set if engine is used. */
7855
7878
  dataStoreSpecs?: VertexAISearchDataStoreSpec[];
@@ -7863,7 +7886,7 @@ export declare interface VertexAISearch {
7863
7886
  maxResults?: number;
7864
7887
  }
7865
7888
 
7866
- /** Define data stores within engine to filter on in a search call and configurations for those data stores. For more information, see https://cloud.google.com/generative-ai-app-builder/docs/reference/rpc/google.cloud.discoveryengine.v1#datastorespec */
7889
+ /** Define data stores within engine to filter on in a search call and configurations for those data stores. For more information, see https://cloud.google.com/generative-ai-app-builder/docs/reference/rpc/google.cloud.discoveryengine.v1#datastorespec. This data type is not supported in Gemini API. */
7867
7890
  export declare interface VertexAISearchDataStoreSpec {
7868
7891
  /** Full resource name of DataStore, such as Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}` */
7869
7892
  dataStore?: string;
@@ -7871,7 +7894,7 @@ export declare interface VertexAISearchDataStoreSpec {
7871
7894
  filter?: string;
7872
7895
  }
7873
7896
 
7874
- /** Retrieve from Vertex RAG Store for grounding. */
7897
+ /** Retrieve from Vertex RAG Store for grounding. This data type is not supported in Gemini API. */
7875
7898
  export declare interface VertexRagStore {
7876
7899
  /** Optional. Deprecated. Please use rag_resources instead. */
7877
7900
  ragCorpora?: string[];
@@ -7887,7 +7910,7 @@ export declare interface VertexRagStore {
7887
7910
  vectorDistanceThreshold?: number;
7888
7911
  }
7889
7912
 
7890
- /** The definition of the Rag resource. */
7913
+ /** The definition of the Rag resource. This data type is not supported in Gemini API. */
7891
7914
  export declare interface VertexRagStoreRagResource {
7892
7915
  /** Optional. RagCorpora resource name. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` */
7893
7916
  ragCorpus?: string;