class Google::Apis::BigqueryV2::JobStatistics

Attributes

completion_ratio[RW]
TrustedTester
Output-only

Job progress (0.0 -> 1.0) for LOAD and EXTRACT

jobs. Corresponds to the JSON property `completionRatio` @return [Float]

creation_time[RW]
Output-only

Creation time of this job, in milliseconds since the epoch. This

field will be present on all jobs. Corresponds to the JSON property `creationTime` @return [Fixnum]

end_time[RW]
Output-only

End time of this job, in milliseconds since the epoch. This

field will be present whenever a job is in the DONE state. Corresponds to the JSON property `endTime` @return [Fixnum]

extract[RW]
Output-only

Statistics for an extract job.

Corresponds to the JSON property `extract` @return [Google::Apis::BigqueryV2::JobStatistics4]

load[RW]
Output-only

Statistics for a load job.

Corresponds to the JSON property `load` @return [Google::Apis::BigqueryV2::JobStatistics3]

num_child_jobs[RW]
Output-only

Number of child jobs executed.

Corresponds to the JSON property `numChildJobs` @return [Fixnum]

parent_job_id[RW]
Output-only

If this is a child job, the id of the parent.

Corresponds to the JSON property `parentJobId` @return [String]

query[RW]
Output-only

Statistics for a query job.

Corresponds to the JSON property `query` @return [Google::Apis::BigqueryV2::JobStatistics2]

quota_deferments[RW]
Output-only

Quotas which delayed this job's start time.

Corresponds to the JSON property `quotaDeferments` @return [Array<String>]

reservation_id[RW]
Output-only

Name of the primary reservation assigned to this job. Note that

this could be different than reservations reported in the reservation usage field if parent reservations were used to execute this job. Corresponds to the JSON property `reservation_id` @return [String]

reservation_usage[RW]
Output-only

Job resource usage breakdown by reservation.

Corresponds to the JSON property `reservationUsage` @return [Array<Google::Apis::BigqueryV2::JobStatistics::ReservationUsage>]

row_level_security_statistics[RW]
Output-only
Preview

Statistics for row-level security. Present only for

query and extract jobs. Corresponds to the JSON property `rowLevelSecurityStatistics` @return [Google::Apis::BigqueryV2::RowLevelSecurityStatistics]

script_statistics[RW]
Output-only

Statistics for a child job of a script.

Corresponds to the JSON property `scriptStatistics` @return [Google::Apis::BigqueryV2::ScriptStatistics]

session_info[RW]
Output-only
Preview

Information of the session if this job is part of one.

Corresponds to the JSON property `sessionInfo` @return [Google::Apis::BigqueryV2::SessionInfo]

start_time[RW]
Output-only

Start time of this job, in milliseconds since the epoch. This

field will be present when the job transitions from the PENDING state to either RUNNING or DONE. Corresponds to the JSON property `startTime` @return [Fixnum]

total_bytes_processed[RW]
Output-only
Deprecated

Use the bytes processed in the query statistics

instead. Corresponds to the JSON property `totalBytesProcessed` @return [Fixnum]

total_slot_ms[RW]
Output-only

Slot-milliseconds for the job.

Corresponds to the JSON property `totalSlotMs` @return [Fixnum]

transaction_info[RW]
Output-only
Alpha

Information of the multi-statement transaction if this

job is part of one. Corresponds to the JSON property `transactionInfo` @return [Google::Apis::BigqueryV2::TransactionInfo]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/bigquery_v2/classes.rb, line 3960
def update!(**args)
  @completion_ratio = args[:completion_ratio] if args.key?(:completion_ratio)
  @creation_time = args[:creation_time] if args.key?(:creation_time)
  @end_time = args[:end_time] if args.key?(:end_time)
  @extract = args[:extract] if args.key?(:extract)
  @load = args[:load] if args.key?(:load)
  @num_child_jobs = args[:num_child_jobs] if args.key?(:num_child_jobs)
  @parent_job_id = args[:parent_job_id] if args.key?(:parent_job_id)
  @query = args[:query] if args.key?(:query)
  @quota_deferments = args[:quota_deferments] if args.key?(:quota_deferments)
  @reservation_usage = args[:reservation_usage] if args.key?(:reservation_usage)
  @reservation_id = args[:reservation_id] if args.key?(:reservation_id)
  @row_level_security_statistics = args[:row_level_security_statistics] if args.key?(:row_level_security_statistics)
  @script_statistics = args[:script_statistics] if args.key?(:script_statistics)
  @session_info = args[:session_info] if args.key?(:session_info)
  @start_time = args[:start_time] if args.key?(:start_time)
  @total_bytes_processed = args[:total_bytes_processed] if args.key?(:total_bytes_processed)
  @total_slot_ms = args[:total_slot_ms] if args.key?(:total_slot_ms)
  @transaction_info = args[:transaction_info] if args.key?(:transaction_info)
end