Class: Google::Apis::SheetsV4::UpdateTableRequest
- Inherits:
-
Object
- Object
- Google::Apis::SheetsV4::UpdateTableRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/sheets_v4/classes.rb,
lib/google/apis/sheets_v4/representations.rb,
lib/google/apis/sheets_v4/representations.rb
Overview
Updates a table in the spreadsheet.
Instance Attribute Summary collapse
-
#fields ⇒ String
Required.
-
#table ⇒ Google::Apis::SheetsV4::Table
A table.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UpdateTableRequest
constructor
A new instance of UpdateTableRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UpdateTableRequest
Returns a new instance of UpdateTableRequest.
11550 11551 11552 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 11550 def initialize(**args) update!(**args) end |
Instance Attribute Details
#fields ⇒ String
Required. The fields that should be updated. At least one field must be
specified. The root table is implied and should not be specified. A single "
*" can be used as short-hand for listing every field.
Corresponds to the JSON property fields
11543 11544 11545 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 11543 def fields @fields end |
#table ⇒ Google::Apis::SheetsV4::Table
A table.
Corresponds to the JSON property table
11548 11549 11550 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 11548 def table @table end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11555 11556 11557 11558 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 11555 def update!(**args) @fields = args[:fields] if args.key?(:fields) @table = args[:table] if args.key?(:table) end |