Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ContentDeltaData

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb

Overview

The delta content data for a content block.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GenaiVertexV1beta1ContentDeltaData

Returns a new instance of GenaiVertexV1beta1ContentDeltaData.



1748
1749
1750
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1748

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

Instance Attribute Details

#audioGoogle::Apis::AiplatformV1beta1::GenaiVertexV1beta1AudioDelta

Corresponds to the JSON property audio



1701
1702
1703
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1701

def audio
  @audio
end

#documentGoogle::Apis::AiplatformV1beta1::GenaiVertexV1beta1DocumentDelta

Corresponds to the JSON property document



1706
1707
1708
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1706

def document
  @document
end

#imageGoogle::Apis::AiplatformV1beta1::GenaiVertexV1beta1ImageDelta

Corresponds to the JSON property image



1711
1712
1713
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1711

def image
  @image
end

#textGoogle::Apis::AiplatformV1beta1::GenaiVertexV1beta1TextDelta

Corresponds to the JSON property text



1716
1717
1718
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1716

def text
  @text
end

#text_annotationGoogle::Apis::AiplatformV1beta1::GenaiVertexV1beta1TextAnnotationDelta

Corresponds to the JSON property textAnnotation



1721
1722
1723
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1721

def text_annotation
  @text_annotation
end

#thought_signatureGoogle::Apis::AiplatformV1beta1::GenaiVertexV1beta1ThoughtSignatureDelta

Corresponds to the JSON property thoughtSignature



1726
1727
1728
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1726

def thought_signature
  @thought_signature
end

#thought_summaryGoogle::Apis::AiplatformV1beta1::GenaiVertexV1beta1ThoughtSummaryDelta

Corresponds to the JSON property thoughtSummary



1731
1732
1733
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1731

def thought_summary
  @thought_summary
end

#tool_callGoogle::Apis::AiplatformV1beta1::GenaiVertexV1beta1ToolCallDelta

Corresponds to the JSON property toolCall



1736
1737
1738
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1736

def tool_call
  @tool_call
end

#tool_resultGoogle::Apis::AiplatformV1beta1::GenaiVertexV1beta1ToolResultDelta

Corresponds to the JSON property toolResult



1741
1742
1743
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1741

def tool_result
  @tool_result
end

#videoGoogle::Apis::AiplatformV1beta1::GenaiVertexV1beta1VideoDelta

Corresponds to the JSON property video



1746
1747
1748
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1746

def video
  @video
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1753

def update!(**args)
  @audio = args[:audio] if args.key?(:audio)
  @document = args[:document] if args.key?(:document)
  @image = args[:image] if args.key?(:image)
  @text = args[:text] if args.key?(:text)
  @text_annotation = args[:text_annotation] if args.key?(:text_annotation)
  @thought_signature = args[:thought_signature] if args.key?(:thought_signature)
  @thought_summary = args[:thought_summary] if args.key?(:thought_summary)
  @tool_call = args[:tool_call] if args.key?(:tool_call)
  @tool_result = args[:tool_result] if args.key?(:tool_result)
  @video = args[:video] if args.key?(:video)
end