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.



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

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

Instance Attribute Details

#alertsArray<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_tokenString

Page token. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


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