Class: Google::Apis::AlertcenterV1beta1::ListAlertsResponse
- Inherits:
-
Object
- Object
- Google::Apis::AlertcenterV1beta1::ListAlertsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/alertcenter_v1beta1/classes.rb,
lib/google/apis/alertcenter_v1beta1/representations.rb,
lib/google/apis/alertcenter_v1beta1/representations.rb
Overview
Response message for an alert listing request.
Instance Attribute Summary collapse
-
#alerts ⇒ Array<Google::Apis::AlertcenterV1beta1::Alert>
The list of alerts.
-
#next_page_token ⇒ String
The token for the next page.
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.
1364 1365 1366 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1364 def initialize(**args) update!(**args) end |
Instance Attribute Details
#alerts ⇒ Array<Google::Apis::AlertcenterV1beta1::Alert>
The list of alerts.
Corresponds to the JSON property alerts
1354 1355 1356 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1354 def alerts @alerts end |
#next_page_token ⇒ String
The token for the next page. If not empty, indicates that there may be more
alerts that match the listing request; this value can be used in a subsequent
ListAlertsRequest to get alerts continuing from last result of the current
list call.
Corresponds to the JSON property nextPageToken
1362 1363 1364 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1362 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1369 1370 1371 1372 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1369 def update!(**args) @alerts = args[:alerts] if args.key?(:alerts) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |