Class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2DiscoveredWorkload

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV2DiscoveredWorkload

Returns a new instance of GoogleCloudSecuritycenterV2DiscoveredWorkload.



6415
6416
6417
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 6415

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

Instance Attribute Details

#confidenceString

Corresponds to the JSON property confidence

Returns:

  • (String)


6390
6391
6392
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 6390

def confidence
  @confidence
end

#detected_relevant_hardwareBoolean Also known as: detected_relevant_hardware?

Corresponds to the JSON property detectedRelevantHardware

Returns:

  • (Boolean)


6395
6396
6397
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 6395

def detected_relevant_hardware
  @detected_relevant_hardware
end

#detected_relevant_keywordsBoolean Also known as: detected_relevant_keywords?

Corresponds to the JSON property detectedRelevantKeywords

Returns:

  • (Boolean)


6401
6402
6403
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 6401

def detected_relevant_keywords
  @detected_relevant_keywords
end

#detected_relevant_packagesBoolean Also known as: detected_relevant_packages?

Corresponds to the JSON property detectedRelevantPackages

Returns:

  • (Boolean)


6407
6408
6409
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 6407

def detected_relevant_packages
  @detected_relevant_packages
end

#workload_typeString

Corresponds to the JSON property workloadType

Returns:

  • (String)


6413
6414
6415
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 6413

def workload_type
  @workload_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6420
6421
6422
6423
6424
6425
6426
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 6420

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