Disclosure

可能會向使用者顯示的產品、服務或政策揭露聲明。

JSON 表示法
{
  "title": string,
  "disclosureText": {
    object (DisclosureText)
  },
  "presentationOptions": {
    object (DisclosurePresentationOptions)
  }
}
欄位
title

string

揭露聲明的標題。例如:「安全性資訊」。

disclosureText

object (DisclosureText)

揭露事項的內容。允許網頁連結。

presentationOptions

object (DisclosurePresentationOptions)

揭露聲明的顯示選項。

DisclosureText

代表包含網頁連結的純文字。

JSON 表示法
{
  "template": string,
  "textLinks": [
    {
      object (TextLink)
    }
  ]
}
欄位
template

string

要顯示的文字,包含「{0}」等預留位置和「{1}」。例如:「警告:這項產品可能會讓您接觸到加州已知致癌的化學物質。如需詳細資訊,請前往 {0}。」這段揭露文字不得包含任何宣傳或類似廣告的內容。

DisclosurePresentationOptions

揭露事項的選項。

JSON 表示法
{
  "presentationRequirement": enum (PresentationRequirement),
  "initiallyExpanded": boolean
}
欄位
presentationRequirement

enum (PresentationRequirement)

揭露聲明的顯示規定。

initiallyExpanded

boolean

揭露聲明內容是否應一開始就展開。根據預設,這個元件一開始是收合狀態。