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 = ''})
- OperationMetadata.fromJson(Object? j)
-
factory
Properties
- apiVersion → String
-
Output only. API version used to start the operation.
final
- cancelRequested → bool
-
Output only. Identifies whether the user has requested cancellation
of the operation. Operations that have successfully been cancelled
have
Operation.errorvalue with agoogle.rpc.Status.codeof 1, corresponding toCode.CANCELLED.final - createTime → Timestamp?
-
Output only. The time the operation was created.
final
- endTime → Timestamp?
-
Output only. The time the operation finished running.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- qualifiedName → String
-
The fully qualified name of this message, i.e.,
google.protobuf.Durationorgoogle.rpc.ErrorInfo.finalinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- statusDetail → String
-
Output only. Human-readable status of the operation, if any.
final
- target → String
-
Output only. Server-defined resource path for the target of the operation.
final
- verb → String
-
Output only. 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