Class: Google::Apis::PrivatecaV1beta1::GoogleApiServicecontrolV1Attributes
- Inherits:
-
Object
- Object
- Google::Apis::PrivatecaV1beta1::GoogleApiServicecontrolV1Attributes
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/privateca_v1beta1/classes.rb,
lib/google/apis/privateca_v1beta1/representations.rb,
lib/google/apis/privateca_v1beta1/representations.rb
Overview
A set of attributes, each in the format [KEY]:[VALUE]
.
Instance Attribute Summary collapse
-
#attribute_map ⇒ Hash<String,Google::Apis::PrivatecaV1beta1::GoogleApiServicecontrolV1AttributeValue>
The set of attributes.
-
#dropped_attributes_count ⇒ Fixnum
The number of attributes that were discarded.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleApiServicecontrolV1Attributes
constructor
A new instance of GoogleApiServicecontrolV1Attributes.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleApiServicecontrolV1Attributes
Returns a new instance of GoogleApiServicecontrolV1Attributes.
1171 1172 1173 |
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 1171 def initialize(**args) update!(**args) end |
Instance Attribute Details
#attribute_map ⇒ Hash<String,Google::Apis::PrivatecaV1beta1::GoogleApiServicecontrolV1AttributeValue>
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
1162 1163 1164 |
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 1162 def attribute_map @attribute_map end |
#dropped_attributes_count ⇒ Fixnum
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
1169 1170 1171 |
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 1169 def dropped_attributes_count @dropped_attributes_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1176 1177 1178 1179 |
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 1176 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 |