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 个字符。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):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. |"]]