OfferTag
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
JSON 表示法 |
{
"tag": string
} |
字段 |
tag |
string
必须符合 RFC-1034 的要求。也就是说,相应字符串只能包含小写字母 (a-z)、数字 (0-9) 和连字符 (-),并且长度不得超过 20 个字符。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):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. |"]]