Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundednessSpec

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1GroundednessSpec

Returns a new instance of GoogleCloudAiplatformV1GroundednessSpec.



18276
18277
18278
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 18276

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#versionFixnum

Optional. Which version to use for evaluation. Corresponds to the JSON property version

Returns:

  • (Fixnum)


18274
18275
18276
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 18274

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18281
18282
18283
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 18281

def update!(**args)
  @version = args[:version] if args.key?(:version)
end