Class: Google::Apis::ThreatintelligenceV1beta::EnumerateAlertFacetsResponse

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EnumerateAlertFacetsResponse

Returns a new instance of EnumerateAlertFacetsResponse.



1073
1074
1075
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 1073

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

Instance Attribute Details

#facetsArray<Google::Apis::ThreatintelligenceV1beta::Facet>

List of facets and the counts. Corresponds to the JSON property facets



1071
1072
1073
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 1071

def facets
  @facets
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1078
1079
1080
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 1078

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