Data Analytics API with Gemini V1BETA API - Class Google::Cloud::GeminiDataAnalytics::V1beta::A2ATask (v1.2.0)

Reference documentation and code samples for the Data Analytics API with Gemini V1BETA API class Google::Cloud::GeminiDataAnalytics::V1beta::A2ATask.

A2ATask is the core unit of action for A2A. It has a current status and when results are created for the task they are stored in the artifact. If there are multiple turns for a task, these are stored in history.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#artifacts

def artifacts() -> ::Array<::Google::Cloud::GeminiDataAnalytics::V1beta::A2AArtifact>
Returns

#artifacts=

def artifacts=(value) -> ::Array<::Google::Cloud::GeminiDataAnalytics::V1beta::A2AArtifact>
Parameter
Returns

#context_id

def context_id() -> ::String
Returns
  • (::String) — Optional. Unique identifier (e.g. UUID) for the contextual collection of interactions (tasks and messages). Created by the A2A server.

#context_id=

def context_id=(value) -> ::String
Parameter
  • value (::String) — Optional. Unique identifier (e.g. UUID) for the contextual collection of interactions (tasks and messages). Created by the A2A server.
Returns
  • (::String) — Optional. Unique identifier (e.g. UUID) for the contextual collection of interactions (tasks and messages). Created by the A2A server.

#history

def history() -> ::Array<::Google::Cloud::GeminiDataAnalytics::V1beta::A2AMessage>
Returns

#history=

def history=(value) -> ::Array<::Google::Cloud::GeminiDataAnalytics::V1beta::A2AMessage>
Parameter
Returns

#id

def id() -> ::String
Returns
  • (::String) — Optional. Unique identifier (e.g. UUID) for the task, generated by the server for a new task.

#id=

def id=(value) -> ::String
Parameter
  • value (::String) — Optional. Unique identifier (e.g. UUID) for the task, generated by the server for a new task.
Returns
  • (::String) — Optional. Unique identifier (e.g. UUID) for the task, generated by the server for a new task.

#metadata

def metadata() -> ::Google::Protobuf::Struct
Returns

#metadata=

def metadata=(value) -> ::Google::Protobuf::Struct
Parameter
Returns

#status

def status() -> ::Google::Cloud::GeminiDataAnalytics::V1beta::TaskStatus
Returns

#status=

def status=(value) -> ::Google::Cloud::GeminiDataAnalytics::V1beta::TaskStatus
Parameter
Returns