Class: Google::Apis::SheetsV4::AddNamedRangeResponse

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_rangeGoogle::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