Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ContentDeltaData
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ContentDeltaData
- 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
-
#audio ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1AudioDelta
Corresponds to the JSON property
audio. -
#document ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1DocumentDelta
Corresponds to the JSON property
document. -
#image ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ImageDelta
Corresponds to the JSON property
image. -
#text ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1TextDelta
Corresponds to the JSON property
text. -
#text_annotation ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1TextAnnotationDelta
Corresponds to the JSON property
textAnnotation. -
#thought_signature ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ThoughtSignatureDelta
Corresponds to the JSON property
thoughtSignature. -
#thought_summary ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ThoughtSummaryDelta
Corresponds to the JSON property
thoughtSummary. -
#tool_call ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ToolCallDelta
Corresponds to the JSON property
toolCall. -
#tool_result ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ToolResultDelta
Corresponds to the JSON property
toolResult. -
#video ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1VideoDelta
Corresponds to the JSON property
video.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GenaiVertexV1beta1ContentDeltaData
constructor
A new instance of GenaiVertexV1beta1ContentDeltaData.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GenaiVertexV1beta1ContentDeltaData
Returns a new instance of GenaiVertexV1beta1ContentDeltaData.
1555 1556 1557 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1555 def initialize(**args) update!(**args) end |
Instance Attribute Details
#audio ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1AudioDelta
Corresponds to the JSON property audio
1508 1509 1510 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1508 def audio @audio end |
#document ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1DocumentDelta
Corresponds to the JSON property document
1513 1514 1515 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1513 def document @document end |
#image ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ImageDelta
Corresponds to the JSON property image
1518 1519 1520 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1518 def image @image end |
#text ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1TextDelta
Corresponds to the JSON property text
1523 1524 1525 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1523 def text @text end |
#text_annotation ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1TextAnnotationDelta
Corresponds to the JSON property textAnnotation
1528 1529 1530 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1528 def text_annotation @text_annotation end |
#thought_signature ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ThoughtSignatureDelta
Corresponds to the JSON property thoughtSignature
1533 1534 1535 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1533 def thought_signature @thought_signature end |
#thought_summary ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ThoughtSummaryDelta
Corresponds to the JSON property thoughtSummary
1538 1539 1540 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1538 def thought_summary @thought_summary end |
#tool_call ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ToolCallDelta
Corresponds to the JSON property toolCall
1543 1544 1545 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1543 def tool_call @tool_call end |
#tool_result ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ToolResultDelta
Corresponds to the JSON property toolResult
1548 1549 1550 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1548 def tool_result @tool_result end |
#video ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1VideoDelta
Corresponds to the JSON property video
1553 1554 1555 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1553 def video @video end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1560 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 |