REST Resource: presentations.pages

資源:網頁

簡報中的頁面。

JSON 表示法
{
  "objectId": string,
  "pageType": enum (PageType),
  "pageElements": [
    {
      object (PageElement)
    }
  ],
  "revisionId": string,
  "pageProperties": {
    object (PageProperties)
  },

  // Union field properties can be only one of the following:
  "slideProperties": {
    object (SlideProperties)
  },
  "layoutProperties": {
    object (LayoutProperties)
  },
  "notesProperties": {
    object (NotesProperties)
  },
  "masterProperties": {
    object (MasterProperties)
  }
  // End of list of possible types for union field properties.
}
欄位
objectId

string

這個頁面的物件 ID。PagePageElement 使用的物件 ID 共用相同的命名空間。

pageType

enum (PageType)

頁面類型。

pageElements[]

object (PageElement)

在網頁上算繪的網頁元素。

revisionId

string

僅供輸出。簡報的修訂版本 ID。可用於更新要求,用於宣告自上次讀取作業以來,呈現版面版本未變更。只有在使用者擁有簡報的編輯權限時,才會填入這項資料。

修訂版本 ID 不是連續編號,而是不透明字串。修訂版本 ID 的格式可能會隨時間變更。系統傳回的修訂版本 ID 只保證在傳回後的 24 小時內有效,且無法跨使用者共用。如果修訂 ID 在呼叫之間未變更,表示簡報內容並未變更。相反地,如果 ID 有所變更 (針對相同的簡報和使用者),通常表示簡報已更新。不過,ID 變更也可能是因為 ID 格式變更等內部因素造成。

pageProperties

object (PageProperties)

頁面的屬性。

聯集欄位 properties。各頁面類型的專屬屬性。母片不需要任何額外屬性。properties 只能是下列其中一項:
slideProperties

object (SlideProperties)

滑動特定屬性。只有在 pageType = SLIDE 時才會設定。

layoutProperties

object (LayoutProperties)

版面配置專屬屬性。只有在 pageType = LAYOUT 時才會設定。

notesProperties

object (NotesProperties)

附註特定屬性。只有在 pageType = NOTES 時才會設定。

masterProperties

object (MasterProperties)

掌握特定資源。只有在 pageType = MASTER 時才需要設定。

PageType

頁面類型。

列舉
SLIDE 投影片頁面。
MASTER 主投影片頁面。
LAYOUT 版面配置頁面。
NOTES 記事頁面。
NOTES_MASTER 筆記主頁面。

PageElement

在網頁上算繪的視覺元素。

JSON 表示法
{
  "objectId": string,
  "size": {
    object (Size)
  },
  "transform": {
    object (AffineTransform)
  },
  "title": string,
  "description": string,

  // Union field element_kind can be only one of the following:
  "elementGroup": {
    object (Group)
  },
  "shape": {
    object (Shape)
  },
  "image": {
    object (Image)
  },
  "video": {
    object (