Class: Google::Apis::BigqueryV2::JobStatistics5

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/bigquery_v2/classes.rb,
lib/google/apis/bigquery_v2/representations.rb,
lib/google/apis/bigquery_v2/representations.rb

Overview

Statistics for a copy job.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ JobStatistics5

Returns a new instance of JobStatistics5.



5941
5942
5943
# File 'lib/google/apis/bigquery_v2/classes.rb', line 5941

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

Instance Attribute Details

#copied_logical_bytesFixnum

Output only. Number of logical bytes copied to the destination table. Corresponds to the JSON property copiedLogicalBytes

Returns:

  • (Fixnum)


5934
5935
5936
# File 'lib/google/apis/bigquery_v2/classes.rb', line 5934

def copied_logical_bytes
  @copied_logical_bytes
end

#copied_rowsFixnum

Output only. Number of rows copied to the destination table. Corresponds to the JSON property copiedRows

Returns:

  • (Fixnum)


5939
5940
5941
# File 'lib/google/apis/bigquery_v2/classes.rb', line 5939

def copied_rows
  @copied_rows
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5946
5947
5948
5949
# File 'lib/google/apis/bigquery_v2/classes.rb', line 5946

def update!(**args)
  @copied_logical_bytes = args[:copied_logical_bytes] if args.key?(:copied_logical_bytes)
  @copied_rows = args[:copied_rows] if args.key?(:copied_rows)
end