InfoModuleData
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
JSON 表示法 |
{
"labelValueRows": [
{
object (LabelValueRow )
}
],
"showLastUpdateTime": boolean
} |
欄位 |
labelValueRows[] |
object (LabelValueRow )
標籤和值的集合清單。這些素材資源會在單欄中逐一顯示。
|
showLastUpdateTime (deprecated) |
boolean
|
LabelValueRow
JSON 表示法 |
{
"columns": [
{
object (LabelValue )
}
]
} |
欄位 |
columns[] |
object (LabelValue )
標籤和值的清單。這些項目會在單欄中逐一顯示,不會分別顯示在多欄中 (儘管欄位名稱也是如此)。
|
LabelValue
詳細資料檢視畫面中顯示的一對文字字串。請注意,LabelValue/LabelValueRow 不會再顯示為表格,而是顯示為項目清單。
欄位 |
label |
string
特定列和欄的標籤。雙欄版面配置的建議上限為 15 個字元,單欄版面配置的建議上限則為 30 個字元。
|
value |
string
特定列和欄的值。雙欄版面配置的建議上限為 15 個字元,單欄版面配置的建議上限則為 30 個字元。
|
localizedLabel |
object (LocalizedString )
標籤的翻譯字串。雙欄版面配置的建議上限為 15 個字元,單欄版面配置的建議上限則為 30 個字元。
|
localizedValue |
object (LocalizedString )
值的翻譯字串。雙欄版面配置的建議上限為 15 個字元,單欄版面配置的建議上限則為 30 個字元。
|
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[[["\u003cp\u003eInfoModuleData objects structure information for display in the Google Pay app, using LabelValueRows for organization.\u003c/p\u003e\n"],["\u003cp\u003eLabelValueRows contain one or more LabelValue objects, which represent a label and its corresponding value.\u003c/p\u003e\n"],["\u003cp\u003eLabels and values can be simple strings or localized using LocalizedString objects for translation.\u003c/p\u003e\n"],["\u003cp\u003eDisplay of LabelValue/LabelValueRow is no longer in a table format but as a list of items.\u003c/p\u003e\n"],["\u003cp\u003eWhile 'columns' is used in the field name for LabelValueRow, the display is in a singular column, not multiple columns.\u003c/p\u003e\n"]]],["The content defines data structures for displaying labels and values. `LabelValueRows` contain a list of `LabelValue` objects, shown in a single column. Each `LabelValue` has a `label` and a `value`, along with their localized versions. The `labelValueRows` field, is a list of `LabelValueRow`. `showLastUpdateTime` is a deprecated boolean. `label` and `value` are strings, with recommended maximum lengths depending on layout. `localizedLabel` and `localizedValue` are for translated strings.\n"],null,["# InfoModuleData\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [LabelValueRow](#LabelValueRow)\n - [JSON representation](#LabelValueRow.SCHEMA_REPRESENTATION)\n- [LabelValue](#LabelValue)\n - [JSON representation](#LabelValue.SCHEMA_REPRESENTATION)\n\n| JSON representation |\n|--------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"labelValueRows\": [ { object (/wallet/reference/rest/v1/InfoModuleData#LabelValueRow) } ], \"showLastUpdateTime\": boolean } ``` |\n\n| Fields ||\n|---------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `labelValueRows[]` | `object (`[LabelValueRow](/wallet/reference/rest/v1/InfoModuleData#LabelValueRow)`)` A list of collections of labels and values. These will be displayed one after the other in a singular column. |\n| `showLastUpdateTime` **(deprecated)** | `boolean` | This item is deprecated! |\n\nLabelValueRow\n-------------\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------|\n| ``` { \"columns\": [ { object (/wallet/reference/rest/v1/InfoModuleData#LabelValue) } ] } ``` |\n\n| Fields ||\n|-------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `columns[]` | `object (`[LabelValue](/wallet/reference/rest/v1/InfoModuleData#LabelValue)`)` A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name. |\n\nLabelValue\n----------\n\nA pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items.\n\n| JSON representation |\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"label\": string, \"value\": string, \"localizedLabel\": { object (/wallet/reference/rest/v1/LocalizedString) }, \"localizedValue\": { object (/wallet/reference/rest/v1/LocalizedString) } } ``` |\n\n| Fields ||\n|------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `label` | `string` The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. |\n| `value` | `string` The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. |\n| `localizedLabel` | `object (`[LocalizedString](/wallet/reference/rest/v1/LocalizedString)`)` Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. |\n| `localizedValue` | `object (`[LocalizedString](/wallet/reference/rest/v1/LocalizedString)`)` Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout. |"]]