Class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AgentAnomaly
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AgentAnomaly
- 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
-
#confidence_score ⇒ Float
Corresponds to the JSON property
confidenceScore. -
#detector_references ⇒ Array<Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2DetectorReference>
Corresponds to the JSON property
detectorReferences. -
#invocation_references ⇒ Array<Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2InvocationReference>
Corresponds to the JSON property
invocationReferences.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2AgentAnomaly
constructor
A new instance of GoogleCloudSecuritycenterV2AgentAnomaly.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_score ⇒ Float
Corresponds to the JSON property confidenceScore
4527 4528 4529 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 4527 def confidence_score @confidence_score end |
#detector_references ⇒ Array<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_references ⇒ Array<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 |