Class: Google::Apis::DocsV1::NamedRanges
- Inherits:
-
Object
- Object
- Google::Apis::DocsV1::NamedRanges
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/docs_v1/classes.rb,
generated/google/apis/docs_v1/representations.rb,
generated/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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ NamedRanges
Returns a new instance of NamedRanges
2524 2525 2526 |
# File 'generated/google/apis/docs_v1/classes.rb', line 2524 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
2517 2518 2519 |
# File 'generated/google/apis/docs_v1/classes.rb', line 2517 def name @name end |
#named_ranges ⇒ Array<Google::Apis::DocsV1::NamedRange>
The NamedRanges that share the same name.
Corresponds to the JSON property namedRanges
2522 2523 2524 |
# File 'generated/google/apis/docs_v1/classes.rb', line 2522 def named_ranges @named_ranges end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2529 2530 2531 2532 |
# File 'generated/google/apis/docs_v1/classes.rb', line 2529 def update!(**args) @name = args[:name] if args.key?(:name) @named_ranges = args[:named_ranges] if args.key?(:named_ranges) end |