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.



1054
1055
1056
# File 'lib/google/apis/monitoring_v1/classes.rb', line 1054

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



1045
1046
1047
# File 'lib/google/apis/monitoring_v1/classes.rb', line 1045

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)


1052
1053
1054
# File 'lib/google/apis/monitoring_v1/classes.rb', line 1052

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1059
1060
1061
1062
# File 'lib/google/apis/monitoring_v1/classes.rb', line 1059

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