Class: Google::Apis::SheetsV4::AddNamedRangeRequest
- Inherits:
-
Object
- Object
- Google::Apis::SheetsV4::AddNamedRangeRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/sheets_v4/classes.rb,
generated/google/apis/sheets_v4/representations.rb,
generated/google/apis/sheets_v4/representations.rb
Overview
Adds a named range to the spreadsheet.
Instance Attribute Summary collapse
-
#named_range ⇒ Google::Apis::SheetsV4::NamedRange
A named range.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AddNamedRangeRequest
constructor
A new instance of AddNamedRangeRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AddNamedRangeRequest
Returns a new instance of AddNamedRangeRequest
5511 5512 5513 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5511 def initialize(**args) update!(**args) end |
Instance Attribute Details
#named_range ⇒ Google::Apis::SheetsV4::NamedRange
A named range.
Corresponds to the JSON property namedRange
5509 5510 5511 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5509 def named_range @named_range end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5516 5517 5518 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5516 def update!(**args) @named_range = args[:named_range] if args.key?(:named_range) end |