Google Cloud Gemini Data Analytics V1beta Client - Class TaskArtifactUpdateEvent (0.14.0)

Reference documentation and code samples for the Google Cloud Gemini Data Analytics V1beta Client class TaskArtifactUpdateEvent.

TaskArtifactUpdateEvent represents a task delta where an artifact has been generated.

Generated from protobuf message google.cloud.geminidataanalytics.v1beta.TaskArtifactUpdateEvent

Namespace

Google \ Cloud \ GeminiDataAnalytics \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ task_id string

Optional. The id of the task for this artifact.

↳ context_id string

Optional. The id of the context that this task belongs to.

↳ artifact A2AArtifact

Optional. The artifact itself.

↳ append bool

Optional. Whether this should be appended to a prior one produced.

↳ last_chunk bool

Optional. Whether this represents the last part of an artifact.

↳ metadata Google\Protobuf\Struct

Optional. Optional metadata associated with the artifact update.

getTaskId

Optional. The id of the task for this artifact.

Returns
Type Description
string

setTaskId

Optional. The id of the task for this artifact.

Parameter
Name Description
var string
Returns
Type Description
$this

getContextId

Optional. The id of the context that this task belongs to.

Returns
Type Description
string

setContextId

Optional. The id of the context that this task belongs to.

Parameter
Name Description
var string
Returns
Type Description
$this

getArtifact

Optional. The artifact itself.

Returns
Type Description
A2AArtifact|null

hasArtifact

clearArtifact

setArtifact

Optional. The artifact itself.

Parameter
Name Description
var A2AArtifact
Returns
Type Description
$this

getAppend

Optional. Whether this should be appended to a prior one produced.

Returns
Type Description
bool

setAppend

Optional. Whether this should be appended to a prior one produced.

Parameter
Name Description
var bool
Returns
Type Description
$this

getLastChunk

Optional. Whether this represents the last part of an artifact.

Returns
Type Description
bool

setLastChunk

Optional. Whether this represents the last part of an artifact.

Parameter
Name Description
var bool
Returns
Type Description
$this

getMetadata

Optional. Optional metadata associated with the artifact update.

Returns
Type Description
Google\Protobuf\Struct|null

hasMetadata

clearMetadata

setMetadata

Optional. Optional metadata associated with the artifact update.

Parameter
Name Description
var Google\Protobuf\Struct
Returns
Type Description
$this