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

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

The result of adding a named range.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ AddNamedRangeResponse

Returns a new instance of AddNamedRangeResponse



4460
4461
4462
# File 'generated/google/apis/sheets_v4/classes.rb', line 4460

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#named_rangeGoogle::Apis::SheetsV4::NamedRange

A named range. Corresponds to the JSON property namedRange



4458
4459
4460
# File 'generated/google/apis/sheets_v4/classes.rb', line 4458

def named_range
  @named_range
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4465
4466
4467
# File 'generated/google/apis/sheets_v4/classes.rb', line 4465

def update!(**args)
  @named_range = args[:named_range] if args.key?(:named_range)
end