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.
4848 4849 4850 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 4848 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
4841 4842 4843 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 4841 def count @count end |
#severity ⇒ String
Required. Severity of the issue.
Corresponds to the JSON property severity
4846 4847 4848 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 4846 def severity @severity end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4853 4854 4855 4856 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 4853 def update!(**args) @count = args[:count] if args.key?(:count) @severity = args[:severity] if args.key?(:severity) end |