From 41d80e73d5bc411d842af34edfdfaf468732eeca Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Mon, 5 Dec 2022 11:49:19 -0800 Subject: [PATCH] docs: fix minor docstring formatting (#3691) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * docs: fix minor docstring formatting PiperOrigin-RevId: 492191109 Source-Link: https://github.com/googleapis/googleapis/commit/6884ca40ed20da72d4f2a0f9fe06e62039ef8a77 Source-Link: https://github.com/googleapis/googleapis-gen/commit/33fcb5da92357f37b0d456a1c5f092095577cb61 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLW1vbml0b3JpbmctZGFzaGJvYXJkLy5Pd2xCb3QueWFtbCIsImgiOiIzM2ZjYjVkYTkyMzU3ZjM3YjBkNDU2YTFjNWYwOTIwOTU1NzdjYjYxIn0= * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot Co-authored-by: Benjamin E. Coe --- .../google/monitoring/dashboard/v1/scorecard.proto | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/packages/google-monitoring-dashboard/protos/google/monitoring/dashboard/v1/scorecard.proto b/packages/google-monitoring-dashboard/protos/google/monitoring/dashboard/v1/scorecard.proto index 2cb2e4b2eb0..27b0b156564 100644 --- a/packages/google-monitoring-dashboard/protos/google/monitoring/dashboard/v1/scorecard.proto +++ b/packages/google-monitoring-dashboard/protos/google/monitoring/dashboard/v1/scorecard.proto @@ -50,7 +50,8 @@ message Scorecard { // timeseries. message SparkChartView { // Required. The type of sparkchart to show in this chartView. - SparkChartType spark_chart_type = 1 [(google.api.field_behavior) = REQUIRED]; + SparkChartType spark_chart_type = 1 + [(google.api.field_behavior) = REQUIRED]; // The lower bound on data point frequency in the chart implemented by // specifying the minimum alignment period to use in a time series query. @@ -62,7 +63,8 @@ message Scorecard { // Required. Fields for querying time series data from the // Stackdriver metrics API. - TimeSeriesQuery time_series_query = 1 [(google.api.field_behavior) = REQUIRED]; + TimeSeriesQuery time_series_query = 1 + [(google.api.field_behavior) = REQUIRED]; // Defines the optional additional chart shown on the scorecard. If // neither is included - then a default scorecard is shown. @@ -83,6 +85,8 @@ message Scorecard { // it in a danger state. (Danger trumps warning.) // // As an example, consider a scorecard with the following four thresholds: + // + // ``` // { // value: 90, // category: 'DANGER', @@ -103,6 +107,7 @@ message Scorecard { // category: 'WARNING', // trigger: 'BELOW', // } + // ``` // // Then: values less than or equal to 10 would put the scorecard in a DANGER // state, values greater than 10 but less than or equal to 20 a WARNING state,