OfferTag
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
JSON 表示法 |
{
"tag": string
} |
欄位 |
tag |
string
必須符合 RFC-1034 標準。也就是說,這個字串只能包含小寫字母 (a-z)、數字 (0-9) 和連字號 (-),且長度上限為 20 個字元。
|
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間:2025-07-26 (世界標準時間)。"],[[["\u003cp\u003eCustom tags for base plans and subscription offers are represented using JSON.\u003c/p\u003e\n"],["\u003cp\u003eThe JSON representation consists of a single field, "tag", which contains a string value.\u003c/p\u003e\n"],["\u003cp\u003eThe "tag" value must adhere to RFC-1034 guidelines, limiting it to lowercase letters, numbers, hyphens, and a maximum length of 20 characters.\u003c/p\u003e\n"]]],["The provided JSON schema defines a custom tag with a single field: `tag`. This `string` field must adhere to RFC-1034, allowing only lowercase letters, numbers, and hyphens. The `tag` is also limited to a maximum length of 20 characters. This tag is used for base plans and subscription offers, enabling custom labeling or categorization.\n"],null,["# OfferTag\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nRepresents a custom tag specified for a product offer.\n\n| JSON representation |\n|---------------------------|\n| ``` { \"tag\": string } ``` |\n\n| Fields ||\n|-------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `tag` | `string` Must conform with RFC-1034. That is, this string can only contain lower-case letters (a-z), numbers (0-9), and hyphens (-), and be at most 20 characters. |"]]