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.



6868
6869
6870
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6868

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)


6861
6862
6863
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6861

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)


6866
6867
6868
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6866

def copied_rows
  @copied_rows
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6873
6874
6875
6876
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6873

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