Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FulfillmentSpec

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 fulfillment metric.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1FulfillmentSpec

Returns a new instance of GoogleCloudAiplatformV1FulfillmentSpec.



10393
10394
10395
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 10393

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)


10391
10392
10393
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 10391

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10398
10399
10400
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 10398

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