Reference documentation and code samples for the Cloud Monitoring Dashboards V1 API class Google::Cloud::Monitoring::Dashboard::V1::PieChart::PieChartDataSet.
Groups a time series query definition.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#min_alignment_period
def min_alignment_period() -> ::Google::Protobuf::Duration
Returns
-
(::Google::Protobuf::Duration) — Optional. The lower bound on data point frequency for this data set,
implemented by specifying the minimum alignment period to use in a time
series query. For example, if the data is published once every 10
minutes, the
min_alignment_period
should be at least 10 minutes. It would not make sense to fetch and align data at one minute intervals.
#min_alignment_period=
def min_alignment_period=(value) -> ::Google::Protobuf::Duration
Parameter
-
value (::Google::Protobuf::Duration) — Optional. The lower bound on data point frequency for this data set,
implemented by specifying the minimum alignment period to use in a time
series query. For example, if the data is published once every 10
minutes, the
min_alignment_period
should be at least 10 minutes. It would not make sense to fetch and align data at one minute intervals.
Returns
-
(::Google::Protobuf::Duration) — Optional. The lower bound on data point frequency for this data set,
implemented by specifying the minimum alignment period to use in a time
series query. For example, if the data is published once every 10
minutes, the
min_alignment_period
should be at least 10 minutes. It would not make sense to fetch and align data at one minute intervals.
#slice_name_template
def slice_name_template() -> ::String
Returns
-
(::String) — Optional. A template for the name of the slice. This name will be
displayed in the legend and the tooltip of the pie chart. It replaces the
auto-generated names for the slices. For example, if the template is set
to
${resource.labels.zone}
, the zone's value will be used for the name instead of the default name.
#slice_name_template=
def slice_name_template=(value) -> ::String
Parameter
-
value (::String) — Optional. A template for the name of the slice. This name will be
displayed in the legend and the tooltip of the pie chart. It replaces the
auto-generated names for the slices. For example, if the template is set
to
${resource.labels.zone}
, the zone's value will be used for the name instead of the default name.
Returns
-
(::String) — Optional. A template for the name of the slice. This name will be
displayed in the legend and the tooltip of the pie chart. It replaces the
auto-generated names for the slices. For example, if the template is set
to
${resource.labels.zone}
, the zone's value will be used for the name instead of the default name.
#time_series_query
def time_series_query() -> ::Google::Cloud::Monitoring::Dashboard::V1::TimeSeriesQuery
Returns
-
(::Google::Cloud::Monitoring::Dashboard::V1::TimeSeriesQuery) — Required. The query for the PieChart. See,
google.monitoring.dashboard.v1.TimeSeriesQuery
.
#time_series_query=
def time_series_query=(value) -> ::Google::Cloud::Monitoring::Dashboard::V1::TimeSeriesQuery
Parameter
-
value (::Google::Cloud::Monitoring::Dashboard::V1::TimeSeriesQuery) — Required. The query for the PieChart. See,
google.monitoring.dashboard.v1.TimeSeriesQuery
.
Returns
-
(::Google::Cloud::Monitoring::Dashboard::V1::TimeSeriesQuery) — Required. The query for the PieChart. See,
google.monitoring.dashboard.v1.TimeSeriesQuery
.