struct

Google::GenerativeAI::Content::Text

Inherits MessagePack::Serializable < JSON::Serializable < Google::Resource < Struct < Value < Object

Constructors

new(pull : JSON::PullParser)
new(text : String)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)

Instance methods

text