Class: Google::Apis::SlidesV1::SlideProperties

Inherits:
Object
  • Object
show all
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

The properties of Page that are only relevant for pages with page_type SLIDE.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SlideProperties

Returns a new instance of SlideProperties.



3584
3585
3586
# File 'lib/google/apis/slides_v1/classes.rb', line 3584

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

Instance Attribute Details

#is_skippedBoolean Also known as: is_skipped?

Whether the slide is skipped in the presentation mode. Defaults to false. Corresponds to the JSON property isSkipped

Returns:

  • (Boolean)


3564
3565
3566
# File 'lib/google/apis/slides_v1/classes.rb', line 3564

def is_skipped
  @is_skipped
end

#layout_object_idString

The object ID of the layout that this slide is based on. This property is read- only. Corresponds to the JSON property layoutObjectId

Returns:

  • (String)


3571
3572
3573
# File 'lib/google/apis/slides_v1/classes.rb', line 3571

def layout_object_id
  @layout_object_id
end

#master_object_idString

The object ID of the master that this slide is based on. This property is read- only. Corresponds to the JSON property masterObjectId

Returns:

  • (String)


3577
3578
3579
# File 'lib/google/apis/slides_v1/classes.rb', line 3577

def master_object_id
  @master_object_id
end

#notes_pageGoogle::Apis::SlidesV1::Page

A page in a presentation. Corresponds to the JSON property notesPage



3582
3583
3584
# File 'lib/google/apis/slides_v1/classes.rb', line 3582

def notes_page
  @notes_page
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3589
3590
3591
3592
3593
3594
# File 'lib/google/apis/slides_v1/classes.rb', line 3589

def update!(**args)
  @is_skipped = args[:is_skipped] if args.key?(:is_skipped)
  @layout_object_id = args[:layout_object_id] if args.key?(:layout_object_id)
  @master_object_id = args[:master_object_id] if args.key?(:master_object_id)
  @notes_page = args[:notes_page] if args.key?(:notes_page)
end