Struct google_sqladmin1_beta4::Operation [] [src]

pub struct Operation {
    pub status: Option<String>,
    pub import_context: Option<ImportContext>,
    pub kind: Option<String>,
    pub name: Option<String>,
    pub export_context: Option<ExportContext>,
    pub target_project: Option<String>,
    pub target_id: Option<String>,
    pub operation_type: Option<String>,
    pub insert_time: Option<String>,
    pub target_link: Option<String>,
    pub start_time: Option<String>,
    pub error: Option<OperationErrors>,
    pub end_time: Option<String>,
    pub self_link: Option<String>,
    pub user: Option<String>,
}

An Operations resource contains information about database instance operations such as create, delete, and restart. Operations resources are created in response to operations that were initiated; you never create them directly.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

The status of an operation. Valid values are PENDING, RUNNING, DONE, UNKNOWN.

The context for import operation, if applicable.

This is always sql#operation.

An identifier that uniquely identifies the operation. You can use this identifier to retrieve the Operations resource that has information about the operation.

The context for export operation, if applicable.

The project ID of the target instance related to this operation.

Name of the database instance related to this 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 .

The time this operation was enqueued in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.

The URI of the instance related to the operation.

The time this operation actually started in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.

If errors occurred during processing of this operation, this field will be populated.

The time this operation finished in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.

The URI of this resource.

The email address of the user who initiated this operation.

Trait Implementations

impl Default for Operation
[src]

Returns the "default value" for a type. Read more

impl Clone for Operation
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Operation
[src]

Formats the value using the given formatter.

impl Resource for Operation
[src]

impl ResponseResult for Operation
[src]