Class: Google::Apis::DocsV1::NamedRanges
- Inherits:
-
Object
- Object
- Google::Apis::DocsV1::NamedRanges
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/docs_v1/classes.rb,
lib/google/apis/docs_v1/representations.rb,
lib/google/apis/docs_v1/representations.rb
Overview
A collection of all the NamedRanges in the document that share a given name.
Instance Attribute Summary collapse
-
#name ⇒ String
The name that all the named ranges share.
-
#named_ranges ⇒ Array<Google::Apis::DocsV1::NamedRange>
The NamedRanges that share the same name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ NamedRanges
constructor
A new instance of NamedRanges.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ NamedRanges
3186 3187 3188 |
# File 'lib/google/apis/docs_v1/classes.rb', line 3186 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
The name that all the named ranges share.
Corresponds to the JSON property name
3179 3180 3181 |
# File 'lib/google/apis/docs_v1/classes.rb', line 3179 def name @name end |
#named_ranges ⇒ Array<Google::Apis::DocsV1::NamedRange>
The NamedRanges that share the same name.
Corresponds to the JSON property namedRanges
3184 3185 3186 |
# File 'lib/google/apis/docs_v1/classes.rb', line 3184 def named_ranges @named_ranges end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3191 3192 3193 3194 |
# File 'lib/google/apis/docs_v1/classes.rb', line 3191 def update!(**args) @name = args[:name] if args.key?(:name) @named_ranges = args[:named_ranges] if args.key?(:named_ranges) end |