InfoModuleData
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
การแสดง JSON |
{
"labelValueRows": [
{
object (LabelValueRow )
}
],
"showLastUpdateTime": boolean
} |
ช่อง |
labelValueRows[] |
object (LabelValueRow )
รายการคอลเล็กชันของป้ายกำกับและค่า ซึ่งจะแสดงทีละรายการในคอลัมน์เดียว
|
showLastUpdateTime (deprecated) |
boolean
|
LabelValueRow
การแสดง JSON |
{
"columns": [
{
object (LabelValue )
}
]
} |
ช่อง |
columns[] |
object (LabelValue )
รายการป้ายกำกับและค่า ข้อมูลเหล่านี้จะแสดงเป็นคอลัมน์เดียวต่อกัน ไม่แสดงในหลายคอลัมน์ แม้ว่าจะมีชื่อฟิลด์ก็ตาม
|
LabelValue
สตริงข้อความ 1 คู่ที่จะแสดงในมุมมองรายละเอียด โปรดทราบว่าเราจะไม่แสดง LabelValue/LabelValueRow เป็นตารางแทนรายการอีกต่อไป
ช่อง |
label |
string
ป้ายกำกับสำหรับแถวและคอลัมน์ที่เจาะจง ความยาวสูงสุดที่แนะนำคือ 15 อักขระสำหรับเลย์เอาต์แบบ 2 คอลัมน์ และ 30 อักขระสำหรับเลย์เอาต์แบบ 1 คอลัมน์
|
value |
string
ค่าของแถวและคอลัมน์ที่เจาะจง ความยาวสูงสุดที่แนะนำคือ 15 อักขระสำหรับเลย์เอาต์แบบ 2 คอลัมน์ และ 30 อักขระสำหรับเลย์เอาต์แบบ 1 คอลัมน์
|
localizedLabel |
object (LocalizedString )
สตริงที่แปลแล้วสำหรับป้ายกำกับ ความยาวสูงสุดที่แนะนำคือ 15 อักขระสำหรับเลย์เอาต์แบบ 2 คอลัมน์ และ 30 อักขระสำหรับเลย์เอาต์แบบ 1 คอลัมน์
|
localizedValue |
object (LocalizedString )
สตริงที่แปลแล้วสำหรับค่า ความยาวสูงสุดที่แนะนำคือ 15 อักขระสำหรับเลย์เอาต์แบบ 2 คอลัมน์ และ 30 อักขระสำหรับเลย์เอาต์แบบ 1 คอลัมน์
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 UTC"],[[["\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. |"]]