Operation
import type { Operation } from "https://googleapis.deno.dev/v1/sqladmin:v1.ts";
An Operation resource. For successful operations that return an Operation resource, only the fields relevant to the operation are populated in the resource.
§Properties
The context for acquire SSRS lease operation, if applicable.
An Admin API warning message.
The context for backup operation, if applicable.
If errors occurred during processing of this operation, this field will be populated.
The context for export operation, if applicable.
The context for import operation, if applicable.
An identifier that uniquely identifies the operation. You can use this identifier to retrieve the Operations resource that has information about the operation.
The type of the operation. Valid values are: * CREATE
* DELETE
*
UPDATE
* RESTART
* IMPORT
* EXPORT
* BACKUP_VOLUME
*
RESTORE_VOLUME
* CREATE_USER
* DELETE_USER
* CREATE_DATABASE
*
DELETE_DATABASE
This field is only populated when the operation_type is PRE_CHECK_MAJOR_VERSION_UPGRADE. The PreCheckMajorVersionUpgradeContext message itself contains the details for that pre-check, such as the target database version for the upgrade and the results of the check (including any warnings or errors found).
The status of an operation.
Optional. The sub operation based on the operation type.