Class: Google::Apis::CloudidentityV1::Setting
- Inherits:
-
Object
- Object
- Google::Apis::CloudidentityV1::Setting
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudidentity_v1/classes.rb,
lib/google/apis/cloudidentity_v1/representations.rb,
lib/google/apis/cloudidentity_v1/representations.rb
Overview
Setting
Instance Attribute Summary collapse
-
#type ⇒ String
Required.
-
#value ⇒ Hash<String,Object>
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Setting
constructor
A new instance of Setting.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Setting
Returns a new instance of Setting.
3138 3139 3140 |
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 3138 def initialize(**args) update!(**args) end |
Instance Attribute Details
#type ⇒ String
Required. Immutable. The type of the Setting. .
Corresponds to the JSON property type
3131 3132 3133 |
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 3131 def type @type end |
#value ⇒ Hash<String,Object>
Required. The value of the Setting.
Corresponds to the JSON property value
3136 3137 3138 |
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 3136 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3143 3144 3145 3146 |
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 3143 def update!(**args) @type = args[:type] if args.key?(:type) @value = args[:value] if args.key?(:value) end |