Class: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1DbFindingSummary
- Inherits:
-
Object
- Object
- Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1DbFindingSummary
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/assuredworkloads_v1/classes.rb,
lib/google/apis/assuredworkloads_v1/representations.rb,
lib/google/apis/assuredworkloads_v1/representations.rb
Overview
The details for a finding.
Instance Attribute Summary collapse
-
#finding_category ⇒ String
Output only.
-
#finding_class ⇒ String
Output only.
-
#finding_count ⇒ Fixnum
Output only.
-
#name ⇒ String
Identifier.
-
#related_frameworks ⇒ Array<String>
Optional.
-
#severity ⇒ String
Output only.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAssuredworkloadsV1DbFindingSummary
constructor
A new instance of GoogleCloudAssuredworkloadsV1DbFindingSummary.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAssuredworkloadsV1DbFindingSummary
Returns a new instance of GoogleCloudAssuredworkloadsV1DbFindingSummary.
402 403 404 |
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 402 def initialize(**args) update!(**args) end |
Instance Attribute Details
#finding_category ⇒ String
Output only. The category of the finding.
Corresponds to the JSON property findingCategory
370 371 372 |
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 370 def finding_category @finding_category end |
#finding_class ⇒ String
Output only. The class of the finding.
Corresponds to the JSON property findingClass
375 376 377 |
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 375 def finding_class @finding_class end |
#finding_count ⇒ Fixnum
Output only. The count of the finding.
Corresponds to the JSON property findingCount
380 381 382 |
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 380 def finding_count @finding_count end |
#name ⇒ String
Identifier. The name of the finding summary.
Corresponds to the JSON property name
385 386 387 |
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 385 def name @name end |
#related_frameworks ⇒ Array<String>
Optional. The list of compliance frameworks that the finding belongs to.
Corresponds to the JSON property relatedFrameworks
390 391 392 |
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 390 def @related_frameworks end |
#severity ⇒ String
Output only. The severity of the finding.
Corresponds to the JSON property severity
395 396 397 |
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 395 def severity @severity end |
#update_time ⇒ String
Output only. The last updated time of the finding.
Corresponds to the JSON property updateTime
400 401 402 |
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 400 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
407 408 409 410 411 412 413 414 415 |
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 407 def update!(**args) @finding_category = args[:finding_category] if args.key?(:finding_category) @finding_class = args[:finding_class] if args.key?(:finding_class) @finding_count = args[:finding_count] if args.key?(:finding_count) @name = args[:name] if args.key?(:name) @related_frameworks = args[:related_frameworks] if args.key?(:related_frameworks) @severity = args[:severity] if args.key?(:severity) @update_time = args[:update_time] if args.key?(:update_time) end |