Dimension
ขนาดในทิศทางเดียวในหน่วยที่ระบุ
การแสดง JSON |
{
"magnitude": number,
"unit": enum (Unit )
} |
ช่อง |
magnitude |
number
ขนาด
|
unit |
enum (Unit )
หน่วยของขนาด
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-09-03 UTC
[null,null,["อัปเดตล่าสุด 2024-09-03 UTC"],[[["Represents a magnitude value with its corresponding unit."],["Uses a JSON object with `magnitude` for the numerical value and `unit` specifying the unit of measurement."],["`unit` field accepts values from the `Unit` enum, providing standardized options for units."]]],["The content defines a data structure representing a magnitude in a specific unit. It's represented in JSON with two fields: `magnitude`, a number indicating the size, and `unit`, an enumerated value specifying the measurement unit. The unit options are found in a separate resource. This structure captures the quantity and its corresponding unit of measure.\n"]]