Class: Google::Apis::MonitoringV3::ListNotificationChannelsResponse
- Inherits:
-
Object
- Object
- Google::Apis::MonitoringV3::ListNotificationChannelsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/monitoring_v3/classes.rb,
generated/google/apis/monitoring_v3/representations.rb,
generated/google/apis/monitoring_v3/representations.rb
Overview
The ListNotificationChannels response.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
If not empty, indicates that there may be more results that match the request.
-
#notification_channels ⇒ Array<Google::Apis::MonitoringV3::NotificationChannel>
The notification channels defined for the specified project.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListNotificationChannelsResponse
constructor
A new instance of ListNotificationChannelsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListNotificationChannelsResponse
Returns a new instance of ListNotificationChannelsResponse
1515 1516 1517 |
# File 'generated/google/apis/monitoring_v3/classes.rb', line 1515 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
If not empty, indicates that there may be more results that match the request.
Use the value in the page_token field in a subsequent request to fetch the
next set of results. If empty, all results have been returned.
Corresponds to the JSON property nextPageToken
1508 1509 1510 |
# File 'generated/google/apis/monitoring_v3/classes.rb', line 1508 def next_page_token @next_page_token end |
#notification_channels ⇒ Array<Google::Apis::MonitoringV3::NotificationChannel>
The notification channels defined for the specified project.
Corresponds to the JSON property notificationChannels
1513 1514 1515 |
# File 'generated/google/apis/monitoring_v3/classes.rb', line 1513 def notification_channels @notification_channels end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1520 1521 1522 1523 |
# File 'generated/google/apis/monitoring_v3/classes.rb', line 1520 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @notification_channels = args[:notification_channels] if args.key?(:notification_channels) end |