Class: Google::Apis::MonitoringV3::ListNotificationChannelDescriptorsResponse

Inherits:
Object
  • Object
show all
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 ListNotificationChannelDescriptors response.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListNotificationChannelDescriptorsResponse

Returns a new instance of ListNotificationChannelDescriptorsResponse.


1812
1813
1814
# File 'generated/google/apis/monitoring_v3/classes.rb', line 1812

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

Instance Attribute Details

#channel_descriptorsArray<Google::Apis::MonitoringV3::NotificationChannelDescriptor>

The monitored resource descriptors supported for the specified project, optionally filtered. Corresponds to the JSON property channelDescriptors


1803
1804
1805
# File 'generated/google/apis/monitoring_v3/classes.rb', line 1803

def channel_descriptors
  @channel_descriptors
end

#next_page_tokenString

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

Returns:

  • (String)

1810
1811
1812
# File 'generated/google/apis/monitoring_v3/classes.rb', line 1810

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


1817
1818
1819
1820
# File 'generated/google/apis/monitoring_v3/classes.rb', line 1817

def update!(**args)
  @channel_descriptors = args[:channel_descriptors] if args.key?(:channel_descriptors)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end