Operation class
An Operation resource.
For successful operations that return an Operation resource, only the fields relevant to the operation are populated in the resource.
Constructors
- Operation({BackupContext? backupContext, String? endTime, OperationErrors? error, ExportContext? exportContext, ImportContext? importContext, String? insertTime, String? kind, String? name, String? operationType, String? selfLink, String? startTime, String? status, String? targetId, String? targetLink, String? targetProject, String? user})
- Operation.fromJson(Map _json)
Properties
- backupContext ↔ BackupContext?
-
The context for backup operation, if applicable.
getter/setter pair
- endTime ↔ String?
-
The time this operation finished in UTC timezone in
RFC 3339 format, for example
2012-11-15T16:19:00.094Z.
getter/setter pair
- error ↔ OperationErrors?
-
If errors occurred during processing of this operation, this field will be
populated.
getter/setter pair
- exportContext ↔ ExportContext?
-
The context for export operation, if applicable.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- importContext ↔ ImportContext?
-
The context for import operation, if applicable.
getter/setter pair
- insertTime ↔ String?
-
The time this operation was enqueued in UTC timezone in
RFC 3339 format, for example
2012-11-15T16:19:00.094Z.
getter/setter pair
- kind ↔ String?
-
This is always sql#operation.
getter/setter pair
- name ↔ String?
-
An identifier that uniquely identifies the operation.
getter/setter pair
- operationType ↔ String?
-
The type of the operation.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selfLink ↔ String?
-
The URI of this resource.
getter/setter pair
- startTime ↔ String?
-
The time this operation actually started in UTC timezone in
RFC 3339 format, for example
2012-11-15T16:19:00.094Z.
getter/setter pair
- status ↔ String?
-
The status of an operation.
getter/setter pair
- targetId ↔ String?
-
Name of the database instance related to this operation.
getter/setter pair
- targetLink ↔ String?
-
getter/setter pair
- targetProject ↔ String?
-
The project ID of the target instance related to this operation.
getter/setter pair
- user ↔ String?
-
The email address of the user who initiated this operation.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited