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.



6044
6045
6046
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6044

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)


6037
6038
6039
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6037

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)


6042
6043
6044
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6042

def copied_rows
  @copied_rows
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6049
6050
6051
6052
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6049

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