Class: Google::Apis::LanguageV1beta2::XpsTableSpec
- Inherits:
-
Object
- Object
- Google::Apis::LanguageV1beta2::XpsTableSpec
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/language_v1beta2/classes.rb,
lib/google/apis/language_v1beta2/representations.rb,
lib/google/apis/language_v1beta2/representations.rb
Instance Attribute Summary collapse
-
#column_specs ⇒ Hash<String,Google::Apis::LanguageV1beta2::XpsColumnSpec>
Mapping from column id to column spec.
-
#imported_data_size_in_bytes ⇒ Fixnum
The total size of imported data of the table.
-
#row_count ⇒ Fixnum
The number of rows in the table.
-
#time_column_id ⇒ Fixnum
The id of the time column.
-
#valid_row_count ⇒ Fixnum
The number of valid rows.
Instance Method Summary collapse
-
#initialize(**args) ⇒ XpsTableSpec
constructor
A new instance of XpsTableSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ XpsTableSpec
Returns a new instance of XpsTableSpec.
3832 3833 3834 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3832 def initialize(**args) update!(**args) end |
Instance Attribute Details
#column_specs ⇒ Hash<String,Google::Apis::LanguageV1beta2::XpsColumnSpec>
Mapping from column id to column spec.
Corresponds to the JSON property columnSpecs
3810 3811 3812 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3810 def column_specs @column_specs end |
#imported_data_size_in_bytes ⇒ Fixnum
The total size of imported data of the table.
Corresponds to the JSON property importedDataSizeInBytes
3815 3816 3817 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3815 def imported_data_size_in_bytes @imported_data_size_in_bytes end |
#row_count ⇒ Fixnum
The number of rows in the table.
Corresponds to the JSON property rowCount
3820 3821 3822 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3820 def row_count @row_count end |
#time_column_id ⇒ Fixnum
The id of the time column.
Corresponds to the JSON property timeColumnId
3825 3826 3827 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3825 def time_column_id @time_column_id end |
#valid_row_count ⇒ Fixnum
The number of valid rows.
Corresponds to the JSON property validRowCount
3830 3831 3832 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3830 def valid_row_count @valid_row_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3837 3838 3839 3840 3841 3842 3843 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3837 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 |