Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolCallValidInput
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolCallValidInput
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb
Overview
Input for tool call valid metric.
Instance Attribute Summary collapse
-
#instances ⇒ Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolCallValidInstance>
Required.
-
#metric_spec ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolCallValidSpec
Spec for tool call valid metric.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ToolCallValidInput
constructor
A new instance of GoogleCloudAiplatformV1beta1ToolCallValidInput.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ToolCallValidInput
Returns a new instance of GoogleCloudAiplatformV1beta1ToolCallValidInput.
34470 34471 34472 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 34470 def initialize(**args) update!(**args) end |
Instance Attribute Details
#instances ⇒ Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolCallValidInstance>
Required. Repeated tool call valid instances.
Corresponds to the JSON property instances
34463 34464 34465 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 34463 def instances @instances end |
#metric_spec ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolCallValidSpec
Spec for tool call valid metric.
Corresponds to the JSON property metricSpec
34468 34469 34470 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 34468 def metric_spec @metric_spec end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
34475 34476 34477 34478 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 34475 def update!(**args) @instances = args[:instances] if args.key?(:instances) @metric_spec = args[:metric_spec] if args.key?(:metric_spec) end |