Class: Google::Apis::SlidesV1::Page

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

A page in a presentation.

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) ⇒ Page

Returns a new instance of Page



729
730
731
# File 'generated/google/apis/slides_v1/classes.rb', line 729

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

Instance Attribute Details

#layout_propertiesGoogle::Apis::SlidesV1::LayoutProperties

The properties of Page are only relevant for pages with page_type LAYOUT. Corresponds to the JSON property layoutProperties



689
690
691
# File 'generated/google/apis/slides_v1/classes.rb', line 689

def layout_properties
  @layout_properties
end

#notes_propertiesGoogle::Apis::SlidesV1::NotesProperties

The properties of Page that are only relevant for pages with page_type NOTES. Corresponds to the JSON property notesProperties



695
696
697
# File 'generated/google/apis/slides_v1/classes.rb', line 695

def notes_properties
  @notes_properties
end

#object_id_propString

The object ID for this page. Object IDs used by Page and PageElement share the same namespace. Corresponds to the JSON property objectId

Returns:

  • (String)


727
728
729
# File 'generated/google/apis/slides_v1/classes.rb', line 727

def object_id_prop
  @object_id_prop
end

#page_elementsArray<Google::Apis::SlidesV1::PageElement>

The page elements rendered on the page. Corresponds to the JSON property pageElements



705
706
707
# File 'generated/google/apis/slides_v1/classes.rb', line 705

def page_elements
  @page_elements
end

#page_propertiesGoogle::Apis::SlidesV1::PageProperties

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. Corresponds to the JSON property pageProperties



720
721
722
# File 'generated/google/apis/slides_v1/classes.rb', line 720

def page_properties
  @page_properties
end

#page_typeString

The type of the page. Corresponds to the JSON property pageType

Returns:

  • (String)


700
701
702
# File 'generated/google/apis/slides_v1/classes.rb', line 700

def page_type
  @page_type
end

#slide_propertiesGoogle::Apis::SlidesV1::SlideProperties

The properties of Page that are only relevant for pages with page_type SLIDE. Corresponds to the JSON property slideProperties



711
712
713
# File 'generated/google/apis/slides_v1/classes.rb', line 711

def slide_properties
  @slide_properties
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



734
735
736
737
738
739
740
741
742
# File 'generated/google/apis/slides_v1/classes.rb', line 734

def update!(**args)
  @layout_properties = args[:layout_properties] if args.key?(:layout_properties)
  @notes_properties = args[:notes_properties] if args.key?(:notes_properties)
  @page_type = args[:page_type] if args.key?(:page_type)
  @page_elements = args[:page_elements] if args.key?(:page_elements)
  @slide_properties = args[:slide_properties] if args.key?(:slide_properties)
  @page_properties = args[:page_properties] if args.key?(:page_properties)
  @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
end