Class: Google::Apis::Area120tablesV1alpha1::UpdateRowRequest
- Inherits:
-
Object
- Object
- Google::Apis::Area120tablesV1alpha1::UpdateRowRequest
- 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
Request message for TablesService.UpdateRow.
Instance Attribute Summary collapse
-
#row ⇒ Google::Apis::Area120tablesV1alpha1::Row
A single row in a table.
-
#update_mask ⇒ String
The list of fields to update.
-
#view ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UpdateRowRequest
constructor
A new instance of UpdateRowRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UpdateRowRequest
Returns a new instance of UpdateRowRequest.
559 560 561 |
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 559 def initialize(**args) update!(**args) end |
Instance Attribute Details
#row ⇒ Google::Apis::Area120tablesV1alpha1::Row
A single row in a table.
Corresponds to the JSON property row
546 547 548 |
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 546 def row @row end |
#update_mask ⇒ String
The list of fields to update.
Corresponds to the JSON property updateMask
551 552 553 |
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 551 def update_mask @update_mask end |
#view ⇒ String
Optional. Column key to use for values in the row. Defaults to user entered
name.
Corresponds to the JSON property view
557 558 559 |
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 557 def view @view end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
564 565 566 567 568 |
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 564 def update!(**args) @row = args[:row] if args.key?(:row) @update_mask = args[:update_mask] if args.key?(:update_mask) @view = args[:view] if args.key?(:view) end |