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
-
#creation_time ⇒ String
[Output-only] Creation time of this job, in milliseconds since the epoch.
-
#end_time ⇒ String
[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 ⇒ String
[Output-only] Start time of this job, in milliseconds since the epoch.
-
#total_bytes_processed ⇒ String
[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.
1743 1744 1745 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 1743 def initialize(**args) update!(**args) end |
Instance Attribute Details
#creation_time ⇒ String
[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
1707 1708 1709 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 1707 def creation_time @creation_time end |
#end_time ⇒ String
[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
1713 1714 1715 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 1713 def end_time @end_time end |
#extract ⇒ Google::Apis::BigqueryV2::JobStatistics4
[Output-only] Statistics for an extract job.
Corresponds to the JSON property extract
1718 1719 1720 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 1718 def extract @extract end |
#load ⇒ Google::Apis::BigqueryV2::JobStatistics3
[Output-only] Statistics for a load job.
Corresponds to the JSON property load
1723 1724 1725 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 1723 def load @load end |
#query ⇒ Google::Apis::BigqueryV2::JobStatistics2
[Output-only] Statistics for a query job.
Corresponds to the JSON property query
1728 1729 1730 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 1728 def query @query end |
#start_time ⇒ String
[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
1735 1736 1737 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 1735 def start_time @start_time end |
#total_bytes_processed ⇒ String
[Output-only] [Deprecated] Use the bytes processed in the query statistics
instead.
Corresponds to the JSON property totalBytesProcessed
1741 1742 1743 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 1741 def total_bytes_processed @total_bytes_processed end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1748 1749 1750 1751 1752 1753 1754 1755 1756 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 1748 def update!(**args) @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 |