Class: Google::Apis::WebsecurityscannerV1alpha::ListFindingTypeStatsResponse

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

Overview

Response for the ListFindingTypeStats method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListFindingTypeStatsResponse

Returns a new instance of ListFindingTypeStatsResponse.



362
363
364
# File 'generated/google/apis/websecurityscanner_v1alpha/classes.rb', line 362

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

Instance Attribute Details

#finding_type_statsArray<Google::Apis::WebsecurityscannerV1alpha::FindingTypeStats>

The list of FindingTypeStats returned. Corresponds to the JSON property findingTypeStats



360
361
362
# File 'generated/google/apis/websecurityscanner_v1alpha/classes.rb', line 360

def finding_type_stats
  @finding_type_stats
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



367
368
369
# File 'generated/google/apis/websecurityscanner_v1alpha/classes.rb', line 367

def update!(**args)
  @finding_type_stats = args[:finding_type_stats] if args.key?(:finding_type_stats)
end