Class: Google::Apis::SecuritycenterV1beta2::Config
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta2::Config
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1beta2/classes.rb,
lib/google/apis/securitycenter_v1beta2/representations.rb,
lib/google/apis/securitycenter_v1beta2/representations.rb
Instance Attribute Summary collapse
-
#module_enablement_state ⇒ String
Corresponds to the JSON property
moduleEnablementState. -
#value ⇒ Hash<String,Object>
Corresponds to the JSON property
value.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Config
constructor
A new instance of Config.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Config
Returns a new instance of Config.
1172 1173 1174 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 1172 def initialize(**args) update!(**args) end |
Instance Attribute Details
#module_enablement_state ⇒ String
Corresponds to the JSON property moduleEnablementState
1165 1166 1167 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 1165 def module_enablement_state @module_enablement_state end |
#value ⇒ Hash<String,Object>
Corresponds to the JSON property value
1170 1171 1172 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 1170 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1177 1178 1179 1180 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 1177 def update!(**args) @module_enablement_state = args[:module_enablement_state] if args.key?(:module_enablement_state) @value = args[:value] if args.key?(:value) end |