google-apis-aiplatform_v1beta1 0.67.0 → 0.69.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.
@@ -2486,14 +2486,14 @@ module Google
2486
2486
 
2487
2487
  # The name of the Model resource that produces the predictions via this job,
2488
2488
  # must share the same ancestor Location. Starting this job has no impact on any
2489
- # existing deployments of the Model and their resources. Exactly one of model
2490
- # and unmanaged_container_model must be set. The model resource name may contain
2491
- # version id or version alias to specify the version. Example: `projects/`
2492
- # project`/locations/`location`/models/`model`@2` or `projects/`project`/
2493
- # locations/`location`/models/`model`@golden` if no version is specified, the
2494
- # default version will be deployed. The model resource could also be a publisher
2495
- # model. Example: `publishers/`publisher`/models/`model`` or `projects/`project`/
2496
- # locations/`location`/publishers/`publisher`/models/`model``
2489
+ # existing deployments of the Model and their resources. Exactly one of model,
2490
+ # unmanaged_container_model, or endpoint must be set. The model resource name
2491
+ # may contain version id or version alias to specify the version. Example: `
2492
+ # projects/`project`/locations/`location`/models/`model`@2` or `projects/`
2493
+ # project`/locations/`location`/models/`model`@golden` if no version is
2494
+ # specified, the default version will be deployed. The model resource could also
2495
+ # be a publisher model. Example: `publishers/`publisher`/models/`model`` or `
2496
+ # projects/`project`/locations/`location`/publishers/`publisher`/models/`model``
2497
2497
  # Corresponds to the JSON property `model`
2498
2498
  # @return [String]
2499
2499
  attr_accessor :model
@@ -7879,6 +7879,11 @@ module Google
7879
7879
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FasterDeploymentConfig]
7880
7880
  attr_accessor :faster_deployment_config
7881
7881
 
7882
+ # Resources for an fft model.
7883
+ # Corresponds to the JSON property `fullFineTunedResources`
7884
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FullFineTunedResources]
7885
+ attr_accessor :full_fine_tuned_resources
7886
+
7882
7887
  # GDC pretrained / Gemini model name. The model name is a plain model name, e.g.
7883
7888
  # gemini-1.5-flash-002.
7884
7889
  # Corresponds to the JSON property `gdcConnectedModel`
@@ -7969,6 +7974,7 @@ module Google
7969
7974
  @enable_container_logging = args[:enable_container_logging] if args.key?(:enable_container_logging)
7970
7975
  @explanation_spec = args[:explanation_spec] if args.key?(:explanation_spec)
7971
7976
  @faster_deployment_config = args[:faster_deployment_config] if args.key?(:faster_deployment_config)
7977
+ @full_fine_tuned_resources = args[:full_fine_tuned_resources] if args.key?(:full_fine_tuned_resources)
7972
7978
  @gdc_connected_model = args[:gdc_connected_model] if args.key?(:gdc_connected_model)
7973
7979
  @id = args[:id] if args.key?(:id)
7974
7980
  @model = args[:model] if args.key?(:model)
@@ -8289,7 +8295,8 @@ module Google
8289
8295
  end
8290
8296
  end
8291
8297
 
8292
- # Statistics computed for datasets used for distillation.
8298
+ # Statistics for distillation prompt dataset. These statistics do not include
8299
+ # the responses sampled from the teacher model.
8293
8300
  class GoogleCloudAiplatformV1beta1DistillationDataStats
8294
8301
  include Google::Apis::Core::Hashable
8295
8302
 
@@ -9095,6 +9102,12 @@ module Google
9095
9102
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationDataset]
9096
9103
  attr_accessor :dataset
9097
9104
 
9105
+ # Required. The resource name of the Location to evaluate the dataset. Format: `
9106
+ # projects/`project`/locations/`location``
9107
+ # Corresponds to the JSON property `location`
9108
+ # @return [String]
9109
+ attr_accessor :location
9110
+
9098
9111
  # Required. The metrics used for evaluation.
9099
9112
  # Corresponds to the JSON property `metrics`
9100
9113
  # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Metric>]
@@ -9113,6 +9126,7 @@ module Google
9113
9126
  def update!(**args)
9114
9127
  @autorater_config = args[:autorater_config] if args.key?(:autorater_config)
9115
9128
  @dataset = args[:dataset] if args.key?(:dataset)
9129
+ @location = args[:location] if args.key?(:location)
9116
9130
  @metrics = args[:metrics] if args.key?(:metrics)
9117
9131
  @output_config = args[:output_config] if args.key?(:output_config)
9118
9132
  end
@@ -9239,6 +9253,12 @@ module Google
9239
9253
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationInstance]
9240
9254
  attr_accessor :instance
9241
9255
 
9256
+ # Required. The resource name of the Location to evaluate the instances. Format:
9257
+ # `projects/`project`/locations/`location``
9258
+ # Corresponds to the JSON property `location`
9259
+ # @return [String]
9260
+ attr_accessor :location
9261
+
9242
9262
  # The metrics used for evaluation. Currently, we only support evaluating a
9243
9263
  # single metric. If multiple metrics are provided, only the first one will be
9244
9264
  # evaluated.
@@ -9386,6 +9406,7 @@ module Google
9386
9406
  @fulfillment_input = args[:fulfillment_input] if args.key?(:fulfillment_input)
9387
9407
  @groundedness_input = args[:groundedness_input] if args.key?(:groundedness_input)
9388
9408
  @instance = args[:instance] if args.key?(:instance)
9409
+ @location = args[:location] if args.key?(:location)
9389
9410
  @metrics = args[:metrics] if args.key?(:metrics)
9390
9411
  @metricx_input = args[:metricx_input] if args.key?(:metricx_input)
9391
9412
  @pairwise_metric_input = args[:pairwise_metric_input] if args.key?(:pairwise_metric_input)
@@ -14012,6 +14033,13 @@ module Google
14012
14033
  attr_accessor :enable_direct_bigtable_access
14013
14034
  alias_method :enable_direct_bigtable_access?, :enable_direct_bigtable_access
14014
14035
 
14036
+ # Optional. The zone where the underlying Bigtable cluster for the primary
14037
+ # Bigtable instance will be provisioned. Only the zone must be provided. For
14038
+ # example, only "us-central1-a" should be provided.
14039
+ # Corresponds to the JSON property `zone`
14040
+ # @return [String]
14041
+ attr_accessor :zone
14042
+
14015
14043
  def initialize(**args)
14016
14044
  update!(**args)
14017
14045
  end
@@ -14021,6 +14049,7 @@ module Google
14021
14049
  @auto_scaling = args[:auto_scaling] if args.key?(:auto_scaling)
14022
14050
  @bigtable_metadata = args[:bigtable_metadata] if args.key?(:bigtable_metadata)
14023
14051
  @enable_direct_bigtable_access = args[:enable_direct_bigtable_access] if args.key?(:enable_direct_bigtable_access)
14052
+ @zone = args[:zone] if args.key?(:zone)
14024
14053
  end
14025
14054
  end
14026
14055
 
@@ -16432,6 +16461,37 @@ module Google
16432
16461
  end
16433
16462
  end
16434
16463
 
16464
+ # Resources for an fft model.
16465
+ class GoogleCloudAiplatformV1beta1FullFineTunedResources
16466
+ include Google::Apis::Core::Hashable
16467
+
16468
+ # Required. The kind of deployment.
16469
+ # Corresponds to the JSON property `deploymentType`
16470
+ # @return [String]
16471
+ attr_accessor :deployment_type
16472
+
16473
+ # Optional. The number of model inference units to use for this deployment. This
16474
+ # can only be specified for DEPLOYMENT_TYPE_PROD. The following table lists the
16475
+ # number of model inference units for different model types: * Gemini 2.5 Flash *
16476
+ # Foundation FMIU: 25 * Expansion FMIU: 4 * Gemini 2.5 Pro * Foundation FMIU:
16477
+ # 32 * Expansion FMIU: 16 * Veo 3.0 (undistilled) * Foundation FMIU: 63 *
16478
+ # Expansion FMIU: 7 * Veo 3.0 (distilled) * Foundation FMIU: 30 * Expansion FMIU:
16479
+ # 10
16480
+ # Corresponds to the JSON property `modelInferenceUnitCount`
16481
+ # @return [Fixnum]
16482
+ attr_accessor :model_inference_unit_count
16483
+
16484
+ def initialize(**args)
16485
+ update!(**args)
16486
+ end
16487
+
16488
+ # Update properties of this object
16489
+ def update!(**args)
16490
+ @deployment_type = args[:deployment_type] if args.key?(:deployment_type)
16491
+ @model_inference_unit_count = args[:model_inference_unit_count] if args.key?(:model_inference_unit_count)
16492
+ end
16493
+ end
16494
+
16435
16495
  # Tuning Spec for Full Fine Tuning.
16436
16496
  class GoogleCloudAiplatformV1beta1FullFineTuningSpec
16437
16497
  include Google::Apis::Core::Hashable
@@ -16490,6 +16550,19 @@ module Google
16490
16550
  # @return [String]
16491
16551
  attr_accessor :name
16492
16552
 
16553
+ # Optional. The partial argument value of the function call. If provided,
16554
+ # represents the arguments/fields that are streamed incrementally.
16555
+ # Corresponds to the JSON property `partialArgs`
16556
+ # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PartialArg>]
16557
+ attr_accessor :partial_args
16558
+
16559
+ # Optional. Whether this is the last part of the FunctionCall. If true, another
16560
+ # partial message for the current FunctionCall is expected to follow.
16561
+ # Corresponds to the JSON property `willContinue`
16562
+ # @return [Boolean]
16563
+ attr_accessor :will_continue
16564
+ alias_method :will_continue?, :will_continue
16565
+
16493
16566
  def initialize(**args)
16494
16567
  update!(**args)
16495
16568
  end
@@ -16499,6 +16572,8 @@ module Google
16499
16572
  @args = args[:args] if args.key?(:args)
16500
16573
  @id = args[:id] if args.key?(:id)
16501
16574
  @name = args[:name] if args.key?(:name)
16575
+ @partial_args = args[:partial_args] if args.key?(:partial_args)
16576
+ @will_continue = args[:will_continue] if args.key?(:will_continue)
16502
16577
  end
16503
16578
  end
16504
16579
 
@@ -16518,6 +16593,14 @@ module Google
16518
16593
  # @return [String]
16519
16594
  attr_accessor :mode
16520
16595
 
16596
+ # Optional. When set to true, arguments of a single function call will be
16597
+ # streamed out in multiple parts/contents/responses. Partial parameter results
16598
+ # will be returned in the [FunctionCall.partial_args] field.
16599
+ # Corresponds to the JSON property `streamFunctionCallArguments`
16600
+ # @return [Boolean]
16601
+ attr_accessor :stream_function_call_arguments
16602
+ alias_method :stream_function_call_arguments?, :stream_function_call_arguments
16603
+
16521
16604
  def initialize(**args)
16522
16605
  update!(**args)
16523
16606
  end
@@ -16526,6 +16609,7 @@ module Google
16526
16609
  def update!(**args)
16527
16610
  @allowed_function_names = args[:allowed_function_names] if args.key?(:allowed_function_names)
16528
16611
  @mode = args[:mode] if args.key?(:mode)
16612
+ @stream_function_call_arguments = args[:stream_function_call_arguments] if args.key?(:stream_function_call_arguments)
16529
16613
  end
16530
16614
  end
16531
16615
 
@@ -16544,8 +16628,8 @@ module Google
16544
16628
  attr_accessor :description
16545
16629
 
16546
16630
  # Required. The name of the function to call. Must start with a letter or an
16547
- # underscore. Must be a-z, A-Z, 0-9, or contain underscores, dots and dashes,
16548
- # with a maximum length of 64.
16631
+ # underscore. Must be a-z, A-Z, 0-9, or contain underscores, dots, colons and
16632
+ # dashes, with a maximum length of 64.
16549
16633
  # Corresponds to the JSON property `name`
16550
16634
  # @return [String]
16551
16635
  attr_accessor :name
@@ -17418,6 +17502,12 @@ module Google
17418
17502
  # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Content>]
17419
17503
  attr_accessor :contents
17420
17504
 
17505
+ # Required. The resource name of the Location to generate rubrics from. Format: `
17506
+ # projects/`project`/locations/`location``
17507
+ # Corresponds to the JSON property `location`
17508
+ # @return [String]
17509
+ attr_accessor :location
17510
+
17421
17511
  # The spec for a pre-defined metric.
17422
17512
  # Corresponds to the JSON property `predefinedRubricGenerationSpec`
17423
17513
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PredefinedMetricSpec]
@@ -17436,6 +17526,7 @@ module Google
17436
17526
  def update!(**args)
17437
17527
  @agent_config = args[:agent_config] if args.key?(:agent_config)
17438
17528
  @contents = args[:contents] if args.key?(:contents)
17529
+ @location = args[:location] if args.key?(:location)
17439
17530
  @predefined_rubric_generation_spec = args[:predefined_rubric_generation_spec] if args.key?(:predefined_rubric_generation_spec)
17440
17531
  @rubric_generation_spec = args[:rubric_generation_spec] if args.key?(:rubric_generation_spec)
17441
17532
  end
@@ -18124,6 +18215,11 @@ module Google
18124
18215
  # @return [Fixnum]
18125
18216
  attr_accessor :thinking_budget
18126
18217
 
18218
+ # Optional. The number of thoughts tokens that the model should generate.
18219
+ # Corresponds to the JSON property `thinkingLevel`
18220
+ # @return [String]
18221
+ attr_accessor :thinking_level
18222
+
18127
18223
  def initialize(**args)
18128
18224
  update!(**args)
18129
18225
  end
@@ -18132,6 +18228,7 @@ module Google
18132
18228
  def update!(**args)
18133
18229
  @include_thoughts = args[:include_thoughts] if args.key?(:include_thoughts)
18134
18230
  @thinking_budget = args[:thinking_budget] if args.key?(:thinking_budget)
18231
+ @thinking_level = args[:thinking_level] if args.key?(:thinking_level)
18135
18232
  end
18136
18233
  end
18137
18234
 
@@ -18920,6 +19017,12 @@ module Google
18920
19017
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ImageConfigImageOutputOptions]
18921
19018
  attr_accessor :image_output_options
18922
19019
 
19020
+ # Optional. Specifies the size of generated images. Supported values are `1K`, `
19021
+ # 2K`, `4K`. If not specified, the model will use default value `1K`.
19022
+ # Corresponds to the JSON property `imageSize`
19023
+ # @return [String]
19024
+ attr_accessor :image_size
19025
+
18923
19026
  # Optional. Controls whether the model can generate people.
18924
19027
  # Corresponds to the JSON property `personGeneration`
18925
19028
  # @return [String]
@@ -18933,6 +19036,7 @@ module Google
18933
19036
  def update!(**args)
18934
19037
  @aspect_ratio = args[:aspect_ratio] if args.key?(:aspect_ratio)
18935
19038
  @image_output_options = args[:image_output_options] if args.key?(:image_output_options)
19039
+ @image_size = args[:image_size] if args.key?(:image_size)
18936
19040
  @person_generation = args[:person_generation] if args.key?(:person_generation)
18937
19041
  end
18938
19042
  end
@@ -22547,7 +22651,20 @@ module Google
22547
22651
  class GoogleCloudAiplatformV1beta1MachineSpec
22548
22652
  include Google::Apis::Core::Hashable
22549
22653
 
22550
- # The number of accelerators to attach to the machine.
22654
+ # The number of accelerators to attach to the machine. For accelerator optimized
22655
+ # machine types (https://cloud.google.com/compute/docs/accelerator-optimized-
22656
+ # machines), One may set the accelerator_count from 1 to N for machine with N
22657
+ # GPUs. If accelerator_count is less than or equal to N / 2, Vertex will co-
22658
+ # schedule the replicas of the model into the same VM to save cost. For example,
22659
+ # if the machine type is a3-highgpu-8g, which has 8 H100 GPUs, one can set
22660
+ # accelerator_count to 1 to 8. If accelerator_count is 1, 2, 3, or 4, Vertex
22661
+ # will co-schedule 8, 4, 2, or 2 replicas of the model into the same VM to save
22662
+ # cost. When co-scheduling, CPU, memory and storage on the VM will be
22663
+ # distributed to replicas on the VM. For example, one can expect a co-scheduled
22664
+ # replica requesting 2 GPUs out of a 8-GPU VM will receive 25% of the CPU,
22665
+ # memory and storage of the VM. Note that the feature is not compatible with
22666
+ # multihost_gpu_node_count. When multihost_gpu_node_count is set, the co-
22667
+ # scheduling will not be enabled.
22551
22668
  # Corresponds to the JSON property `acceleratorCount`
22552
22669
  # @return [Fixnum]
22553
22670
  attr_accessor :accelerator_count
@@ -22582,6 +22699,13 @@ module Google
22582
22699
  # @return [String]
22583
22700
  attr_accessor :machine_type
22584
22701
 
22702
+ # Optional. Immutable. The minimum GPU driver version that this machine requires.
22703
+ # For example, "535.104.06". If not specified, the default GPU driver version
22704
+ # will be used by the underlying infrastructure.
22705
+ # Corresponds to the JSON property `minGpuDriverVersion`
22706
+ # @return [String]
22707
+ attr_accessor :min_gpu_driver_version
22708
+
22585
22709
  # Optional. Immutable. The number of nodes per replica for multihost GPU
22586
22710
  # deployments.
22587
22711
  # Corresponds to the JSON property `multihostGpuNodeCount`
@@ -22611,6 +22735,7 @@ module Google
22611
22735
  @accelerator_type = args[:accelerator_type] if args.key?(:accelerator_type)
22612
22736
  @gpu_partition_size = args[:gpu_partition_size] if args.key?(:gpu_partition_size)
22613
22737
  @machine_type = args[:machine_type] if args.key?(:machine_type)
22738
+ @min_gpu_driver_version = args[:min_gpu_driver_version] if args.key?(:min_gpu_driver_version)
22614
22739
  @multihost_gpu_node_count = args[:multihost_gpu_node_count] if args.key?(:multihost_gpu_node_count)
22615
22740
  @reservation_affinity = args[:reservation_affinity] if args.key?(:reservation_affinity)
22616
22741
  @tpu_topology = args[:tpu_topology] if args.key?(:tpu_topology)
@@ -22813,6 +22938,15 @@ module Google
22813
22938
  class GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfig
22814
22939
  include Google::Apis::Core::Hashable
22815
22940
 
22941
+ # Optional. If true, then the memories will be generated in the third person (i.
22942
+ # e. "The user generates memories with Memory Bank."). By default, the memories
22943
+ # will be generated in the first person (i.e. "I generate memories with Memory
22944
+ # Bank.")
22945
+ # Corresponds to the JSON property `enableThirdPersonMemories`
22946
+ # @return [Boolean]
22947
+ attr_accessor :enable_third_person_memories
22948
+ alias_method :enable_third_person_memories?, :enable_third_person_memories
22949
+
22816
22950
  # Optional. Examples of how to generate memories for a particular scope.
22817
22951
  # Corresponds to the JSON property `generateMemoriesExamples`
22818
22952
  # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfigGenerateMemoriesExample>]
@@ -22840,6 +22974,7 @@ module Google
22840
22974
 
22841
22975
  # Update properties of this object
22842
22976
  def update!(**args)
22977
+ @enable_third_person_memories = args[:enable_third_person_memories] if args.key?(:enable_third_person_memories)
22843
22978
  @generate_memories_examples = args[:generate_memories_examples] if args.key?(:generate_memories_examples)
22844
22979
  @memory_topics = args[:memory_topics] if args.key?(:memory_topics)
22845
22980
  @scope_keys = args[:scope_keys] if args.key?(:scope_keys)
@@ -28814,7 +28949,7 @@ module Google
28814
28949
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Content]
28815
28950
  attr_accessor :content
28816
28951
 
28817
- # Optional. The target model to optimize the prompt for.
28952
+ # Optional. The optimization strategy for prompt optimization.
28818
28953
  # Corresponds to the JSON property `optimizationTarget`
28819
28954
  # @return [String]
28820
28955
  attr_accessor :optimization_target
@@ -29407,6 +29542,11 @@ module Google
29407
29542
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Blob]
29408
29543
  attr_accessor :inline_data
29409
29544
 
29545
+ # per part media resolution. Media resolution for the input media.
29546
+ # Corresponds to the JSON property `mediaResolution`
29547
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PartMediaResolution]
29548
+ attr_accessor :media_resolution
29549
+
29410
29550
  # Optional. The text content of the part.
29411
29551
  # Corresponds to the JSON property `text`
29412
29552
  # @return [String]
@@ -29444,6 +29584,7 @@ module Google
29444
29584
  @function_call = args[:function_call] if args.key?(:function_call)
29445
29585
  @function_response = args[:function_response] if args.key?(:function_response)
29446
29586
  @inline_data = args[:inline_data] if args.key?(:inline_data)
29587
+ @media_resolution = args[:media_resolution] if args.key?(:media_resolution)
29447
29588
  @text = args[:text] if args.key?(:text)
29448
29589
  @thought = args[:thought] if args.key?(:thought)
29449
29590
  @thought_signature = args[:thought_signature] if args.key?(:thought_signature)
@@ -29451,6 +29592,78 @@ module Google
29451
29592
  end
29452
29593
  end
29453
29594
 
29595
+ # per part media resolution. Media resolution for the input media.
29596
+ class GoogleCloudAiplatformV1beta1PartMediaResolution
29597
+ include Google::Apis::Core::Hashable
29598
+
29599
+ # The tokenization quality used for given media.
29600
+ # Corresponds to the JSON property `level`
29601
+ # @return [String]
29602
+ attr_accessor :level
29603
+
29604
+ def initialize(**args)
29605
+ update!(**args)
29606
+ end
29607
+
29608
+ # Update properties of this object
29609
+ def update!(**args)
29610
+ @level = args[:level] if args.key?(:level)
29611
+ end
29612
+ end
29613
+
29614
+ # Partial argument value of the function call.
29615
+ class GoogleCloudAiplatformV1beta1PartialArg
29616
+ include Google::Apis::Core::Hashable
29617
+
29618
+ # Optional. Represents a boolean value.
29619
+ # Corresponds to the JSON property `boolValue`
29620
+ # @return [Boolean]
29621
+ attr_accessor :bool_value
29622
+ alias_method :bool_value?, :bool_value
29623
+
29624
+ # Required. A JSON Path (RFC 9535) to the argument being streamed. https://
29625
+ # datatracker.ietf.org/doc/html/rfc9535. e.g. "$.foo.bar[0].data".
29626
+ # Corresponds to the JSON property `jsonPath`
29627
+ # @return [String]
29628
+ attr_accessor :json_path
29629
+
29630
+ # Optional. Represents a null value.
29631
+ # Corresponds to the JSON property `nullValue`
29632
+ # @return [String]
29633
+ attr_accessor :null_value
29634
+
29635
+ # Optional. Represents a double value.
29636
+ # Corresponds to the JSON property `numberValue`
29637
+ # @return [Float]
29638
+ attr_accessor :number_value
29639
+
29640
+ # Optional. Represents a string value.
29641
+ # Corresponds to the JSON property `stringValue`
29642
+ # @return [String]
29643
+ attr_accessor :string_value
29644
+
29645
+ # Optional. Whether this is not the last part of the same json_path. If true,
29646
+ # another PartialArg message for the current json_path is expected to follow.
29647
+ # Corresponds to the JSON property `willContinue`
29648
+ # @return [Boolean]
29649
+ attr_accessor :will_continue
29650
+ alias_method :will_continue?, :will_continue
29651
+
29652
+ def initialize(**args)
29653
+ update!(**args)
29654
+ end
29655
+
29656
+ # Update properties of this object
29657
+ def update!(**args)
29658
+ @bool_value = args[:bool_value] if args.key?(:bool_value)
29659
+ @json_path = args[:json_path] if args.key?(:json_path)
29660
+ @null_value = args[:null_value] if args.key?(:null_value)
29661
+ @number_value = args[:number_value] if args.key?(:number_value)
29662
+ @string_value = args[:string_value] if args.key?(:string_value)
29663
+ @will_continue = args[:will_continue] if args.key?(:will_continue)
29664
+ end
29665
+ end
29666
+
29454
29667
  # Tuning spec for Partner models.
29455
29668
  class GoogleCloudAiplatformV1beta1PartnerModelTuningSpec
29456
29669
  include Google::Apis::Core::Hashable
@@ -34262,6 +34475,11 @@ module Google
34262
34475
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagVectorDbConfigRagManagedDb]
34263
34476
  attr_accessor :rag_managed_db
34264
34477
 
34478
+ # The config for the RAG-managed Vertex Vector Search 2.0.
34479
+ # Corresponds to the JSON property `ragManagedVertexVectorSearch`
34480
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagVectorDbConfigRagManagedVertexVectorSearch]
34481
+ attr_accessor :rag_managed_vertex_vector_search
34482
+
34265
34483
  # The config for the Vertex Feature Store.
34266
34484
  # Corresponds to the JSON property `vertexFeatureStore`
34267
34485
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagVectorDbConfigVertexFeatureStore]
@@ -34287,6 +34505,7 @@ module Google
34287
34505
  @pinecone = args[:pinecone] if args.key?(:pinecone)
34288
34506
  @rag_embedding_model_config = args[:rag_embedding_model_config] if args.key?(:rag_embedding_model_config)
34289
34507
  @rag_managed_db = args[:rag_managed_db] if args.key?(:rag_managed_db)
34508
+ @rag_managed_vertex_vector_search = args[:rag_managed_vertex_vector_search] if args.key?(:rag_managed_vertex_vector_search)
34290
34509
  @vertex_feature_store = args[:vertex_feature_store] if args.key?(:vertex_feature_store)
34291
34510
  @vertex_vector_search = args[:vertex_vector_search] if args.key?(:vertex_vector_search)
34292
34511
  @weaviate = args[:weaviate] if args.key?(:weaviate)
@@ -34386,6 +34605,28 @@ module Google
34386
34605
  end
34387
34606
  end
34388
34607
 
34608
+ # The config for the RAG-managed Vertex Vector Search 2.0.
34609
+ class GoogleCloudAiplatformV1beta1RagVectorDbConfigRagManagedVertexVectorSearch
34610
+ include Google::Apis::Core::Hashable
34611
+
34612
+ # Output only. The resource name of the Vector Search 2.0 Collection that RAG
34613
+ # Created for the corpus. Only populated after the corpus is successfully
34614
+ # created. Format: `projects/`project`/locations/`location`/collections/`
34615
+ # collection_id``
34616
+ # Corresponds to the JSON property `collectionName`
34617
+ # @return [String]
34618
+ attr_accessor :collection_name
34619
+
34620
+ def initialize(**args)
34621
+ update!(**args)
34622
+ end
34623
+
34624
+ # Update properties of this object
34625
+ def update!(**args)
34626
+ @collection_name = args[:collection_name] if args.key?(:collection_name)
34627
+ end
34628
+ end
34629
+
34389
34630
  # The config for the Vertex Feature Store.
34390
34631
  class GoogleCloudAiplatformV1beta1RagVectorDbConfigVertexFeatureStore
34391
34632
  include Google::Apis::Core::Hashable
@@ -35393,6 +35634,12 @@ module Google
35393
35634
  class GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpec
35394
35635
  include Google::Apis::Core::Hashable
35395
35636
 
35637
+ # Specifies source code to be fetched from a Git repository managed through the
35638
+ # Developer Connect service.
35639
+ # Corresponds to the JSON property `developerConnectSource`
35640
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpecDeveloperConnectSource]
35641
+ attr_accessor :developer_connect_source
35642
+
35396
35643
  # Specifies source code provided as a byte stream.
35397
35644
  # Corresponds to the JSON property `inlineSource`
35398
35645
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpecInlineSource]
@@ -35409,16 +35656,74 @@ module Google
35409
35656
 
35410
35657
  # Update properties of this object
35411
35658
  def update!(**args)
35659
+ @developer_connect_source = args[:developer_connect_source] if args.key?(:developer_connect_source)
35412
35660
  @inline_source = args[:inline_source] if args.key?(:inline_source)
35413
35661
  @python_spec = args[:python_spec] if args.key?(:python_spec)
35414
35662
  end
35415
35663
  end
35416
35664
 
35665
+ # Specifies the configuration for fetching source code from a Git repository
35666
+ # that is managed by Developer Connect. This includes the repository, revision,
35667
+ # and directory to use.
35668
+ class GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpecDeveloperConnectConfig
35669
+ include Google::Apis::Core::Hashable
35670
+
35671
+ # Required. Directory, relative to the source root, in which to run the build.
35672
+ # Corresponds to the JSON property `dir`
35673
+ # @return [String]
35674
+ attr_accessor :dir
35675
+
35676
+ # Required. The Developer Connect Git repository link, formatted as `projects/*/
35677
+ # locations/*/connections/*/gitRepositoryLink/*`.
35678
+ # Corresponds to the JSON property `gitRepositoryLink`
35679
+ # @return [String]
35680
+ attr_accessor :git_repository_link
35681
+
35682
+ # Required. The revision to fetch from the Git repository such as a branch, a
35683
+ # tag, a commit SHA, or any Git ref.
35684
+ # Corresponds to the JSON property `revision`
35685
+ # @return [String]
35686
+ attr_accessor :revision
35687
+
35688
+ def initialize(**args)
35689
+ update!(**args)
35690
+ end
35691
+
35692
+ # Update properties of this object
35693
+ def update!(**args)
35694
+ @dir = args[:dir] if args.key?(:dir)
35695
+ @git_repository_link = args[:git_repository_link] if args.key?(:git_repository_link)
35696
+ @revision = args[:revision] if args.key?(:revision)
35697
+ end
35698
+ end
35699
+
35700
+ # Specifies source code to be fetched from a Git repository managed through the
35701
+ # Developer Connect service.
35702
+ class GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpecDeveloperConnectSource
35703
+ include Google::Apis::Core::Hashable
35704
+
35705
+ # Specifies the configuration for fetching source code from a Git repository
35706
+ # that is managed by Developer Connect. This includes the repository, revision,
35707
+ # and directory to use.
35708
+ # Corresponds to the JSON property `config`
35709
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpecDeveloperConnectConfig]
35710
+ attr_accessor :config
35711
+
35712
+ def initialize(**args)
35713
+ update!(**args)
35714
+ end
35715
+
35716
+ # Update properties of this object
35717
+ def update!(**args)
35718
+ @config = args[:config] if args.key?(:config)
35719
+ end
35720
+ end
35721
+
35417
35722
  # Specifies source code provided as a byte stream.
35418
35723
  class GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpecInlineSource
35419
35724
  include Google::Apis::Core::Hashable
35420
35725
 
35421
- # Required. Input only. The application source code archive, provided as a
35726
+ # Required. Input only. The application source code archive. It must be a
35422
35727
  # compressed tarball (.tar.gz) file.
35423
35728
  # Corresponds to the JSON property `sourceArchive`
35424
35729
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
@@ -35798,6 +36103,34 @@ module Google
35798
36103
  end
35799
36104
  end
35800
36105
 
36106
+ # The configuration for the replicated voice to use.
36107
+ class GoogleCloudAiplatformV1beta1ReplicatedVoiceConfig
36108
+ include Google::Apis::Core::Hashable
36109
+
36110
+ # Optional. The mimetype of the voice sample. The only currently supported value
36111
+ # is `audio/wav`. This represents 16-bit signed little-endian wav data, with a
36112
+ # 24kHz sampling rate. `mime_type` will default to `audio/wav` if not set.
36113
+ # Corresponds to the JSON property `mimeType`
36114
+ # @return [String]
36115
+ attr_accessor :mime_type
36116
+
36117
+ # Optional. The sample of the custom voice.
36118
+ # Corresponds to the JSON property `voiceSampleAudio`
36119
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
36120
+ # @return [String]
36121
+ attr_accessor :voice_sample_audio
36122
+
36123
+ def initialize(**args)
36124
+ update!(**args)
36125
+ end
36126
+
36127
+ # Update properties of this object
36128
+ def update!(**args)
36129
+ @mime_type = args[:mime_type] if args.key?(:mime_type)
36130
+ @voice_sample_audio = args[:voice_sample_audio] if args.key?(:voice_sample_audio)
36131
+ end
36132
+ end
36133
+
35801
36134
  # Request message for NotebookInternalService.ReportExecutionEvent.
35802
36135
  class GoogleCloudAiplatformV1beta1ReportExecutionEventRequest
35803
36136
  include Google::Apis::Core::Hashable
@@ -45618,7 +45951,8 @@ module Google
45618
45951
  attr_accessor :display_name
45619
45952
 
45620
45953
  # Optional. Timestamp of when this session is considered expired. This is *
45621
- # always* provided on output, regardless of what was sent on input.
45954
+ # always* provided on output, regardless of what was sent on input. The minimum
45955
+ # value is 24 hours from the time of creation.
45622
45956
  # Corresponds to the JSON property `expireTime`
45623
45957
  # @return [String]
45624
45958
  attr_accessor :expire_time
@@ -45643,7 +45977,7 @@ module Google
45643
45977
  # @return [Hash<String,Object>]
45644
45978
  attr_accessor :session_state
45645
45979
 
45646
- # Optional. Input only. The TTL for this session.
45980
+ # Optional. Input only. The TTL for this session. The minimum value is 24 hours.
45647
45981
  # Corresponds to the JSON property `ttl`
45648
45982
  # @return [String]
45649
45983
  attr_accessor :ttl
@@ -50962,7 +51296,8 @@ module Google
50962
51296
  class GoogleCloudAiplatformV1beta1TuningDataStats
50963
51297
  include Google::Apis::Core::Hashable
50964
51298
 
50965
- # Statistics computed for datasets used for distillation.
51299
+ # Statistics for distillation prompt dataset. These statistics do not include
51300
+ # the responses sampled from the teacher model.
50966
51301
  # Corresponds to the JSON property `distillationDataStats`
50967
51302
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DistillationDataStats]
50968
51303
  attr_accessor :distillation_data_stats
@@ -52568,6 +52903,11 @@ module Google
52568
52903
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig]
52569
52904
  attr_accessor :prebuilt_voice_config
52570
52905
 
52906
+ # The configuration for the replicated voice to use.
52907
+ # Corresponds to the JSON property `replicatedVoiceConfig`
52908
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReplicatedVoiceConfig]
52909
+ attr_accessor :replicated_voice_config
52910
+
52571
52911
  def initialize(**args)
52572
52912
  update!(**args)
52573
52913
  end
@@ -52575,6 +52915,7 @@ module Google
52575
52915
  # Update properties of this object
52576
52916
  def update!(**args)
52577
52917
  @prebuilt_voice_config = args[:prebuilt_voice_config] if args.key?(:prebuilt_voice_config)
52918
+ @replicated_voice_config = args[:replicated_voice_config] if args.key?(:replicated_voice_config)
52578
52919
  end
52579
52920
  end
52580
52921
 
@@ -53221,8 +53562,9 @@ module Google
53221
53562
  attr_accessor :operations
53222
53563
 
53223
53564
  # Unordered list. Unreachable resources. Populated when the request sets `
53224
- # ListOperationsRequest.return_partial_success` and reads across collections e.g.
53225
- # when attempting to list all resources across all supported locations.
53565
+ # ListOperationsRequest.return_partial_success` and reads across collections.
53566
+ # For example, when attempting to list all resources across all supported
53567
+ # locations.
53226
53568
  # Corresponds to the JSON property `unreachable`
53227
53569
  # @return [Array<String>]
53228
53570
  attr_accessor :unreachable