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 ))

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

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
 { 
 // Union field value 
can be only one of the following: 
 "stringValue" 
 : 
 { 
 object (  TruncatableString 
 
) 
 } 
 , 
 "intValue" 
 : 
 string 
 , 
 "boolValue" 
 : 
 boolean 
 // End of list of possible types for union field value 
. 
 } 
Fields
Union field value . The type of the value. value can be only one of the following:
stringValue

object ( TruncatableString )

A string up to 256 bytes long.

intValue

string ( int64 format)

A 64-bit signed integer.

boolValue

boolean

A Boolean value represented by true or false .

Create a Mobile Website
View Site in Mobile | Classic
Share by: