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(filter: nil, interval: nil, aggregation: nil, order_by: nil, page_size: nil, page_token: nil, view: nil) ⇒ Array<Fog::Google::Monitoring::Timeseries>
Lists all Timeseries.
Instance Method Details
#all(filter: nil, interval: nil, aggregation: nil, order_by: nil, page_size: nil, page_token: nil, view: nil) ⇒ Array<Fog::Google::Monitoring::Timeseries>
Lists all Timeseries.
32 33 34 35 36 37 38 39 40 41 42 43 44 |
# File 'lib/fog/google/models/monitoring/timeseries_collection.rb', line 32 def all(filter: nil, interval: nil, aggregation: nil, order_by: nil, page_size: nil, page_token: nil, view: nil) data = service.list_timeseries( :filter => filter, :interval => interval, :aggregation => aggregation, :order_by => order_by, :page_size => page_size, :page_token => page_token, :view => view ).to_h[:time_series] || [] load(data) end |