OfferTag
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
JSON 表現 |
{
"tag": string
} |
フィールド |
tag |
string
RFC-1034 に準拠している必要があります。つまり、この文字列に使用できるのは、英小文字(a ~ z)、数字(0 ~ 9)、ハイフン(-)です。20 文字以下で指定してください。
|
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-26 UTC。
[null,null,["最終更新日 2025-07-26 UTC。"],[[["\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. |"]]