Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GroundednessSpec

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1GroundednessSpec

Returns a new instance of GoogleCloudAiplatformV1beta1GroundednessSpec.



26525
26526
26527
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 26525

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)


26523
26524
26525
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 26523

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



26530
26531
26532
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 26530

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