Class: Google::Apis::Area120tablesV1alpha1::Row

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

Overview

A single row in a table.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Row

Returns a new instance of Row.



374
375
376
# File 'generated/google/apis/area120tables_v1alpha1/classes.rb', line 374

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

Instance Attribute Details

#nameString

The resource name of the row. Row names have the form tables/table/rows/ row`. The name is ignored when creating a row. Corresponds to the JSON propertyname`

Returns:

  • (String)


365
366
367
# File 'generated/google/apis/area120tables_v1alpha1/classes.rb', line 365

def name
  @name
end

#valuesHash<String,Object>

The values of the row. This is a map of column key to value. Key is user entered name(default) or the internal column id based on the view in the request. Corresponds to the JSON property values

Returns:

  • (Hash<String,Object>)


372
373
374
# File 'generated/google/apis/area120tables_v1alpha1/classes.rb', line 372

def values
  @values
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



379
380
381
382
# File 'generated/google/apis/area120tables_v1alpha1/classes.rb', line 379

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