Class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2DetectorReference
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2DetectorReference
- 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
Instance Attribute Summary collapse
-
#detector_id ⇒ String
Corresponds to the JSON property
detectorId. -
#display_name ⇒ String
Corresponds to the JSON property
displayName. -
#explanation ⇒ String
Corresponds to the JSON property
explanation. -
#recommendation ⇒ String
Corresponds to the JSON property
recommendation. -
#severity ⇒ String
Corresponds to the JSON property
severity.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2DetectorReference
constructor
A new instance of GoogleCloudSecuritycenterV2DetectorReference.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2DetectorReference
Returns a new instance of GoogleCloudSecuritycenterV2DetectorReference.
6340 6341 6342 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 6340 def initialize(**args) update!(**args) end |
Instance Attribute Details
#detector_id ⇒ String
Corresponds to the JSON property detectorId
6318 6319 6320 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 6318 def detector_id @detector_id end |
#display_name ⇒ String
Corresponds to the JSON property displayName
6323 6324 6325 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 6323 def display_name @display_name end |
#explanation ⇒ String
Corresponds to the JSON property explanation
6328 6329 6330 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 6328 def explanation @explanation end |
#recommendation ⇒ String
Corresponds to the JSON property recommendation
6333 6334 6335 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 6333 def recommendation @recommendation end |
#severity ⇒ String
Corresponds to the JSON property severity
6338 6339 6340 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 6338 def severity @severity end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6345 6346 6347 6348 6349 6350 6351 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 6345 def update!(**args) @detector_id = args[:detector_id] if args.key?(:detector_id) @display_name = args[:display_name] if args.key?(:display_name) @explanation = args[:explanation] if args.key?(:explanation) @recommendation = args[:recommendation] if args.key?(:recommendation) @severity = args[:severity] if args.key?(:severity) end |