Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1CoherenceSpec
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1CoherenceSpec
- 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
Spec for coherence score metric.
Instance Attribute Summary collapse
-
#version ⇒ Fixnum
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1CoherenceSpec
constructor
A new instance of GoogleCloudAiplatformV1beta1CoherenceSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1CoherenceSpec
Returns a new instance of GoogleCloudAiplatformV1beta1CoherenceSpec.
3099 3100 3101 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3099 def initialize(**args) update!(**args) end |
Instance Attribute Details
#version ⇒ Fixnum
Optional. Which version to use for evaluation.
Corresponds to the JSON property version
3097 3098 3099 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3097 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3104 3105 3106 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3104 def update!(**args) @version = args[:version] if args.key?(:version) end |