google-apis-aiplatform_v1 0.70.0 → 0.72.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.
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AiplatformV1
18
18
  # Version of the google-apis-aiplatform_v1 gem
19
- GEM_VERSION = "0.70.0"
19
+ GEM_VERSION = "0.72.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20251010"
25
+ REVISION = "20251101"
26
26
  end
27
27
  end
28
28
  end
@@ -1006,6 +1006,12 @@ module Google
1006
1006
  include Google::Apis::Core::JsonObjectSupport
1007
1007
  end
1008
1008
 
1009
+ class GoogleCloudAiplatformV1CustomCodeExecutionSpec
1010
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1011
+
1012
+ include Google::Apis::Core::JsonObjectSupport
1013
+ end
1014
+
1009
1015
  class GoogleCloudAiplatformV1CustomJob
1010
1016
  class Representation < Google::Apis::Core::JsonRepresentation; end
1011
1017
 
@@ -1054,6 +1060,18 @@ module Google
1054
1060
  include Google::Apis::Core::JsonObjectSupport
1055
1061
  end
1056
1062
 
1063
+ class GoogleCloudAiplatformV1DatasetDistribution
1064
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1065
+
1066
+ include Google::Apis::Core::JsonObjectSupport
1067
+ end
1068
+
1069
+ class GoogleCloudAiplatformV1DatasetDistributionDistributionBucket
1070
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1071
+
1072
+ include Google::Apis::Core::JsonObjectSupport
1073
+ end
1074
+
1057
1075
  class GoogleCloudAiplatformV1DatasetVersion
1058
1076
  class Representation < Google::Apis::Core::JsonRepresentation; end
1059
1077
 
@@ -1408,6 +1426,36 @@ module Google
1408
1426
  include Google::Apis::Core::JsonObjectSupport
1409
1427
  end
1410
1428
 
1429
+ class GoogleCloudAiplatformV1EvaluationInstanceAgentConfig
1430
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1431
+
1432
+ include Google::Apis::Core::JsonObjectSupport
1433
+ end
1434
+
1435
+ class GoogleCloudAiplatformV1EvaluationInstanceAgentConfigTools
1436
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1437
+
1438
+ include Google::Apis::Core::JsonObjectSupport
1439
+ end
1440
+
1441
+ class GoogleCloudAiplatformV1EvaluationInstanceAgentData
1442
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1443
+
1444
+ include Google::Apis::Core::JsonObjectSupport
1445
+ end
1446
+
1447
+ class GoogleCloudAiplatformV1EvaluationInstanceAgentDataEvents
1448
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1449
+
1450
+ include Google::Apis::Core::JsonObjectSupport
1451
+ end
1452
+
1453
+ class GoogleCloudAiplatformV1EvaluationInstanceAgentDataTools
1454
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1455
+
1456
+ include Google::Apis::Core::JsonObjectSupport
1457
+ end
1458
+
1411
1459
  class GoogleCloudAiplatformV1EvaluationInstanceInstanceData
1412
1460
  class Representation < Google::Apis::Core::JsonRepresentation; end
1413
1461
 
@@ -2278,6 +2326,24 @@ module Google
2278
2326
  include Google::Apis::Core::JsonObjectSupport
2279
2327
  end
2280
2328
 
2329
+ class GoogleCloudAiplatformV1FunctionResponseBlob
2330
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2331
+
2332
+ include Google::Apis::Core::JsonObjectSupport
2333
+ end
2334
+
2335
+ class GoogleCloudAiplatformV1FunctionResponseFileData
2336
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2337
+
2338
+ include Google::Apis::Core::JsonObjectSupport
2339
+ end
2340
+
2341
+ class GoogleCloudAiplatformV1FunctionResponsePart
2342
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2343
+
2344
+ include Google::Apis::Core::JsonObjectSupport
2345
+ end
2346
+
2281
2347
  class GoogleCloudAiplatformV1GcsDestination
2282
2348
  class Representation < Google::Apis::Core::JsonRepresentation; end
2283
2349
 
@@ -2296,6 +2362,18 @@ module Google
2296
2362
  include Google::Apis::Core::JsonObjectSupport
2297
2363
  end
2298
2364
 
2365
+ class GoogleCloudAiplatformV1GeminiPreferenceExample
2366
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2367
+
2368
+ include Google::Apis::Core::JsonObjectSupport
2369
+ end
2370
+
2371
+ class GoogleCloudAiplatformV1GeminiPreferenceExampleCompletion
2372
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2373
+
2374
+ include Google::Apis::Core::JsonObjectSupport
2375
+ end
2376
+
2299
2377
  class GoogleCloudAiplatformV1GenAiAdvancedFeaturesConfig
2300
2378
  class Representation < Google::Apis::Core::JsonRepresentation; end
2301
2379
 
@@ -2542,6 +2620,12 @@ module Google
2542
2620
  include Google::Apis::Core::JsonObjectSupport
2543
2621
  end
2544
2622
 
2623
+ class GoogleCloudAiplatformV1ImageConfigImageOutputOptions
2624
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2625
+
2626
+ include Google::Apis::Core::JsonObjectSupport
2627
+ end
2628
+
2545
2629
  class GoogleCloudAiplatformV1ImportDataConfig
2546
2630
  class Representation < Google::Apis::Core::JsonRepresentation; end
2547
2631
 
@@ -3994,6 +4078,24 @@ module Google
3994
4078
  include Google::Apis::Core::JsonObjectSupport
3995
4079
  end
3996
4080
 
4081
+ class GoogleCloudAiplatformV1PreferenceOptimizationDataStats
4082
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4083
+
4084
+ include Google::Apis::Core::JsonObjectSupport
4085
+ end
4086
+
4087
+ class GoogleCloudAiplatformV1PreferenceOptimizationHyperParameters
4088
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4089
+
4090
+ include Google::Apis::Core::JsonObjectSupport
4091
+ end
4092
+
4093
+ class GoogleCloudAiplatformV1PreferenceOptimizationSpec
4094
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4095
+
4096
+ include Google::Apis::Core::JsonObjectSupport
4097
+ end
4098
+
3997
4099
  class GoogleCloudAiplatformV1Presets
3998
4100
  class Representation < Google::Apis::Core::JsonRepresentation; end
3999
4101
 
@@ -4630,6 +4732,24 @@ module Google
4630
4732
  include Google::Apis::Core::JsonObjectSupport
4631
4733
  end
4632
4734
 
4735
+ class GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpec
4736
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4737
+
4738
+ include Google::Apis::Core::JsonObjectSupport
4739
+ end
4740
+
4741
+ class GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpecInlineSource
4742
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4743
+
4744
+ include Google::Apis::Core::JsonObjectSupport
4745
+ end
4746
+
4747
+ class GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpecPythonSpec
4748
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4749
+
4750
+ include Google::Apis::Core::JsonObjectSupport
4751
+ end
4752
+
4633
4753
  class GoogleCloudAiplatformV1RebaseTunedModelRequest
4634
4754
  class Representation < Google::Apis::Core::JsonRepresentation; end
4635
4755
 
@@ -6670,6 +6790,12 @@ module Google
6670
6790
  include Google::Apis::Core::JsonObjectSupport
6671
6791
  end
6672
6792
 
6793
+ class GoogleCloudAiplatformV1ToolComputerUse
6794
+ class Representation < Google::Apis::Core::JsonRepresentation; end
6795
+
6796
+ include Google::Apis::Core::JsonObjectSupport
6797
+ end
6798
+
6673
6799
  class GoogleCloudAiplatformV1ToolConfig
6674
6800
  class Representation < Google::Apis::Core::JsonRepresentation; end
6675
6801
 
@@ -8979,6 +9105,13 @@ module Google
8979
9105
  end
8980
9106
  end
8981
9107
 
9108
+ class GoogleCloudAiplatformV1CustomCodeExecutionSpec
9109
+ # @private
9110
+ class Representation < Google::Apis::Core::JsonRepresentation
9111
+ property :evaluation_function, as: 'evaluationFunction'
9112
+ end
9113
+ end
9114
+
8982
9115
  class GoogleCloudAiplatformV1CustomJob
8983
9116
  # @private
8984
9117
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -9119,6 +9252,30 @@ module Google
9119
9252
  end
9120
9253
  end
9121
9254
 
9255
+ class GoogleCloudAiplatformV1DatasetDistribution
9256
+ # @private
9257
+ class Representation < Google::Apis::Core::JsonRepresentation
9258
+ collection :buckets, as: 'buckets', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetDistributionDistributionBucket, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetDistributionDistributionBucket::Representation
9259
+
9260
+ property :max, as: 'max'
9261
+ property :mean, as: 'mean'
9262
+ property :median, as: 'median'
9263
+ property :min, as: 'min'
9264
+ property :p5, as: 'p5'
9265
+ property :p95, as: 'p95'
9266
+ property :sum, as: 'sum'
9267
+ end
9268
+ end
9269
+
9270
+ class GoogleCloudAiplatformV1DatasetDistributionDistributionBucket
9271
+ # @private
9272
+ class Representation < Google::Apis::Core::JsonRepresentation
9273
+ property :count, :numeric_string => true, as: 'count'
9274
+ property :left, as: 'left'
9275
+ property :right, as: 'right'
9276
+ end
9277
+ end
9278
+
9122
9279
  class GoogleCloudAiplatformV1DatasetVersion
9123
9280
  # @private
9124
9281
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -9882,6 +10039,8 @@ module Google
9882
10039
  class GoogleCloudAiplatformV1EvaluationInstance
9883
10040
  # @private
9884
10041
  class Representation < Google::Apis::Core::JsonRepresentation
10042
+ property :agent_data, as: 'agentData', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceAgentData, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceAgentData::Representation
10043
+
9885
10044
  property :other_data, as: 'otherData', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceMapInstance, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceMapInstance::Representation
9886
10045
 
9887
10046
  property :prompt, as: 'prompt', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceInstanceData, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceInstanceData::Representation
@@ -9895,6 +10054,56 @@ module Google
9895
10054
  end
9896
10055
  end
9897
10056
 
10057
+ class GoogleCloudAiplatformV1EvaluationInstanceAgentConfig
10058
+ # @private
10059
+ class Representation < Google::Apis::Core::JsonRepresentation
10060
+ property :developer_instruction, as: 'developerInstruction', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceInstanceData, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceInstanceData::Representation
10061
+
10062
+ property :tools, as: 'tools', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceAgentConfigTools, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceAgentConfigTools::Representation
10063
+
10064
+ property :tools_text, as: 'toolsText'
10065
+ end
10066
+ end
10067
+
10068
+ class GoogleCloudAiplatformV1EvaluationInstanceAgentConfigTools
10069
+ # @private
10070
+ class Representation < Google::Apis::Core::JsonRepresentation
10071
+ collection :tool, as: 'tool', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Tool, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Tool::Representation
10072
+
10073
+ end
10074
+ end
10075
+
10076
+ class GoogleCloudAiplatformV1EvaluationInstanceAgentData
10077
+ # @private
10078
+ class Representation < Google::Apis::Core::JsonRepresentation
10079
+ property :agent_config, as: 'agentConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceAgentConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceAgentConfig::Representation
10080
+
10081
+ property :developer_instruction, as: 'developerInstruction', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceInstanceData, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceInstanceData::Representation
10082
+
10083
+ property :events, as: 'events', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceAgentDataEvents, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceAgentDataEvents::Representation
10084
+
10085
+ property :tools, as: 'tools', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceAgentDataTools, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceAgentDataTools::Representation
10086
+
10087
+ property :tools_text, as: 'toolsText'
10088
+ end
10089
+ end
10090
+
10091
+ class GoogleCloudAiplatformV1EvaluationInstanceAgentDataEvents
10092
+ # @private
10093
+ class Representation < Google::Apis::Core::JsonRepresentation
10094
+ collection :event, as: 'event', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content::Representation
10095
+
10096
+ end
10097
+ end
10098
+
10099
+ class GoogleCloudAiplatformV1EvaluationInstanceAgentDataTools
10100
+ # @private
10101
+ class Representation < Google::Apis::Core::JsonRepresentation
10102
+ collection :tool, as: 'tool', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Tool, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Tool::Representation
10103
+
10104
+ end
10105
+ end
10106
+
9898
10107
  class GoogleCloudAiplatformV1EvaluationInstanceInstanceData
9899
10108
  # @private
9900
10109
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -10097,6 +10306,8 @@ module Google
10097
10306
  property :llm_based_metric_spec, as: 'llmBasedMetricSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationRunMetricLlmBasedMetricSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationRunMetricLlmBasedMetricSpec::Representation
10098
10307
 
10099
10308
  property :metric, as: 'metric'
10309
+ property :metric_config, as: 'metricConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Metric, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Metric::Representation
10310
+
10100
10311
  property :predefined_metric_spec, as: 'predefinedMetricSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationRunMetricPredefinedMetricSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationRunMetricPredefinedMetricSpec::Representation
10101
10312
 
10102
10313
  property :rubric_based_metric_spec, as: 'rubricBasedMetricSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationRunMetricRubricBasedMetricSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationRunMetricRubricBasedMetricSpec::Representation
@@ -11387,10 +11598,40 @@ module Google
11387
11598
  # @private
11388
11599
  class Representation < Google::Apis::Core::JsonRepresentation
11389
11600
  property :name, as: 'name'
11601
+ collection :parts, as: 'parts', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FunctionResponsePart, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FunctionResponsePart::Representation
11602
+
11390
11603
  hash :response, as: 'response'
11391
11604
  end
11392
11605
  end
11393
11606
 
11607
+ class GoogleCloudAiplatformV1FunctionResponseBlob
11608
+ # @private
11609
+ class Representation < Google::Apis::Core::JsonRepresentation
11610
+ property :data, :base64 => true, as: 'data'
11611
+ property :display_name, as: 'displayName'
11612
+ property :mime_type, as: 'mimeType'
11613
+ end
11614
+ end
11615
+
11616
+ class GoogleCloudAiplatformV1FunctionResponseFileData
11617
+ # @private
11618
+ class Representation < Google::Apis::Core::JsonRepresentation
11619
+ property :display_name, as: 'displayName'
11620
+ property :file_uri, as: 'fileUri'
11621
+ property :mime_type, as: 'mimeType'
11622
+ end
11623
+ end
11624
+
11625
+ class GoogleCloudAiplatformV1FunctionResponsePart
11626
+ # @private
11627
+ class Representation < Google::Apis::Core::JsonRepresentation
11628
+ property :file_data, as: 'fileData', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FunctionResponseFileData, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FunctionResponseFileData::Representation
11629
+
11630
+ property :inline_data, as: 'inlineData', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FunctionResponseBlob, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FunctionResponseBlob::Representation
11631
+
11632
+ end
11633
+ end
11634
+
11394
11635
  class GoogleCloudAiplatformV1GcsDestination
11395
11636
  # @private
11396
11637
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -11412,6 +11653,25 @@ module Google
11412
11653
  end
11413
11654
  end
11414
11655
 
11656
+ class GoogleCloudAiplatformV1GeminiPreferenceExample
11657
+ # @private
11658
+ class Representation < Google::Apis::Core::JsonRepresentation
11659
+ collection :completions, as: 'completions', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GeminiPreferenceExampleCompletion, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GeminiPreferenceExampleCompletion::Representation
11660
+
11661
+ collection :contents, as: 'contents', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content::Representation
11662
+
11663
+ end
11664
+ end
11665
+
11666
+ class GoogleCloudAiplatformV1GeminiPreferenceExampleCompletion
11667
+ # @private
11668
+ class Representation < Google::Apis::Core::JsonRepresentation
11669
+ property :completion, as: 'completion', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content::Representation
11670
+
11671
+ property :score, as: 'score'
11672
+ end
11673
+ end
11674
+
11415
11675
  class GoogleCloudAiplatformV1GenAiAdvancedFeaturesConfig
11416
11676
  # @private
11417
11677
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -11512,6 +11772,8 @@ module Google
11512
11772
  class GoogleCloudAiplatformV1GenerateInstanceRubricsRequest
11513
11773
  # @private
11514
11774
  class Representation < Google::Apis::Core::JsonRepresentation
11775
+ property :agent_config, as: 'agentConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceAgentConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceAgentConfig::Representation
11776
+
11515
11777
  collection :contents, as: 'contents', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content::Representation
11516
11778
 
11517
11779
  property :predefined_rubric_generation_spec, as: 'predefinedRubricGenerationSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PredefinedMetricSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PredefinedMetricSpec::Representation
@@ -11855,6 +12117,17 @@ module Google
11855
12117
  # @private
11856
12118
  class Representation < Google::Apis::Core::JsonRepresentation
11857
12119
  property :aspect_ratio, as: 'aspectRatio'
12120
+ property :image_output_options, as: 'imageOutputOptions', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ImageConfigImageOutputOptions, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ImageConfigImageOutputOptions::Representation
12121
+
12122
+ property :person_generation, as: 'personGeneration'
12123
+ end
12124
+ end
12125
+
12126
+ class GoogleCloudAiplatformV1ImageConfigImageOutputOptions
12127
+ # @private
12128
+ class Representation < Google::Apis::Core::JsonRepresentation
12129
+ property :compression_quality, as: 'compressionQuality'
12130
+ property :mime_type, as: 'mimeType'
11858
12131
  end
11859
12132
  end
11860
12133
 
@@ -12861,6 +13134,8 @@ module Google
12861
13134
  collection :aggregation_metrics, as: 'aggregationMetrics'
12862
13135
  property :bleu_spec, as: 'bleuSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1BleuSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1BleuSpec::Representation
12863
13136
 
13137
+ property :custom_code_execution_spec, as: 'customCodeExecutionSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CustomCodeExecutionSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CustomCodeExecutionSpec::Representation
13138
+
12864
13139
  property :exact_match_spec, as: 'exactMatchSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ExactMatchSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ExactMatchSpec::Representation
12865
13140
 
12866
13141
  property :llm_based_metric_spec, as: 'llmBasedMetricSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1LlmBasedMetricSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1LlmBasedMetricSpec::Representation
@@ -14480,6 +14755,48 @@ module Google
14480
14755
  end
14481
14756
  end
14482
14757
 
14758
+ class GoogleCloudAiplatformV1PreferenceOptimizationDataStats
14759
+ # @private
14760
+ class Representation < Google::Apis::Core::JsonRepresentation
14761
+ collection :dropped_example_indices, as: 'droppedExampleIndices'
14762
+ collection :dropped_example_reasons, as: 'droppedExampleReasons'
14763
+ property :score_variance_per_example_distribution, as: 'scoreVariancePerExampleDistribution', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetDistribution, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetDistribution::Representation
14764
+
14765
+ property :scores_distribution, as: 'scoresDistribution', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetDistribution, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetDistribution::Representation
14766
+
14767
+ property :total_billable_token_count, :numeric_string => true, as: 'totalBillableTokenCount'
14768
+ property :tuning_dataset_example_count, :numeric_string => true, as: 'tuningDatasetExampleCount'
14769
+ property :tuning_step_count, :numeric_string => true, as: 'tuningStepCount'
14770
+ collection :user_dataset_examples, as: 'userDatasetExamples', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GeminiPreferenceExample, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GeminiPreferenceExample::Representation
14771
+
14772
+ property :user_input_token_distribution, as: 'userInputTokenDistribution', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetDistribution, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetDistribution::Representation
14773
+
14774
+ property :user_output_token_distribution, as: 'userOutputTokenDistribution', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetDistribution, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetDistribution::Representation
14775
+
14776
+ end
14777
+ end
14778
+
14779
+ class GoogleCloudAiplatformV1PreferenceOptimizationHyperParameters
14780
+ # @private
14781
+ class Representation < Google::Apis::Core::JsonRepresentation
14782
+ property :adapter_size, as: 'adapterSize'
14783
+ property :beta, as: 'beta'
14784
+ property :epoch_count, :numeric_string => true, as: 'epochCount'
14785
+ property :learning_rate_multiplier, as: 'learningRateMultiplier'
14786
+ end
14787
+ end
14788
+
14789
+ class GoogleCloudAiplatformV1PreferenceOptimizationSpec
14790
+ # @private
14791
+ class Representation < Google::Apis::Core::JsonRepresentation
14792
+ property :export_last_checkpoint_only, as: 'exportLastCheckpointOnly'
14793
+ property :hyper_parameters, as: 'hyperParameters', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PreferenceOptimizationHyperParameters, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PreferenceOptimizationHyperParameters::Representation
14794
+
14795
+ property :training_dataset_uri, as: 'trainingDatasetUri'
14796
+ property :validation_dataset_uri, as: 'validationDatasetUri'
14797
+ end
14798
+ end
14799
+
14483
14800
  class GoogleCloudAiplatformV1Presets
14484
14801
  # @private
14485
14802
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -15050,6 +15367,8 @@ module Google
15050
15367
  property :encryption_spec, as: 'encryptionSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec::Representation
15051
15368
 
15052
15369
  property :name, as: 'name'
15370
+ property :satisfies_pzi, as: 'satisfiesPzi'
15371
+ property :satisfies_pzs, as: 'satisfiesPzs'
15053
15372
  property :update_time, as: 'updateTime'
15054
15373
  property :vector_db_config, as: 'vectorDbConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagVectorDbConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagVectorDbConfig::Representation
15055
15374
 
@@ -15485,6 +15804,8 @@ module Google
15485
15804
  property :package_spec, as: 'packageSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ReasoningEngineSpecPackageSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ReasoningEngineSpecPackageSpec::Representation
15486
15805
 
15487
15806
  property :service_account, as: 'serviceAccount'
15807
+ property :source_code_spec, as: 'sourceCodeSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpec::Representation
15808
+
15488
15809
  end
15489
15810
  end
15490
15811
 
@@ -15514,6 +15835,33 @@ module Google
15514
15835
  end
15515
15836
  end
15516
15837
 
15838
+ class GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpec
15839
+ # @private
15840
+ class Representation < Google::Apis::Core::JsonRepresentation
15841
+ property :inline_source, as: 'inlineSource', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpecInlineSource, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpecInlineSource::Representation
15842
+
15843
+ property :python_spec, as: 'pythonSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpecPythonSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpecPythonSpec::Representation
15844
+
15845
+ end
15846
+ end
15847
+
15848
+ class GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpecInlineSource
15849
+ # @private
15850
+ class Representation < Google::Apis::Core::JsonRepresentation
15851
+ property :source_archive, :base64 => true, as: 'sourceArchive'
15852
+ end
15853
+ end
15854
+
15855
+ class GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpecPythonSpec
15856
+ # @private
15857
+ class Representation < Google::Apis::Core::JsonRepresentation
15858
+ property :entrypoint_module, as: 'entrypointModule'
15859
+ property :entrypoint_object, as: 'entrypointObject'
15860
+ property :requirements_file, as: 'requirementsFile'
15861
+ property :version, as: 'version'
15862
+ end
15863
+ end
15864
+
15517
15865
  class GoogleCloudAiplatformV1RebaseTunedModelRequest
15518
15866
  # @private
15519
15867
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -18802,6 +19150,8 @@ module Google
18802
19150
  class Representation < Google::Apis::Core::JsonRepresentation
18803
19151
  property :code_execution, as: 'codeExecution', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ToolCodeExecution, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ToolCodeExecution::Representation
18804
19152
 
19153
+ property :computer_use, as: 'computerUse', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ToolComputerUse, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ToolComputerUse::Representation
19154
+
18805
19155
  property :enterprise_web_search, as: 'enterpriseWebSearch', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EnterpriseWebSearch, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EnterpriseWebSearch::Representation
18806
19156
 
18807
19157
  collection :function_declarations, as: 'functionDeclarations', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FunctionDeclaration, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FunctionDeclaration::Representation
@@ -18872,6 +19222,14 @@ module Google
18872
19222
  end
18873
19223
  end
18874
19224
 
19225
+ class GoogleCloudAiplatformV1ToolComputerUse
19226
+ # @private
19227
+ class Representation < Google::Apis::Core::JsonRepresentation
19228
+ property :environment, as: 'environment'
19229
+ collection :excluded_predefined_functions, as: 'excludedPredefinedFunctions'
19230
+ end
19231
+ end
19232
+
18875
19233
  class GoogleCloudAiplatformV1ToolConfig
18876
19234
  # @private
18877
19235
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -19365,6 +19723,8 @@ module Google
19365
19723
  class GoogleCloudAiplatformV1TuningDataStats
19366
19724
  # @private
19367
19725
  class Representation < Google::Apis::Core::JsonRepresentation
19726
+ property :preference_optimization_data_stats, as: 'preferenceOptimizationDataStats', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PreferenceOptimizationDataStats, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PreferenceOptimizationDataStats::Representation
19727
+
19368
19728
  property :supervised_tuning_data_stats, as: 'supervisedTuningDataStats', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SupervisedTuningDataStats, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SupervisedTuningDataStats::Representation
19369
19729
 
19370
19730
  end
@@ -19386,6 +19746,8 @@ module Google
19386
19746
  property :name, as: 'name'
19387
19747
  property :pre_tuned_model, as: 'preTunedModel', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PreTunedModel, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PreTunedModel::Representation
19388
19748
 
19749
+ property :preference_optimization_spec, as: 'preferenceOptimizationSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PreferenceOptimizationSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PreferenceOptimizationSpec::Representation
19750
+
19389
19751
  property :service_account, as: 'serviceAccount'
19390
19752
  property :start_time, as: 'startTime'
19391
19753
  property :state, as: 'state'