Attributes

A set of attributes as key-value pairs.

JSON representation
{
  "attributeMap": {
    string: {
      object (AttributeValue)
    },
    ...
  },
  "droppedAttributesCount": integer
}
Fields
attributeMap

map (key: string, value: object (AttributeValue))

Optional. A set of attributes. Each attribute's key can be up to 128 bytes long. The value can be a string up to 256 bytes, a signed 64-bit integer, or the boolean values true or false. For example:

"/instance_id": { "stringValue": { "value": "my-instance" } }
"/http/request_bytes": { "intValue": 300 }
"example.com/myattribute": { "boolValue": false }
droppedAttributesCount

integer

Optional. The number of attributes that were discarded. Attributes can be discarded because their keys are too long or because there are too many attributes. If this value is 0 then all attributes are valid.

AttributeValue

The allowed types for [VALUE] in a [KEY]:[VALUE] attribute.

JSON representation
{

  // The following is a list of mutually exclusive fields. At most one of the
  // fields will be set in a response:
  "stringValue": {
    object (TruncatableString)
  },
  "intValue": string,
  "boolValue": boolean
  // End of mutually exclusive fields.
}
Fields
The type of the value. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response:
stringValue

object (TruncatableString)

Optional. A string up to 256 bytes long.

intValue

string (int64 format)

Optional. A 64-bit signed integer.

boolValue

boolean

Optional. A Boolean value represented by true or false.

End of mutually exclusive fields.