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

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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ SlideProperties

Returns a new instance of SlideProperties.



3673
3674
3675
# File 'generated/google/apis/slides_v1/classes.rb', line 3673

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

Instance Attribute Details

#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)


3660
3661
3662
# File 'generated/google/apis/slides_v1/classes.rb', line 3660

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)


3666
3667
3668
# File 'generated/google/apis/slides_v1/classes.rb', line 3666

def master_object_id
  @master_object_id
end

#notes_pageGoogle::Apis::SlidesV1::Page

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



3671
3672
3673
# File 'generated/google/apis/slides_v1/classes.rb', line 3671

def notes_page
  @notes_page
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3678
3679
3680
3681
3682
# File 'generated/google/apis/slides_v1/classes.rb', line 3678

def update!(**args)
  @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