Class: Google::Apis::BigqueryV2::JobStatistics3

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ JobStatistics3

Returns a new instance of JobStatistics3.



1861
1862
1863
# File 'generated/google/apis/bigquery_v2/classes.rb', line 1861

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#input_file_bytesString

[Output-only] Number of bytes of source data in a load job. Corresponds to the JSON property inputFileBytes

Returns:

  • (String)


1842
1843
1844
# File 'generated/google/apis/bigquery_v2/classes.rb', line 1842

def input_file_bytes
  @input_file_bytes
end

#input_filesString

[Output-only] Number of source files in a load job. Corresponds to the JSON property inputFiles

Returns:

  • (String)


1847
1848
1849
# File 'generated/google/apis/bigquery_v2/classes.rb', line 1847

def input_files
  @input_files
end

#output_bytesString

[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

Returns:

  • (String)


1853
1854
1855
# File 'generated/google/apis/bigquery_v2/classes.rb', line 1853

def output_bytes
  @output_bytes
end

#output_rowsString

[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

Returns:

  • (String)


1859
1860
1861
# File 'generated/google/apis/bigquery_v2/classes.rb', line 1859

def output_rows
  @output_rows
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1866
1867
1868
1869
1870
1871
# File 'generated/google/apis/bigquery_v2/classes.rb', line 1866

def update!(**args)
  @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