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
Instance Attribute Summary collapse
-
#ids ⇒ Array<String>
Corresponds to the JSON property
ids. -
#standard ⇒ String
Corresponds to the JSON property
standard. -
#version ⇒ String
Corresponds to the JSON property
version.
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.
1115 1116 1117 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 1115 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ids ⇒ Array<String>
Corresponds to the JSON property ids
1103 1104 1105 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 1103 def ids @ids end |
#standard ⇒ String
Corresponds to the JSON property standard
1108 1109 1110 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 1108 def standard @standard end |
#version ⇒ String
Corresponds to the JSON property version
1113 1114 1115 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 1113 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1120 1121 1122 1123 1124 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 1120 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 |