Class: Fog::Google::Monitoring::MetricDescriptors
- Inherits:
-
Collection
- Object
- Collection
- Fog::Google::Monitoring::MetricDescriptors
- Defined in:
- lib/fog/google/models/monitoring/metric_descriptors.rb
Instance Method Summary collapse
-
#all(options = {}) ⇒ Array<Fog::Google::Monitoring::MetricDescriptor>
Lists all Metric Descriptors.
Instance Method Details
#all(options = {}) ⇒ Array<Fog::Google::Monitoring::MetricDescriptor>
Lists all Metric Descriptors.
21 22 23 24 |
# File 'lib/fog/google/models/monitoring/metric_descriptors.rb', line 21 def all( = {}) data = service.list_metric_descriptors().body['metrics'] || [] load(data) end |