Class: Google::Apis::LanguageV1::XpsTableSpec

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/language_v1/classes.rb,
lib/google/apis/language_v1/representations.rb,
lib/google/apis/language_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ XpsTableSpec

Returns a new instance of XpsTableSpec.



3812
3813
3814
# File 'lib/google/apis/language_v1/classes.rb', line 3812

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

Instance Attribute Details

#column_specsHash<String,Google::Apis::LanguageV1::XpsColumnSpec>

Mapping from column id to column spec. Corresponds to the JSON property columnSpecs

Returns:



3790
3791
3792
# File 'lib/google/apis/language_v1/classes.rb', line 3790

def column_specs
  @column_specs
end

#imported_data_size_in_bytesFixnum

The total size of imported data of the table. Corresponds to the JSON property importedDataSizeInBytes

Returns:

  • (Fixnum)


3795
3796
3797
# File 'lib/google/apis/language_v1/classes.rb', line 3795

def imported_data_size_in_bytes
  @imported_data_size_in_bytes
end

#row_countFixnum

The number of rows in the table. Corresponds to the JSON property rowCount

Returns:

  • (Fixnum)


3800
3801
3802
# File 'lib/google/apis/language_v1/classes.rb', line 3800

def row_count
  @row_count
end

#time_column_idFixnum

The id of the time column. Corresponds to the JSON property timeColumnId

Returns:

  • (Fixnum)


3805
3806
3807
# File 'lib/google/apis/language_v1/classes.rb', line 3805

def time_column_id
  @time_column_id
end

#valid_row_countFixnum

The number of valid rows. Corresponds to the JSON property validRowCount

Returns:

  • (Fixnum)


3810
3811
3812
# File 'lib/google/apis/language_v1/classes.rb', line 3810

def valid_row_count
  @valid_row_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3817
3818
3819
3820
3821
3822
3823
# File 'lib/google/apis/language_v1/classes.rb', line 3817

def update!(**args)
  @column_specs = args[:column_specs] if args.key?(:column_specs)
  @imported_data_size_in_bytes = args[:imported_data_size_in_bytes] if args.key?(:imported_data_size_in_bytes)
  @row_count = args[:row_count] if args.key?(:row_count)
  @time_column_id = args[:time_column_id] if args.key?(:time_column_id)
  @valid_row_count = args[:valid_row_count] if args.key?(:valid_row_count)
end