Class: Google::Apis::SlidesV1::PageProperties

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/slides_v1/classes.rb,
generated/google/apis/slides_v1/representations.rb,
generated/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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ PageProperties

Returns a new instance of PageProperties



3555
3556
3557
# File 'generated/google/apis/slides_v1/classes.rb', line 3555

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

Instance Attribute Details

#color_schemeGoogle::Apis::SlidesV1::ColorScheme

The palette of predefined colors for a page. Corresponds to the JSON property colorScheme



3553
3554
3555
# File 'generated/google/apis/slides_v1/classes.rb', line 3553

def color_scheme
  @color_scheme
end

#page_background_fillGoogle::Apis::SlidesV1::PageBackgroundFill

The page background fill. Corresponds to the JSON property pageBackgroundFill



3548
3549
3550
# File 'generated/google/apis/slides_v1/classes.rb', line 3548

def page_background_fill
  @page_background_fill
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3560
3561
3562
3563
# File 'generated/google/apis/slides_v1/classes.rb', line 3560

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