Class: Google::Apis::SheetsV4::AddNamedRangeResponse
- Inherits:
-
Object
- Object
- Google::Apis::SheetsV4::AddNamedRangeResponse
- 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
The result of adding a named range.
Instance Attribute Summary collapse
-
#named_range ⇒ Google::Apis::SheetsV4::NamedRange
A named range.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AddNamedRangeResponse
constructor
A new instance of AddNamedRangeResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AddNamedRangeResponse
Returns a new instance of AddNamedRangeResponse.
300 301 302 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 300 def initialize(**args) update!(**args) end |
Instance Attribute Details
#named_range ⇒ Google::Apis::SheetsV4::NamedRange
A named range.
Corresponds to the JSON property namedRange
298 299 300 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 298 def named_range @named_range end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
305 306 307 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 305 def update!(**args) @named_range = args[:named_range] if args.key?(:named_range) end |