Class: Google::Apis::SlidesV1::SlideProperties
- Inherits:
-
Object
- Object
- Google::Apis::SlidesV1::SlideProperties
- 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 Page that are only relevant for pages with page_type SLIDE.
Instance Attribute Summary collapse
-
#layout_object_id ⇒ String
The object ID of the layout that this slide is based on.
-
#master_object_id ⇒ String
The object ID of the master that this slide is based on.
-
#notes_page ⇒ Google::Apis::SlidesV1::Page
A page in a presentation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SlideProperties
constructor
A new instance of SlideProperties.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SlideProperties
Returns a new instance of SlideProperties
173 174 175 |
# File 'generated/google/apis/slides_v1/classes.rb', line 173 def initialize(**args) update!(**args) end |
Instance Attribute Details
#layout_object_id ⇒ String
The object ID of the layout that this slide is based on.
Corresponds to the JSON property layoutObjectId
171 172 173 |
# File 'generated/google/apis/slides_v1/classes.rb', line 171 def layout_object_id @layout_object_id end |
#master_object_id ⇒ String
The object ID of the master that this slide is based on.
Corresponds to the JSON property masterObjectId
166 167 168 |
# File 'generated/google/apis/slides_v1/classes.rb', line 166 def master_object_id @master_object_id end |
#notes_page ⇒ Google::Apis::SlidesV1::Page
A page in a presentation.
Corresponds to the JSON property notesPage
161 162 163 |
# File 'generated/google/apis/slides_v1/classes.rb', line 161 def notes_page @notes_page end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
178 179 180 181 182 |
# File 'generated/google/apis/slides_v1/classes.rb', line 178 def update!(**args) @notes_page = args[:notes_page] if args.key?(:notes_page) @master_object_id = args[:master_object_id] if args.key?(:master_object_id) @layout_object_id = args[:layout_object_id] if args.key?(:layout_object_id) end |