# Cloud Monitoring Dashboards V1 API - Class Google::Cloud::Monitoring::Dashboard::V1::StatisticalTimeSeriesFilter (v1.7.0)

1.7.0 (latest) 1.6.0 1.5.0 1.4.1 1.3.0 1.2.1 1.1.0 1.0.1 0.16.0 0.15.0 0.14.2 0.13.0 0.12.1 0.11.0 0.10.0 0.9.1 0.8.0 0.7.0 0.6.6 Reference documentation and code samples for the Cloud Monitoring Dashboards V1 API class Google::Cloud::Monitoring::Dashboard::V1::StatisticalTimeSeriesFilter.

A filter that ranks streams based on their statistical relation to other
streams in a request.
Note: This field is deprecated and completely ignored by the API.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #num_time_series

    def num_time_series() -> ::Integer

**Returns**

- (::Integer) --- How many time series to output.

### #num_time_series=

    def num_time_series=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- How many time series to output.
**Returns**

- (::Integer) --- How many time series to output.

### #ranking_method

    def ranking_method() -> ::Google::Cloud::Monitoring::Dashboard::V1::StatisticalTimeSeriesFilter::Method

**Returns**

- ([::Google::Cloud::Monitoring::Dashboard::V1::StatisticalTimeSeriesFilter::Method](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-monitoring-dashboard-v1/latest/Google-Cloud-Monitoring-Dashboard-V1-StatisticalTimeSeriesFilter-Method)) --- `rankingMethod` is applied to a set of time series, and then the produced value for each individual time series is used to compare a given time series to others. These are methods that cannot be applied stream-by-stream, but rather require the full context of a request to evaluate time series.

### #ranking_method=

    def ranking_method=(value) -> ::Google::Cloud::Monitoring::Dashboard::V1::StatisticalTimeSeriesFilter::Method

**Parameter**

- **value** ([::Google::Cloud::Monitoring::Dashboard::V1::StatisticalTimeSeriesFilter::Method](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-monitoring-dashboard-v1/latest/Google-Cloud-Monitoring-Dashboard-V1-StatisticalTimeSeriesFilter-Method)) --- `rankingMethod` is applied to a set of time series, and then the produced value for each individual time series is used to compare a given time series to others. These are methods that cannot be applied stream-by-stream, but rather require the full context of a request to evaluate time series.
**Returns**

- ([::Google::Cloud::Monitoring::Dashboard::V1::StatisticalTimeSeriesFilter::Method](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-monitoring-dashboard-v1/latest/Google-Cloud-Monitoring-Dashboard-V1-StatisticalTimeSeriesFilter-Method)) --- `rankingMethod` is applied to a set of time series, and then the produced value for each individual time series is used to compare a given time series to others. These are methods that cannot be applied stream-by-stream, but rather require the full context of a request to evaluate time series.