Class: Google::Apis::Area120tablesV1alpha1::Row
- Inherits:
-
Object
- Object
- Google::Apis::Area120tablesV1alpha1::Row
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/area120tables_v1alpha1/classes.rb,
lib/google/apis/area120tables_v1alpha1/representations.rb,
lib/google/apis/area120tables_v1alpha1/representations.rb
Overview
A single row in a table.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Time when the row was created.
-
#name ⇒ String
The resource name of the row.
-
#update_time ⇒ String
Time when the row was last updated.
-
#values ⇒ Hash<String,Object>
The values of the row.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Row
constructor
A new instance of Row.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Row
Returns a new instance of Row.
405 406 407 |
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 405 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Time when the row was created.
Corresponds to the JSON property createTime
385 386 387 |
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 385 def create_time @create_time end |
#name ⇒ String
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`
391 392 393 |
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 391 def name @name end |
#update_time ⇒ String
Time when the row was last updated.
Corresponds to the JSON property updateTime
396 397 398 |
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 396 def update_time @update_time end |
#values ⇒ Hash<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
403 404 405 |
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 403 def values @values end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
410 411 412 413 414 415 |
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 410 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @name = args[:name] if args.key?(:name) @update_time = args[:update_time] if args.key?(:update_time) @values = args[:values] if args.key?(:values) end |