Reference documentation and code samples for the Google Cloud Gemini Data Analytics V1beta Client class TaskStatus.
A container for the status of a task.
Generated from protobuf message google.cloud.geminidataanalytics.v1beta.TaskStatus
Namespace
Google \ Cloud \ GeminiDataAnalytics \ V1betaMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ state |
int
Output only. The current state of this task. |
↳ update |
A2AMessage
Optional. A message associated with the status. |
↳ timestamp |
Google\Protobuf\Timestamp
Output only. Timestamp when the status was recorded. |
getState
Output only. The current state of this task.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type TaskState. |
setState
Output only. The current state of this task.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type TaskState. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUpdate
Optional. A message associated with the status.
| Returns | |
|---|---|
| Type | Description |
A2AMessage|null |
|
hasUpdate
clearUpdate
setUpdate
Optional. A message associated with the status.
| Parameter | |
|---|---|
| Name | Description |
var |
A2AMessage
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTimestamp
Output only. Timestamp when the status was recorded.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasTimestamp
clearTimestamp
setTimestamp
Output only. Timestamp when the status was recorded.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|