CustomAttribute
Stay organized with collections
Save and categorize content based on your preferences.
A message that represents custom attributes. Exactly one of value
or groupValues
must not be empty.
JSON representation |
{
"groupValues": [
{
object (CustomAttribute )
}
],
"name": string,
"value": string
} |
Fields |
groupValues[] |
object (CustomAttribute )
Subattributes within this attribute group. If groupValues is not empty, value must be empty.
|
name |
string
The name of the attribute.
|
value |
string
The value of the attribute. If value is not empty, groupValues must be empty.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-25 UTC.
[null,null,["Last updated 2025-02-25 UTC."],[],["The provided content describes a JSON structure for custom attributes. It details that each attribute must have a `name` and either a `value` (a string) or `groupValues` (an array of sub-attributes). If `value` is present, `groupValues` must be empty, and vice-versa. The `groupValues` field contains a list of `CustomAttribute` objects, which represent sub-attributes within an attribute group.\n"],null,[]]