Class: Google::Apis::DocsV1::Color
- Inherits:
-
Object
- Object
- Google::Apis::DocsV1::Color
- 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 solid color.
Instance Attribute Summary collapse
-
#rgb_color ⇒ Google::Apis::DocsV1::RgbColor
An RGB color.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Color
constructor
A new instance of Color.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Color
Returns a new instance of Color
300 301 302 |
# File 'generated/google/apis/docs_v1/classes.rb', line 300 def initialize(**args) update!(**args) end |
Instance Attribute Details
#rgb_color ⇒ Google::Apis::DocsV1::RgbColor
An RGB color.
Corresponds to the JSON property rgbColor
298 299 300 |
# File 'generated/google/apis/docs_v1/classes.rb', line 298 def rgb_color @rgb_color end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
305 306 307 |
# File 'generated/google/apis/docs_v1/classes.rb', line 305 def update!(**args) @rgb_color = args[:rgb_color] if args.key?(:rgb_color) end |