Class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1DbFindingSummary

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/assuredworkloads_v1beta1/classes.rb,
lib/google/apis/assuredworkloads_v1beta1/representations.rb,
lib/google/apis/assuredworkloads_v1beta1/representations.rb

Overview

The details for a finding.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAssuredworkloadsV1beta1DbFindingSummary

Returns a new instance of GoogleCloudAssuredworkloadsV1beta1DbFindingSummary.



757
758
759
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 757

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

Instance Attribute Details

#finding_categoryString

Output only. The category of the finding. Corresponds to the JSON property findingCategory

Returns:

  • (String)


725
726
727
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 725

def finding_category
  @finding_category
end

#finding_classString

Output only. The class of the finding. Corresponds to the JSON property findingClass

Returns:

  • (String)


730
731
732
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 730

def finding_class
  @finding_class
end

#finding_countFixnum

Output only. The count of the finding. Corresponds to the JSON property findingCount

Returns:

  • (Fixnum)


735
736
737
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 735

def finding_count
  @finding_count
end

#nameString

Identifier. The name of the finding summary. Corresponds to the JSON property name

Returns:

  • (String)


740
741
742
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 740

def name
  @name
end

Optional. The list of compliance frameworks that the finding belongs to. Corresponds to the JSON property relatedFrameworks

Returns:

  • (Array<String>)


745
746
747
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 745

def related_frameworks
  @related_frameworks
end

#severityString

Output only. The severity of the finding. Corresponds to the JSON property severity

Returns:

  • (String)


750
751
752
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 750

def severity
  @severity
end

#update_timeString

Output only. The last updated time of the finding. Corresponds to the JSON property updateTime

Returns:

  • (String)


755
756
757
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 755

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



762
763
764
765
766
767
768
769
770
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 762

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