google_api_sql_admin v0.6.0 GoogleApi.SQLAdmin.V1beta4.Model.Operation 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

  • endTime (DateTime.t): The time this operation finished in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z. Defaults to: null.
  • error (OperationErrors): If errors occurred during processing of this operation, this field will be populated. Defaults to: null.
  • exportContext (ExportContext): The context for export operation, if applicable. Defaults to: null.
  • importContext (ImportContext): The context for import operation, if applicable. Defaults to: null.
  • insertTime (DateTime.t): The time this operation was enqueued in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z. Defaults to: null.
  • kind (String.t): This is always sql#operation. Defaults to: null.
  • name (String.t): An identifier that uniquely identifies the operation. You can use this identifier to retrieve the Operations resource that has information about the operation. Defaults to: null.
  • operationType (String.t): 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 . Defaults to: null.
  • selfLink (String.t): The URI of this resource. Defaults to: null.
  • startTime (DateTime.t): The time this operation actually started in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z. Defaults to: null.
  • status (String.t): The status of an operation. Valid values are PENDING, RUNNING, DONE, UNKNOWN. Defaults to: null.
  • targetId (String.t): Name of the database instance related to this operation. Defaults to: null.
  • targetLink (String.t): Defaults to: null.
  • targetProject (String.t): The project ID of the target instance related to this operation. Defaults to: null.
  • user (String.t): The email address of the user who initiated this operation. Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t() View Source
t() :: %GoogleApi.SQLAdmin.V1beta4.Model.Operation{
  endTime: DateTime.t(),
  error: GoogleApi.SQLAdmin.V1beta4.Model.OperationErrors.t(),
  exportContext: GoogleApi.SQLAdmin.V1beta4.Model.ExportContext.t(),
  importContext: GoogleApi.SQLAdmin.V1beta4.Model.ImportContext.t(),
  insertTime: DateTime.t(),
  kind: any(),
  name: any(),
  operationType: any(),
  selfLink: any(),
  startTime: DateTime.t(),
  status: any(),
  targetId: any(),
  targetLink: any(),
  targetProject: any(),
  user: any()
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.