Class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2DiscoveredWorkload
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2DiscoveredWorkload
- 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 ⇒ String
Corresponds to the JSON property
confidence. -
#detected_relevant_hardware ⇒ Boolean
(also: #detected_relevant_hardware?)
Corresponds to the JSON property
detectedRelevantHardware. -
#detected_relevant_keywords ⇒ Boolean
(also: #detected_relevant_keywords?)
Corresponds to the JSON property
detectedRelevantKeywords. -
#detected_relevant_packages ⇒ Boolean
(also: #detected_relevant_packages?)
Corresponds to the JSON property
detectedRelevantPackages. -
#workload_type ⇒ String
Corresponds to the JSON property
workloadType.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2DiscoveredWorkload
constructor
A new instance of GoogleCloudSecuritycenterV2DiscoveredWorkload.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2DiscoveredWorkload
Returns a new instance of GoogleCloudSecuritycenterV2DiscoveredWorkload.
6465 6466 6467 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 6465 def initialize(**args) update!(**args) end |
Instance Attribute Details
#confidence ⇒ String
Corresponds to the JSON property confidence
6440 6441 6442 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 6440 def confidence @confidence end |
#detected_relevant_hardware ⇒ Boolean Also known as: detected_relevant_hardware?
Corresponds to the JSON property detectedRelevantHardware
6445 6446 6447 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 6445 def detected_relevant_hardware @detected_relevant_hardware end |
#detected_relevant_keywords ⇒ Boolean Also known as: detected_relevant_keywords?
Corresponds to the JSON property detectedRelevantKeywords
6451 6452 6453 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 6451 def detected_relevant_keywords @detected_relevant_keywords end |
#detected_relevant_packages ⇒ Boolean Also known as: detected_relevant_packages?
Corresponds to the JSON property detectedRelevantPackages
6457 6458 6459 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 6457 def detected_relevant_packages @detected_relevant_packages end |
#workload_type ⇒ String
Corresponds to the JSON property workloadType
6463 6464 6465 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 6463 def workload_type @workload_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6470 6471 6472 6473 6474 6475 6476 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 6470 def update!(**args) @confidence = args[:confidence] if args.key?(:confidence) @detected_relevant_hardware = args[:detected_relevant_hardware] if args.key?(:detected_relevant_hardware) @detected_relevant_keywords = args[:detected_relevant_keywords] if args.key?(:detected_relevant_keywords) @detected_relevant_packages = args[:detected_relevant_packages] if args.key?(:detected_relevant_packages) @workload_type = args[:workload_type] if args.key?(:workload_type) end |