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.



6070
6071
6072
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6070

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)


6063
6064
6065
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6063

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)


6068
6069
6070
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6068

def copied_rows
  @copied_rows
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6075
6076
6077
6078
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6075

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