Class: Google::Apis::SlidesV1::LayoutReference
- Inherits:
-
Object
- Object
- Google::Apis::SlidesV1::LayoutReference
- 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
Slide layout reference. This may reference either:
- A predefined layout
- One of the layouts in the presentation.
Instance Attribute Summary collapse
-
#layout_id ⇒ String
Layout ID: the object ID of one of the layouts in the presentation.
-
#predefined_layout ⇒ String
Predefined layout.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LayoutReference
constructor
A new instance of LayoutReference.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ LayoutReference
Returns a new instance of LayoutReference
3918 3919 3920 |
# File 'generated/google/apis/slides_v1/classes.rb', line 3918 def initialize(**args) update!(**args) end |
Instance Attribute Details
#layout_id ⇒ String
Layout ID: the object ID of one of the layouts in the presentation.
Corresponds to the JSON property layoutId
3916 3917 3918 |
# File 'generated/google/apis/slides_v1/classes.rb', line 3916 def layout_id @layout_id end |
#predefined_layout ⇒ String
Predefined layout.
Corresponds to the JSON property predefinedLayout
3911 3912 3913 |
# File 'generated/google/apis/slides_v1/classes.rb', line 3911 def predefined_layout @predefined_layout end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3923 3924 3925 3926 |
# File 'generated/google/apis/slides_v1/classes.rb', line 3923 def update!(**args) @predefined_layout = args[:predefined_layout] if args.key?(:predefined_layout) @layout_id = args[:layout_id] if args.key?(:layout_id) end |