OfferTag
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Stellt ein benutzerdefiniertes Tag für ein Produktangebot dar.
JSON-Darstellung |
{
"tag": string
} |
Felder |
tag |
string
Muss RFC-1034 entsprechen. Er darf also nur Kleinbuchstaben (a–z), Zahlen (0–9) und Bindestriche (-) enthalten und darf höchstens 20 Zeichen lang sein.
|
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-07-26 (UTC).
[null,null,["Zuletzt aktualisiert: 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. |"]]