Class: Google::Apis::SecuritypostureV1::CustomOutputSpec
- Inherits:
-
Object
- Object
- Google::Apis::SecuritypostureV1::CustomOutputSpec
- 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
Definitions of custom source properties that can appear in findings.
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(**args) ⇒ CustomOutputSpec
constructor
A new instance of CustomOutputSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CustomOutputSpec
Returns a new instance of CustomOutputSpec.
228 229 230 |
# File 'lib/google/apis/securityposture_v1/classes.rb', line 228 def initialize(**args) update!(**args) end |
Instance Attribute Details
#properties ⇒ Array<Google::Apis::SecuritypostureV1::Property>
Optional. The custom source properties that can appear in findings.
Corresponds to the JSON property properties
226 227 228 |
# File 'lib/google/apis/securityposture_v1/classes.rb', line 226 def properties @properties end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
233 234 235 |
# File 'lib/google/apis/securityposture_v1/classes.rb', line 233 def update!(**args) @properties = args[:properties] if args.key?(:properties) end |