class Google::Apis::SlidesV1::Page

A page in a presentation.

Attributes

layout_properties[RW]

The properties of Page are only relevant for pages with page_type LAYOUT. Corresponds to the JSON property `layoutProperties` @return [Google::Apis::SlidesV1::LayoutProperties]

master_properties[RW]

The properties of Page that are only relevant for pages with page_type MASTER. Corresponds to the JSON property `masterProperties` @return [Google::Apis::SlidesV1::MasterProperties]

notes_properties[RW]

The properties of Page that are only relevant for pages with page_type NOTES. Corresponds to the JSON property `notesProperties` @return [Google::Apis::SlidesV1::NotesProperties]

object_id_prop[RW]

The object ID for this page. Object IDs used by Page and PageElement share the same namespace. Corresponds to the JSON property `objectId` @return [String]

page_elements[RW]

The page elements rendered on the page. Corresponds to the JSON property `pageElements` @return [Array<Google::Apis::SlidesV1::PageElement>]

page_properties[RW]

The properties of the Page. The page will inherit properties from the parent page. Depending on the page type the hierarchy is defined in either SlideProperties or LayoutProperties. Corresponds to the JSON property `pageProperties` @return [Google::Apis::SlidesV1::PageProperties]

page_type[RW]

The type of the page. Corresponds to the JSON property `pageType` @return [String]

revision_id[RW]

The revision ID of the presentation containing this page. Can be used in update requests to assert that the presentation revision hasn't changed since the last read operation. Only populated if the user has edit access to the presentation. The format of the revision ID may change over time, so it should be treated opaquely. A returned revision ID is only guaranteed to be valid for 24 hours after it has been returned and cannot be shared across users. If the revision ID is unchanged between calls, then the presentation has not changed. Conversely, a changed ID (for the same presentation and user) usually means the presentation has been updated; however, a changed ID can also be due to internal factors such as ID format changes. Corresponds to the JSON property `revisionId` @return [String]

slide_properties[RW]

The properties of Page that are only relevant for pages with page_type SLIDE. Corresponds to the JSON property `slideProperties` @return [Google::Apis::SlidesV1::SlideProperties]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/slides_v1/classes.rb, line 2035
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/slides_v1/classes.rb, line 2040
def update!(**args)
  @layout_properties = args[:layout_properties] if args.key?(:layout_properties)
  @master_properties = args[:master_properties] if args.key?(:master_properties)
  @notes_properties = args[:notes_properties] if args.key?(:notes_properties)
  @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
  @page_elements = args[:page_elements] if args.key?(:page_elements)
  @page_properties = args[:page_properties] if args.key?(:page_properties)
  @page_type = args[:page_type] if args.key?(:page_type)
  @revision_id = args[:revision_id] if args.key?(:revision_id)
  @slide_properties = args[:slide_properties] if args.key?(:slide_properties)
end