Class: Google::Apis::SlidesV1::Page
- Inherits:
-
Object
- Object
- Google::Apis::SlidesV1::Page
- 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
A page in a presentation.
Instance Attribute Summary collapse
-
#layout_properties ⇒ Google::Apis::SlidesV1::LayoutProperties
The properties of Page are only relevant for pages with page_type LAYOUT.
-
#master_properties ⇒ Google::Apis::SlidesV1::MasterProperties
The properties of Page that are only relevant for pages with page_type MASTER.
-
#notes_properties ⇒ Google::Apis::SlidesV1::NotesProperties
The properties of Page that are only relevant for pages with page_type NOTES.
-
#object_id_prop ⇒ String
The object ID for this page.
-
#page_elements ⇒ Array<Google::Apis::SlidesV1::PageElement>
The page elements rendered on the page.
-
#page_properties ⇒ Google::Apis::SlidesV1::PageProperties
The properties of the Page.
-
#page_type ⇒ String
The type of the page.
-
#revision_id ⇒ String
Output only.
-
#slide_properties ⇒ Google::Apis::SlidesV1::SlideProperties
The properties of Page that are only relevant for pages with page_type SLIDE.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Page
constructor
A new instance of Page.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Page
Returns a new instance of Page.
2036 2037 2038 |
# File 'lib/google/apis/slides_v1/classes.rb', line 2036 def initialize(**args) update!(**args) end |
Instance Attribute Details
#layout_properties ⇒ Google::Apis::SlidesV1::LayoutProperties
The properties of Page are only relevant for pages with page_type LAYOUT.
Corresponds to the JSON property layoutProperties
1981 1982 1983 |
# File 'lib/google/apis/slides_v1/classes.rb', line 1981 def layout_properties @layout_properties end |
#master_properties ⇒ Google::Apis::SlidesV1::MasterProperties
The properties of Page that are only relevant for pages with page_type MASTER.
Corresponds to the JSON property masterProperties
1986 1987 1988 |
# File 'lib/google/apis/slides_v1/classes.rb', line 1986 def master_properties @master_properties end |
#notes_properties ⇒ Google::Apis::SlidesV1::NotesProperties
The properties of Page that are only relevant for pages with page_type NOTES.
Corresponds to the JSON property notesProperties
1991 1992 1993 |
# File 'lib/google/apis/slides_v1/classes.rb', line 1991 def notes_properties @notes_properties end |
#object_id_prop ⇒ String
The object ID for this page. Object IDs used by Page and PageElement share the
same namespace.
Corresponds to the JSON property objectId
1997 1998 1999 |
# File 'lib/google/apis/slides_v1/classes.rb', line 1997 def object_id_prop @object_id_prop end |
#page_elements ⇒ Array<Google::Apis::SlidesV1::PageElement>
The page elements rendered on the page.
Corresponds to the JSON property pageElements
2002 2003 2004 |
# File 'lib/google/apis/slides_v1/classes.rb', line 2002 def page_elements @page_elements end |
#page_properties ⇒ Google::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
2009 2010 2011 |
# File 'lib/google/apis/slides_v1/classes.rb', line 2009 def page_properties @page_properties end |
#page_type ⇒ String
The type of the page.
Corresponds to the JSON property pageType
2014 2015 2016 |
# File 'lib/google/apis/slides_v1/classes.rb', line 2014 def page_type @page_type end |
#revision_id ⇒ String
Output only. The revision ID of the presentation. Can be used in update
requests to assert the presentation revision hasn't changed since the last
read operation. Only populated if the user has edit access to the presentation.
The revision ID is not a sequential number but an opaque string. The format
of the revision ID might change over time. A returned revision ID is only
guaranteed to be valid for 24 hours after it has been returned and cannot be
shared across users. If the revision ID is unchanged between calls, then the
presentation has not changed. Conversely, a changed ID (for the same
presentation and user) usually means the presentation has been updated.
However, a changed ID can also be due to internal factors such as ID format
changes.
Corresponds to the JSON property revisionId
2029 2030 2031 |
# File 'lib/google/apis/slides_v1/classes.rb', line 2029 def revision_id @revision_id end |
#slide_properties ⇒ Google::Apis::SlidesV1::SlideProperties
The properties of Page that are only relevant for pages with page_type SLIDE.
Corresponds to the JSON property slideProperties
2034 2035 2036 |
# File 'lib/google/apis/slides_v1/classes.rb', line 2034 def @slide_properties end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 |
# File 'lib/google/apis/slides_v1/classes.rb', line 2041 def update!(**args) @layout_properties = args[:layout_properties] if args.key?(:layout_properties) @master_properties = args[:master_properties] if args.key?(:master_properties) @notes_properties = args[:notes_properties] if args.key?(:notes_properties) @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) @page_elements = args[:page_elements] if args.key?(:page_elements) @page_properties = args[:page_properties] if args.key?(:page_properties) @page_type = args[:page_type] if args.key?(:page_type) @revision_id = args[:revision_id] if args.key?(:revision_id) @slide_properties = args[:slide_properties] if args.key?(:slide_properties) end |