google-apis-aiplatform_v1beta1 0.64.0 → 0.65.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5222202834bc54083f197b95f6262c3f254292d4b6f1e875ee5e0e8c2f156339
4
- data.tar.gz: 9a1a9dba0f4e1eb0d152954c9ec782691679cb387b1088f402df26f5452e144e
3
+ metadata.gz: a0b6a3c32a51c5b30c4db4804c8f7ad3b832be4c12c753d3e626d6f77b384580
4
+ data.tar.gz: 8a3d560b0185620ebbdcb4dbe9d463b8cf714a0fca811ec5fc7d62779e00ff97
5
5
  SHA512:
6
- metadata.gz: b9e0fd6250f32602ee46e1b97384f4d369fcedc0a03b8b05dedd637648e5566eedf06ac74df56583ad36a0d1b89394c32ec50385f87a15e784e949d04b5b6113
7
- data.tar.gz: 27edebb08025bb2a69d4114e59e92d08c336f5f524eefef99b0c01939147be5508569ec5e0640d5de10397d3b70c4a39b28a6de5e235b8d1b7fadd61de067f60
6
+ metadata.gz: 7d6004812b1d6f6b97db71fc4657815c553b73bff08b814d044eceb7b51a809549e779e6691f0422ec54eb10a2ceab8cf1b65a6c097b8928bd42ce946b44bbd3
7
+ data.tar.gz: 945b1677617e28b43ad4ff692ebd07607b6202729189e90782829356e6092e15da2e2b78ac7e6fce27b84647dd3ec52582f15b0c25fb4742bb8f54d6e2919f54
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-aiplatform_v1beta1
2
2
 
3
+ ### v0.65.0 (2025-11-02)
4
+
5
+ * Regenerated from discovery document revision 20251027
6
+
3
7
  ### v0.64.0 (2025-10-26)
4
8
 
5
9
  * Regenerated from discovery document revision 20251010
@@ -3661,6 +3661,12 @@ module Google
3661
3661
  # @return [String]
3662
3662
  attr_accessor :candidate
3663
3663
 
3664
+ # Optional. Intermediate events (such as tool calls and responses) that led to
3665
+ # the final response.
3666
+ # Corresponds to the JSON property `events`
3667
+ # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Content>]
3668
+ attr_accessor :events
3669
+
3664
3670
  # Text response.
3665
3671
  # Corresponds to the JSON property `text`
3666
3672
  # @return [String]
@@ -3678,6 +3684,7 @@ module Google
3678
3684
  # Update properties of this object
3679
3685
  def update!(**args)
3680
3686
  @candidate = args[:candidate] if args.key?(:candidate)
3687
+ @events = args[:events] if args.key?(:events)
3681
3688
  @text = args[:text] if args.key?(:text)
3682
3689
  @value = args[:value] if args.key?(:value)
3683
3690
  end
@@ -6756,7 +6763,7 @@ module Google
6756
6763
  class GoogleCloudAiplatformV1beta1DedicatedResourcesScaleToZeroSpec
6757
6764
  include Google::Apis::Core::Hashable
6758
6765
 
6759
- # Optional. Duration of no traffic before scaling to zero. [MinValue=3600] (5
6766
+ # Optional. Duration of no traffic before scaling to zero. [MinValue=300] (5
6760
6767
  # minutes) [MaxValue=28800] (8 hours)
6761
6768
  # Corresponds to the JSON property `idleScaledownPeriod`
6762
6769
  # @return [String]
@@ -9721,6 +9728,11 @@ module Google
9721
9728
  class GoogleCloudAiplatformV1beta1EvaluationInstance
9722
9729
  include Google::Apis::Core::Hashable
9723
9730
 
9731
+ # Contains data specific to agent evaluations.
9732
+ # Corresponds to the JSON property `agentData`
9733
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationInstanceAgentData]
9734
+ attr_accessor :agent_data
9735
+
9724
9736
  # Instance data specified as a map.
9725
9737
  # Corresponds to the JSON property `otherData`
9726
9738
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationInstanceMapInstance]
@@ -9754,6 +9766,7 @@ module Google
9754
9766
 
9755
9767
  # Update properties of this object
9756
9768
  def update!(**args)
9769
+ @agent_data = args[:agent_data] if args.key?(:agent_data)
9757
9770
  @other_data = args[:other_data] if args.key?(:other_data)
9758
9771
  @prompt = args[:prompt] if args.key?(:prompt)
9759
9772
  @reference = args[:reference] if args.key?(:reference)
@@ -9762,6 +9775,150 @@ module Google
9762
9775
  end
9763
9776
  end
9764
9777
 
9778
+ # Configuration for an Agent.
9779
+ class GoogleCloudAiplatformV1beta1EvaluationInstanceAgentConfig
9780
+ include Google::Apis::Core::Hashable
9781
+
9782
+ # Instance data used to populate placeholders in a metric prompt template.
9783
+ # Corresponds to the JSON property `developerInstruction`
9784
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationInstanceInstanceData]
9785
+ attr_accessor :developer_instruction
9786
+
9787
+ # Represents a list of tools for an agent.
9788
+ # Corresponds to the JSON property `tools`
9789
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationInstanceAgentConfigTools]
9790
+ attr_accessor :tools
9791
+
9792
+ # A JSON string containing a list of tools available to an agent with info such
9793
+ # as name, description, parameters and required parameters.
9794
+ # Corresponds to the JSON property `toolsText`
9795
+ # @return [String]
9796
+ attr_accessor :tools_text
9797
+
9798
+ def initialize(**args)
9799
+ update!(**args)
9800
+ end
9801
+
9802
+ # Update properties of this object
9803
+ def update!(**args)
9804
+ @developer_instruction = args[:developer_instruction] if args.key?(:developer_instruction)
9805
+ @tools = args[:tools] if args.key?(:tools)
9806
+ @tools_text = args[:tools_text] if args.key?(:tools_text)
9807
+ end
9808
+ end
9809
+
9810
+ # Represents a list of tools for an agent.
9811
+ class GoogleCloudAiplatformV1beta1EvaluationInstanceAgentConfigTools
9812
+ include Google::Apis::Core::Hashable
9813
+
9814
+ # Optional. List of tools: each tool can have multiple function declarations.
9815
+ # Corresponds to the JSON property `tool`
9816
+ # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Tool>]
9817
+ attr_accessor :tool
9818
+
9819
+ def initialize(**args)
9820
+ update!(**args)
9821
+ end
9822
+
9823
+ # Update properties of this object
9824
+ def update!(**args)
9825
+ @tool = args[:tool] if args.key?(:tool)
9826
+ end
9827
+ end
9828
+
9829
+ # Contains data specific to agent evaluations.
9830
+ class GoogleCloudAiplatformV1beta1EvaluationInstanceAgentData
9831
+ include Google::Apis::Core::Hashable
9832
+
9833
+ # Configuration for an Agent.
9834
+ # Corresponds to the JSON property `agentConfig`
9835
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationInstanceAgentConfig]
9836
+ attr_accessor :agent_config
9837
+
9838
+ # Instance data used to populate placeholders in a metric prompt template.
9839
+ # Corresponds to the JSON property `developerInstruction`
9840
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationInstanceInstanceData]
9841
+ attr_accessor :developer_instruction
9842
+
9843
+ # Represents a list of events for an agent.
9844
+ # Corresponds to the JSON property `events`
9845
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationInstanceAgentDataEvents]
9846
+ attr_accessor :events
9847
+
9848
+ # A JSON string containing a sequence of events.
9849
+ # Corresponds to the JSON property `eventsText`
9850
+ # @return [String]
9851
+ attr_accessor :events_text
9852
+
9853
+ # Represents a list of tools for an agent.
9854
+ # Corresponds to the JSON property `tools`
9855
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationInstanceAgentDataTools]
9856
+ attr_accessor :tools
9857
+
9858
+ # A JSON string containing a list of tools available to an agent with info such
9859
+ # as name, description, parameters and required parameters. Example: [ ` "name":
9860
+ # "search_actors", "description": "Search for actors in a movie. Returns a list
9861
+ # of actors, their roles, their birthdate, and their place of birth.", "
9862
+ # parameters": [ ` "name": "movie_name", "description": "The name of the movie."
9863
+ # `, ` "name": "character_name", "description": "The name of the character." ` ],
9864
+ # "required": ["movie_name", "character_name"] ` ]
9865
+ # Corresponds to the JSON property `toolsText`
9866
+ # @return [String]
9867
+ attr_accessor :tools_text
9868
+
9869
+ def initialize(**args)
9870
+ update!(**args)
9871
+ end
9872
+
9873
+ # Update properties of this object
9874
+ def update!(**args)
9875
+ @agent_config = args[:agent_config] if args.key?(:agent_config)
9876
+ @developer_instruction = args[:developer_instruction] if args.key?(:developer_instruction)
9877
+ @events = args[:events] if args.key?(:events)
9878
+ @events_text = args[:events_text] if args.key?(:events_text)
9879
+ @tools = args[:tools] if args.key?(:tools)
9880
+ @tools_text = args[:tools_text] if args.key?(:tools_text)
9881
+ end
9882
+ end
9883
+
9884
+ # Represents a list of events for an agent.
9885
+ class GoogleCloudAiplatformV1beta1EvaluationInstanceAgentDataEvents
9886
+ include Google::Apis::Core::Hashable
9887
+
9888
+ # Optional. A list of events.
9889
+ # Corresponds to the JSON property `event`
9890
+ # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Content>]
9891
+ attr_accessor :event
9892
+
9893
+ def initialize(**args)
9894
+ update!(**args)
9895
+ end
9896
+
9897
+ # Update properties of this object
9898
+ def update!(**args)
9899
+ @event = args[:event] if args.key?(:event)
9900
+ end
9901
+ end
9902
+
9903
+ # Represents a list of tools for an agent.
9904
+ class GoogleCloudAiplatformV1beta1EvaluationInstanceAgentDataTools
9905
+ include Google::Apis::Core::Hashable
9906
+
9907
+ # Optional. List of tools: each tool can have multiple function declarations.
9908
+ # Corresponds to the JSON property `tool`
9909
+ # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Tool>]
9910
+ attr_accessor :tool
9911
+
9912
+ def initialize(**args)
9913
+ update!(**args)
9914
+ end
9915
+
9916
+ # Update properties of this object
9917
+ def update!(**args)
9918
+ @tool = args[:tool] if args.key?(:tool)
9919
+ end
9920
+ end
9921
+
9765
9922
  # Instance data used to populate placeholders in a metric prompt template.
9766
9923
  class GoogleCloudAiplatformV1beta1EvaluationInstanceInstanceData
9767
9924
  include Google::Apis::Core::Hashable
@@ -10379,6 +10536,11 @@ module Google
10379
10536
  class GoogleCloudAiplatformV1beta1EvaluationRunInferenceConfig
10380
10537
  include Google::Apis::Core::Hashable
10381
10538
 
10539
+ # Configuration that describes an agent.
10540
+ # Corresponds to the JSON property `agentConfig`
10541
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationRunInferenceConfigAgentConfig]
10542
+ attr_accessor :agent_config
10543
+
10382
10544
  # Generation config.
10383
10545
  # Corresponds to the JSON property `generationConfig`
10384
10546
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerationConfig]
@@ -10398,11 +10560,40 @@ module Google
10398
10560
 
10399
10561
  # Update properties of this object
10400
10562
  def update!(**args)
10563
+ @agent_config = args[:agent_config] if args.key?(:agent_config)
10401
10564
  @generation_config = args[:generation_config] if args.key?(:generation_config)
10402
10565
  @model = args[:model] if args.key?(:model)
10403
10566
  end
10404
10567
  end
10405
10568
 
10569
+ # Configuration that describes an agent.
10570
+ class GoogleCloudAiplatformV1beta1EvaluationRunInferenceConfigAgentConfig
10571
+ include Google::Apis::Core::Hashable
10572
+
10573
+ # The base structured datatype containing multi-part content of a message. A `
10574
+ # Content` includes a `role` field designating the producer of the `Content` and
10575
+ # a `parts` field containing multi-part data that contains the content of the
10576
+ # message turn.
10577
+ # Corresponds to the JSON property `developerInstruction`
10578
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Content]
10579
+ attr_accessor :developer_instruction
10580
+
10581
+ # Optional. The tools available to the agent.
10582
+ # Corresponds to the JSON property `tools`
10583
+ # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Tool>]
10584
+ attr_accessor :tools
10585
+
10586
+ def initialize(**args)
10587
+ update!(**args)
10588
+ end
10589
+
10590
+ # Update properties of this object
10591
+ def update!(**args)
10592
+ @developer_instruction = args[:developer_instruction] if args.key?(:developer_instruction)
10593
+ @tools = args[:tools] if args.key?(:tools)
10594
+ end
10595
+ end
10596
+
10406
10597
  # The metric used for evaluation runs.
10407
10598
  class GoogleCloudAiplatformV1beta1EvaluationRunMetric
10408
10599
  include Google::Apis::Core::Hashable
@@ -10417,6 +10608,11 @@ module Google
10417
10608
  # @return [String]
10418
10609
  attr_accessor :metric
10419
10610
 
10611
+ # The metric used for running evaluations.
10612
+ # Corresponds to the JSON property `metricConfig`
10613
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Metric]
10614
+ attr_accessor :metric_config
10615
+
10420
10616
  # Specification for a pre-defined metric.
10421
10617
  # Corresponds to the JSON property `predefinedMetricSpec`
10422
10618
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationRunMetricPredefinedMetricSpec]
@@ -10435,6 +10631,7 @@ module Google
10435
10631
  def update!(**args)
10436
10632
  @llm_based_metric_spec = args[:llm_based_metric_spec] if args.key?(:llm_based_metric_spec)
10437
10633
  @metric = args[:metric] if args.key?(:metric)
10634
+ @metric_config = args[:metric_config] if args.key?(:metric_config)
10438
10635
  @predefined_metric_spec = args[:predefined_metric_spec] if args.key?(:predefined_metric_spec)
10439
10636
  @rubric_based_metric_spec = args[:rubric_based_metric_spec] if args.key?(:rubric_based_metric_spec)
10440
10637
  end
@@ -17099,6 +17296,11 @@ module Google
17099
17296
  class GoogleCloudAiplatformV1beta1GenerateInstanceRubricsRequest
17100
17297
  include Google::Apis::Core::Hashable
17101
17298
 
17299
+ # Configuration for an Agent.
17300
+ # Corresponds to the JSON property `agentConfig`
17301
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationInstanceAgentConfig]
17302
+ attr_accessor :agent_config
17303
+
17102
17304
  # Required. The prompt to generate rubrics from. For single-turn queries, this
17103
17305
  # is a single instance. For multi-turn queries, this is a repeated field that
17104
17306
  # contains conversation history + latest request.
@@ -17122,6 +17324,7 @@ module Google
17122
17324
 
17123
17325
  # Update properties of this object
17124
17326
  def update!(**args)
17327
+ @agent_config = args[:agent_config] if args.key?(:agent_config)
17125
17328
  @contents = args[:contents] if args.key?(:contents)
17126
17329
  @predefined_rubric_generation_spec = args[:predefined_rubric_generation_spec] if args.key?(:predefined_rubric_generation_spec)
17127
17330
  @rubric_generation_spec = args[:rubric_generation_spec] if args.key?(:rubric_generation_spec)
@@ -17299,6 +17502,11 @@ module Google
17299
17502
  # @return [String]
17300
17503
  attr_accessor :fact
17301
17504
 
17505
+ # Optional. The topics that the consolidated memories should be associated with.
17506
+ # Corresponds to the JSON property `topics`
17507
+ # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryTopicId>]
17508
+ attr_accessor :topics
17509
+
17302
17510
  def initialize(**args)
17303
17511
  update!(**args)
17304
17512
  end
@@ -17306,6 +17514,7 @@ module Google
17306
17514
  # Update properties of this object
17307
17515
  def update!(**args)
17308
17516
  @fact = args[:fact] if args.key?(:fact)
17517
+ @topics = args[:topics] if args.key?(:topics)
17309
17518
  end
17310
17519
  end
17311
17520
 
@@ -18499,6 +18708,16 @@ module Google
18499
18708
  # @return [String]
18500
18709
  attr_accessor :aspect_ratio
18501
18710
 
18711
+ # The image output format for generated images.
18712
+ # Corresponds to the JSON property `imageOutputOptions`
18713
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ImageConfigImageOutputOptions]
18714
+ attr_accessor :image_output_options
18715
+
18716
+ # Optional. Controls whether the model can generate people.
18717
+ # Corresponds to the JSON property `personGeneration`
18718
+ # @return [String]
18719
+ attr_accessor :person_generation
18720
+
18502
18721
  def initialize(**args)
18503
18722
  update!(**args)
18504
18723
  end
@@ -18506,6 +18725,33 @@ module Google
18506
18725
  # Update properties of this object
18507
18726
  def update!(**args)
18508
18727
  @aspect_ratio = args[:aspect_ratio] if args.key?(:aspect_ratio)
18728
+ @image_output_options = args[:image_output_options] if args.key?(:image_output_options)
18729
+ @person_generation = args[:person_generation] if args.key?(:person_generation)
18730
+ end
18731
+ end
18732
+
18733
+ # The image output format for generated images.
18734
+ class GoogleCloudAiplatformV1beta1ImageConfigImageOutputOptions
18735
+ include Google::Apis::Core::Hashable
18736
+
18737
+ # Optional. The compression quality of the output image.
18738
+ # Corresponds to the JSON property `compressionQuality`
18739
+ # @return [Fixnum]
18740
+ attr_accessor :compression_quality
18741
+
18742
+ # Optional. The image format that the output should be saved as.
18743
+ # Corresponds to the JSON property `mimeType`
18744
+ # @return [String]
18745
+ attr_accessor :mime_type
18746
+
18747
+ def initialize(**args)
18748
+ update!(**args)
18749
+ end
18750
+
18751
+ # Update properties of this object
18752
+ def update!(**args)
18753
+ @compression_quality = args[:compression_quality] if args.key?(:compression_quality)
18754
+ @mime_type = args[:mime_type] if args.key?(:mime_type)
18509
18755
  end
18510
18756
  end
18511
18757
 
@@ -19907,6 +20153,25 @@ module Google
19907
20153
  end
19908
20154
  end
19909
20155
 
20156
+ # An extracted memory that is the intermediate result before consolidation.
20157
+ class GoogleCloudAiplatformV1beta1IntermediateExtractedMemory
20158
+ include Google::Apis::Core::Hashable
20159
+
20160
+ # Output only. The fact of the extracted memory.
20161
+ # Corresponds to the JSON property `fact`
20162
+ # @return [String]
20163
+ attr_accessor :fact
20164
+
20165
+ def initialize(**args)
20166
+ update!(**args)
20167
+ end
20168
+
20169
+ # Update properties of this object
20170
+ def update!(**args)
20171
+ @fact = args[:fact] if args.key?(:fact)
20172
+ end
20173
+ end
20174
+
19910
20175
  # Request message for [InternalOsServiceStateInstance].
19911
20176
  class GoogleCloudAiplatformV1beta1InternalOsServiceStateInstance
19912
20177
  include Google::Apis::Core::Hashable
@@ -22278,6 +22543,11 @@ module Google
22278
22543
  # @return [Hash<String,String>]
22279
22544
  attr_accessor :scope
22280
22545
 
22546
+ # Optional. The Topics of the Memory.
22547
+ # Corresponds to the JSON property `topics`
22548
+ # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryTopicId>]
22549
+ attr_accessor :topics
22550
+
22281
22551
  # Optional. Input only. The TTL for this resource. The expiration time is
22282
22552
  # computed: now + TTL.
22283
22553
  # Corresponds to the JSON property `ttl`
@@ -22305,6 +22575,7 @@ module Google
22305
22575
  @revision_expire_time = args[:revision_expire_time] if args.key?(:revision_expire_time)
22306
22576
  @revision_ttl = args[:revision_ttl] if args.key?(:revision_ttl)
22307
22577
  @scope = args[:scope] if args.key?(:scope)
22578
+ @topics = args[:topics] if args.key?(:topics)
22308
22579
  @ttl = args[:ttl] if args.key?(:ttl)
22309
22580
  @update_time = args[:update_time] if args.key?(:update_time)
22310
22581
  end
@@ -22529,6 +22800,13 @@ module Google
22529
22800
  # @return [String]
22530
22801
  attr_accessor :expire_time
22531
22802
 
22803
+ # Output only. The extracted memories from the source content before
22804
+ # consolidation when the memory was updated via GenerateMemories. This
22805
+ # information was used to modify an existing Memory via Consolidation.
22806
+ # Corresponds to the JSON property `extractedMemories`
22807
+ # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1IntermediateExtractedMemory>]
22808
+ attr_accessor :extracted_memories
22809
+
22532
22810
  # Output only. The fact of the Memory Revision. This corresponds to the `fact`
22533
22811
  # field of the parent Memory at the time of revision creation.
22534
22812
  # Corresponds to the JSON property `fact`
@@ -22557,6 +22835,7 @@ module Google
22557
22835
  def update!(**args)
22558
22836
  @create_time = args[:create_time] if args.key?(:create_time)
22559
22837
  @expire_time = args[:expire_time] if args.key?(:expire_time)
22838
+ @extracted_memories = args[:extracted_memories] if args.key?(:extracted_memories)
22560
22839
  @fact = args[:fact] if args.key?(:fact)
22561
22840
  @labels = args[:labels] if args.key?(:labels)
22562
22841
  @name = args[:name] if args.key?(:name)
@@ -28287,6 +28566,11 @@ module Google
28287
28566
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Content]
28288
28567
  attr_accessor :content
28289
28568
 
28569
+ # Optional. The target model to optimize the prompt for.
28570
+ # Corresponds to the JSON property `optimizationTarget`
28571
+ # @return [String]
28572
+ attr_accessor :optimization_target
28573
+
28290
28574
  def initialize(**args)
28291
28575
  update!(**args)
28292
28576
  end
@@ -28294,6 +28578,7 @@ module Google
28294
28578
  # Update properties of this object
28295
28579
  def update!(**args)
28296
28580
  @content = args[:content] if args.key?(:content)
28581
+ @optimization_target = args[:optimization_target] if args.key?(:optimization_target)
28297
28582
  end
28298
28583
  end
28299
28584
 
@@ -30558,11 +30843,6 @@ module Google
30558
30843
  class GoogleCloudAiplatformV1beta1PreferenceOptimizationSpec
30559
30844
  include Google::Apis::Core::Hashable
30560
30845
 
30561
- # Evaluation Config for Tuning Job.
30562
- # Corresponds to the JSON property `evaluationConfig`
30563
- # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationConfig]
30564
- attr_accessor :evaluation_config
30565
-
30566
30846
  # Optional. If set to true, disable intermediate checkpoints for Preference
30567
30847
  # Optimization and only the last checkpoint will be exported. Otherwise, enable
30568
30848
  # intermediate checkpoints for Preference Optimization. Default is false.
@@ -30594,7 +30874,6 @@ module Google
30594
30874
 
30595
30875
  # Update properties of this object
30596
30876
  def update!(**args)
30597
- @evaluation_config = args[:evaluation_config] if args.key?(:evaluation_config)
30598
30877
  @export_last_checkpoint_only = args[:export_last_checkpoint_only] if args.key?(:export_last_checkpoint_only)
30599
30878
  @hyper_parameters = args[:hyper_parameters] if args.key?(:hyper_parameters)
30600
30879
  @training_dataset_uri = args[:training_dataset_uri] if args.key?(:training_dataset_uri)
@@ -34655,6 +34934,11 @@ module Google
34655
34934
  # @return [String]
34656
34935
  attr_accessor :service_account
34657
34936
 
34937
+ # Specification for deploying from source code.
34938
+ # Corresponds to the JSON property `sourceCodeSpec`
34939
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpec]
34940
+ attr_accessor :source_code_spec
34941
+
34658
34942
  def initialize(**args)
34659
34943
  update!(**args)
34660
34944
  end
@@ -34666,6 +34950,7 @@ module Google
34666
34950
  @deployment_spec = args[:deployment_spec] if args.key?(:deployment_spec)
34667
34951
  @package_spec = args[:package_spec] if args.key?(:package_spec)
34668
34952
  @service_account = args[:service_account] if args.key?(:service_account)
34953
+ @source_code_spec = args[:source_code_spec] if args.key?(:source_code_spec)
34669
34954
  end
34670
34955
  end
34671
34956
 
@@ -34783,6 +35068,95 @@ module Google
34783
35068
  end
34784
35069
  end
34785
35070
 
35071
+ # Specification for deploying from source code.
35072
+ class GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpec
35073
+ include Google::Apis::Core::Hashable
35074
+
35075
+ # Specifies source code provided as a byte stream.
35076
+ # Corresponds to the JSON property `inlineSource`
35077
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpecInlineSource]
35078
+ attr_accessor :inline_source
35079
+
35080
+ # Specification for running a Python application from source.
35081
+ # Corresponds to the JSON property `pythonSpec`
35082
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpecPythonSpec]
35083
+ attr_accessor :python_spec
35084
+
35085
+ def initialize(**args)
35086
+ update!(**args)
35087
+ end
35088
+
35089
+ # Update properties of this object
35090
+ def update!(**args)
35091
+ @inline_source = args[:inline_source] if args.key?(:inline_source)
35092
+ @python_spec = args[:python_spec] if args.key?(:python_spec)
35093
+ end
35094
+ end
35095
+
35096
+ # Specifies source code provided as a byte stream.
35097
+ class GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpecInlineSource
35098
+ include Google::Apis::Core::Hashable
35099
+
35100
+ # Required. Input only. The application source code archive, provided as a
35101
+ # compressed tarball (.tar.gz) file.
35102
+ # Corresponds to the JSON property `sourceArchive`
35103
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
35104
+ # @return [String]
35105
+ attr_accessor :source_archive
35106
+
35107
+ def initialize(**args)
35108
+ update!(**args)
35109
+ end
35110
+
35111
+ # Update properties of this object
35112
+ def update!(**args)
35113
+ @source_archive = args[:source_archive] if args.key?(:source_archive)
35114
+ end
35115
+ end
35116
+
35117
+ # Specification for running a Python application from source.
35118
+ class GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpecPythonSpec
35119
+ include Google::Apis::Core::Hashable
35120
+
35121
+ # Optional. The Python module to load as the entrypoint, specified as a fully
35122
+ # qualified module name. For example: path.to.agent. If not specified, defaults
35123
+ # to "agent". The project root will be added to Python sys.path, allowing
35124
+ # imports to be specified relative to the root.
35125
+ # Corresponds to the JSON property `entrypointModule`
35126
+ # @return [String]
35127
+ attr_accessor :entrypoint_module
35128
+
35129
+ # Optional. The name of the callable object within the `entrypoint_module` to
35130
+ # use as the application If not specified, defaults to "root_agent".
35131
+ # Corresponds to the JSON property `entrypointObject`
35132
+ # @return [String]
35133
+ attr_accessor :entrypoint_object
35134
+
35135
+ # Optional. The path to the requirements file, relative to the source root. If
35136
+ # not specified, defaults to "requirements.txt".
35137
+ # Corresponds to the JSON property `requirementsFile`
35138
+ # @return [String]
35139
+ attr_accessor :requirements_file
35140
+
35141
+ # Optional. The version of Python to use. Support version includes 3.9, 3.10, 3.
35142
+ # 11, 3.12, 3.13. If not specified, default value is 3.10.
35143
+ # Corresponds to the JSON property `version`
35144
+ # @return [String]
35145
+ attr_accessor :version
35146
+
35147
+ def initialize(**args)
35148
+ update!(**args)
35149
+ end
35150
+
35151
+ # Update properties of this object
35152
+ def update!(**args)
35153
+ @entrypoint_module = args[:entrypoint_module] if args.key?(:entrypoint_module)
35154
+ @entrypoint_object = args[:entrypoint_object] if args.key?(:entrypoint_object)
35155
+ @requirements_file = args[:requirements_file] if args.key?(:requirements_file)
35156
+ @version = args[:version] if args.key?(:version)
35157
+ end
35158
+ end
35159
+
34786
35160
  # Request message for GenAiTuningService.RebaseTunedModel.
34787
35161
  class GoogleCloudAiplatformV1beta1RebaseTunedModelRequest
34788
35162
  include Google::Apis::Core::Hashable
@@ -35673,6 +36047,13 @@ module Google
35673
36047
  class GoogleCloudAiplatformV1beta1RetrieveMemoriesRequest
35674
36048
  include Google::Apis::Core::Hashable
35675
36049
 
36050
+ # Optional. The standard list filter that will be applied to the retrieved
36051
+ # memories. More detail in [AIP-160](https://google.aip.dev/160). Supported
36052
+ # fields: * `fact` * `create_time` * `update_time`
36053
+ # Corresponds to the JSON property `filter`
36054
+ # @return [String]
36055
+ attr_accessor :filter
36056
+
35676
36057
  # Required. The scope of the memories to retrieve. A memory must have exactly
35677
36058
  # the same scope (`Memory.scope`) as the scope provided here to be retrieved (
35678
36059
  # same keys and values). Order does not matter, but it is case-sensitive.
@@ -35696,6 +36077,7 @@ module Google
35696
36077
 
35697
36078
  # Update properties of this object
35698
36079
  def update!(**args)
36080
+ @filter = args[:filter] if args.key?(:filter)
35699
36081
  @scope = args[:scope] if args.key?(:scope)
35700
36082
  @similarity_search_params = args[:similarity_search_params] if args.key?(:similarity_search_params)
35701
36083
  @simple_retrieval_params = args[:simple_retrieval_params] if args.key?(:simple_retrieval_params)
@@ -48612,11 +48994,12 @@ module Google
48612
48994
  # @return [String]
48613
48995
  attr_accessor :environment
48614
48996
 
48615
- # Optional. By default, predefined functions are included in the final model
48616
- # call. Some of them can be explicitly excluded from being automatically
48617
- # included. This can serve two purposes: 1. Using a more restricted / different
48618
- # action space. 2. Improving the definitions / instructions of predefined
48619
- # functions.
48997
+ # Optional. By default, [predefined functions](https://cloud.google.com/vertex-
48998
+ # ai/generative-ai/docs/computer-use#supported-actions) are included in the
48999
+ # final model call. Some of them can be explicitly excluded from being
49000
+ # automatically included. This can serve two purposes: 1. Using a more
49001
+ # restricted / different action space. 2. Improving the definitions /
49002
+ # instructions of predefined functions.
48620
49003
  # Corresponds to the JSON property `excludedPredefinedFunctions`
48621
49004
  # @return [Array<String>]
48622
49005
  attr_accessor :excluded_predefined_functions
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AiplatformV1beta1
18
18
  # Version of the google-apis-aiplatform_v1beta1 gem
19
- GEM_VERSION = "0.64.0"
19
+ GEM_VERSION = "0.65.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 = "20251027"
26
26
  end
27
27
  end
28
28
  end