Class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AgentAnomaly

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) ⇒ GoogleCloudSecuritycenterV2AgentAnomaly

Returns a new instance of GoogleCloudSecuritycenterV2AgentAnomaly.



4539
4540
4541
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 4539

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

Instance Attribute Details

#confidence_scoreFloat

Corresponds to the JSON property confidenceScore

Returns:

  • (Float)


4527
4528
4529
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 4527

def confidence_score
  @confidence_score
end

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

Corresponds to the JSON property detectorReferences



4532
4533
4534
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 4532

def detector_references
  @detector_references
end

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

Corresponds to the JSON property invocationReferences



4537
4538
4539
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 4537

def invocation_references
  @invocation_references
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4544
4545
4546
4547
4548
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 4544

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