Class: Google::Apis::SecuritycenterV1beta2::AgentAnomaly

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AgentAnomaly

Returns a new instance of AgentAnomaly.



304
305
306
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 304

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#confidence_scoreFloat

Corresponds to the JSON property confidenceScore

Returns:

  • (Float)


292
293
294
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 292

def confidence_score
  @confidence_score
end

#detector_referencesArray<Google::Apis::SecuritycenterV1beta2::DetectorReference>

Corresponds to the JSON property detectorReferences



297
298
299
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 297

def detector_references
  @detector_references
end

#invocation_referencesArray<Google::Apis::SecuritycenterV1beta2::InvocationReference>

Corresponds to the JSON property invocationReferences



302
303
304
# File 'lib/google/apis/securitycenter_v1beta2/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_v1beta2/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