Class: Google::Apis::SecuritycenterV1::Control
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1::Control
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1/classes.rb,
lib/google/apis/securitycenter_v1/representations.rb,
lib/google/apis/securitycenter_v1/representations.rb
Instance Attribute Summary collapse
-
#control_name ⇒ String
Corresponds to the JSON property
controlName. -
#display_name ⇒ String
Corresponds to the JSON property
displayName.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Control
constructor
A new instance of Control.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Control
Returns a new instance of Control.
1761 1762 1763 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1761 def initialize(**args) update!(**args) end |
Instance Attribute Details
#control_name ⇒ String
Corresponds to the JSON property controlName
1754 1755 1756 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1754 def control_name @control_name end |
#display_name ⇒ String
Corresponds to the JSON property displayName
1759 1760 1761 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1759 def display_name @display_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1766 1767 1768 1769 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1766 def update!(**args) @control_name = args[:control_name] if args.key?(:control_name) @display_name = args[:display_name] if args.key?(:display_name) end |