Class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Control
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Control
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1beta1/classes.rb,
lib/google/apis/securitycenter_v1beta1/representations.rb,
lib/google/apis/securitycenter_v1beta1/representations.rb
Overview
Compliance control associated with the finding.
Instance Attribute Summary collapse
-
#control_name ⇒ String
Name of the Control Corresponds to the JSON property
controlName. -
#display_name ⇒ String
Display name of the control.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2Control
constructor
A new instance of GoogleCloudSecuritycenterV2Control.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2Control
Returns a new instance of GoogleCloudSecuritycenterV2Control.
6265 6266 6267 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 6265 def initialize(**args) update!(**args) end |
Instance Attribute Details
#control_name ⇒ String
Name of the Control
Corresponds to the JSON property controlName
6258 6259 6260 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 6258 def control_name @control_name end |
#display_name ⇒ String
Display name of the control. For example, AU-02.
Corresponds to the JSON property displayName
6263 6264 6265 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 6263 def display_name @display_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6270 6271 6272 6273 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 6270 def update!(**args) @control_name = args[:control_name] if args.key?(:control_name) @display_name = args[:display_name] if args.key?(:display_name) end |