class Google::Apis::FusiontablesV2::Task

A background task on a table, initiated for time- or resource-consuming operations such as changing column types or deleting all rows.

Attributes

kind[RW]

Type of the resource. This is always “fusiontables#task”. Corresponds to the JSON property `kind` @return [String]

progress[RW]

Task percentage completion. Corresponds to the JSON property `progress` @return [String]

started[RW]

false while the table is busy with some other task. true if this background task is currently running. Corresponds to the JSON property `started` @return [Boolean]

started?[RW]

false while the table is busy with some other task. true if this background task is currently running. Corresponds to the JSON property `started` @return [Boolean]

task_id[RW]

Identifier for the task. Corresponds to the JSON property `taskId` @return [String]

type[RW]

Type of background task. Corresponds to the JSON property `type` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/fusiontables_v2/classes.rb, line 904
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/fusiontables_v2/classes.rb, line 909
def update!(**args)
  @kind = args[:kind] if args.key?(:kind)
  @progress = args[:progress] if args.key?(:progress)
  @started = args[:started] if args.key?(:started)
  @task_id = args[:task_id] if args.key?(:task_id)
  @type = args[:type] if args.key?(:type)
end