Class: Google::Apis::AiplatformV1::LearningGenaiRootInternalMetadata

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LearningGenaiRootInternalMetadata

Returns a new instance of LearningGenaiRootInternalMetadata.



31549
31550
31551
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 31549

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

Instance Attribute Details

#scored_tokensArray<Google::Apis::AiplatformV1::LearningGenaiRootScoredToken>

Corresponds to the JSON property scoredTokens



31547
31548
31549
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 31547

def scored_tokens
  @scored_tokens
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



31554
31555
31556
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 31554

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