Class: Google::Apis::SlidesV1::Presentation
- Inherits:
-
Object
- Object
- Google::Apis::SlidesV1::Presentation
- 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 Google Slides presentation.
Instance Attribute Summary collapse
-
#layouts ⇒ Array<Google::Apis::SlidesV1::Page>
The layouts in the presentation.
-
#locale ⇒ String
The locale of the presentation, as an IETF BCP 47 language tag.
-
#masters ⇒ Array<Google::Apis::SlidesV1::Page>
The slide masters in the presentation.
-
#notes_master ⇒ Google::Apis::SlidesV1::Page
A page in a presentation.
-
#page_size ⇒ Google::Apis::SlidesV1::Size
A width and height.
-
#presentation_id ⇒ String
The ID of the presentation.
-
#slides ⇒ Array<Google::Apis::SlidesV1::Page>
The slides in the presentation.
-
#title ⇒ String
The title of the presentation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Presentation
constructor
A new instance of Presentation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Presentation
Returns a new instance of Presentation
2022 2023 2024 |
# File 'generated/google/apis/slides_v1/classes.rb', line 2022 def initialize(**args) update!(**args) end |
Instance Attribute Details
#layouts ⇒ Array<Google::Apis::SlidesV1::Page>
The layouts in the presentation. A layout is a template that determines
how content is arranged and styled on the slides that inherit from that
layout.
Corresponds to the JSON property layouts
1997 1998 1999 |
# File 'generated/google/apis/slides_v1/classes.rb', line 1997 def layouts @layouts end |
#locale ⇒ String
The locale of the presentation, as an IETF BCP 47 language tag.
Corresponds to the JSON property locale
2007 2008 2009 |
# File 'generated/google/apis/slides_v1/classes.rb', line 2007 def locale @locale end |
#masters ⇒ Array<Google::Apis::SlidesV1::Page>
The slide masters in the presentation. A slide master contains all common page elements and the common properties for a set of layouts. They serve three purposes:
- Placeholder shapes on a master contain the default text styles and shape properties of all placeholder shapes on pages that use that master.
- The master page properties define the common page properties inherited by its layouts.
- Any other shapes on the master slide will appear on all slides using that
master, regardless of their layout.
Corresponds to the JSON property
masters
2020 2021 2022 |
# File 'generated/google/apis/slides_v1/classes.rb', line 2020 def masters @masters end |
#notes_master ⇒ Google::Apis::SlidesV1::Page
A page in a presentation.
Corresponds to the JSON property notesMaster
1990 1991 1992 |
# File 'generated/google/apis/slides_v1/classes.rb', line 1990 def notes_master @notes_master end |
#page_size ⇒ Google::Apis::SlidesV1::Size
A width and height.
Corresponds to the JSON property pageSize
1974 1975 1976 |
# File 'generated/google/apis/slides_v1/classes.rb', line 1974 def page_size @page_size end |
#presentation_id ⇒ String
The ID of the presentation.
Corresponds to the JSON property presentationId
1979 1980 1981 |
# File 'generated/google/apis/slides_v1/classes.rb', line 1979 def presentation_id @presentation_id end |
#slides ⇒ Array<Google::Apis::SlidesV1::Page>
The slides in the presentation.
A slide inherits properties from a slide layout.
Corresponds to the JSON property slides
1985 1986 1987 |
# File 'generated/google/apis/slides_v1/classes.rb', line 1985 def @slides end |
#title ⇒ String
The title of the presentation.
Corresponds to the JSON property title
2002 2003 2004 |
# File 'generated/google/apis/slides_v1/classes.rb', line 2002 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 |
# File 'generated/google/apis/slides_v1/classes.rb', line 2027 def update!(**args) @page_size = args[:page_size] if args.key?(:page_size) @presentation_id = args[:presentation_id] if args.key?(:presentation_id) @slides = args[:slides] if args.key?(:slides) @notes_master = args[:notes_master] if args.key?(:notes_master) @layouts = args[:layouts] if args.key?(:layouts) @title = args[:title] if args.key?(:title) @locale = args[:locale] if args.key?(:locale) @masters = args[:masters] if args.key?(:masters) end |