Class: Google::Apis::ApihubV1::GoogleCloudApihubV1SummaryEntry
- Inherits:
-
Object
- Object
- Google::Apis::ApihubV1::GoogleCloudApihubV1SummaryEntry
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/apihub_v1/classes.rb,
lib/google/apis/apihub_v1/representations.rb,
lib/google/apis/apihub_v1/representations.rb
Overview
Count of issues with a given severity.
Instance Attribute Summary collapse
-
#count ⇒ Fixnum
Required.
-
#severity ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApihubV1SummaryEntry
constructor
A new instance of GoogleCloudApihubV1SummaryEntry.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApihubV1SummaryEntry
Returns a new instance of GoogleCloudApihubV1SummaryEntry.
5066 5067 5068 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 5066 def initialize(**args) update!(**args) end |
Instance Attribute Details
#count ⇒ Fixnum
Required. Count of issues with the given severity.
Corresponds to the JSON property count
5059 5060 5061 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 5059 def count @count end |
#severity ⇒ String
Required. Severity of the issue.
Corresponds to the JSON property severity
5064 5065 5066 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 5064 def severity @severity end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5071 5072 5073 5074 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 5071 def update!(**args) @count = args[:count] if args.key?(:count) @severity = args[:severity] if args.key?(:severity) end |