Class: Google::Apis::ThreatintelligenceV1beta::EnumerateAlertFacetsResponse
- Inherits:
-
Object
- Object
- Google::Apis::ThreatintelligenceV1beta::EnumerateAlertFacetsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/threatintelligence_v1beta/classes.rb,
lib/google/apis/threatintelligence_v1beta/representations.rb,
lib/google/apis/threatintelligence_v1beta/representations.rb
Overview
Response message for EnumerateAlertFacets.
Instance Attribute Summary collapse
-
#facets ⇒ Array<Google::Apis::ThreatintelligenceV1beta::Facet>
List of facets and the counts.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EnumerateAlertFacetsResponse
constructor
A new instance of EnumerateAlertFacetsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EnumerateAlertFacetsResponse
Returns a new instance of EnumerateAlertFacetsResponse.
1027 1028 1029 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 1027 def initialize(**args) update!(**args) end |
Instance Attribute Details
#facets ⇒ Array<Google::Apis::ThreatintelligenceV1beta::Facet>
List of facets and the counts.
Corresponds to the JSON property facets
1025 1026 1027 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 1025 def facets @facets end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1032 1033 1034 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 1032 def update!(**args) @facets = args[:facets] if args.key?(:facets) end |