Class: Google::Apis::SecuritycenterV1beta2::Compliance
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta2::Compliance
- 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
Overview
Contains compliance information about a security standard indicating unmet recommendations.
Instance Attribute Summary collapse
-
#ids ⇒ Array<String>
e.g.
-
#standard ⇒ String
e.g.
-
#version ⇒ String
e.g.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Compliance
constructor
A new instance of Compliance.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Compliance
Returns a new instance of Compliance.
96 97 98 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 96 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ids ⇒ Array<String>
e.g. A.12.4.1
Corresponds to the JSON property ids
84 85 86 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 84 def ids @ids end |
#standard ⇒ String
e.g. "cis", "pci", "owasp", etc.
Corresponds to the JSON property standard
89 90 91 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 89 def standard @standard end |
#version ⇒ String
e.g. 1.1
Corresponds to the JSON property version
94 95 96 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 94 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
101 102 103 104 105 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 101 def update!(**args) @ids = args[:ids] if args.key?(:ids) @standard = args[:standard] if args.key?(:standard) @version = args[:version] if args.key?(:version) end |