Class: Google::Apis::SecuritycenterV1::AgentAnomaly
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1::AgentAnomaly
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1/classes.rb,
lib/google/apis/securitycenter_v1/representations.rb,
lib/google/apis/securitycenter_v1/representations.rb
Instance Attribute Summary collapse
-
#confidence_score ⇒ Float
Corresponds to the JSON property
confidenceScore. -
#detector_references ⇒ Array<Google::Apis::SecuritycenterV1::DetectorReference>
Corresponds to the JSON property
detectorReferences. -
#invocation_references ⇒ Array<Google::Apis::SecuritycenterV1::InvocationReference>
Corresponds to the JSON property
invocationReferences.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AgentAnomaly
constructor
A new instance of AgentAnomaly.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AgentAnomaly
Returns a new instance of AgentAnomaly.
304 305 306 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 304 def initialize(**args) update!(**args) end |
Instance Attribute Details
#confidence_score ⇒ Float
Corresponds to the JSON property confidenceScore
292 293 294 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 292 def confidence_score @confidence_score end |
#detector_references ⇒ Array<Google::Apis::SecuritycenterV1::DetectorReference>
Corresponds to the JSON property detectorReferences
297 298 299 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 297 def detector_references @detector_references end |
#invocation_references ⇒ Array<Google::Apis::SecuritycenterV1::InvocationReference>
Corresponds to the JSON property invocationReferences
302 303 304 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 302 def invocation_references @invocation_references end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
309 310 311 312 313 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 309 def update!(**args) @confidence_score = args[:confidence_score] if args.key?(:confidence_score) @detector_references = args[:detector_references] if args.key?(:detector_references) @invocation_references = args[:invocation_references] if args.key?(:invocation_references) end |