Class: Google::Apis::BigqueryV2::JobStatistics
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::JobStatistics
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/bigquery_v2/classes.rb,
generated/google/apis/bigquery_v2/representations.rb,
generated/google/apis/bigquery_v2/representations.rb
Instance Attribute Summary collapse
-
#completion_ratio ⇒ Float
[Experimental] [Output-only] Job progress (0.0 -> 1.0) for LOAD and EXTRACT jobs.
-
#creation_time ⇒ Fixnum
[Output-only] Creation time of this job, in milliseconds since the epoch.
-
#end_time ⇒ Fixnum
[Output-only] End time of this job, in milliseconds since the epoch.
-
#extract ⇒ Google::Apis::BigqueryV2::JobStatistics4
[Output-only] Statistics for an extract job.
-
#load ⇒ Google::Apis::BigqueryV2::JobStatistics3
[Output-only] Statistics for a load job.
-
#query ⇒ Google::Apis::BigqueryV2::JobStatistics2
[Output-only] Statistics for a query job.
-
#start_time ⇒ Fixnum
[Output-only] Start time of this job, in milliseconds since the epoch.
-
#total_bytes_processed ⇒ Fixnum
[Output-only] [Deprecated] Use the bytes processed in the query statistics instead.
Instance Method Summary collapse
-
#initialize(**args) ⇒ JobStatistics
constructor
A new instance of JobStatistics.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ JobStatistics
Returns a new instance of JobStatistics
2008 2009 2010 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 2008 def initialize(**args) update!(**args) end |
Instance Attribute Details
#completion_ratio ⇒ Float
[Experimental] [Output-only] Job progress (0.0 -> 1.0) for LOAD and EXTRACT
jobs.
Corresponds to the JSON property completionRatio
1966 1967 1968 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 1966 def completion_ratio @completion_ratio end |
#creation_time ⇒ Fixnum
[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
1972 1973 1974 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 1972 def creation_time @creation_time end |
#end_time ⇒ Fixnum
[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
1978 1979 1980 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 1978 def end_time @end_time end |
#extract ⇒ Google::Apis::BigqueryV2::JobStatistics4
[Output-only] Statistics for an extract job.
Corresponds to the JSON property extract
1983 1984 1985 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 1983 def extract @extract end |
#load ⇒ Google::Apis::BigqueryV2::JobStatistics3
[Output-only] Statistics for a load job.
Corresponds to the JSON property load
1988 1989 1990 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 1988 def load @load end |
#query ⇒ Google::Apis::BigqueryV2::JobStatistics2
[Output-only] Statistics for a query job.
Corresponds to the JSON property query
1993 1994 1995 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 1993 def query @query end |
#start_time ⇒ Fixnum
[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
2000 2001 2002 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 2000 def start_time @start_time end |
#total_bytes_processed ⇒ Fixnum
[Output-only] [Deprecated] Use the bytes processed in the query statistics
instead.
Corresponds to the JSON property totalBytesProcessed
2006 2007 2008 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 2006 def total_bytes_processed @total_bytes_processed end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 2013 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) @query = args[:query] if args.key?(:query) @start_time = args[:start_time] if args.key?(:start_time) @total_bytes_processed = args[:total_bytes_processed] if args.key?(:total_bytes_processed) end |