Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceInstanceDataContents

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

List of standard Content messages from Gemini API.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1EvaluationInstanceInstanceDataContents

Returns a new instance of GoogleCloudAiplatformV1EvaluationInstanceInstanceDataContents.



9836
9837
9838
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 9836

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

Instance Attribute Details

#contentsArray<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content>

Optional. Repeated contents. Corresponds to the JSON property contents



9834
9835
9836
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 9834

def contents
  @contents
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9841
9842
9843
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 9841

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