| 1 |
// Copyright 2022 Google LLC |
| 2 |
// |
| 3 |
// Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 |
// you may not use this file except in compliance with the License. |
| 5 |
// You may obtain a copy of the License at |
| 6 |
// |
| 7 |
// http://www.apache.org/licenses/LICENSE-2.0 |
| 8 |
// |
| 9 |
// Unless required by applicable law or agreed to in writing, software |
| 10 |
// distributed under the License is distributed on an "AS IS" BASIS, |
| 11 |
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 |
// See the License for the specific language governing permissions and |
| 13 |
// limitations under the License. |
| 14 |
|
| 15 |
// Code generated by aliasgen. DO NOT EDIT. |
| 16 |
|
| 17 |
// Package dashboard aliases all exported identifiers in package |
| 18 |
// "cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb". |
| 19 |
// |
| 20 |
// Deprecated: Please use types in: cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb. |
| 21 |
// Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md |
| 22 |
// for more details. |
| 23 |
package dashboard |
| 24 |
|
| 25 |
import ( |
| 26 |
src "cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb" |
| 27 |
grpc "google.golang.org/grpc" |
| 28 |
) |
| 29 |
|
| 30 |
// Deprecated: Please use consts in: cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb |
| 31 |
const ( |
| 32 |
Aggregation_ALIGN_COUNT = src.Aggregation_ALIGN_COUNT |
| 33 |
Aggregation_ALIGN_COUNT_FALSE = src.Aggregation_ALIGN_COUNT_FALSE |
| 34 |
Aggregation_ALIGN_COUNT_TRUE = src.Aggregation_ALIGN_COUNT_TRUE |
| 35 |
Aggregation_ALIGN_DELTA = src.Aggregation_ALIGN_DELTA |
| 36 |
Aggregation_ALIGN_FRACTION_TRUE = src.Aggregation_ALIGN_FRACTION_TRUE |
| 37 |
Aggregation_ALIGN_INTERPOLATE = src.Aggregation_ALIGN_INTERPOLATE |
| 38 |
Aggregation_ALIGN_MAX = src.Aggregation_ALIGN_MAX |
| 39 |
Aggregation_ALIGN_MEAN = src.Aggregation_ALIGN_MEAN |
| 40 |
Aggregation_ALIGN_MIN = src.Aggregation_ALIGN_MIN |
| 41 |
Aggregation_ALIGN_NEXT_OLDER = src.Aggregation_ALIGN_NEXT_OLDER |
| 42 |
Aggregation_ALIGN_NONE = src.Aggregation_ALIGN_NONE |
| 43 |
Aggregation_ALIGN_PERCENTILE_05 = src.Aggregation_ALIGN_PERCENTILE_05 |
| 44 |
Aggregation_ALIGN_PERCENTILE_50 = src.Aggregation_ALIGN_PERCENTILE_50 |
| 45 |
Aggregation_ALIGN_PERCENTILE_95 = src.Aggregation_ALIGN_PERCENTILE_95 |
| 46 |
Aggregation_ALIGN_PERCENTILE_99 = src.Aggregation_ALIGN_PERCENTILE_99 |
| 47 |
Aggregation_ALIGN_PERCENT_CHANGE = src.Aggregation_ALIGN_PERCENT_CHANGE |
| 48 |
Aggregation_ALIGN_RATE = src.Aggregation_ALIGN_RATE |
| 49 |
Aggregation_ALIGN_STDDEV = src.Aggregation_ALIGN_STDDEV |
| 50 |
Aggregation_ALIGN_SUM = src.Aggregation_ALIGN_SUM |
| 51 |
Aggregation_REDUCE_COUNT = src.Aggregation_REDUCE_COUNT |
| 52 |
Aggregation_REDUCE_COUNT_FALSE = src.Aggregation_REDUCE_COUNT_FALSE |
| 53 |
Aggregation_REDUCE_COUNT_TRUE = src.Aggregation_REDUCE_COUNT_TRUE |
| 54 |
Aggregation_REDUCE_FRACTION_TRUE = src.Aggregation_REDUCE_FRACTION_TRUE |
| 55 |
Aggregation_REDUCE_MAX = src.Aggregation_REDUCE_MAX |
| 56 |
Aggregation_REDUCE_MEAN = src.Aggregation_REDUCE_MEAN |
| 57 |
Aggregation_REDUCE_MIN = src.Aggregation_REDUCE_MIN |
| 58 |
Aggregation_REDUCE_NONE = src.Aggregation_REDUCE_NONE |
| 59 |
Aggregation_REDUCE_PERCENTILE_05 = src.Aggregation_REDUCE_PERCENTILE_05 |
| 60 |
Aggregation_REDUCE_PERCENTILE_50 = src.Aggregation_REDUCE_PERCENTILE_50 |
| 61 |
Aggregation_REDUCE_PERCENTILE_95 = src.Aggregation_REDUCE_PERCENTILE_95 |
| 62 |
Aggregation_REDUCE_PERCENTILE_99 = src.Aggregation_REDUCE_PERCENTILE_99 |
| 63 |
Aggregation_REDUCE_STDDEV = src.Aggregation_REDUCE_STDDEV |
| 64 |
Aggregation_REDUCE_SUM = src.Aggregation_REDUCE_SUM |
| 65 |
ChartOptions_COLOR = src.ChartOptions_COLOR |
| 66 |
ChartOptions_MODE_UNSPECIFIED = src.ChartOptions_MODE_UNSPECIFIED |
| 67 |
ChartOptions_STATS = src.ChartOptions_STATS |
| 68 |
ChartOptions_X_RAY = src.ChartOptions_X_RAY |
| 69 |
DashboardFilter_FILTER_TYPE_UNSPECIFIED = src.DashboardFilter_FILTER_TYPE_UNSPECIFIED |
| 70 |
DashboardFilter_GROUP = src.DashboardFilter_GROUP |
| 71 |
DashboardFilter_METRIC_LABEL = src.DashboardFilter_METRIC_LABEL |
| 72 |
DashboardFilter_RESOURCE_LABEL = src.DashboardFilter_RESOURCE_LABEL |
| 73 |
DashboardFilter_SYSTEM_METADATA_LABEL = src.DashboardFilter_SYSTEM_METADATA_LABEL |
| 74 |
DashboardFilter_USER_METADATA_LABEL = src.DashboardFilter_USER_METADATA_LABEL |
| 75 |
PickTimeSeriesFilter_BOTTOM = src.PickTimeSeriesFilter_BOTTOM |
| 76 |
PickTimeSeriesFilter_DIRECTION_UNSPECIFIED = src.PickTimeSeriesFilter_DIRECTION_UNSPECIFIED |
| 77 |
PickTimeSeriesFilter_METHOD_LATEST = src.PickTimeSeriesFilter_METHOD_LATEST |
| 78 |
PickTimeSeriesFilter_METHOD_MAX = src.PickTimeSeriesFilter_METHOD_MAX |
| 79 |
PickTimeSeriesFilter_METHOD_MEAN = src.PickTimeSeriesFilter_METHOD_MEAN |
| 80 |
PickTimeSeriesFilter_METHOD_MIN = src.PickTimeSeriesFilter_METHOD_MIN |
| 81 |
PickTimeSeriesFilter_METHOD_SUM = src.PickTimeSeriesFilter_METHOD_SUM |
| 82 |
PickTimeSeriesFilter_METHOD_UNSPECIFIED = src.PickTimeSeriesFilter_METHOD_UNSPECIFIED |
| 83 |
PickTimeSeriesFilter_TOP = src.PickTimeSeriesFilter_TOP |
| 84 |
SparkChartType_SPARK_BAR = src.SparkChartType_SPARK_BAR |
| 85 |
SparkChartType_SPARK_CHART_TYPE_UNSPECIFIED = src.SparkChartType_SPARK_CHART_TYPE_UNSPECIFIED |
| 86 |
SparkChartType_SPARK_LINE = src.SparkChartType_SPARK_LINE |
| 87 |
StatisticalTimeSeriesFilter_METHOD_CLUSTER_OUTLIER = src.StatisticalTimeSeriesFilter_METHOD_CLUSTER_OUTLIER |
| 88 |
StatisticalTimeSeriesFilter_METHOD_UNSPECIFIED = src.StatisticalTimeSeriesFilter_METHOD_UNSPECIFIED |
| 89 |
Text_FORMAT_UNSPECIFIED = src.Text_FORMAT_UNSPECIFIED |
| 90 |
Text_MARKDOWN = src.Text_MARKDOWN |
| 91 |
Text_RAW = src.Text_RAW |
| 92 |
Threshold_ABOVE = src.Threshold_ABOVE |
| 93 |
Threshold_BELOW = src.Threshold_BELOW |
| 94 |
Threshold_COLOR_UNSPECIFIED = src.Threshold_COLOR_UNSPECIFIED |
| 95 |
Threshold_DIRECTION_UNSPECIFIED = src.Threshold_DIRECTION_UNSPECIFIED |
| 96 |
Threshold_RED = src.Threshold_RED |
| 97 |
Threshold_TARGET_AXIS_UNSPECIFIED = src.Threshold_TARGET_AXIS_UNSPECIFIED |
| 98 |
Threshold_Y1 = src.Threshold_Y1 |
| 99 |
Threshold_Y2 = src.Threshold_Y2 |
| 100 |
Threshold_YELLOW = src.Threshold_YELLOW |
| 101 |
XyChart_Axis_LINEAR = src.XyChart_Axis_LINEAR |
| 102 |
XyChart_Axis_LOG10 = src.XyChart_Axis_LOG10 |
| 103 |
XyChart_Axis_SCALE_UNSPECIFIED = src.XyChart_Axis_SCALE_UNSPECIFIED |
| 104 |
XyChart_DataSet_HEATMAP = src.XyChart_DataSet_HEATMAP |
| 105 |
XyChart_DataSet_LINE = src.XyChart_DataSet_LINE |
| 106 |
XyChart_DataSet_PLOT_TYPE_UNSPECIFIED = src.XyChart_DataSet_PLOT_TYPE_UNSPECIFIED |
| 107 |
XyChart_DataSet_STACKED_AREA = src.XyChart_DataSet_STACKED_AREA |
| 108 |
XyChart_DataSet_STACKED_BAR = src.XyChart_DataSet_STACKED_BAR |
| 109 |
XyChart_DataSet_TARGET_AXIS_UNSPECIFIED = src.XyChart_DataSet_TARGET_AXIS_UNSPECIFIED |
| 110 |
XyChart_DataSet_Y1 = src.XyChart_DataSet_Y1 |
| 111 |
XyChart_DataSet_Y2 = src.XyChart_DataSet_Y2 |
| 112 |
) |
| 113 |
|
| 114 |
// Deprecated: Please use vars in: cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb |
| 115 |
var ( |
| 116 |
Aggregation_Aligner_name = src.Aggregation_Aligner_name |
| 117 |
Aggregation_Aligner_value = src.Aggregation_Aligner_value |
| 118 |
Aggregation_Reducer_name = src.Aggregation_Reducer_name |
| 119 |
Aggregation_Reducer_value = src.Aggregation_Reducer_value |
| 120 |
ChartOptions_Mode_name = src.ChartOptions_Mode_name |
| 121 |
ChartOptions_Mode_value = src.ChartOptions_Mode_value |
| 122 |
DashboardFilter_FilterType_name = src.DashboardFilter_FilterType_name |
| 123 |
DashboardFilter_FilterType_value = src.DashboardFilter_FilterType_value |
| 124 |
File_google_monitoring_dashboard_v1_alertchart_proto = src.File_google_monitoring_dashboard_v1_alertchart_proto |
| 125 |
File_google_monitoring_dashboard_v1_collapsible_group_proto = src.File_google_monitoring_dashboard_v1_collapsible_group_proto |
| 126 |
File_google_monitoring_dashboard_v1_common_proto = src.File_google_monitoring_dashboard_v1_common_proto |
| 127 |
File_google_monitoring_dashboard_v1_dashboard_filter_proto = src.File_google_monitoring_dashboard_v1_dashboard_filter_proto |
| 128 |
File_google_monitoring_dashboard_v1_dashboard_proto = src.File_google_monitoring_dashboard_v1_dashboard_proto |
| 129 |
File_google_monitoring_dashboard_v1_dashboards_service_proto = src.File_google_monitoring_dashboard_v1_dashboards_service_proto |
| 130 |
File_google_monitoring_dashboard_v1_drilldowns_proto = src.File_google_monitoring_dashboard_v1_drilldowns_proto |
| 131 |
File_google_monitoring_dashboard_v1_layouts_proto = src.File_google_monitoring_dashboard_v1_layouts_proto |
| 132 |
File_google_monitoring_dashboard_v1_logs_panel_proto = src.File_google_monitoring_dashboard_v1_logs_panel_proto |
| 133 |
File_google_monitoring_dashboard_v1_metrics_proto = src.File_google_monitoring_dashboard_v1_metrics_proto |
| 134 |
File_google_monitoring_dashboard_v1_scorecard_proto = src.File_google_monitoring_dashboard_v1_scorecard_proto |
| 135 |
File_google_monitoring_dashboard_v1_service_proto = src.File_google_monitoring_dashboard_v1_service_proto |
| 136 |
File_google_monitoring_dashboard_v1_table_display_options_proto = src.File_google_monitoring_dashboard_v1_table_display_options_proto |
| 137 |
File_google_monitoring_dashboard_v1_table_proto = src.File_google_monitoring_dashboard_v1_table_proto |
| 138 |
File_google_monitoring_dashboard_v1_text_proto = src.File_google_monitoring_dashboard_v1_text_proto |
| 139 |
File_google_monitoring_dashboard_v1_widget_proto = src.File_google_monitoring_dashboard_v1_widget_proto |
| 140 |
File_google_monitoring_dashboard_v1_xychart_proto = src.File_google_monitoring_dashboard_v1_xychart_proto |
| 141 |
PickTimeSeriesFilter_Direction_name = src.PickTimeSeriesFilter_Direction_name |
| 142 |
PickTimeSeriesFilter_Direction_value = src.PickTimeSeriesFilter_Direction_value |
| 143 |
PickTimeSeriesFilter_Method_name = src.PickTimeSeriesFilter_Method_name |
| 144 |
PickTimeSeriesFilter_Method_value = src.PickTimeSeriesFilter_Method_value |
| 145 |
SparkChartType_name = src.SparkChartType_name |
| 146 |
SparkChartType_value = src.SparkChartType_value |
| 147 |
StatisticalTimeSeriesFilter_Method_name = src.StatisticalTimeSeriesFilter_Method_name |
| 148 |
StatisticalTimeSeriesFilter_Method_value = src.StatisticalTimeSeriesFilter_Method_value |
| 149 |
Text_Format_name = src.Text_Format_name |
| 150 |
Text_Format_value = src.Text_Format_value |
| 151 |
Threshold_Color_name = src.Threshold_Color_name |
| 152 |
Threshold_Color_value = src.Threshold_Color_value |
| 153 |
Threshold_Direction_name = src.Threshold_Direction_name |
| 154 |
Threshold_Direction_value = src.Threshold_Direction_value |
| 155 |
Threshold_TargetAxis_name = src.Threshold_TargetAxis_name |
| 156 |
Threshold_TargetAxis_value = src.Threshold_TargetAxis_value |
| 157 |
XyChart_Axis_Scale_name = src.XyChart_Axis_Scale_name |
| 158 |
XyChart_Axis_Scale_value = src.XyChart_Axis_Scale_value |
| 159 |
XyChart_DataSet_PlotType_name = src.XyChart_DataSet_PlotType_name |
| 160 |
XyChart_DataSet_PlotType_value = src.XyChart_DataSet_PlotType_value |
| 161 |
XyChart_DataSet_TargetAxis_name = src.XyChart_DataSet_TargetAxis_name |
| 162 |
XyChart_DataSet_TargetAxis_value = src.XyChart_DataSet_TargetAxis_value |
| 163 |
) |
| 164 |
|
| 165 |
// Describes how to combine multiple time series to provide a different view |
| 166 |
// of the data. Aggregation of time series is done in two steps. First, each |
| 167 |
// time series in the set is _aligned_ to the same time interval boundaries, |
| 168 |
// then the set of time series is optionally _reduced_ in number. Alignment |
| 169 |
// consists of applying the `per_series_aligner` operation to each time series |
| 170 |
// after its data has been divided into regular `alignment_period` time |
| 171 |
// intervals. This process takes _all_ of the data points in an alignment |
| 172 |
// period, applies a mathematical transformation such as averaging, minimum, |
| 173 |
// maximum, delta, etc., and converts them into a single data point per period. |
| 174 |
// Reduction is when the aligned and transformed time series can optionally be |
| 175 |
// combined, reducing the number of time series through similar mathematical |
| 176 |
// transformations. Reduction involves applying a `cross_series_reducer` to all |
| 177 |
// the time series, optionally sorting the time series into subsets with |
| 178 |
// `group_by_fields`, and applying the reducer to each subset. The raw time |
| 179 |
// series data can contain a huge amount of information from multiple sources. |
| 180 |
// Alignment and reduction transforms this mass of data into a more manageable |
| 181 |
// and representative collection of data, for example "the 95% latency across |
| 182 |
// the average of all tasks in a cluster". This representative data can be more |
| 183 |
// easily graphed and comprehended, and the individual time series data is |
| 184 |
// still available for later drilldown. For more details, see [Filtering and |
| 185 |
// aggregation](https://cloud.google.com/monitoring/api/v3/aggregation). |
| 186 |
// |
| 187 |
// Deprecated: Please use types in: cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb |
| 188 |
type Aggregation = src.Aggregation |
| 189 |
|
| 190 |
// The `Aligner` specifies the operation that will be applied to the data |
| 191 |
// points in each alignment period in a time series. Except for `ALIGN_NONE`, |
| 192 |
// which specifies that no operation be applied, each alignment operation |
| 193 |
// replaces the set of data values in each alignment period with a single |
| 194 |
// value: the result of applying the operation to the data values. An aligned |
| 195 |
// time series has a single data value at the end of each `alignment_period`. |
| 196 |
// An alignment operation can change the data type of the values, too. For |
| 197 |
// example, if you apply a counting operation to boolean values, the data |
| 198 |
// `value_type` in the original time series is `BOOLEAN`, but the `value_type` |
| 199 |
// in the aligned result is `INT64`. |
| 200 |
// |
| 201 |
// Deprecated: Please use types in: cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb |
| 202 |
type Aggregation_Aligner = src.Aggregation_Aligner |
| 203 |
|
| 204 |
// A Reducer operation describes how to aggregate data points from multiple |
| 205 |
// time series into a single time series, where the value of each data point in |
| 206 |
// the resulting series is a function of all the already aligned values in the |
| 207 |
// input time series. |
| 208 |
// |
| 209 |
// Deprecated: Please use types in: cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb |
| 210 |
type Aggregation_Reducer = src.Aggregation_Reducer |
| 211 |
|
| 212 |
// A chart that displays alert policy data. |
| 213 |
// |
| 214 |
// Deprecated: Please use types in: cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb |
| 215 |
type AlertChart = src.AlertChart |
| 216 |
|
| 217 |
// Options to control visual rendering of a chart. |
| 218 |
// |
| 219 |
// Deprecated: Please use types in: cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb |
| 220 |
type ChartOptions = src.ChartOptions |
| 221 |
|
| 222 |
// Chart mode options. |
| 223 |
// |
| 224 |
// Deprecated: Please use types in: cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb |
| 225 |
type ChartOptions_Mode = src.ChartOptions_Mode |
| 226 |
|
| 227 |
// A widget that groups the other widgets. All widgets that are within the |
| 228 |
// area spanned by the grouping widget are considered member widgets. |
| 229 |
// |
| 230 |
// Deprecated: Please use types in: cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb |
| 231 |
type CollapsibleGroup = src.CollapsibleGroup |
| 232 |
|
| 233 |
// A simplified layout that divides the available space into vertical columns |
| 234 |
// and arranges a set of widgets vertically in each column. |
| 235 |
// |
| 236 |
// Deprecated: Please use types in: cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb |
| 237 |
type ColumnLayout = src.ColumnLayout |
| 238 |
|
| 239 |
// Defines the layout properties and content for a column. |
| 240 |
// |
| 241 |
// Deprecated: Please use types in: cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb |
| 242 |
type ColumnLayout_Column = src.ColumnLayout_Column |
| 243 |
|
| 244 |
// The `CreateDashboard` request. |
| 245 |
// |
| 246 |
// Deprecated: Please use types in: cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb |
| 247 |
type CreateDashboardRequest = src.CreateDashboardRequest |
| 248 |
|
| 249 |
// A Google Stackdriver dashboard. Dashboards define the content and layout of |
| 250 |
// pages in the Stackdriver web application. |
| 251 |
// |
| 252 |
// Deprecated: Please use types in: cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb |
| 253 |
type Dashboard = src.Dashboard |
| 254 |
|
| 255 |
// A filter to reduce the amount of data charted in relevant widgets. |
| 256 |
// |
| 257 |
// Deprecated: Please use types in: cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb |
| 258 |
type DashboardFilter = src.DashboardFilter |
| 259 |
|
| 260 |
// The type for the dashboard filter |
| 261 |
// |
| 262 |
// Deprecated: Please use types in: cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb |
| 263 |
type DashboardFilter_FilterType = src.DashboardFilter_FilterType |
| 264 |
type DashboardFilter_StringValue = src.DashboardFilter_StringValue |
| 265 |
type Dashboard_ColumnLayout = src.Dashboard_ColumnLayout |
| 266 |
type Dashboard_GridLayout = src.Dashboard_GridLayout |
| 267 |
type Dashboard_MosaicLayout = src.Dashboard_MosaicLayout |
| 268 |
type Dashboard_RowLayout = src.Dashboard_RowLayout |
| 269 |
|
| 270 |
// DashboardsServiceClient is the client API for DashboardsService service. |
| 271 |
// For semantics around ctx use and closing/ending streaming RPCs, please refer |
| 272 |
// to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 273 |
// |
| 274 |
// Deprecated: Please use types in: cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb |
| 275 |
type DashboardsServiceClient = src.DashboardsServiceClient |
| 276 |
|
| 277 |
// DashboardsServiceServer is the server API for DashboardsService service. |
| 278 |
// |
| 279 |
// Deprecated: Please use types in: cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb |
| 280 |
type DashboardsServiceServer = src.DashboardsServiceServer |
| 281 |
|
| 282 |
// The `DeleteDashboard` request. |
| 283 |
// |
| 284 |
// Deprecated: Please use types in: cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb |
| 285 |
type DeleteDashboardRequest = src.DeleteDashboardRequest |
| 286 |
|
| 287 |
// The `GetDashboard` request. |
| 288 |
// |
| 289 |
// Deprecated: Please use types in: cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb |
| 290 |
type GetDashboardRequest = src.GetDashboardRequest |
| 291 |
|
| 292 |
// A basic layout divides the available space into vertical columns of equal |
| 293 |
// width and arranges a list of widgets using a row-first strategy. |
| 294 |
// |
| 295 |
// Deprecated: Please use types in: cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb |
| 296 |
type GridLayout = src.GridLayout |
| 297 |
|
| 298 |
// The `ListDashboards` request. |
| 299 |
// |
| 300 |
// Deprecated: Please use types in: cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb |
| 301 |
type ListDashboardsRequest = src.ListDashboardsRequest |
| 302 |
|
| 303 |
// The `ListDashboards` request. |
| 304 |
// |
| 305 |
// Deprecated: Please use types in: cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb |
| 306 |
type ListDashboardsResponse = src.ListDashboardsResponse |
| 307 |
|
| 308 |
// A widget that displays a stream of log. |
| 309 |
// |
| 310 |
// Deprecated: Please use types in: cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb |
| 311 |
type LogsPanel = src.LogsPanel |
| 312 |
|
| 313 |
// A mosaic layout divides the available space into a grid of blocks, and |
| 314 |
// overlays the grid with tiles. Unlike `GridLayout`, tiles may span multiple |
| 315 |
// grid blocks and can be placed at arbitrary locations in the grid. |
| 316 |
// |
| 317 |
// Deprecated: Please use types in: cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb |
| 318 |
type MosaicLayout = src.MosaicLayout |
| 319 |
|
| 320 |
// A single tile in the mosaic. The placement and size of the tile are |
| 321 |
// configurable. |
| 322 |
// |
| 323 |
// Deprecated: Please use types in: cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb |
| 324 |
type MosaicLayout_Tile = src.MosaicLayout_Tile |
| 325 |
|
| 326 |
// Describes a ranking-based time series filter. Each input time series is |
| 327 |
// ranked with an aligner. The filter will allow up to `num_time_series` time |
| 328 |
// series to pass through it, selecting them based on the relative ranking. For |
| 329 |
// example, if `ranking_method` is `METHOD_MEAN`,`direction` is `BOTTOM`, and |
| 330 |
// `num_time_series` is 3, then the 3 times series with the lowest mean values |
| 331 |
// will pass through the filter. |
| 332 |
// |
| 333 |
// Deprecated: Please use types in: cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb |
| 334 |
type PickTimeSeriesFilter = src.PickTimeSeriesFilter |
| 335 |
|
| 336 |
// Describes the ranking directions. |
| 337 |
// |
| 338 |
// Deprecated: Please use types in: cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb |
| 339 |
type PickTimeSeriesFilter_Direction = src.PickTimeSeriesFilter_Direction |
| 340 |
|
| 341 |
// The value reducers that can be applied to a `PickTimeSeriesFilter`. |
| 342 |
// |
| 343 |
// Deprecated: Please use types in: cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb |
| 344 |
type PickTimeSeriesFilter_Method = src.PickTimeSeriesFilter_Method |
| 345 |
|
| 346 |
// A simplified layout that divides the available space into rows and arranges |
| 347 |
// a set of widgets horizontally in each row. |
| 348 |
// |
| 349 |
// Deprecated: Please use types in: cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb |
| 350 |
type RowLayout = src.RowLayout |
| 351 |
|
| 352 |
// Defines the layout properties and content for a row. |
| 353 |
// |
| 354 |
// Deprecated: Please use types in: cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb |
| 355 |
type RowLayout_Row = src.RowLayout_Row |
| 356 |
|
| 357 |
// A widget showing the latest value of a metric, and how this value relates |
| 358 |
// to one or more thresholds. |
| 359 |
// |
| 360 |
// Deprecated: Please use types in: cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb |
| 361 |
type Scorecard = src.Scorecard |
| 362 |
|
| 363 |
// A gauge chart shows where the current value sits within a pre-defined |
| 364 |
// range. The upper and lower bounds should define the possible range of values |
| 365 |
// for the scorecard's query (inclusive). |
| 366 |
// |
| 367 |
// Deprecated: Please use types in: cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb |
| 368 |
type Scorecard_GaugeView = src.Scorecard_GaugeView |
| 369 |
type Scorecard_GaugeView_ = src.Scorecard_GaugeView_ |
| 370 |
|
| 371 |
// A sparkChart is a small chart suitable for inclusion in a table-cell or |
| 372 |
// inline in text. This message contains the configuration for a sparkChart to |
| 373 |
// show up on a Scorecard, showing recent trends of the scorecard's timeseries. |
| 374 |
// |
| 375 |
// Deprecated: Please use types in: cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb |
| 376 |
type Scorecard_SparkChartView = src.Scorecard_SparkChartView |
| 377 |
type Scorecard_SparkChartView_ = src.Scorecard_SparkChartView_ |
| 378 |
|
| 379 |
// Defines the possible types of spark chart supported by the `Scorecard`. |
| 380 |
// |
| 381 |
// Deprecated: Please use types in: cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb |
| 382 |
type SparkChartType = src.SparkChartType |
| 383 |
|
| 384 |
// A filter that ranks streams based on their statistical relation to other |
| 385 |
// streams in a request. Note: This field is deprecated and completely ignored |
| 386 |
// by the API. |
| 387 |
// |
| 388 |
// Deprecated: Please use types in: cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb |
| 389 |
type StatisticalTimeSeriesFilter = src.StatisticalTimeSeriesFilter |
| 390 |
|
| 391 |
// The filter methods that can be applied to a stream. |
| 392 |
// |
| 393 |
// Deprecated: Please use types in: cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb |
| 394 |
type StatisticalTimeSeriesFilter_Method = src.StatisticalTimeSeriesFilter_Method |
| 395 |
|
| 396 |
// Table display options that can be reused. |
| 397 |
// |
| 398 |
// Deprecated: Please use types in: cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb |
| 399 |
type TableDisplayOptions = src.TableDisplayOptions |
| 400 |
|
| 401 |
// A widget that displays textual content. |
| 402 |
// |
| 403 |
// Deprecated: Please use types in: cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb |
| 404 |
type Text = src.Text |
| 405 |
|
| 406 |
// The format type of the text content. |
| 407 |
// |
| 408 |
// Deprecated: Please use types in: cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb |
| 409 |
type Text_Format = src.Text_Format |
| 410 |
|
| 411 |
// Defines a threshold for categorizing time series values. |
| 412 |
// |
| 413 |
// Deprecated: Please use types in: cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb |
| 414 |
type Threshold = src.Threshold |
| 415 |
|
| 416 |
// The color suggests an interpretation to the viewer when actual values cross |
| 417 |
// the threshold. Comments on each color provide UX guidance on how users can |
| 418 |
// be expected to interpret a given state color. |
| 419 |
// |
| 420 |
// Deprecated: Please use types in: cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb |
| 421 |
type Threshold_Color = src.Threshold_Color |
| 422 |
|
| 423 |
// Whether the threshold is considered crossed by an actual value above or |
| 424 |
// below its threshold value. |
| 425 |
// |
| 426 |
// Deprecated: Please use types in: cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb |
| 427 |
type Threshold_Direction = src.Threshold_Direction |
| 428 |
|
| 429 |
// An axis identifier. |
| 430 |
// |
| 431 |
// Deprecated: Please use types in: cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb |
| 432 |
type Threshold_TargetAxis = src.Threshold_TargetAxis |
| 433 |
|
| 434 |
// A filter that defines a subset of time series data that is displayed in a |
| 435 |
// widget. Time series data is fetched using the |
| 436 |
// [`ListTimeSeries`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list) |
| 437 |
// method. |
| 438 |
// |
| 439 |
// Deprecated: Please use types in: cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb |
| 440 |
type TimeSeriesFilter = src.TimeSeriesFilter |
| 441 |
|
| 442 |
// A pair of time series filters that define a ratio computation. The output |
| 443 |
// time series is the pair-wise division of each aligned element from the |
| 444 |
// numerator and denominator time series. |
| 445 |
// |
| 446 |
// Deprecated: Please use types in: cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb |
| 447 |
type TimeSeriesFilterRatio = src.TimeSeriesFilterRatio |
| 448 |
type TimeSeriesFilterRatio_PickTimeSeriesFilter = src.TimeSeriesFilterRatio_PickTimeSeriesFilter |
| 449 |
|
| 450 |
// Describes a query to build the numerator or denominator of a |
| 451 |
// TimeSeriesFilterRatio. |
| 452 |
// |
| 453 |
// Deprecated: Please use types in: cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb |
| 454 |
type TimeSeriesFilterRatio_RatioPart = src.TimeSeriesFilterRatio_RatioPart |
| 455 |
type TimeSeriesFilterRatio_StatisticalTimeSeriesFilter = src.TimeSeriesFilterRatio_StatisticalTimeSeriesFilter |
| 456 |
type TimeSeriesFilter_PickTimeSeriesFilter = src.TimeSeriesFilter_PickTimeSeriesFilter |
| 457 |
type TimeSeriesFilter_StatisticalTimeSeriesFilter = src.TimeSeriesFilter_StatisticalTimeSeriesFilter |
| 458 |
|
| 459 |
// TimeSeriesQuery collects the set of supported methods for querying time |
| 460 |
// series data from the Stackdriver metrics API. |
| 461 |
// |
| 462 |
// Deprecated: Please use types in: cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb |
| 463 |
type TimeSeriesQuery = src.TimeSeriesQuery |
| 464 |
type TimeSeriesQuery_TimeSeriesFilter = src.TimeSeriesQuery_TimeSeriesFilter |
| 465 |
type TimeSeriesQuery_TimeSeriesFilterRatio = src.TimeSeriesQuery_TimeSeriesFilterRatio |
| 466 |
type TimeSeriesQuery_TimeSeriesQueryLanguage = src.TimeSeriesQuery_TimeSeriesQueryLanguage |
| 467 |
|
| 468 |
// A table that displays time series data. |
| 469 |
// |
| 470 |
// Deprecated: Please use types in: cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb |
| 471 |
type TimeSeriesTable = src.TimeSeriesTable |
| 472 |
|
| 473 |
// Groups a time series query definition with table options. |
| 474 |
// |
| 475 |
// Deprecated: Please use types in: cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb |
| 476 |
type TimeSeriesTable_TableDataSet = src.TimeSeriesTable_TableDataSet |
| 477 |
|
| 478 |
// UnimplementedDashboardsServiceServer can be embedded to have forward |
| 479 |
// compatible implementations. |
| 480 |
// |
| 481 |
// Deprecated: Please use types in: cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb |
| 482 |
type UnimplementedDashboardsServiceServer = src.UnimplementedDashboardsServiceServer |
| 483 |
|
| 484 |
// The `UpdateDashboard` request. |
| 485 |
// |
| 486 |
// Deprecated: Please use types in: cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb |
| 487 |
type UpdateDashboardRequest = src.UpdateDashboardRequest |
| 488 |
|
| 489 |
// Widget contains a single dashboard component and configuration of how to |
| 490 |
// present the component in the dashboard. |
| 491 |
// |
| 492 |
// Deprecated: Please use types in: cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb |
| 493 |
type Widget = src.Widget |
| 494 |
type Widget_AlertChart = src.Widget_AlertChart |
| 495 |
type Widget_Blank = src.Widget_Blank |
| 496 |
type Widget_CollapsibleGroup = src.Widget_CollapsibleGroup |
| 497 |
type Widget_LogsPanel = src.Widget_LogsPanel |
| 498 |
type Widget_Scorecard = src.Widget_Scorecard |
| 499 |
type Widget_Text = src.Widget_Text |
| 500 |
type Widget_TimeSeriesTable = src.Widget_TimeSeriesTable |
| 501 |
type Widget_XyChart = src.Widget_XyChart |
| 502 |
|
| 503 |
// A chart that displays data on a 2D (X and Y axes) plane. |
| 504 |
// |
| 505 |
// Deprecated: Please use types in: cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb |
| 506 |
type XyChart = src.XyChart |
| 507 |
|
| 508 |
// A chart axis. |
| 509 |
// |
| 510 |
// Deprecated: Please use types in: cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb |
| 511 |
type XyChart_Axis = src.XyChart_Axis |
| 512 |
|
| 513 |
// Types of scales used in axes. |
| 514 |
// |
| 515 |
// Deprecated: Please use types in: cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb |
| 516 |
type XyChart_Axis_Scale = src.XyChart_Axis_Scale |
| 517 |
|
| 518 |
// Groups a time series query definition with charting options. |
| 519 |
// |
| 520 |
// Deprecated: Please use types in: cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb |
| 521 |
type XyChart_DataSet = src.XyChart_DataSet |
| 522 |
|
| 523 |
// The types of plotting strategies for data sets. |
| 524 |
// |
| 525 |
// Deprecated: Please use types in: cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb |
| 526 |
type XyChart_DataSet_PlotType = src.XyChart_DataSet_PlotType |
| 527 |
|
| 528 |
// An axis identifier. |
| 529 |
// |
| 530 |
// Deprecated: Please use types in: cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb |
| 531 |
type XyChart_DataSet_TargetAxis = src.XyChart_DataSet_TargetAxis |
| 532 |
|
| 533 |
// Deprecated: Please use funcs in: cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb |
| 534 |
func NewDashboardsServiceClient(cc grpc.ClientConnInterface) DashboardsServiceClient { |
| 535 |
return src.NewDashboardsServiceClient(cc) |
| 536 |
} |
| 537 |
|
| 538 |
// Deprecated: Please use funcs in: cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb |
| 539 |
func RegisterDashboardsServiceServer(s *grpc.Server, srv DashboardsServiceServer) { |
| 540 |
src.RegisterDashboardsServiceServer(s, srv) |
| 541 |
} |