GoogleApi.SQLAdmin.V1.Model.Operation (google_api_sql_admin v0.71.0)

View Source

An Operation resource. For successful operations that return an Operation resource, only the fields relevant to the operation are populated in the resource.

Attributes

  • acquireSsrsLeaseContext (type: GoogleApi.SQLAdmin.V1.Model.AcquireSsrsLeaseContext.t, default: nil) - The context for acquire SSRS lease operation, if applicable.
  • apiWarning (type: GoogleApi.SQLAdmin.V1.Model.ApiWarning.t, default: nil) - An Admin API warning message.
  • backupContext (type: GoogleApi.SQLAdmin.V1.Model.BackupContext.t, default: nil) - The context for backup operation, if applicable.
  • endTime (type: DateTime.t, default: nil) - The time this operation finished in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
  • error (type: GoogleApi.SQLAdmin.V1.Model.OperationErrors.t, default: nil) - If errors occurred during processing of this operation, this field will be populated.
  • exportContext (type: GoogleApi.SQLAdmin.V1.Model.ExportContext.t, default: nil) - The context for export operation, if applicable.
  • importContext (type: GoogleApi.SQLAdmin.V1.Model.ImportContext.t, default: nil) - The context for import operation, if applicable.
  • insertTime (type: DateTime.t, default: nil) - The time this operation was enqueued in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
  • kind (type: String.t, default: nil) - This is always sql#operation.
  • name (type: String.t, default: nil) - An identifier that uniquely identifies the operation. You can use this identifier to retrieve the Operations resource that has information about the operation.
  • operationType (type: String.t, default: nil) - 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
  • selfLink (type: String.t, default: nil) - The URI of this resource.
  • startTime (type: DateTime.t, default: nil) - The time this operation actually started in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
  • status (type: String.t, default: nil) - The status of an operation.
  • subOperationType (type: GoogleApi.SQLAdmin.V1.Model.SqlSubOperationType.t, default: nil) - Optional. The sub operation based on the operation type.
  • targetId (type: String.t, default: nil) - Name of the resource on which this operation runs.
  • targetLink (type: String.t, default: nil) -
  • targetProject (type: String.t, default: nil) - The project ID of the target instance related to this operation.
  • user (type: String.t, default: nil) - The email address of the user who initiated this operation.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.SQLAdmin.V1.Model.Operation{
  acquireSsrsLeaseContext:
    GoogleApi.SQLAdmin.V1.Model.AcquireSsrsLeaseContext.t() | nil,
  apiWarning: GoogleApi.SQLAdmin.V1.Model.ApiWarning.t() | nil,
  backupContext: GoogleApi.SQLAdmin.V1.Model.BackupContext.t() | nil,
  endTime: DateTime.t() | nil,
  error: GoogleApi.SQLAdmin.V1.Model.OperationErrors.t() | nil,
  exportContext: GoogleApi.SQLAdmin.V1.Model.ExportContext.t() | nil,
  importContext: GoogleApi.SQLAdmin.V1.Model.ImportContext.t() | nil,
  insertTime: DateTime.t() | nil,
  kind: String.t() | nil,
  name: String.t() | nil,
  operationType: String.t() | nil,
  selfLink: String.t() | nil,
  startTime: DateTime.t() | nil,
  status: String.t() | nil,
  subOperationType: GoogleApi.SQLAdmin.V1.Model.SqlSubOperationType.t() | nil,
  targetId: String.t() | nil,
  targetLink: String.t() | nil,
  targetProject: String.t() | nil,
  user: String.t() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.