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.



6981
6982
6983
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6981

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)


6968
6969
6970
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6968

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)


6973
6974
6975
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6973

def copied_rows
  @copied_rows
end

#remote_destination_regionString

Output only. Destination region for a cross-region copy job. Not set for in- region copy jobs. Corresponds to the JSON property remoteDestinationRegion

Returns:

  • (String)


6979
6980
6981
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6979

def remote_destination_region
  @remote_destination_region
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6986
6987
6988
6989
6990
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6986

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)
  @remote_destination_region = args[:remote_destination_region] if args.key?(:remote_destination_region)
end