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.



898
899
900
# File 'lib/google/apis/monitoring_v1/classes.rb', line 898

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



889
890
891
# File 'lib/google/apis/monitoring_v1/classes.rb', line 889

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)


896
897
898
# File 'lib/google/apis/monitoring_v1/classes.rb', line 896

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



903
904
905
906
# File 'lib/google/apis/monitoring_v1/classes.rb', line 903

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