Class: Google::Apis::SecuritypostureV1::ComplianceStandard
- Inherits:
-
Object
- Object
- Google::Apis::SecuritypostureV1::ComplianceStandard
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securityposture_v1/classes.rb,
lib/google/apis/securityposture_v1/representations.rb,
lib/google/apis/securityposture_v1/representations.rb
Overview
Information about a compliance standard that the policy helps enforce.
Instance Attribute Summary collapse
-
#control ⇒ String
Optional.
-
#standard ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ComplianceStandard
constructor
A new instance of ComplianceStandard.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ComplianceStandard
Returns a new instance of ComplianceStandard.
83 84 85 |
# File 'lib/google/apis/securityposture_v1/classes.rb', line 83 def initialize(**args) update!(**args) end |
Instance Attribute Details
#control ⇒ String
Optional. The control in the compliance standard that the policy helps enforce.
For example, AC-3.
Corresponds to the JSON property control
75 76 77 |
# File 'lib/google/apis/securityposture_v1/classes.rb', line 75 def control @control end |
#standard ⇒ String
Optional. The compliance standard that the policy helps enforce. For example,
NIST SP 800-53.
Corresponds to the JSON property standard
81 82 83 |
# File 'lib/google/apis/securityposture_v1/classes.rb', line 81 def standard @standard end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
88 89 90 91 |
# File 'lib/google/apis/securityposture_v1/classes.rb', line 88 def update!(**args) @control = args[:control] if args.key?(:control) @standard = args[:standard] if args.key?(:standard) end |