Class: Google::Apis::LanguageV2::XpsRow
- Inherits:
-
Object
- Object
- Google::Apis::LanguageV2::XpsRow
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/language_v2/classes.rb,
lib/google/apis/language_v2/representations.rb,
lib/google/apis/language_v2/representations.rb
Instance Attribute Summary collapse
-
#column_ids ⇒ Array<Fixnum>
The ids of the columns.
-
#values ⇒ Array<Object>
The values of the row cells, given in the same order as the column_ids.
Instance Method Summary collapse
-
#initialize(**args) ⇒ XpsRow
constructor
A new instance of XpsRow.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ XpsRow
Returns a new instance of XpsRow.
3122 3123 3124 |
# File 'lib/google/apis/language_v2/classes.rb', line 3122 def initialize(**args) update!(**args) end |
Instance Attribute Details
#column_ids ⇒ Array<Fixnum>
The ids of the columns. Note: The below values
field must match order of
this field, if this field is set.
Corresponds to the JSON property columnIds
3113 3114 3115 |
# File 'lib/google/apis/language_v2/classes.rb', line 3113 def column_ids @column_ids end |
#values ⇒ Array<Object>
The values of the row cells, given in the same order as the column_ids. If
column_ids is not set, then in the same order as the input_feature_column_ids
in TablesModelMetadata.
Corresponds to the JSON property values
3120 3121 3122 |
# File 'lib/google/apis/language_v2/classes.rb', line 3120 def values @values end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3127 3128 3129 3130 |
# File 'lib/google/apis/language_v2/classes.rb', line 3127 def update!(**args) @column_ids = args[:column_ids] if args.key?(:column_ids) @values = args[:values] if args.key?(:values) end |