Reference documentation and code samples for the Data Analytics API with Gemini V1BETA API class Google::Cloud::GeminiDataAnalytics::V1beta::TaskStatusUpdateEvent.
TaskStatusUpdateEvent is a delta event on a task indicating that a task has changed.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#context_id
def context_id() -> ::String
Returns
- (::String) — Optional. The id of the context that the task belongs to.
#context_id=
def context_id=(value) -> ::String
Parameter
- value (::String) — Optional. The id of the context that the task belongs to.
Returns
- (::String) — Optional. The id of the context that the task belongs to.
#final
def final() -> ::Boolean
Returns
- (::Boolean) — Optional. Whether this is the last status update expected for this task.
#final=
def final=(value) -> ::Boolean
Parameter
- value (::Boolean) — Optional. Whether this is the last status update expected for this task.
Returns
- (::Boolean) — Optional. Whether this is the last status update expected for this task.
#metadata
def metadata() -> ::Google::Protobuf::Struct
Returns
- (::Google::Protobuf::Struct) — Optional. Optional metadata to associate with the task update.
#metadata=
def metadata=(value) -> ::Google::Protobuf::Struct
Parameter
- value (::Google::Protobuf::Struct) — Optional. Optional metadata to associate with the task update.
Returns
- (::Google::Protobuf::Struct) — Optional. Optional metadata to associate with the task update.
#status
def status() -> ::Google::Cloud::GeminiDataAnalytics::V1beta::TaskStatus
Returns
- (::Google::Cloud::GeminiDataAnalytics::V1beta::TaskStatus) — Optional. The new status of the task.
#status=
def status=(value) -> ::Google::Cloud::GeminiDataAnalytics::V1beta::TaskStatus
Parameter
- value (::Google::Cloud::GeminiDataAnalytics::V1beta::TaskStatus) — Optional. The new status of the task.
Returns
- (::Google::Cloud::GeminiDataAnalytics::V1beta::TaskStatus) — Optional. The new status of the task.
#task_id
def task_id() -> ::String
Returns
- (::String) — Optional. The id of the task that is changed.
#task_id=
def task_id=(value) -> ::String
Parameter
- value (::String) — Optional. The id of the task that is changed.
Returns
- (::String) — Optional. The id of the task that is changed.