@@ -36,6 +36,38 @@ export enum AdapterSize {
3636 ADAPTER_SIZE_UNSPECIFIED = " ADAPTER_SIZE_UNSPECIFIED"
3737}
3838
39+ // @public
40+ export enum AggregationMetric {
41+ AGGREGATION_METRIC_UNSPECIFIED = " AGGREGATION_METRIC_UNSPECIFIED" ,
42+ AVERAGE = " AVERAGE" ,
43+ MAXIMUM = " MAXIMUM" ,
44+ MEDIAN = " MEDIAN" ,
45+ MINIMUM = " MINIMUM" ,
46+ MODE = " MODE" ,
47+ PERCENTILE_P90 = " PERCENTILE_P90" ,
48+ PERCENTILE_P95 = " PERCENTILE_P95" ,
49+ PERCENTILE_P99 = " PERCENTILE_P99" ,
50+ STANDARD_DEVIATION = " STANDARD_DEVIATION" ,
51+ VARIANCE = " VARIANCE"
52+ }
53+
54+ // @public
55+ export interface AggregationOutput {
56+ aggregationResults? : AggregationResult [];
57+ dataset? : EvaluationDataset ;
58+ }
59+
60+ // @public
61+ export interface AggregationResult {
62+ aggregationMetric? : AggregationMetric ;
63+ bleuMetricValue? : BleuMetricValue ;
64+ customCodeExecutionResult? : CustomCodeExecutionResult ;
65+ exactMatchMetricValue? : ExactMatchMetricValue ;
66+ pairwiseMetricResult? : PairwiseMetricResult ;
67+ pointwiseMetricResult? : PointwiseMetricResult ;
68+ rougeMetricValue? : RougeMetricValue ;
69+ }
70+
3971// @public
4072export interface ApiAuth {
4173 apiKeyConfig? : ApiAuthApiKeyConfig ;
@@ -87,6 +119,7 @@ export interface AudioTranscriptionConfig {
87119
88120// @public
89121export interface AuthConfig {
122+ apiKey? : string ;
90123 apiKeyConfig? : ApiKeyConfig ;
91124 authType? : AuthType ;
92125 googleServiceAccountConfig? : AuthConfigGoogleServiceAccountConfig ;
@@ -221,6 +254,16 @@ export enum Behavior {
221254 UNSPECIFIED = " UNSPECIFIED"
222255}
223256
257+ // @public
258+ export interface BigQuerySource {
259+ inputUri? : string ;
260+ }
261+
262+ // @public
263+ export interface BleuMetricValue {
264+ score? : number ;
265+ }
266+
224267// @public
225268interface Blob_2 {
226269 data? : string ;
@@ -684,6 +727,11 @@ export interface CreateTuningJobParametersPrivate {
684727// @public
685728export function createUserContent(partOrString : PartListUnion | string ): Content ;
686729
730+ // @public
731+ export interface CustomCodeExecutionResult {
732+ score? : number ;
733+ }
734+
687735// @public
688736export interface CustomMetadata {
689737 key? : string ;
@@ -692,6 +740,11 @@ export interface CustomMetadata {
692740 stringValue? : string ;
693741}
694742
743+ // @public
744+ export interface CustomOutput {
745+ rawOutputs? : RawOutput ;
746+ }
747+
695748// @public
696749export interface DatasetDistribution {
697750 buckets? : DatasetDistributionDistributionBucket [];
@@ -713,6 +766,8 @@ export interface DatasetDistributionDistributionBucket {
713766
714767// @public
715768export interface DatasetStats {
769+ droppedExampleIndices? : string [];
770+ droppedExampleReasons? : string [];
716771 totalBillableCharacterCount? : string ;
717772 totalTuningCharacterCount? : string ;
718773 tuningDatasetExampleCount? : string ;
@@ -1051,6 +1106,32 @@ export enum Environment {
10511106 ENVIRONMENT_UNSPECIFIED = " ENVIRONMENT_UNSPECIFIED"
10521107}
10531108
1109+ // @public
1110+ export class EvaluateDatasetResponse {
1111+ aggregationOutput? : AggregationOutput ;
1112+ outputInfo? : OutputInfo ;
1113+ }
1114+
1115+ // @public
1116+ export interface EvaluateDatasetRun {
1117+ checkpointId? : string ;
1118+ error? : GoogleRpcStatus ;
1119+ evaluateDatasetResponse? : EvaluateDatasetResponse ;
1120+ evaluationRun? : string ;
1121+ operationName? : string ;
1122+ }
1123+
1124+ // @public
1125+ export interface EvaluationDataset {
1126+ bigquerySource? : BigQuerySource ;
1127+ gcsSource? : GcsSource ;
1128+ }
1129+
1130+ // @public
1131+ export interface ExactMatchMetricValue {
1132+ score? : number ;
1133+ }
1134+
10541135// @public
10551136export interface ExecutableCode {
10561137 code? : string ;
@@ -1214,6 +1295,13 @@ export enum FinishReason {
12141295 UNEXPECTED_TOOL_CALL = " UNEXPECTED_TOOL_CALL"
12151296}
12161297
1298+ // @public
1299+ export interface FullFineTuningSpec {
1300+ hyperParameters? : SupervisedHyperParameters ;
1301+ trainingDatasetUri? : string ;
1302+ validationDatasetUri? : string ;
1303+ }
1304+
12171305// @public
12181306export interface FunctionCall {
12191307 args? : Record <string , unknown >;
@@ -1288,6 +1376,11 @@ export enum FunctionResponseScheduling {
12881376 WHEN_IDLE = " WHEN_IDLE"
12891377}
12901378
1379+ // @public
1380+ export interface GcsSource {
1381+ uris? : string [];
1382+ }
1383+
12911384// @public
12921385export interface GeminiPreferenceExample {
12931386 completions? : GeminiPreferenceExampleCompletion [];
@@ -1749,6 +1842,7 @@ export interface GroundingChunkMaps {
17491842// @public
17501843export interface GroundingChunkMapsPlaceAnswerSources {
17511844 flagContentUri? : string ;
1845+ reviewSnippet? : GroundingChunkMapsPlaceAnswerSourcesReviewSnippet [];
17521846 reviewSnippets? : GroundingChunkMapsPlaceAnswerSourcesReviewSnippet [];
17531847}
17541848
@@ -1786,7 +1880,7 @@ export interface GroundingChunkWeb {
17861880 uri? : string ;
17871881}
17881882
1789- // @public (undocumented)
1883+ // @public
17901884export interface GroundingMetadata {
17911885 googleMapsWidgetContextToken? : string ;
17921886 groundingChunks? : GroundingChunk [];
@@ -1909,13 +2003,20 @@ export { Image_2 as Image }
19092003// @public
19102004export interface ImageConfig {
19112005 aspectRatio? : string ;
2006+ imageOutputOptions? : ImageConfigImageOutputOptions ;
19122007 imageSize? : string ;
19132008 outputCompressionQuality? : number ;
19142009 outputMimeType? : string ;
19152010 personGeneration? : string ;
19162011 prominentPeople? : ProminentPeople ;
19172012}
19182013
2014+ // @public
2015+ export interface ImageConfigImageOutputOptions {
2016+ compressionQuality? : number ;
2017+ mimeType? : string ;
2018+ }
2019+
19192020// @public
19202021export enum ImagePromptLanguage {
19212022 auto = " auto" ,
@@ -2703,6 +2804,11 @@ export enum Outcome {
27032804 OUTCOME_UNSPECIFIED = " OUTCOME_UNSPECIFIED"
27042805}
27052806
2807+ // @public
2808+ export interface OutputInfo {
2809+ gcsOutputDirectory? : string ;
2810+ }
2811+
27062812// @public (undocumented)
27072813export enum PagedItem {
27082814 // (undocumented)
@@ -2743,6 +2849,21 @@ export class Pager<T> implements AsyncIterable<T> {
27432849 get sdkHttpResponse(): types .HttpResponse | undefined ;
27442850}
27452851
2852+ // @public
2853+ export enum PairwiseChoice {
2854+ BASELINE = " BASELINE" ,
2855+ CANDIDATE = " CANDIDATE" ,
2856+ PAIRWISE_CHOICE_UNSPECIFIED = " PAIRWISE_CHOICE_UNSPECIFIED" ,
2857+ TIE = " TIE"
2858+ }
2859+
2860+ // @public
2861+ export interface PairwiseMetricResult {
2862+ customOutput? : CustomOutput ;
2863+ explanation? : string ;
2864+ pairwiseChoice? : PairwiseChoice ;
2865+ }
2866+
27462867// @public
27472868export interface Part {
27482869 codeExecutionResult? : CodeExecutionResult ;
@@ -2814,13 +2935,22 @@ export enum PhishBlockThreshold {
28142935 PHISH_BLOCK_THRESHOLD_UNSPECIFIED = " PHISH_BLOCK_THRESHOLD_UNSPECIFIED"
28152936}
28162937
2938+ // @public
2939+ export interface PointwiseMetricResult {
2940+ customOutput? : CustomOutput ;
2941+ explanation? : string ;
2942+ score? : number ;
2943+ }
2944+
28172945// @public
28182946export interface PrebuiltVoiceConfig {
28192947 voiceName? : string ;
28202948}
28212949
28222950// @public
28232951export interface PreferenceOptimizationDataStats {
2952+ droppedExampleIndices? : string [];
2953+ droppedExampleReasons? : string [];
28242954 scoresDistribution? : DatasetDistribution ;
28252955 scoreVariancePerExampleDistribution? : DatasetDistribution ;
28262956 totalBillableTokenCount? : string ;
@@ -2919,6 +3049,11 @@ export interface RagRetrievalConfigRankingRankService {
29193049 modelName? : string ;
29203050}
29213051
3052+ // @public
3053+ export interface RawOutput {
3054+ rawOutput? : string [];
3055+ }
3056+
29223057// @public
29233058export class RawReferenceImage {
29243059 referenceId? : number ;
@@ -3062,6 +3197,11 @@ export interface RetrievalMetadata {
30623197 googleSearchDynamicRetrievalScore? : number ;
30633198}
30643199
3200+ // @public
3201+ export interface RougeMetricValue {
3202+ score? : number ;
3203+ }
3204+
30653205// @public
30663206export interface SafetyAttributes {
30673207 categories? : string [];
@@ -3449,6 +3589,7 @@ export interface Tool {
34493589 googleSearch? : GoogleSearch ;
34503590 googleSearchRetrieval? : GoogleSearchRetrieval ;
34513591 mcpServers? : McpServer [];
3592+ parallelAiSearch? : ToolParallelAiSearch ;
34523593 retrieval? : Retrieval ;
34533594 urlContext? : UrlContext ;
34543595}
@@ -3466,12 +3607,20 @@ export interface ToolConfig {
34663607// @public (undocumented)
34673608export type ToolListUnion = ToolUnion [];
34683609
3610+ // @public
3611+ export interface ToolParallelAiSearch {
3612+ apiKey? : string ;
3613+ customConfigs? : Record <string , unknown >;
3614+ }
3615+
34693616// @public (undocumented)
34703617export type ToolUnion = Tool | CallableTool ;
34713618
34723619// @public
34733620export enum TrafficType {
34743621 ON_DEMAND = " ON_DEMAND" ,
3622+ ON_DEMAND_FLEX = " ON_DEMAND_FLEX" ,
3623+ ON_DEMAND_PRIORITY = " ON_DEMAND_PRIORITY" ,
34753624 PROVISIONED_THROUGHPUT = " PROVISIONED_THROUGHPUT" ,
34763625 TRAFFIC_TYPE_UNSPECIFIED = " TRAFFIC_TYPE_UNSPECIFIED"
34773626}
@@ -3534,7 +3683,9 @@ export interface TuningJob {
35343683 encryptionSpec? : EncryptionSpec ;
35353684 endTime? : string ;
35363685 error? : GoogleRpcStatus ;
3686+ evaluateDatasetRuns? : EvaluateDatasetRun [];
35373687 experiment? : string ;
3688+ fullFineTuningSpec? : FullFineTuningSpec ;
35383689 labels? : Record <string , string >;
35393690 name? : string ;
35403691 outputUri? : string ;
@@ -3550,10 +3701,21 @@ export interface TuningJob {
35503701 tunedModel? : TunedModel ;
35513702 tunedModelDisplayName? : string ;
35523703 tuningDataStats? : TuningDataStats ;
3704+ tuningJobState? : TuningJobState ;
35533705 updateTime? : string ;
35543706 veoTuningSpec? : VeoTuningSpec ;
35553707}
35563708
3709+ // @public
3710+ export enum TuningJobState {
3711+ TUNING_JOB_STATE_POST_PROCESSING = " TUNING_JOB_STATE_POST_PROCESSING" ,
3712+ TUNING_JOB_STATE_PROCESSING_DATASET = " TUNING_JOB_STATE_PROCESSING_DATASET" ,
3713+ TUNING_JOB_STATE_TUNING = " TUNING_JOB_STATE_TUNING" ,
3714+ TUNING_JOB_STATE_UNSPECIFIED = " TUNING_JOB_STATE_UNSPECIFIED" ,
3715+ TUNING_JOB_STATE_WAITING_FOR_CAPACITY = " TUNING_JOB_STATE_WAITING_FOR_CAPACITY" ,
3716+ TUNING_JOB_STATE_WAITING_FOR_QUOTA = " TUNING_JOB_STATE_WAITING_FOR_QUOTA"
3717+ }
3718+
35573719// @public
35583720export enum TuningMethod {
35593721 DISTILLATION = " DISTILLATION" ,
@@ -3794,6 +3956,7 @@ export interface VeoHyperParameters {
37943956 epochCount? : string ;
37953957 learningRateMultiplier? : number ;
37963958 tuningTask? : TuningTask ;
3959+ veoDataMixtureRatio? : number ;
37973960}
37983961
37993962// @public
0 commit comments