OperationMetadata class final
Represents the metadata of the long-running operation.
- Inheritance
-
- Object
- ProtoMessage
- OperationMetadata
Constructors
-
OperationMetadata({Timestamp? createTime, Timestamp? endTime, String target = '', String verb = '', String statusDetail = '', bool cancelRequested = false, String apiVersion = '', Any? requestResource, List<
Stage> stages = const [], String sourceToken = '', String buildName = '', OperationType operationType = OperationType.$default}) - OperationMetadata.fromJson(Object? j)
-
factory
Properties
- apiVersion → String
-
API version used to start the operation.
final
- buildName → String
-
The build name of the function for create and update operations.
final
- cancelRequested → bool
-
Identifies whether the user has requested cancellation
of the operation. Operations that have successfully been cancelled
have
google.longrunning.Operation.errorvalue with agoogle.rpc.Status.codeof 1, corresponding toCode.CANCELLED.final - createTime → Timestamp?
-
The time the operation was created.
final
- endTime → Timestamp?
-
The time the operation finished running.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- operationType → OperationType
-
The operation type.
final
- qualifiedName → String
-
The fully qualified name of this message, i.e.,
google.protobuf.Durationorgoogle.rpc.ErrorInfo.finalinherited - requestResource → Any?
-
The original request that started the operation.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sourceToken → String
-
An identifier for Firebase function sources. Disclaimer: This field is only
supported for Firebase function deployments.
final
-
stages
→ List<
Stage> -
Mechanism for reporting in-progress stages
final
- statusDetail → String
-
Human-readable status of the operation, if any.
final
- target → String
-
Server-defined resource path for the target of the operation.
final
- verb → String
-
Name of the verb executed by the operation.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Object -
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- fullyQualifiedName → const String