CustomAttribute

  • Custom attributes are represented using JSON and require either a single value or a group of sub-attributes.

  • The JSON structure includes fields for "groupValues," representing sub-attributes, "name" for the attribute's name, and "value" for a single attribute value.

  • When using "groupValues" to define sub-attributes, the "value" field must be empty, and vice-versa.

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.