Class: Fog::Google::Monitoring::TimeseriesCollection
- Inherits:
-
Collection
- Object
- Collection
- Fog::Google::Monitoring::TimeseriesCollection
- Defined in:
- lib/fog/google/models/monitoring/timeseries_collection.rb
Instance Method Summary collapse
-
#all(metric, youngest, options = {}) ⇒ Array<Fog::Google::Monitoring::Timeseries>
Lists all Timeseries.
Instance Method Details
#all(metric, youngest, options = {}) ⇒ Array<Fog::Google::Monitoring::Timeseries>
Lists all Timeseries.
24 25 26 27 |
# File 'lib/fog/google/models/monitoring/timeseries_collection.rb', line 24 def all(metric, youngest, = {}) data = service.list_timeseries(metric, youngest, ).body['timeseries'] || [] load(data) end |