Class: Google::Apis::MonitoringV3::ListSnoozesResponse
- Inherits:
-
Object
- Object
- Google::Apis::MonitoringV3::ListSnoozesResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/monitoring_v3/classes.rb,
lib/google/apis/monitoring_v3/representations.rb,
lib/google/apis/monitoring_v3/representations.rb
Overview
The results of a successful ListSnoozes call, containing the matching Snoozes.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
Page token for repeated calls to ListSnoozes, to fetch additional pages of results.
-
#snoozes ⇒ Array<Google::Apis::MonitoringV3::Snooze>
Snoozes matching this list call.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListSnoozesResponse
constructor
A new instance of ListSnoozesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListSnoozesResponse
Returns a new instance of ListSnoozesResponse.
2445 2446 2447 |
# File 'lib/google/apis/monitoring_v3/classes.rb', line 2445 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
Page token for repeated calls to ListSnoozes, to fetch additional pages of
results. If this is empty or missing, there are no more pages.
Corresponds to the JSON property nextPageToken
2438 2439 2440 |
# File 'lib/google/apis/monitoring_v3/classes.rb', line 2438 def next_page_token @next_page_token end |
#snoozes ⇒ Array<Google::Apis::MonitoringV3::Snooze>
Snoozes matching this list call.
Corresponds to the JSON property snoozes
2443 2444 2445 |
# File 'lib/google/apis/monitoring_v3/classes.rb', line 2443 def snoozes @snoozes end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2450 2451 2452 2453 |
# File 'lib/google/apis/monitoring_v3/classes.rb', line 2450 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @snoozes = args[:snoozes] if args.key?(:snoozes) end |