Class: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1CustomAttributeValue
- Inherits:
-
Object
- Object
- Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1CustomAttributeValue
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudidentity_v1beta1/classes.rb,
lib/google/apis/cloudidentity_v1beta1/representations.rb,
lib/google/apis/cloudidentity_v1beta1/representations.rb
Overview
Additional custom attribute values may be one of these types
Instance Attribute Summary collapse
-
#bool_value ⇒ Boolean
(also: #bool_value?)
Represents a boolean value.
-
#number_value ⇒ Float
Represents a double value.
-
#string_value ⇒ String
Represents a string value.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAppsCloudidentityDevicesV1CustomAttributeValue
constructor
A new instance of GoogleAppsCloudidentityDevicesV1CustomAttributeValue.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAppsCloudidentityDevicesV1CustomAttributeValue
Returns a new instance of GoogleAppsCloudidentityDevicesV1CustomAttributeValue.
1451 1452 1453 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 1451 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bool_value ⇒ Boolean Also known as: bool_value?
Represents a boolean value.
Corresponds to the JSON property boolValue
1438 1439 1440 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 1438 def bool_value @bool_value end |
#number_value ⇒ Float
Represents a double value.
Corresponds to the JSON property numberValue
1444 1445 1446 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 1444 def number_value @number_value end |
#string_value ⇒ String
Represents a string value.
Corresponds to the JSON property stringValue
1449 1450 1451 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 1449 def string_value @string_value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1456 1457 1458 1459 1460 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 1456 def update!(**args) @bool_value = args[:bool_value] if args.key?(:bool_value) @number_value = args[:number_value] if args.key?(:number_value) @string_value = args[:string_value] if args.key?(:string_value) end |