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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/monitoring_v1/classes.rb,
generated/google/apis/monitoring_v1/representations.rb,
generated/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.



516
517
518
# File 'generated/google/apis/monitoring_v1/classes.rb', line 516

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



507
508
509
# File 'generated/google/apis/monitoring_v1/classes.rb', line 507

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)


514
515
516
# File 'generated/google/apis/monitoring_v1/classes.rb', line 514

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



521
522
523
524
# File 'generated/google/apis/monitoring_v1/classes.rb', line 521

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