Class: Google::Apis::ThreatintelligenceV1beta::ListAlertsResponse
- Inherits:
-
Object
- Object
- Google::Apis::ThreatintelligenceV1beta::ListAlertsResponse
- 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 ListAlerts.
Instance Attribute Summary collapse
-
#alerts ⇒ Array<Google::Apis::ThreatintelligenceV1beta::Alert>
List of alerts.
-
#next_page_token ⇒ String
Page token.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListAlertsResponse
constructor
A new instance of ListAlertsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListAlertsResponse
Returns a new instance of ListAlertsResponse.
1439 1440 1441 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 1439 def initialize(**args) update!(**args) end |
Instance Attribute Details
#alerts ⇒ Array<Google::Apis::ThreatintelligenceV1beta::Alert>
List of alerts.
Corresponds to the JSON property alerts
1432 1433 1434 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 1432 def alerts @alerts end |
#next_page_token ⇒ String
Page token.
Corresponds to the JSON property nextPageToken
1437 1438 1439 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 1437 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1444 1445 1446 1447 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 1444 def update!(**args) @alerts = args[:alerts] if args.key?(:alerts) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |