Class: Google::Apis::SlidesV1::PageProperties
- Inherits:
-
Object
- Object
- Google::Apis::SlidesV1::PageProperties
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/slides_v1/classes.rb,
lib/google/apis/slides_v1/representations.rb,
lib/google/apis/slides_v1/representations.rb
Overview
The properties of the Page. The page will inherit properties from the parent page. Depending on the page type the hierarchy is defined in either SlideProperties or LayoutProperties.
Instance Attribute Summary collapse
-
#color_scheme ⇒ Google::Apis::SlidesV1::ColorScheme
The palette of predefined colors for a page.
-
#page_background_fill ⇒ Google::Apis::SlidesV1::PageBackgroundFill
The page background fill.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PageProperties
constructor
A new instance of PageProperties.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PageProperties
Returns a new instance of PageProperties.
2252 2253 2254 |
# File 'lib/google/apis/slides_v1/classes.rb', line 2252 def initialize(**args) update!(**args) end |
Instance Attribute Details
#color_scheme ⇒ Google::Apis::SlidesV1::ColorScheme
The palette of predefined colors for a page.
Corresponds to the JSON property colorScheme
2245 2246 2247 |
# File 'lib/google/apis/slides_v1/classes.rb', line 2245 def color_scheme @color_scheme end |
#page_background_fill ⇒ Google::Apis::SlidesV1::PageBackgroundFill
The page background fill.
Corresponds to the JSON property pageBackgroundFill
2250 2251 2252 |
# File 'lib/google/apis/slides_v1/classes.rb', line 2250 def page_background_fill @page_background_fill end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2257 2258 2259 2260 |
# File 'lib/google/apis/slides_v1/classes.rb', line 2257 def update!(**args) @color_scheme = args[:color_scheme] if args.key?(:color_scheme) @page_background_fill = args[:page_background_fill] if args.key?(:page_background_fill) end |