Class: Google::Apis::LanguageV1beta2::XpsRow

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ XpsRow

Returns a new instance of XpsRow.



3428
3429
3430
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3428

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

Instance Attribute Details

#column_idsArray<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

Returns:

  • (Array<Fixnum>)


3419
3420
3421
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3419

def column_ids
  @column_ids
end

#valuesArray<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

Returns:

  • (Array<Object>)


3426
3427
3428
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3426

def values
  @values
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3433
3434
3435
3436
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3433

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