@@ -3391,8 +3391,9 @@ def update!(**args)
3391
3391
end
3392
3392
end
3393
3393
3394
- # Result of executing the [ExecutableCode]. Always follows a `part` containing
3395
- # the [ExecutableCode].
3394
+ # Result of executing the [ExecutableCode]. Only generated when using the [
3395
+ # CodeExecution] tool, and always follows a `part` containing the [
3396
+ # ExecutableCode].
3396
3397
class GoogleCloudAiplatformV1CodeExecutionResult
3397
3398
include Google::Apis::Core::Hashable
3398
3399
@@ -3512,6 +3513,34 @@ def update!(**args)
3512
3513
end
3513
3514
end
3514
3515
3516
+ # Colab image of the runtime.
3517
+ class GoogleCloudAiplatformV1ColabImage
3518
+ include Google::Apis::Core::Hashable
3519
+
3520
+ # Output only. A human-readable description of the specified colab image release,
3521
+ # populated by the system. Example: "Python 3.10", "Latest - current Python 3.
3522
+ # 11"
3523
+ # Corresponds to the JSON property `description`
3524
+ # @return [String]
3525
+ attr_accessor :description
3526
+
3527
+ # Optional. The release name of the NotebookRuntime Colab image, e.g. "py310".
3528
+ # If not specified, detault to the latest release.
3529
+ # Corresponds to the JSON property `releaseName`
3530
+ # @return [String]
3531
+ attr_accessor :release_name
3532
+
3533
+ def initialize(**args)
3534
+ update!(**args)
3535
+ end
3536
+
3537
+ # Update properties of this object
3538
+ def update!(**args)
3539
+ @description = args[:description] if args.key?(:description)
3540
+ @release_name = args[:release_name] if args.key?(:release_name)
3541
+ end
3542
+ end
3543
+
3515
3544
# Input for Comet metric.
3516
3545
class GoogleCloudAiplatformV1CometInput
3517
3546
include Google::Apis::Core::Hashable
@@ -8157,8 +8186,9 @@ def update!(**args)
8157
8186
end
8158
8187
8159
8188
# Code generated by the model that is meant to be executed, and the result
8160
- # returned to the model. Generated when using the [FunctionDeclaration] tool and
8161
- # [FunctionCallingConfig] mode is set to [Mode.CODE].
8189
+ # returned to the model. Generated when using the [CodeExecution] tool, in which
8190
+ # the code will be automatically executed, and a corresponding [
8191
+ # CodeExecutionResult] will also be generated.
8162
8192
class GoogleCloudAiplatformV1ExecutableCode
8163
8193
include Google::Apis::Core::Hashable
8164
8194
@@ -12480,6 +12510,13 @@ class GoogleCloudAiplatformV1GenerationConfig
12480
12510
# @return [Fixnum]
12481
12511
attr_accessor :candidate_count
12482
12512
12513
+ # Optional. If enabled, the model will detect emotions and adapt its responses
12514
+ # accordingly.
12515
+ # Corresponds to the JSON property `enableAffectiveDialog`
12516
+ # @return [Boolean]
12517
+ attr_accessor :enable_affective_dialog
12518
+ alias_method :enable_affective_dialog?, :enable_affective_dialog
12519
+
12483
12520
# Optional. Frequency penalties.
12484
12521
# Corresponds to the JSON property `frequencyPenalty`
12485
12522
# @return [Float]
@@ -12580,6 +12617,7 @@ def initialize(**args)
12580
12617
def update!(**args)
12581
12618
@audio_timestamp = args[:audio_timestamp] if args.key?(:audio_timestamp)
12582
12619
@candidate_count = args[:candidate_count] if args.key?(:candidate_count)
12620
+ @enable_affective_dialog = args[:enable_affective_dialog] if args.key?(:enable_affective_dialog)
12583
12621
@frequency_penalty = args[:frequency_penalty] if args.key?(:frequency_penalty)
12584
12622
@logprobs = args[:logprobs] if args.key?(:logprobs)
12585
12623
@max_output_tokens = args[:max_output_tokens] if args.key?(:max_output_tokens)
@@ -20494,6 +20532,11 @@ def update!(**args)
20494
20532
class GoogleCloudAiplatformV1NotebookSoftwareConfig
20495
20533
include Google::Apis::Core::Hashable
20496
20534
20535
+ # Colab image of the runtime.
20536
+ # Corresponds to the JSON property `colabImage`
20537
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ColabImage]
20538
+ attr_accessor :colab_image
20539
+
20497
20540
# Optional. Environment variables to be passed to the container. Maximum limit
20498
20541
# is 100.
20499
20542
# Corresponds to the JSON property `env`
@@ -20511,6 +20554,7 @@ def initialize(**args)
20511
20554
20512
20555
# Update properties of this object
20513
20556
def update!(**args)
20557
+ @colab_image = args[:colab_image] if args.key?(:colab_image)
20514
20558
@env = args[:env] if args.key?(:env)
20515
20559
@post_startup_script_config = args[:post_startup_script_config] if args.key?(:post_startup_script_config)
20516
20560
end
@@ -20540,6 +20584,18 @@ def update!(**args)
20540
20584
class GoogleCloudAiplatformV1PscAutomationConfig
20541
20585
include Google::Apis::Core::Hashable
20542
20586
20587
+ # Output only. Forwarding rule created by the PSC service automation. Note for
20588
+ # Vector search, use IndexPrivateEndpoint instead.
20589
+ # Corresponds to the JSON property `forwardingRule`
20590
+ # @return [String]
20591
+ attr_accessor :forwarding_rule
20592
+
20593
+ # Output only. IP address rule created by the PSC service automation. Note for
20594
+ # Vector search, use IndexPrivateEndpoint instead.
20595
+ # Corresponds to the JSON property `ipAddress`
20596
+ # @return [String]
20597
+ attr_accessor :ip_address
20598
+
20543
20599
# Required. The full name of the Google Compute Engine [network](https://cloud.
20544
20600
# google.com/compute/docs/networks-and-firewalls#networks). [Format](https://
20545
20601
# cloud.google.com/compute/docs/reference/rest/v1/networks/insert): `projects/`
@@ -20560,6 +20616,8 @@ def initialize(**args)
20560
20616
20561
20617
# Update properties of this object
20562
20618
def update!(**args)
20619
+ @forwarding_rule = args[:forwarding_rule] if args.key?(:forwarding_rule)
20620
+ @ip_address = args[:ip_address] if args.key?(:ip_address)
20563
20621
@network = args[:network] if args.key?(:network)
20564
20622
@project_id = args[:project_id] if args.key?(:project_id)
20565
20623
end
@@ -20952,15 +21010,17 @@ def update!(**args)
20952
21010
class GoogleCloudAiplatformV1Part
20953
21011
include Google::Apis::Core::Hashable
20954
21012
20955
- # Result of executing the [ExecutableCode]. Always follows a `part` containing
20956
- # the [ExecutableCode].
21013
+ # Result of executing the [ExecutableCode]. Only generated when using the [
21014
+ # CodeExecution] tool, and always follows a `part` containing the [
21015
+ # ExecutableCode].
20957
21016
# Corresponds to the JSON property `codeExecutionResult`
20958
21017
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CodeExecutionResult]
20959
21018
attr_accessor :code_execution_result
20960
21019
20961
21020
# Code generated by the model that is meant to be executed, and the result
20962
- # returned to the model. Generated when using the [FunctionDeclaration] tool and
20963
- # [FunctionCallingConfig] mode is set to [Mode.CODE].
21021
+ # returned to the model. Generated when using the [CodeExecution] tool, in which
21022
+ # the code will be automatically executed, and a corresponding [
21023
+ # CodeExecutionResult] will also be generated.
20964
21024
# Corresponds to the JSON property `executableCode`
20965
21025
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ExecutableCode]
20966
21026
attr_accessor :executable_code
@@ -36145,14 +36205,16 @@ class GoogleCloudAiplatformV1SupervisedTuningSpec
36145
36205
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SupervisedHyperParameters]
36146
36206
attr_accessor :hyper_parameters
36147
36207
36148
- # Required. Cloud Storage path to file containing training dataset for tuning.
36149
- # The dataset must be formatted as a JSONL file.
36208
+ # Required. Training dataset used for tuning. The dataset can be specified as
36209
+ # either a Cloud Storage path to a JSONL file or as the resource name of a
36210
+ # Vertex Multimodal Dataset.
36150
36211
# Corresponds to the JSON property `trainingDatasetUri`
36151
36212
# @return [String]
36152
36213
attr_accessor :training_dataset_uri
36153
36214
36154
- # Optional. Cloud Storage path to file containing validation dataset for tuning.
36155
- # The dataset must be formatted as a JSONL file.
36215
+ # Optional. Validation dataset used for tuning. The dataset can be specified as
36216
+ # either a Cloud Storage path to a JSONL file or as the resource name of a
36217
+ # Vertex Multimodal Dataset.
36156
36218
# Corresponds to the JSON property `validationDatasetUri`
36157
36219
# @return [String]
36158
36220
attr_accessor :validation_dataset_uri
0 commit comments