Class: Google::Apis::PrivatecaV1beta1::GoogleApiServicecontrolV1AttributeValue
- Inherits:
-
Object
- Object
- Google::Apis::PrivatecaV1beta1::GoogleApiServicecontrolV1AttributeValue
- 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
The allowed types for [VALUE] in a [KEY]:[VALUE]
attribute.
Instance Attribute Summary collapse
-
#bool_value ⇒ Boolean
(also: #bool_value?)
A Boolean value represented by
true
orfalse
. -
#int_value ⇒ Fixnum
A 64-bit signed integer.
-
#string_value ⇒ Google::Apis::PrivatecaV1beta1::GoogleApiServicecontrolV1TruncatableString
Represents a string that might be shortened to a specified length.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleApiServicecontrolV1AttributeValue
constructor
A new instance of GoogleApiServicecontrolV1AttributeValue.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleApiServicecontrolV1AttributeValue
Returns a new instance of GoogleApiServicecontrolV1AttributeValue.
1140 1141 1142 |
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 1140 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bool_value ⇒ Boolean Also known as: bool_value?
A Boolean value represented by true
or false
.
Corresponds to the JSON property boolValue
1127 1128 1129 |
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 1127 def bool_value @bool_value end |
#int_value ⇒ Fixnum
A 64-bit signed integer.
Corresponds to the JSON property intValue
1133 1134 1135 |
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 1133 def int_value @int_value end |
#string_value ⇒ Google::Apis::PrivatecaV1beta1::GoogleApiServicecontrolV1TruncatableString
Represents a string that might be shortened to a specified length.
Corresponds to the JSON property stringValue
1138 1139 1140 |
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 1138 def string_value @string_value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1145 1146 1147 1148 1149 |
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 1145 def update!(**args) @bool_value = args[:bool_value] if args.key?(:bool_value) @int_value = args[:int_value] if args.key?(:int_value) @string_value = args[:string_value] if args.key?(:string_value) end |