Class: Google::Apis::AlertcenterV1beta1::ListAlertsResponse
- Inherits:
-
Object
- Object
- Google::Apis::AlertcenterV1beta1::ListAlertsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/alertcenter_v1beta1/classes.rb,
generated/google/apis/alertcenter_v1beta1/representations.rb,
generated/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
If not empty, indicates that there may be more alerts that match the request; this value can be passed in a new ListAlertsRequest to get the next page of values.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListAlertsResponse
constructor
A new instance of ListAlertsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListAlertsResponse
Returns a new instance of ListAlertsResponse
591 592 593 |
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 591 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
582 583 584 |
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 582 def alerts @alerts end |
#next_page_token ⇒ String
If not empty, indicates that there may be more alerts that match the
request; this value can be passed in a new ListAlertsRequest to get the
next page of values.
Corresponds to the JSON property nextPageToken
589 590 591 |
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 589 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
596 597 598 599 |
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 596 def update!(**args) @alerts = args[:alerts] if args.key?(:alerts) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |