Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundednessSpec
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundednessSpec
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb
Overview
Spec for groundedness metric.
Instance Attribute Summary collapse
-
#version ⇒ Fixnum
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1GroundednessSpec
constructor
A new instance of GoogleCloudAiplatformV1GroundednessSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1GroundednessSpec
Returns a new instance of GoogleCloudAiplatformV1GroundednessSpec.
11091 11092 11093 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 11091 def initialize(**args) update!(**args) end |
Instance Attribute Details
#version ⇒ Fixnum
Optional. Which version to use for evaluation.
Corresponds to the JSON property version
11089 11090 11091 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 11089 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11096 11097 11098 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 11096 def update!(**args) @version = args[:version] if args.key?(:version) end |