Class: Google::Apis::BigqueryV2::JobStatistics3
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::JobStatistics3
- 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
-
#bad_records ⇒ Fixnum
[Output-only] The number of bad records encountered.
-
#input_file_bytes ⇒ Fixnum
[Output-only] Number of bytes of source data in a load job.
-
#input_files ⇒ Fixnum
[Output-only] Number of source files in a load job.
-
#output_bytes ⇒ Fixnum
[Output-only] Size of the loaded data in bytes.
-
#output_rows ⇒ Fixnum
[Output-only] Number of rows imported in a load job.
Instance Method Summary collapse
-
#initialize(**args) ⇒ JobStatistics3
constructor
A new instance of JobStatistics3.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ JobStatistics3
Returns a new instance of JobStatistics3.
3478 3479 3480 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 3478 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bad_records ⇒ Fixnum
[Output-only] The number of bad records encountered. Note that if the job has
failed because of more bad records encountered than the maximum allowed in the
load job configuration, then this number can be less than the total number of
bad records present in the input data.
Corresponds to the JSON property badRecords
3454 3455 3456 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 3454 def bad_records @bad_records end |
#input_file_bytes ⇒ Fixnum
[Output-only] Number of bytes of source data in a load job.
Corresponds to the JSON property inputFileBytes
3459 3460 3461 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 3459 def input_file_bytes @input_file_bytes end |
#input_files ⇒ Fixnum
[Output-only] Number of source files in a load job.
Corresponds to the JSON property inputFiles
3464 3465 3466 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 3464 def input_files @input_files end |
#output_bytes ⇒ Fixnum
[Output-only] Size of the loaded data in bytes. Note that while a load job is
in the running state, this value may change.
Corresponds to the JSON property outputBytes
3470 3471 3472 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 3470 def output_bytes @output_bytes end |
#output_rows ⇒ Fixnum
[Output-only] Number of rows imported in a load job. Note that while an import
job is in the running state, this value may change.
Corresponds to the JSON property outputRows
3476 3477 3478 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 3476 def output_rows @output_rows end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3483 3484 3485 3486 3487 3488 3489 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 3483 def update!(**args) @bad_records = args[:bad_records] if args.key?(:bad_records) @input_file_bytes = args[:input_file_bytes] if args.key?(:input_file_bytes) @input_files = args[:input_files] if args.key?(:input_files) @output_bytes = args[:output_bytes] if args.key?(:output_bytes) @output_rows = args[:output_rows] if args.key?(:output_rows) end |