Class: Google::Apis::ThreatintelligenceV1beta::ListAlertsResponse

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 ListAlerts.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListAlertsResponse

Returns a new instance of ListAlertsResponse.



1440
1441
1442
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 1440

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

Instance Attribute Details

#alertsArray<Google::Apis::ThreatintelligenceV1beta::Alert>

List of alerts. Corresponds to the JSON property alerts



1433
1434
1435
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 1433

def alerts
  @alerts
end

#next_page_tokenString

Page token. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1438
1439
1440
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 1438

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1445
1446
1447
1448
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 1445

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