Class: Google::Apis::BigqueryV2::ExportDataStatistics

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 the EXPORT DATA statement as part of Query Job. EXTRACT JOB statistics are populated in JobStatistics4.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ExportDataStatistics

Returns a new instance of ExportDataStatistics.



2963
2964
2965
# File 'lib/google/apis/bigquery_v2/classes.rb', line 2963

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

Instance Attribute Details

#file_countFixnum

Number of destination files generated in case of EXPORT DATA statement only. Corresponds to the JSON property fileCount

Returns:

  • (Fixnum)


2955
2956
2957
# File 'lib/google/apis/bigquery_v2/classes.rb', line 2955

def file_count
  @file_count
end

#row_countFixnum

[Alpha] Number of destination rows generated in case of EXPORT DATA statement only. Corresponds to the JSON property rowCount

Returns:

  • (Fixnum)


2961
2962
2963
# File 'lib/google/apis/bigquery_v2/classes.rb', line 2961

def row_count
  @row_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2968
2969
2970
2971
# File 'lib/google/apis/bigquery_v2/classes.rb', line 2968

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