Reference documentation and code samples for the Cloud Monitoring Dashboards V1 API class Google::Cloud::Monitoring::Dashboard::V1::TimeSeriesFilterRatio.
A pair of time series filters that define a ratio computation. The output
time series is the pair-wise division of each aligned element from the
numerator and denominator time series.
Note: The following fields are mutually exclusive: pick_time_series_filter, statistical_time_series_filter. If a field in that set is populated, all other fields in the set will automatically be cleared.
Note: The following fields are mutually exclusive: pick_time_series_filter, statistical_time_series_filter. If a field in that set is populated, all other fields in the set will automatically be cleared.
Note: The following fields are mutually exclusive: pick_time_series_filter, statistical_time_series_filter. If a field in that set is populated, all other fields in the set will automatically be cleared.
Note: The following fields are mutually exclusive: statistical_time_series_filter, pick_time_series_filter. If a field in that set is populated, all other fields in the set will automatically be cleared.
Note: The following fields are mutually exclusive: statistical_time_series_filter, pick_time_series_filter. If a field in that set is populated, all other fields in the set will automatically be cleared.
Note: The following fields are mutually exclusive: statistical_time_series_filter, pick_time_series_filter. If a field in that set is populated, all other fields in the set will automatically be cleared.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Cloud Monitoring Dashboards V1 API - Class Google::Cloud::Monitoring::Dashboard::V1::TimeSeriesFilterRatio (v1.3.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.3.0 (latest)](/ruby/docs/reference/google-cloud-monitoring-dashboard-v1/latest/Google-Cloud-Monitoring-Dashboard-V1-TimeSeriesFilterRatio)\n- [1.2.1](/ruby/docs/reference/google-cloud-monitoring-dashboard-v1/1.2.1/Google-Cloud-Monitoring-Dashboard-V1-TimeSeriesFilterRatio)\n- [1.1.0](/ruby/docs/reference/google-cloud-monitoring-dashboard-v1/1.1.0/Google-Cloud-Monitoring-Dashboard-V1-TimeSeriesFilterRatio)\n- [1.0.1](/ruby/docs/reference/google-cloud-monitoring-dashboard-v1/1.0.1/Google-Cloud-Monitoring-Dashboard-V1-TimeSeriesFilterRatio)\n- [0.16.0](/ruby/docs/reference/google-cloud-monitoring-dashboard-v1/0.16.0/Google-Cloud-Monitoring-Dashboard-V1-TimeSeriesFilterRatio)\n- [0.15.0](/ruby/docs/reference/google-cloud-monitoring-dashboard-v1/0.15.0/Google-Cloud-Monitoring-Dashboard-V1-TimeSeriesFilterRatio)\n- [0.14.2](/ruby/docs/reference/google-cloud-monitoring-dashboard-v1/0.14.2/Google-Cloud-Monitoring-Dashboard-V1-TimeSeriesFilterRatio)\n- [0.13.0](/ruby/docs/reference/google-cloud-monitoring-dashboard-v1/0.13.0/Google-Cloud-Monitoring-Dashboard-V1-TimeSeriesFilterRatio)\n- [0.12.1](/ruby/docs/reference/google-cloud-monitoring-dashboard-v1/0.12.1/Google-Cloud-Monitoring-Dashboard-V1-TimeSeriesFilterRatio)\n- [0.11.0](/ruby/docs/reference/google-cloud-monitoring-dashboard-v1/0.11.0/Google-Cloud-Monitoring-Dashboard-V1-TimeSeriesFilterRatio)\n- [0.10.0](/ruby/docs/reference/google-cloud-monitoring-dashboard-v1/0.10.0/Google-Cloud-Monitoring-Dashboard-V1-TimeSeriesFilterRatio)\n- [0.9.1](/ruby/docs/reference/google-cloud-monitoring-dashboard-v1/0.9.1/Google-Cloud-Monitoring-Dashboard-V1-TimeSeriesFilterRatio)\n- [0.8.0](/ruby/docs/reference/google-cloud-monitoring-dashboard-v1/0.8.0/Google-Cloud-Monitoring-Dashboard-V1-TimeSeriesFilterRatio)\n- [0.7.0](/ruby/docs/reference/google-cloud-monitoring-dashboard-v1/0.7.0/Google-Cloud-Monitoring-Dashboard-V1-TimeSeriesFilterRatio)\n- [0.6.6](/ruby/docs/reference/google-cloud-monitoring-dashboard-v1/0.6.6/Google-Cloud-Monitoring-Dashboard-V1-TimeSeriesFilterRatio) \nReference documentation and code samples for the Cloud Monitoring Dashboards V1 API class Google::Cloud::Monitoring::Dashboard::V1::TimeSeriesFilterRatio.\n\nA pair of time series filters that define a ratio computation. The output\ntime series is the pair-wise division of each aligned element from the\nnumerator and denominator time series. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #denominator\n\n def denominator() -\u003e ::Google::Cloud::Monitoring::Dashboard::V1::TimeSeriesFilterRatio::RatioPart\n\n**Returns**\n\n- ([::Google::Cloud::Monitoring::Dashboard::V1::TimeSeriesFilterRatio::RatioPart](./Google-Cloud-Monitoring-Dashboard-V1-TimeSeriesFilterRatio-RatioPart)) --- The denominator of the ratio.\n\n### #denominator=\n\n def denominator=(value) -\u003e ::Google::Cloud::Monitoring::Dashboard::V1::TimeSeriesFilterRatio::RatioPart\n\n**Parameter**\n\n- **value** ([::Google::Cloud::Monitoring::Dashboard::V1::TimeSeriesFilterRatio::RatioPart](./Google-Cloud-Monitoring-Dashboard-V1-TimeSeriesFilterRatio-RatioPart)) --- The denominator of the ratio. \n**Returns**\n\n- ([::Google::Cloud::Monitoring::Dashboard::V1::TimeSeriesFilterRatio::RatioPart](./Google-Cloud-Monitoring-Dashboard-V1-TimeSeriesFilterRatio-RatioPart)) --- The denominator of the ratio.\n\n### #numerator\n\n def numerator() -\u003e ::Google::Cloud::Monitoring::Dashboard::V1::TimeSeriesFilterRatio::RatioPart\n\n**Returns**\n\n- ([::Google::Cloud::Monitoring::Dashboard::V1::TimeSeriesFilterRatio::RatioPart](./Google-Cloud-Monitoring-Dashboard-V1-TimeSeriesFilterRatio-RatioPart)) --- The numerator of the ratio.\n\n### #numerator=\n\n def numerator=(value) -\u003e ::Google::Cloud::Monitoring::Dashboard::V1::TimeSeriesFilterRatio::RatioPart\n\n**Parameter**\n\n- **value** ([::Google::Cloud::Monitoring::Dashboard::V1::TimeSeriesFilterRatio::RatioPart](./Google-Cloud-Monitoring-Dashboard-V1-TimeSeriesFilterRatio-RatioPart)) --- The numerator of the ratio. \n**Returns**\n\n- ([::Google::Cloud::Monitoring::Dashboard::V1::TimeSeriesFilterRatio::RatioPart](./Google-Cloud-Monitoring-Dashboard-V1-TimeSeriesFilterRatio-RatioPart)) --- The numerator of the ratio.\n\n### #pick_time_series_filter\n\n def pick_time_series_filter() -\u003e ::Google::Cloud::Monitoring::Dashboard::V1::PickTimeSeriesFilter\n\n**Returns**\n\n- ([::Google::Cloud::Monitoring::Dashboard::V1::PickTimeSeriesFilter](./Google-Cloud-Monitoring-Dashboard-V1-PickTimeSeriesFilter)) --- Ranking based time series filter.\n\n\n Note: The following fields are mutually exclusive: `pick_time_series_filter`, `statistical_time_series_filter`. If a field in that set is populated, all other fields in the set will automatically be cleared.\n\n### #pick_time_series_filter=\n\n def pick_time_series_filter=(value) -\u003e ::Google::Cloud::Monitoring::Dashboard::V1::PickTimeSeriesFilter\n\n**Parameter**\n\n- **value** ([::Google::Cloud::Monitoring::Dashboard::V1::PickTimeSeriesFilter](./Google-Cloud-Monitoring-Dashboard-V1-PickTimeSeriesFilter)) --- Ranking based time series filter.\n\n\nNote: The following fields are mutually exclusive: `pick_time_series_filter`, `statistical_time_series_filter`. If a field in that set is populated, all other fields in the set will automatically be cleared. \n**Returns**\n\n- ([::Google::Cloud::Monitoring::Dashboard::V1::PickTimeSeriesFilter](./Google-Cloud-Monitoring-Dashboard-V1-PickTimeSeriesFilter)) --- Ranking based time series filter.\n\n\n Note: The following fields are mutually exclusive: `pick_time_series_filter`, `statistical_time_series_filter`. If a field in that set is populated, all other fields in the set will automatically be cleared.\n\n### #secondary_aggregation\n\n def secondary_aggregation() -\u003e ::Google::Cloud::Monitoring::Dashboard::V1::Aggregation\n\n**Returns**\n\n- ([::Google::Cloud::Monitoring::Dashboard::V1::Aggregation](./Google-Cloud-Monitoring-Dashboard-V1-Aggregation)) --- Apply a second aggregation after the ratio is computed.\n\n### #secondary_aggregation=\n\n def secondary_aggregation=(value) -\u003e ::Google::Cloud::Monitoring::Dashboard::V1::Aggregation\n\n**Parameter**\n\n- **value** ([::Google::Cloud::Monitoring::Dashboard::V1::Aggregation](./Google-Cloud-Monitoring-Dashboard-V1-Aggregation)) --- Apply a second aggregation after the ratio is computed. \n**Returns**\n\n- ([::Google::Cloud::Monitoring::Dashboard::V1::Aggregation](./Google-Cloud-Monitoring-Dashboard-V1-Aggregation)) --- Apply a second aggregation after the ratio is computed.\n\n### #statistical_time_series_filter\n\n def statistical_time_series_filter() -\u003e ::Google::Cloud::Monitoring::Dashboard::V1::StatisticalTimeSeriesFilter\n\n**Returns**\n\n- ([::Google::Cloud::Monitoring::Dashboard::V1::StatisticalTimeSeriesFilter](./Google-Cloud-Monitoring-Dashboard-V1-StatisticalTimeSeriesFilter)) --- Statistics based time series filter. Note: This field is deprecated and completely ignored by the API.\n\n\n Note: The following fields are mutually exclusive: `statistical_time_series_filter`, `pick_time_series_filter`. If a field in that set is populated, all other fields in the set will automatically be cleared.\n\n### #statistical_time_series_filter=\n\n def statistical_time_series_filter=(value) -\u003e ::Google::Cloud::Monitoring::Dashboard::V1::StatisticalTimeSeriesFilter\n\n**Parameter**\n\n- **value** ([::Google::Cloud::Monitoring::Dashboard::V1::StatisticalTimeSeriesFilter](./Google-Cloud-Monitoring-Dashboard-V1-StatisticalTimeSeriesFilter)) --- Statistics based time series filter. Note: This field is deprecated and completely ignored by the API.\n\n\nNote: The following fields are mutually exclusive: `statistical_time_series_filter`, `pick_time_series_filter`. If a field in that set is populated, all other fields in the set will automatically be cleared. \n**Returns**\n\n- ([::Google::Cloud::Monitoring::Dashboard::V1::StatisticalTimeSeriesFilter](./Google-Cloud-Monitoring-Dashboard-V1-StatisticalTimeSeriesFilter)) --- Statistics based time series filter. Note: This field is deprecated and completely ignored by the API.\n\n\n Note: The following fields are mutually exclusive: `statistical_time_series_filter`, `pick_time_series_filter`. If a field in that set is populated, all other fields in the set will automatically be cleared."]]