Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SummarizationVerbosityInput
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SummarizationVerbosityInput
- 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 summarization verbosity metric.
Instance Attribute Summary collapse
-
#instance ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SummarizationVerbosityInstance
Spec for summarization verbosity instance.
-
#metric_spec ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SummarizationVerbositySpec
Spec for summarization verbosity score metric.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1SummarizationVerbosityInput
constructor
A new instance of GoogleCloudAiplatformV1beta1SummarizationVerbosityInput.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1SummarizationVerbosityInput
Returns a new instance of GoogleCloudAiplatformV1beta1SummarizationVerbosityInput.
33311 33312 33313 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 33311 def initialize(**args) update!(**args) end |
Instance Attribute Details
#instance ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SummarizationVerbosityInstance
Spec for summarization verbosity instance.
Corresponds to the JSON property instance
33304 33305 33306 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 33304 def instance @instance end |
#metric_spec ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SummarizationVerbositySpec
Spec for summarization verbosity score metric.
Corresponds to the JSON property metricSpec
33309 33310 33311 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 33309 def metric_spec @metric_spec end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
33316 33317 33318 33319 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 33316 def update!(**args) @instance = args[:instance] if args.key?(:instance) @metric_spec = args[:metric_spec] if args.key?(:metric_spec) end |