Class: Google::Apis::MonitoringV1::ListDashboardsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/monitoring_v1/classes.rb,
lib/google/apis/monitoring_v1/representations.rb,
lib/google/apis/monitoring_v1/representations.rb

Overview

The ListDashboards request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListDashboardsResponse

Returns a new instance of ListDashboardsResponse.



1135
1136
1137
# File 'lib/google/apis/monitoring_v1/classes.rb', line 1135

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

Instance Attribute Details

#dashboardsArray<Google::Apis::MonitoringV1::Dashboard>

The list of requested dashboards. Corresponds to the JSON property dashboards



1126
1127
1128
# File 'lib/google/apis/monitoring_v1/classes.rb', line 1126

def dashboards
  @dashboards
end

#next_page_tokenString

If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as page_token in the next call to this method. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1133
1134
1135
# File 'lib/google/apis/monitoring_v1/classes.rb', line 1133

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1140
1141
1142
1143
# File 'lib/google/apis/monitoring_v1/classes.rb', line 1140

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