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({AcquireSsrsLeaseContext? acquireSsrsLeaseContext, ApiWarning? apiWarning, BackupContext? backupContext, String? endTime, OperationErrors? error, ExportContext? exportContext, ImportContext? importContext, String? insertTime, String? kind, String? name, String? operationType, PreCheckMajorVersionUpgradeContext? preCheckMajorVersionUpgradeContext, String? selfLink, String? startTime, StartWorkloadCaptureContext? startWorkloadCaptureContext, StartWorkloadReplayContext? startWorkloadReplayContext, String? status, StopWorkloadCaptureContext? stopWorkloadCaptureContext, StopWorkloadReplayContext? stopWorkloadReplayContext, SqlSubOperationType? subOperationType, String? targetId, String? targetLink, String? targetProject, String? user})
Operation.fromJson(Map json_)

Properties

acquireSsrsLeaseContext ↔ AcquireSsrsLeaseContext?
The context for acquire SSRS lease operation, if applicable.
getter/setter pair
apiWarning ↔ ApiWarning?
An Admin API warning message.
getter/setter pair
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
preCheckMajorVersionUpgradeContext ↔ PreCheckMajorVersionUpgradeContext?
This field is only populated when the operation_type is PRE_CHECK_MAJOR_VERSION_UPGRADE.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
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
startWorkloadCaptureContext ↔ StartWorkloadCaptureContext?
The context for the StartWorkloadCapture operation, which contains details to start recording the workload (SQL queries) on a Cloud SQL instance.
getter/setter pair
startWorkloadReplayContext ↔ StartWorkloadReplayContext?
The context for the StartWorkloadReplay operation, which contains details about starting the execution of a captured workload (recorded read and write SQL queries) on a replay instance (the Cloud SQL instance where the recorded SQL queries are executed).
getter/setter pair
status ↔ String?
The status of an operation. Possible string values are:
getter/setter pair
stopWorkloadCaptureContext ↔ StopWorkloadCaptureContext?
The context for the StopWorkloadCapture operation, which contains details to stop recording the workload (SQL queries) on a Cloud SQL instance.
getter/setter pair
stopWorkloadReplayContext ↔ StopWorkloadReplayContext?
The context for the StopWorkloadReplay operation, which contains details about stopping the execution of a captured workload (recorded read and write SQL queries) on a replay instance.
getter/setter pair
subOperationType ↔ SqlSubOperationType?
The sub operation based on the operation type.
getter/setter pair
targetId ↔ String?
Name of the resource on which this operation runs.
getter/setter pair
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