VertexAIOperation class
A long-running operation that is the result of a network API call.
- Annotations
-
- @immutable
Constructors
-
VertexAIOperation.new({required String name, required bool done, Map<
String, dynamic> ? response, VertexAIOperationError? error, Map<String, dynamic> ? metadata}) -
A long-running operation that is the result of a network API call.
const
Properties
- done → bool
-
If the value is
false
, it means the operation is still in progress.final - error → VertexAIOperationError?
-
The error result of the operation in case of failure or cancellation.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
-
metadata
→ Map<
String, dynamic> ? -
Service-specific metadata associated with the operation.
final
- name → String
-
The server-assigned name, which is only unique within the same service
that originally returns it.
final
-
response
→ Map<
String, dynamic> ? -
The normal response of the operation in case of success.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
covariant VertexAIOperation other) → bool -
The equality operator.
override