Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RubricContent

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

Content of the rubric, defining the testable criteria.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1RubricContent

Returns a new instance of GoogleCloudAiplatformV1RubricContent.



32439
32440
32441
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 32439

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

Instance Attribute Details

#propertyGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1RubricContentProperty

Defines criteria based on a specific property. Corresponds to the JSON property property



32437
32438
32439
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 32437

def property
  @property
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



32444
32445
32446
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 32444

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