class Google::Apis::ServicecontrolV1::Attributes
A set of attributes, each in the format `[KEY]:`.
Attributes
The 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` and `false`. For example: “/instance_id”: “my-instance” “/http/ user_agent”: “” “/http/request_bytes”: 300 “abc.com/myattribute”: true Corresponds to the JSON property `attributeMap` @return [Hash<String,Google::Apis::ServicecontrolV1::AttributeValue>]
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. Corresponds to the JSON property `droppedAttributesCount` @return [Fixnum]
Public Class Methods
# File lib/google/apis/servicecontrol_v1/classes.rb, line 175 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/servicecontrol_v1/classes.rb, line 180 def update!(**args) @attribute_map = args[:attribute_map] if args.key?(:attribute_map) @dropped_attributes_count = args[:dropped_attributes_count] if args.key?(:dropped_attributes_count) end