monitoring

package
v0.0.0-...-e165f0f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 1, 2020 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Aggregation_Aligner_name = map[int32]string{
	0:  "ALIGN_NONE",
	1:  "ALIGN_DELTA",
	2:  "ALIGN_RATE",
	3:  "ALIGN_INTERPOLATE",
	4:  "ALIGN_NEXT_OLDER",
	10: "ALIGN_MIN",
	11: "ALIGN_MAX",
	12: "ALIGN_MEAN",
	13: "ALIGN_COUNT",
	14: "ALIGN_SUM",
	15: "ALIGN_STDDEV",
	16: "ALIGN_COUNT_TRUE",
	24: "ALIGN_COUNT_FALSE",
	17: "ALIGN_FRACTION_TRUE",
	18: "ALIGN_PERCENTILE_99",
	19: "ALIGN_PERCENTILE_95",
	20: "ALIGN_PERCENTILE_50",
	21: "ALIGN_PERCENTILE_05",
	23: "ALIGN_PERCENT_CHANGE",
}
View Source
var Aggregation_Aligner_value = map[string]int32{
	"ALIGN_NONE":           0,
	"ALIGN_DELTA":          1,
	"ALIGN_RATE":           2,
	"ALIGN_INTERPOLATE":    3,
	"ALIGN_NEXT_OLDER":     4,
	"ALIGN_MIN":            10,
	"ALIGN_MAX":            11,
	"ALIGN_MEAN":           12,
	"ALIGN_COUNT":          13,
	"ALIGN_SUM":            14,
	"ALIGN_STDDEV":         15,
	"ALIGN_COUNT_TRUE":     16,
	"ALIGN_COUNT_FALSE":    24,
	"ALIGN_FRACTION_TRUE":  17,
	"ALIGN_PERCENTILE_99":  18,
	"ALIGN_PERCENTILE_95":  19,
	"ALIGN_PERCENTILE_50":  20,
	"ALIGN_PERCENTILE_05":  21,
	"ALIGN_PERCENT_CHANGE": 23,
}
View Source
var Aggregation_Reducer_name = map[int32]string{
	0:  "REDUCE_NONE",
	1:  "REDUCE_MEAN",
	2:  "REDUCE_MIN",
	3:  "REDUCE_MAX",
	4:  "REDUCE_SUM",
	5:  "REDUCE_STDDEV",
	6:  "REDUCE_COUNT",
	7:  "REDUCE_COUNT_TRUE",
	15: "REDUCE_COUNT_FALSE",
	8:  "REDUCE_FRACTION_TRUE",
	9:  "REDUCE_PERCENTILE_99",
	10: "REDUCE_PERCENTILE_95",
	11: "REDUCE_PERCENTILE_50",
	12: "REDUCE_PERCENTILE_05",
}
View Source
var Aggregation_Reducer_value = map[string]int32{
	"REDUCE_NONE":          0,
	"REDUCE_MEAN":          1,
	"REDUCE_MIN":           2,
	"REDUCE_MAX":           3,
	"REDUCE_SUM":           4,
	"REDUCE_STDDEV":        5,
	"REDUCE_COUNT":         6,
	"REDUCE_COUNT_TRUE":    7,
	"REDUCE_COUNT_FALSE":   15,
	"REDUCE_FRACTION_TRUE": 8,
	"REDUCE_PERCENTILE_99": 9,
	"REDUCE_PERCENTILE_95": 10,
	"REDUCE_PERCENTILE_50": 11,
	"REDUCE_PERCENTILE_05": 12,
}
View Source
var AlertPolicy_ConditionCombinerType_name = map[int32]string{
	0: "COMBINE_UNSPECIFIED",
	1: "AND",
	2: "OR",
	3: "AND_WITH_MATCHING_RESOURCE",
}
View Source
var AlertPolicy_ConditionCombinerType_value = map[string]int32{
	"COMBINE_UNSPECIFIED":        0,
	"AND":                        1,
	"OR":                         2,
	"AND_WITH_MATCHING_RESOURCE": 3,
}
View Source
var ComparisonType_name = map[int32]string{
	0: "COMPARISON_UNSPECIFIED",
	1: "COMPARISON_GT",
	2: "COMPARISON_GE",
	3: "COMPARISON_LT",
	4: "COMPARISON_LE",
	5: "COMPARISON_EQ",
	6: "COMPARISON_NE",
}
View Source
var ComparisonType_value = map[string]int32{
	"COMPARISON_UNSPECIFIED": 0,
	"COMPARISON_GT":          1,
	"COMPARISON_GE":          2,
	"COMPARISON_LT":          3,
	"COMPARISON_LE":          4,
	"COMPARISON_EQ":          5,
	"COMPARISON_NE":          6,
}
View Source
var GroupResourceType_name = map[int32]string{
	0: "RESOURCE_TYPE_UNSPECIFIED",
	1: "INSTANCE",
	2: "AWS_ELB_LOAD_BALANCER",
}
View Source
var GroupResourceType_value = map[string]int32{
	"RESOURCE_TYPE_UNSPECIFIED": 0,
	"INSTANCE":                  1,
	"AWS_ELB_LOAD_BALANCER":     2,
}
View Source
var InternalChecker_State_name = map[int32]string{
	0: "UNSPECIFIED",
	1: "CREATING",
	2: "RUNNING",
}
View Source
var InternalChecker_State_value = map[string]int32{
	"UNSPECIFIED": 0,
	"CREATING":    1,
	"RUNNING":     2,
}
View Source
var ListTimeSeriesRequest_TimeSeriesView_name = map[int32]string{
	0: "FULL",
	1: "HEADERS",
}
View Source
var ListTimeSeriesRequest_TimeSeriesView_value = map[string]int32{
	"FULL":    0,
	"HEADERS": 1,
}
View Source
var NotificationChannel_VerificationStatus_name = map[int32]string{
	0: "VERIFICATION_STATUS_UNSPECIFIED",
	1: "UNVERIFIED",
	2: "VERIFIED",
}
View Source
var NotificationChannel_VerificationStatus_value = map[string]int32{
	"VERIFICATION_STATUS_UNSPECIFIED": 0,
	"UNVERIFIED":                      1,
	"VERIFIED":                        2,
}
View Source
var ServiceLevelObjective_View_name = map[int32]string{
	0: "VIEW_UNSPECIFIED",
	2: "FULL",
	1: "EXPLICIT",
}
View Source
var ServiceLevelObjective_View_value = map[string]int32{
	"VIEW_UNSPECIFIED": 0,
	"FULL":             2,
	"EXPLICIT":         1,
}
View Source
var ServiceTier_name = map[int32]string{
	0: "SERVICE_TIER_UNSPECIFIED",
	1: "SERVICE_TIER_BASIC",
	2: "SERVICE_TIER_PREMIUM",
}
View Source
var ServiceTier_value = map[string]int32{
	"SERVICE_TIER_UNSPECIFIED": 0,
	"SERVICE_TIER_BASIC":       1,
	"SERVICE_TIER_PREMIUM":     2,
}
View Source
var UptimeCheckConfig_ContentMatcher_ContentMatcherOption_name = map[int32]string{
	0: "CONTENT_MATCHER_OPTION_UNSPECIFIED",
	1: "CONTAINS_STRING",
	2: "NOT_CONTAINS_STRING",
	3: "MATCHES_REGEX",
	4: "NOT_MATCHES_REGEX",
}
View Source
var UptimeCheckConfig_ContentMatcher_ContentMatcherOption_value = map[string]int32{
	"CONTENT_MATCHER_OPTION_UNSPECIFIED": 0,
	"CONTAINS_STRING":                    1,
	"NOT_CONTAINS_STRING":                2,
	"MATCHES_REGEX":                      3,
	"NOT_MATCHES_REGEX":                  4,
}
View Source
var UptimeCheckConfig_HttpCheck_ContentType_name = map[int32]string{
	0: "TYPE_UNSPECIFIED",
	1: "URL_ENCODED",
}
View Source
var UptimeCheckConfig_HttpCheck_ContentType_value = map[string]int32{
	"TYPE_UNSPECIFIED": 0,
	"URL_ENCODED":      1,
}
View Source
var UptimeCheckConfig_HttpCheck_RequestMethod_name = map[int32]string{
	0: "METHOD_UNSPECIFIED",
	1: "GET",
	2: "POST",
}
View Source
var UptimeCheckConfig_HttpCheck_RequestMethod_value = map[string]int32{
	"METHOD_UNSPECIFIED": 0,
	"GET":                1,
	"POST":               2,
}
View Source
var UptimeCheckRegion_name = map[int32]string{
	0: "REGION_UNSPECIFIED",
	1: "USA",
	2: "EUROPE",
	3: "SOUTH_AMERICA",
	4: "ASIA_PACIFIC",
}
View Source
var UptimeCheckRegion_value = map[string]int32{
	"REGION_UNSPECIFIED": 0,
	"USA":                1,
	"EUROPE":             2,
	"SOUTH_AMERICA":      3,
	"ASIA_PACIFIC":       4,
}

Functions

func RegisterAlertPolicyServiceServer

func RegisterAlertPolicyServiceServer(s *grpc.Server, srv AlertPolicyServiceServer)

func RegisterGroupServiceServer

func RegisterGroupServiceServer(s *grpc.Server, srv GroupServiceServer)

func RegisterMetricServiceServer

func RegisterMetricServiceServer(s *grpc.Server, srv MetricServiceServer)

func RegisterNotificationChannelServiceServer

func RegisterNotificationChannelServiceServer(s *grpc.Server, srv NotificationChannelServiceServer)

func RegisterServiceMonitoringServiceServer

func RegisterServiceMonitoringServiceServer(s *grpc.Server, srv ServiceMonitoringServiceServer)

func RegisterUptimeCheckServiceServer

func RegisterUptimeCheckServiceServer(s *grpc.Server, srv UptimeCheckServiceServer)

Types

type Aggregation

type Aggregation struct {
	// The `alignment_period` specifies a time interval, in seconds, that is used
	// to divide the data in all the
	// [time series][google.monitoring.v3.TimeSeries] into consistent blocks of
	// time. This will be done before the per-series aligner can be applied to
	// the data.
	//
	// The value must be at least 60 seconds. If a per-series aligner other than
	// `ALIGN_NONE` is specified, this field is required or an error is returned.
	// If no per-series aligner is specified, or the aligner `ALIGN_NONE` is
	// specified, then this field is ignored.
	AlignmentPeriod *duration.Duration `protobuf:"bytes,1,opt,name=alignment_period,json=alignmentPeriod,proto3" json:"alignment_period,omitempty"`
	// An `Aligner` describes how to bring the data points in a single
	// time series into temporal alignment. Except for `ALIGN_NONE`, all
	// alignments cause all the data points in an `alignment_period` to be
	// mathematically grouped together, resulting in a single data point for
	// each `alignment_period` with end timestamp at the end of the period.
	//
	// Not all alignment operations may be applied to all time series. The valid
	// choices depend on the `metric_kind` and `value_type` of the original time
	// series. Alignment can change the `metric_kind` or the `value_type` of
	// the time series.
	//
	// Time series data must be aligned in order to perform cross-time
	// series reduction. If `cross_series_reducer` is specified, then
	// `per_series_aligner` must be specified and not equal to `ALIGN_NONE`
	// and `alignment_period` must be specified; otherwise, an error is
	// returned.
	PerSeriesAligner Aggregation_Aligner `` /* 158-byte string literal not displayed */
	// The reduction operation to be used to combine time series into a single
	// time series, where the value of each data point in the resulting series is
	// a function of all the already aligned values in the input time series.
	//
	// Not all reducer operations can be applied to all time series. The valid
	// choices depend on the `metric_kind` and the `value_type` of the original
	// time series. Reduction can yield a time series with a different
	// `metric_kind` or `value_type` than the input time series.
	//
	// Time series data must first be aligned (see `per_series_aligner`) in order
	// to perform cross-time series reduction. If `cross_series_reducer` is
	// specified, then `per_series_aligner` must be specified, and must not be
	// `ALIGN_NONE`. An `alignment_period` must also be specified; otherwise, an
	// error is returned.
	CrossSeriesReducer Aggregation_Reducer `` /* 164-byte string literal not displayed */
	// The set of fields to preserve when `cross_series_reducer` is
	// specified. The `group_by_fields` determine how the time series are
	// partitioned into subsets prior to applying the aggregation
	// operation. Each subset contains time series that have the same
	// value for each of the grouping fields. Each individual time
	// series is a member of exactly one subset. The
	// `cross_series_reducer` is applied to each subset of time series.
	// It is not possible to reduce across different resource types, so
	// this field implicitly contains `resource.type`.  Fields not
	// specified in `group_by_fields` are aggregated away.  If
	// `group_by_fields` is not specified and all the time series have
	// the same resource type, then the time series are aggregated into
	// a single output time series. If `cross_series_reducer` is not
	// defined, this field is ignored.
	GroupByFields        []string `protobuf:"bytes,5,rep,name=group_by_fields,json=groupByFields,proto3" json:"group_by_fields,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Describes how to combine multiple time series to provide a different view of the data. Aggregation of time series is done in two steps. First, each time series in the set is _aligned_ to the same time interval boundaries, then the set of time series is optionally _reduced_ in number.

Alignment consists of applying the `per_series_aligner` operation to each time series after its data has been divided into regular `alignment_period` time intervals. This process takes _all_ of the data points in an alignment period, applies a mathematical transformation such as averaging, minimum, maximum, delta, etc., and converts them into a single data point per period.

Reduction is when the aligned and transformed time series can optionally be combined, reducing the number of time series through similar mathematical transformations. Reduction involves applying a `cross_series_reducer` to all the time series, optionally sorting the time series into subsets with `group_by_fields`, and applying the reducer to each subset.

The raw time series data can contain a huge amount of information from multiple sources. Alignment and reduction transforms this mass of data into a more manageable and representative collection of data, for example "the 95% latency across the average of all tasks in a cluster". This representative data can be more easily graphed and comprehended, and the individual time series data is still available for later drilldown. For more details, see [Filtering and aggregation](https://cloud.google.com/monitoring/api/v3/aggregation).

func (*Aggregation) Descriptor

func (*Aggregation) Descriptor() ([]byte, []int)

func (*Aggregation) GetAlignmentPeriod

func (m *Aggregation) GetAlignmentPeriod() *duration.Duration

func (*Aggregation) GetCrossSeriesReducer

func (m *Aggregation) GetCrossSeriesReducer() Aggregation_Reducer

func (*Aggregation) GetGroupByFields

func (m *Aggregation) GetGroupByFields() []string

func (*Aggregation) GetPerSeriesAligner

func (m *Aggregation) GetPerSeriesAligner() Aggregation_Aligner

func (*Aggregation) ProtoMessage

func (*Aggregation) ProtoMessage()

func (*Aggregation) Reset

func (m *Aggregation) Reset()

func (*Aggregation) String

func (m *Aggregation) String() string

func (*Aggregation) XXX_DiscardUnknown

func (m *Aggregation) XXX_DiscardUnknown()

func (*Aggregation) XXX_Marshal

func (m *Aggregation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Aggregation) XXX_Merge

func (m *Aggregation) XXX_Merge(src proto.Message)

func (*Aggregation) XXX_Size

func (m *Aggregation) XXX_Size() int

func (*Aggregation) XXX_Unmarshal

func (m *Aggregation) XXX_Unmarshal(b []byte) error

type Aggregation_Aligner

type Aggregation_Aligner int32

The `Aligner` specifies the operation that will be applied to the data points in each alignment period in a time series. Except for `ALIGN_NONE`, which specifies that no operation be applied, each alignment operation replaces the set of data values in each alignment period with a single value: the result of applying the operation to the data values. An aligned time series has a single data value at the end of each `alignment_period`.

An alignment operation can change the data type of the values, too. For example, if you apply a counting operation to boolean values, the data `value_type` in the original time series is `BOOLEAN`, but the `value_type` in the aligned result is `INT64`.

const (
	// No alignment. Raw data is returned. Not valid if cross-series reduction
	// is requested. The `value_type` of the result is the same as the
	// `value_type` of the input.
	Aggregation_ALIGN_NONE Aggregation_Aligner = 0
	// Align and convert to
	// [DELTA][google.api.MetricDescriptor.MetricKind.DELTA].
	// The output is `delta = y1 - y0`.
	//
	// This alignment is valid for
	// [CUMULATIVE][google.api.MetricDescriptor.MetricKind.CUMULATIVE] and
	// `DELTA` metrics. If the selected alignment period results in periods
	// with no data, then the aligned value for such a period is created by
	// interpolation. The `value_type`  of the aligned result is the same as
	// the `value_type` of the input.
	Aggregation_ALIGN_DELTA Aggregation_Aligner = 1
	// Align and convert to a rate. The result is computed as
	// `rate = (y1 - y0)/(t1 - t0)`, or "delta over time".
	// Think of this aligner as providing the slope of the line that passes
	// through the value at the start and at the end of the `alignment_period`.
	//
	// This aligner is valid for `CUMULATIVE`
	// and `DELTA` metrics with numeric values. If the selected alignment
	// period results in periods with no data, then the aligned value for
	// such a period is created by interpolation. The output is a `GAUGE`
	// metric with `value_type` `DOUBLE`.
	//
	// If, by "rate", you mean "percentage change", see the
	// `ALIGN_PERCENT_CHANGE` aligner instead.
	Aggregation_ALIGN_RATE Aggregation_Aligner = 2
	// Align by interpolating between adjacent points around the alignment
	// period boundary. This aligner is valid for `GAUGE` metrics with
	// numeric values. The `value_type` of the aligned result is the same as the
	// `value_type` of the input.
	Aggregation_ALIGN_INTERPOLATE Aggregation_Aligner = 3
	// Align by moving the most recent data point before the end of the
	// alignment period to the boundary at the end of the alignment
	// period. This aligner is valid for `GAUGE` metrics. The `value_type` of
	// the aligned result is the same as the `value_type` of the input.
	Aggregation_ALIGN_NEXT_OLDER Aggregation_Aligner = 4
	// Align the time series by returning the minimum value in each alignment
	// period. This aligner is valid for `GAUGE` and `DELTA` metrics with
	// numeric values. The `value_type` of the aligned result is the same as
	// the `value_type` of the input.
	Aggregation_ALIGN_MIN Aggregation_Aligner = 10
	// Align the time series by returning the maximum value in each alignment
	// period. This aligner is valid for `GAUGE` and `DELTA` metrics with
	// numeric values. The `value_type` of the aligned result is the same as
	// the `value_type` of the input.
	Aggregation_ALIGN_MAX Aggregation_Aligner = 11
	// Align the time series by returning the mean value in each alignment
	// period. This aligner is valid for `GAUGE` and `DELTA` metrics with
	// numeric values. The `value_type` of the aligned result is `DOUBLE`.
	Aggregation_ALIGN_MEAN Aggregation_Aligner = 12
	// Align the time series by returning the number of values in each alignment
	// period. This aligner is valid for `GAUGE` and `DELTA` metrics with
	// numeric or Boolean values. The `value_type` of the aligned result is
	// `INT64`.
	Aggregation_ALIGN_COUNT Aggregation_Aligner = 13
	// Align the time series by returning the sum of the values in each
	// alignment period. This aligner is valid for `GAUGE` and `DELTA`
	// metrics with numeric and distribution values. The `value_type` of the
	// aligned result is the same as the `value_type` of the input.
	Aggregation_ALIGN_SUM Aggregation_Aligner = 14
	// Align the time series by returning the standard deviation of the values
	// in each alignment period. This aligner is valid for `GAUGE` and
	// `DELTA` metrics with numeric values. The `value_type` of the output is
	// `DOUBLE`.
	Aggregation_ALIGN_STDDEV Aggregation_Aligner = 15
	// Align the time series by returning the number of `True` values in
	// each alignment period. This aligner is valid for `GAUGE` metrics with
	// Boolean values. The `value_type` of the output is `INT64`.
	Aggregation_ALIGN_COUNT_TRUE Aggregation_Aligner = 16
	// Align the time series by returning the number of `False` values in
	// each alignment period. This aligner is valid for `GAUGE` metrics with
	// Boolean values. The `value_type` of the output is `INT64`.
	Aggregation_ALIGN_COUNT_FALSE Aggregation_Aligner = 24
	// Align the time series by returning the ratio of the number of `True`
	// values to the total number of values in each alignment period. This
	// aligner is valid for `GAUGE` metrics with Boolean values. The output
	// value is in the range [0.0, 1.0] and has `value_type` `DOUBLE`.
	Aggregation_ALIGN_FRACTION_TRUE Aggregation_Aligner = 17
	// Align the time series by using [percentile
	// aggregation](https://en.wikipedia.org/wiki/Percentile). The resulting
	// data point in each alignment period is the 99th percentile of all data
	// points in the period. This aligner is valid for `GAUGE` and `DELTA`
	// metrics with distribution values. The output is a `GAUGE` metric with
	// `value_type` `DOUBLE`.
	Aggregation_ALIGN_PERCENTILE_99 Aggregation_Aligner = 18
	// Align the time series by using [percentile
	// aggregation](https://en.wikipedia.org/wiki/Percentile). The resulting
	// data point in each alignment period is the 95th percentile of all data
	// points in the period. This aligner is valid for `GAUGE` and `DELTA`
	// metrics with distribution values. The output is a `GAUGE` metric with
	// `value_type` `DOUBLE`.
	Aggregation_ALIGN_PERCENTILE_95 Aggregation_Aligner = 19
	// Align the time series by using [percentile
	// aggregation](https://en.wikipedia.org/wiki/Percentile). The resulting
	// data point in each alignment period is the 50th percentile of all data
	// points in the period. This aligner is valid for `GAUGE` and `DELTA`
	// metrics with distribution values. The output is a `GAUGE` metric with
	// `value_type` `DOUBLE`.
	Aggregation_ALIGN_PERCENTILE_50 Aggregation_Aligner = 20
	// Align the time series by using [percentile
	// aggregation](https://en.wikipedia.org/wiki/Percentile). The resulting
	// data point in each alignment period is the 5th percentile of all data
	// points in the period. This aligner is valid for `GAUGE` and `DELTA`
	// metrics with distribution values. The output is a `GAUGE` metric with
	// `value_type` `DOUBLE`.
	Aggregation_ALIGN_PERCENTILE_05 Aggregation_Aligner = 21
	// Align and convert to a percentage change. This aligner is valid for
	// `GAUGE` and `DELTA` metrics with numeric values. This alignment returns
	// `((current - previous)/previous) * 100`, where the value of `previous` is
	// determined based on the `alignment_period`.
	//
	// If the values of `current` and `previous` are both 0, then the returned
	// value is 0. If only `previous` is 0, the returned value is infinity.
	//
	// A 10-minute moving mean is computed at each point of the alignment period
	// prior to the above calculation to smooth the metric and prevent false
	// positives from very short-lived spikes. The moving mean is only
	// applicable for data whose values are `>= 0`. Any values `< 0` are
	// treated as a missing datapoint, and are ignored. While `DELTA`
	// metrics are accepted by this alignment, special care should be taken that
	// the values for the metric will always be positive. The output is a
	// `GAUGE` metric with `value_type` `DOUBLE`.
	Aggregation_ALIGN_PERCENT_CHANGE Aggregation_Aligner = 23
)

func (Aggregation_Aligner) EnumDescriptor

func (Aggregation_Aligner) EnumDescriptor() ([]byte, []int)

func (Aggregation_Aligner) String

func (x Aggregation_Aligner) String() string

type Aggregation_Reducer

type Aggregation_Reducer int32

A Reducer operation describes how to aggregate data points from multiple time series into a single time series, where the value of each data point in the resulting series is a function of all the already aligned values in the input time series.

const (
	// No cross-time series reduction. The output of the `Aligner` is
	// returned.
	Aggregation_REDUCE_NONE Aggregation_Reducer = 0
	// Reduce by computing the mean value across time series for each
	// alignment period. This reducer is valid for
	// [DELTA][google.api.MetricDescriptor.MetricKind.DELTA] and
	// [GAUGE][google.api.MetricDescriptor.MetricKind.GAUGE] metrics with
	// numeric or distribution values. The `value_type` of the output is
	// [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE].
	Aggregation_REDUCE_MEAN Aggregation_Reducer = 1
	// Reduce by computing the minimum value across time series for each
	// alignment period. This reducer is valid for `DELTA` and `GAUGE` metrics
	// with numeric values. The `value_type` of the output is the same as the
	// `value_type` of the input.
	Aggregation_REDUCE_MIN Aggregation_Reducer = 2
	// Reduce by computing the maximum value across time series for each
	// alignment period. This reducer is valid for `DELTA` and `GAUGE` metrics
	// with numeric values. The `value_type` of the output is the same as the
	// `value_type` of the input.
	Aggregation_REDUCE_MAX Aggregation_Reducer = 3
	// Reduce by computing the sum across time series for each
	// alignment period. This reducer is valid for `DELTA` and `GAUGE` metrics
	// with numeric and distribution values. The `value_type` of the output is
	// the same as the `value_type` of the input.
	Aggregation_REDUCE_SUM Aggregation_Reducer = 4
	// Reduce by computing the standard deviation across time series
	// for each alignment period. This reducer is valid for `DELTA` and
	// `GAUGE` metrics with numeric or distribution values. The `value_type`
	// of the output is `DOUBLE`.
	Aggregation_REDUCE_STDDEV Aggregation_Reducer = 5
	// Reduce by computing the number of data points across time series
	// for each alignment period. This reducer is valid for `DELTA` and
	// `GAUGE` metrics of numeric, Boolean, distribution, and string
	// `value_type`. The `value_type` of the output is `INT64`.
	Aggregation_REDUCE_COUNT Aggregation_Reducer = 6
	// Reduce by computing the number of `True`-valued data points across time
	// series for each alignment period. This reducer is valid for `DELTA` and
	// `GAUGE` metrics of Boolean `value_type`. The `value_type` of the output
	// is `INT64`.
	Aggregation_REDUCE_COUNT_TRUE Aggregation_Reducer = 7
	// Reduce by computing the number of `False`-valued data points across time
	// series for each alignment period. This reducer is valid for `DELTA` and
	// `GAUGE` metrics of Boolean `value_type`. The `value_type` of the output
	// is `INT64`.
	Aggregation_REDUCE_COUNT_FALSE Aggregation_Reducer = 15
	// Reduce by computing the ratio of the number of `True`-valued data points
	// to the total number of data points for each alignment period. This
	// reducer is valid for `DELTA` and `GAUGE` metrics of Boolean `value_type`.
	// The output value is in the range [0.0, 1.0] and has `value_type`
	// `DOUBLE`.
	Aggregation_REDUCE_FRACTION_TRUE Aggregation_Reducer = 8
	// Reduce by computing the [99th
	// percentile](https://en.wikipedia.org/wiki/Percentile) of data points
	// across time series for each alignment period. This reducer is valid for
	// `GAUGE` and `DELTA` metrics of numeric and distribution type. The value
	// of the output is `DOUBLE`.
	Aggregation_REDUCE_PERCENTILE_99 Aggregation_Reducer = 9
	// Reduce by computing the [95th
	// percentile](https://en.wikipedia.org/wiki/Percentile) of data points
	// across time series for each alignment period. This reducer is valid for
	// `GAUGE` and `DELTA` metrics of numeric and distribution type. The value
	// of the output is `DOUBLE`.
	Aggregation_REDUCE_PERCENTILE_95 Aggregation_Reducer = 10
	// Reduce by computing the [50th
	// percentile](https://en.wikipedia.org/wiki/Percentile) of data points
	// across time series for each alignment period. This reducer is valid for
	// `GAUGE` and `DELTA` metrics of numeric and distribution type. The value
	// of the output is `DOUBLE`.
	Aggregation_REDUCE_PERCENTILE_50 Aggregation_Reducer = 11
	// Reduce by computing the [5th
	// percentile](https://en.wikipedia.org/wiki/Percentile) of data points
	// across time series for each alignment period. This reducer is valid for
	// `GAUGE` and `DELTA` metrics of numeric and distribution type. The value
	// of the output is `DOUBLE`.
	Aggregation_REDUCE_PERCENTILE_05 Aggregation_Reducer = 12
)

func (Aggregation_Reducer) EnumDescriptor

func (Aggregation_Reducer) EnumDescriptor() ([]byte, []int)

func (Aggregation_Reducer) String

func (x Aggregation_Reducer) String() string

type AlertPolicy

type AlertPolicy struct {
	// Required if the policy exists. The resource name for this policy. The
	// format is:
	//
	//     projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
	//
	// `[ALERT_POLICY_ID]` is assigned by Stackdriver Monitoring when the policy
	// is created.  When calling the
	// [alertPolicies.create][google.monitoring.v3.AlertPolicyService.CreateAlertPolicy]
	// method, do not include the `name` field in the alerting policy passed as
	// part of the request.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// A short name or phrase used to identify the policy in dashboards,
	// notifications, and incidents. To avoid confusion, don't use the same
	// display name for multiple policies in the same project. The name is
	// limited to 512 Unicode characters.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Documentation that is included with notifications and incidents related to
	// this policy. Best practice is for the documentation to include information
	// to help responders understand, mitigate, escalate, and correct the
	// underlying problems detected by the alerting policy. Notification channels
	// that have limited capacity might not show this documentation.
	Documentation *AlertPolicy_Documentation `protobuf:"bytes,13,opt,name=documentation,proto3" json:"documentation,omitempty"`
	// User-supplied key/value data to be used for organizing and
	// identifying the `AlertPolicy` objects.
	//
	// The field can contain up to 64 entries. Each key and value is limited to
	// 63 Unicode characters or 128 bytes, whichever is smaller. Labels and
	// values can contain only lowercase letters, numerals, underscores, and
	// dashes. Keys must begin with a letter.
	UserLabels map[string]string `` /* 180-byte string literal not displayed */
	// A list of conditions for the policy. The conditions are combined by AND or
	// OR according to the `combiner` field. If the combined conditions evaluate
	// to true, then an incident is created. A policy can have from one to six
	// conditions.
	// If `condition_time_series_query_language` is present, it must be the only
	// `condition`.
	Conditions []*AlertPolicy_Condition `protobuf:"bytes,12,rep,name=conditions,proto3" json:"conditions,omitempty"`
	// How to combine the results of multiple conditions to determine if an
	// incident should be opened.
	// If `condition_time_series_query_language` is present, this must be
	// `COMBINE_UNSPECIFIED`.
	Combiner AlertPolicy_ConditionCombinerType `` /* 130-byte string literal not displayed */
	// Whether or not the policy is enabled. On write, the default interpretation
	// if unset is that the policy is enabled. On read, clients should not make
	// any assumption about the state if it has not been populated. The
	// field should always be populated on List and Get operations, unless
	// a field projection has been specified that strips it out.
	Enabled *wrappers.BoolValue `protobuf:"bytes,17,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// Read-only description of how the alert policy is invalid. OK if the alert
	// policy is valid. If not OK, the alert policy will not generate incidents.
	Validity *status.Status `protobuf:"bytes,18,opt,name=validity,proto3" json:"validity,omitempty"`
	// Identifies the notification channels to which notifications should be sent
	// when incidents are opened or closed or when new violations occur on
	// an already opened incident. Each element of this array corresponds to
	// the `name` field in each of the
	// [`NotificationChannel`][google.monitoring.v3.NotificationChannel]
	// objects that are returned from the [`ListNotificationChannels`]
	// [google.monitoring.v3.NotificationChannelService.ListNotificationChannels]
	// method. The format of the entries in this field is:
	//
	//     projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
	NotificationChannels []string `protobuf:"bytes,14,rep,name=notification_channels,json=notificationChannels,proto3" json:"notification_channels,omitempty"`
	// A read-only record of the creation of the alerting policy. If provided
	// in a call to create or update, this field will be ignored.
	CreationRecord *MutationRecord `protobuf:"bytes,10,opt,name=creation_record,json=creationRecord,proto3" json:"creation_record,omitempty"`
	// A read-only record of the most recent change to the alerting policy. If
	// provided in a call to create or update, this field will be ignored.
	MutationRecord       *MutationRecord `protobuf:"bytes,11,opt,name=mutation_record,json=mutationRecord,proto3" json:"mutation_record,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

A description of the conditions under which some aspect of your system is considered to be "unhealthy" and the ways to notify people or services about this state. For an overview of alert policies, see [Introduction to Alerting](https://cloud.google.com/monitoring/alerts/).

func (*AlertPolicy) Descriptor

func (*AlertPolicy) Descriptor() ([]byte, []int)

func (*AlertPolicy) GetCombiner

func (*AlertPolicy) GetConditions

func (m *AlertPolicy) GetConditions() []*AlertPolicy_Condition

func (*AlertPolicy) GetCreationRecord

func (m *AlertPolicy) GetCreationRecord() *MutationRecord

func (*AlertPolicy) GetDisplayName

func (m *AlertPolicy) GetDisplayName() string

func (*AlertPolicy) GetDocumentation

func (m *AlertPolicy) GetDocumentation() *AlertPolicy_Documentation

func (*AlertPolicy) GetEnabled

func (m *AlertPolicy) GetEnabled() *wrappers.BoolValue

func (*AlertPolicy) GetMutationRecord

func (m *AlertPolicy) GetMutationRecord() *MutationRecord

func (*AlertPolicy) GetName

func (m *AlertPolicy) GetName() string

func (*AlertPolicy) GetNotificationChannels

func (m *AlertPolicy) GetNotificationChannels() []string

func (*AlertPolicy) GetUserLabels

func (m *AlertPolicy) GetUserLabels() map[string]string

func (*AlertPolicy) GetValidity

func (m *AlertPolicy) GetValidity() *status.Status

func (*AlertPolicy) ProtoMessage

func (*AlertPolicy) ProtoMessage()

func (*AlertPolicy) Reset

func (m *AlertPolicy) Reset()

func (*AlertPolicy) String

func (m *AlertPolicy) String() string

func (*AlertPolicy) XXX_DiscardUnknown

func (m *AlertPolicy) XXX_DiscardUnknown()

func (*AlertPolicy) XXX_Marshal

func (m *AlertPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AlertPolicy) XXX_Merge

func (m *AlertPolicy) XXX_Merge(src proto.Message)

func (*AlertPolicy) XXX_Size

func (m *AlertPolicy) XXX_Size() int

func (*AlertPolicy) XXX_Unmarshal

func (m *AlertPolicy) XXX_Unmarshal(b []byte) error

type AlertPolicyServiceClient

type AlertPolicyServiceClient interface {
	// Lists the existing alerting policies for the project.
	ListAlertPolicies(ctx context.Context, in *ListAlertPoliciesRequest, opts ...grpc.CallOption) (*ListAlertPoliciesResponse, error)
	// Gets a single alerting policy.
	GetAlertPolicy(ctx context.Context, in *GetAlertPolicyRequest, opts ...grpc.CallOption) (*AlertPolicy, error)
	// Creates a new alerting policy.
	CreateAlertPolicy(ctx context.Context, in *CreateAlertPolicyRequest, opts ...grpc.CallOption) (*AlertPolicy, error)
	// Deletes an alerting policy.
	DeleteAlertPolicy(ctx context.Context, in *DeleteAlertPolicyRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// Updates an alerting policy. You can either replace the entire policy with
	// a new one or replace only certain fields in the current alerting policy by
	// specifying the fields to be updated via `updateMask`. Returns the
	// updated alerting policy.
	UpdateAlertPolicy(ctx context.Context, in *UpdateAlertPolicyRequest, opts ...grpc.CallOption) (*AlertPolicy, error)
}

AlertPolicyServiceClient is the client API for AlertPolicyService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type AlertPolicyServiceServer

type AlertPolicyServiceServer interface {
	// Lists the existing alerting policies for the project.
	ListAlertPolicies(context.Context, *ListAlertPoliciesRequest) (*ListAlertPoliciesResponse, error)
	// Gets a single alerting policy.
	GetAlertPolicy(context.Context, *GetAlertPolicyRequest) (*AlertPolicy, error)
	// Creates a new alerting policy.
	CreateAlertPolicy(context.Context, *CreateAlertPolicyRequest) (*AlertPolicy, error)
	// Deletes an alerting policy.
	DeleteAlertPolicy(context.Context, *DeleteAlertPolicyRequest) (*empty.Empty, error)
	// Updates an alerting policy. You can either replace the entire policy with
	// a new one or replace only certain fields in the current alerting policy by
	// specifying the fields to be updated via `updateMask`. Returns the
	// updated alerting policy.
	UpdateAlertPolicy(context.Context, *UpdateAlertPolicyRequest) (*AlertPolicy, error)
}

AlertPolicyServiceServer is the server API for AlertPolicyService service.

type AlertPolicy_Condition

type AlertPolicy_Condition struct {
	// Required if the condition exists. The unique resource name for this
	// condition. Its format is:
	//
	//     projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[POLICY_ID]/conditions/[CONDITION_ID]
	//
	// `[CONDITION_ID]` is assigned by Stackdriver Monitoring when the
	// condition is created as part of a new or updated alerting policy.
	//
	// When calling the
	// [alertPolicies.create][google.monitoring.v3.AlertPolicyService.CreateAlertPolicy]
	// method, do not include the `name` field in the conditions of the
	// requested alerting policy. Stackdriver Monitoring creates the
	// condition identifiers and includes them in the new policy.
	//
	// When calling the
	// [alertPolicies.update][google.monitoring.v3.AlertPolicyService.UpdateAlertPolicy]
	// method to update a policy, including a condition `name` causes the
	// existing condition to be updated. Conditions without names are added to
	// the updated policy. Existing conditions are deleted if they are not
	// updated.
	//
	// Best practice is to preserve `[CONDITION_ID]` if you make only small
	// changes, such as those to condition thresholds, durations, or trigger
	// values.  Otherwise, treat the change as a new condition and let the
	// existing condition be deleted.
	Name string `protobuf:"bytes,12,opt,name=name,proto3" json:"name,omitempty"`
	// A short name or phrase used to identify the condition in dashboards,
	// notifications, and incidents. To avoid confusion, don't use the same
	// display name for multiple conditions in the same policy.
	DisplayName string `protobuf:"bytes,6,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Only one of the following condition types will be specified.
	//
	// Types that are valid to be assigned to Condition:
	//	*AlertPolicy_Condition_ConditionThreshold
	//	*AlertPolicy_Condition_ConditionAbsent
	Condition            isAlertPolicy_Condition_Condition `protobuf_oneof:"condition"`
	XXX_NoUnkeyedLiteral struct{}                          `json:"-"`
	XXX_unrecognized     []byte                            `json:"-"`
	XXX_sizecache        int32                             `json:"-"`
}

A condition is a true/false test that determines when an alerting policy should open an incident. If a condition evaluates to true, it signifies that something is wrong.

func (*AlertPolicy_Condition) Descriptor

func (*AlertPolicy_Condition) Descriptor() ([]byte, []int)

func (*AlertPolicy_Condition) GetCondition

func (m *AlertPolicy_Condition) GetCondition() isAlertPolicy_Condition_Condition

func (*AlertPolicy_Condition) GetConditionAbsent

func (*AlertPolicy_Condition) GetConditionThreshold

func (*AlertPolicy_Condition) GetDisplayName

func (m *AlertPolicy_Condition) GetDisplayName() string

func (*AlertPolicy_Condition) GetName

func (m *AlertPolicy_Condition) GetName() string

func (*AlertPolicy_Condition) ProtoMessage

func (*AlertPolicy_Condition) ProtoMessage()

func (*AlertPolicy_Condition) Reset

func (m *AlertPolicy_Condition) Reset()

func (*AlertPolicy_Condition) String

func (m *AlertPolicy_Condition) String() string

func (*AlertPolicy_Condition) XXX_DiscardUnknown

func (m *AlertPolicy_Condition) XXX_DiscardUnknown()

func (*AlertPolicy_Condition) XXX_Marshal

func (m *AlertPolicy_Condition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AlertPolicy_Condition) XXX_Merge

func (m *AlertPolicy_Condition) XXX_Merge(src proto.Message)

func (*AlertPolicy_Condition) XXX_OneofWrappers

func (*AlertPolicy_Condition) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*AlertPolicy_Condition) XXX_Size

func (m *AlertPolicy_Condition) XXX_Size() int

func (*AlertPolicy_Condition) XXX_Unmarshal

func (m *AlertPolicy_Condition) XXX_Unmarshal(b []byte) error

type AlertPolicy_ConditionCombinerType

type AlertPolicy_ConditionCombinerType int32

Operators for combining conditions.

const (
	// An unspecified combiner.
	AlertPolicy_COMBINE_UNSPECIFIED AlertPolicy_ConditionCombinerType = 0
	// Combine conditions using the logical `AND` operator. An
	// incident is created only if all the conditions are met
	// simultaneously. This combiner is satisfied if all conditions are
	// met, even if they are met on completely different resources.
	AlertPolicy_AND AlertPolicy_ConditionCombinerType = 1
	// Combine conditions using the logical `OR` operator. An incident
	// is created if any of the listed conditions is met.
	AlertPolicy_OR AlertPolicy_ConditionCombinerType = 2
	// Combine conditions using logical `AND` operator, but unlike the regular
	// `AND` option, an incident is created only if all conditions are met
	// simultaneously on at least one resource.
	AlertPolicy_AND_WITH_MATCHING_RESOURCE AlertPolicy_ConditionCombinerType = 3
)

func (AlertPolicy_ConditionCombinerType) EnumDescriptor

func (AlertPolicy_ConditionCombinerType) EnumDescriptor() ([]byte, []int)

func (AlertPolicy_ConditionCombinerType) String

type AlertPolicy_Condition_ConditionAbsent

type AlertPolicy_Condition_ConditionAbsent struct {
	ConditionAbsent *AlertPolicy_Condition_MetricAbsence `protobuf:"bytes,2,opt,name=condition_absent,json=conditionAbsent,proto3,oneof"`
}

type AlertPolicy_Condition_ConditionThreshold

type AlertPolicy_Condition_ConditionThreshold struct {
	ConditionThreshold *AlertPolicy_Condition_MetricThreshold `protobuf:"bytes,1,opt,name=condition_threshold,json=conditionThreshold,proto3,oneof"`
}

type AlertPolicy_Condition_MetricAbsence

type AlertPolicy_Condition_MetricAbsence struct {
	// A [filter](https://cloud.google.com/monitoring/api/v3/filters) that
	// identifies which time series should be compared with the threshold.
	//
	// The filter is similar to the one that is specified in the
	// [`ListTimeSeries`
	// request](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list)
	// (that call is useful to verify the time series that will be retrieved /
	// processed) and must specify the metric type and optionally may contain
	// restrictions on resource type, resource labels, and metric labels.
	// This field may not exceed 2048 Unicode characters in length.
	Filter string `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
	// Specifies the alignment of data points in individual time series as
	// well as how to combine the retrieved time series together (such as
	// when aggregating multiple streams on each resource to a single
	// stream for each resource or when aggregating streams across all
	// members of a group of resrouces). Multiple aggregations
	// are applied in the order specified.
	//
	// This field is similar to the one in the [`ListTimeSeries`
	// request](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list).
	// It is advisable to use the `ListTimeSeries` method when debugging this
	// field.
	Aggregations []*Aggregation `protobuf:"bytes,5,rep,name=aggregations,proto3" json:"aggregations,omitempty"`
	// The amount of time that a time series must fail to report new
	// data to be considered failing. Currently, only values that
	// are a multiple of a minute--e.g.  60, 120, or 300
	// seconds--are supported. If an invalid value is given, an
	// error will be returned. The `Duration.nanos` field is
	// ignored.
	Duration *duration.Duration `protobuf:"bytes,2,opt,name=duration,proto3" json:"duration,omitempty"`
	// The number/percent of time series for which the comparison must hold
	// in order for the condition to trigger. If unspecified, then the
	// condition will trigger if the comparison is true for any of the
	// time series that have been identified by `filter` and `aggregations`.
	Trigger              *AlertPolicy_Condition_Trigger `protobuf:"bytes,3,opt,name=trigger,proto3" json:"trigger,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                       `json:"-"`
	XXX_unrecognized     []byte                         `json:"-"`
	XXX_sizecache        int32                          `json:"-"`
}

A condition type that checks that monitored resources are reporting data. The configuration defines a metric and a set of monitored resources. The predicate is considered in violation when a time series for the specified metric of a monitored resource does not include any data in the specified `duration`.

func (*AlertPolicy_Condition_MetricAbsence) Descriptor

func (*AlertPolicy_Condition_MetricAbsence) Descriptor() ([]byte, []int)

func (*AlertPolicy_Condition_MetricAbsence) GetAggregations

func (m *AlertPolicy_Condition_MetricAbsence) GetAggregations() []*Aggregation

func (*AlertPolicy_Condition_MetricAbsence) GetDuration

func (*AlertPolicy_Condition_MetricAbsence) GetFilter

func (*AlertPolicy_Condition_MetricAbsence) GetTrigger

func (*AlertPolicy_Condition_MetricAbsence) ProtoMessage

func (*AlertPolicy_Condition_MetricAbsence) ProtoMessage()

func (*AlertPolicy_Condition_MetricAbsence) Reset

func (*AlertPolicy_Condition_MetricAbsence) String

func (*AlertPolicy_Condition_MetricAbsence) XXX_DiscardUnknown

func (m *AlertPolicy_Condition_MetricAbsence) XXX_DiscardUnknown()

func (*AlertPolicy_Condition_MetricAbsence) XXX_Marshal

func (m *AlertPolicy_Condition_MetricAbsence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AlertPolicy_Condition_MetricAbsence) XXX_Merge

func (*AlertPolicy_Condition_MetricAbsence) XXX_Size

func (*AlertPolicy_Condition_MetricAbsence) XXX_Unmarshal

func (m *AlertPolicy_Condition_MetricAbsence) XXX_Unmarshal(b []byte) error

type AlertPolicy_Condition_MetricThreshold

type AlertPolicy_Condition_MetricThreshold struct {
	// A [filter](https://cloud.google.com/monitoring/api/v3/filters) that
	// identifies which time series should be compared with the threshold.
	//
	// The filter is similar to the one that is specified in the
	// [`ListTimeSeries`
	// request](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list)
	// (that call is useful to verify the time series that will be retrieved /
	// processed) and must specify the metric type and optionally may contain
	// restrictions on resource type, resource labels, and metric labels.
	// This field may not exceed 2048 Unicode characters in length.
	Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
	// Specifies the alignment of data points in individual time series as
	// well as how to combine the retrieved time series together (such as
	// when aggregating multiple streams on each resource to a single
	// stream for each resource or when aggregating streams across all
	// members of a group of resrouces). Multiple aggregations
	// are applied in the order specified.
	//
	// This field is similar to the one in the [`ListTimeSeries`
	// request](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list).
	// It is advisable to use the `ListTimeSeries` method when debugging this
	// field.
	Aggregations []*Aggregation `protobuf:"bytes,8,rep,name=aggregations,proto3" json:"aggregations,omitempty"`
	// A [filter](https://cloud.google.com/monitoring/api/v3/filters) that
	// identifies a time series that should be used as the denominator of a
	// ratio that will be compared with the threshold. If a
	// `denominator_filter` is specified, the time series specified by the
	// `filter` field will be used as the numerator.
	//
	// The filter must specify the metric type and optionally may contain
	// restrictions on resource type, resource labels, and metric labels.
	// This field may not exceed 2048 Unicode characters in length.
	DenominatorFilter string `protobuf:"bytes,9,opt,name=denominator_filter,json=denominatorFilter,proto3" json:"denominator_filter,omitempty"`
	// Specifies the alignment of data points in individual time series
	// selected by `denominatorFilter` as
	// well as how to combine the retrieved time series together (such as
	// when aggregating multiple streams on each resource to a single
	// stream for each resource or when aggregating streams across all
	// members of a group of resources).
	//
	// When computing ratios, the `aggregations` and
	// `denominator_aggregations` fields must use the same alignment period
	// and produce time series that have the same periodicity and labels.
	DenominatorAggregations []*Aggregation `` /* 131-byte string literal not displayed */
	// The comparison to apply between the time series (indicated by `filter`
	// and `aggregation`) and the threshold (indicated by `threshold_value`).
	// The comparison is applied on each time series, with the time series
	// on the left-hand side and the threshold on the right-hand side.
	//
	// Only `COMPARISON_LT` and `COMPARISON_GT` are supported currently.
	Comparison ComparisonType `protobuf:"varint,4,opt,name=comparison,proto3,enum=google.monitoring.v3.ComparisonType" json:"comparison,omitempty"`
	// A value against which to compare the time series.
	ThresholdValue float64 `protobuf:"fixed64,5,opt,name=threshold_value,json=thresholdValue,proto3" json:"threshold_value,omitempty"`
	// The amount of time that a time series must violate the
	// threshold to be considered failing. Currently, only values
	// that are a multiple of a minute--e.g., 0, 60, 120, or 300
	// seconds--are supported. If an invalid value is given, an
	// error will be returned. When choosing a duration, it is useful to
	// keep in mind the frequency of the underlying time series data
	// (which may also be affected by any alignments specified in the
	// `aggregations` field); a good duration is long enough so that a single
	// outlier does not generate spurious alerts, but short enough that
	// unhealthy states are detected and alerted on quickly.
	Duration *duration.Duration `protobuf:"bytes,6,opt,name=duration,proto3" json:"duration,omitempty"`
	// The number/percent of time series for which the comparison must hold
	// in order for the condition to trigger. If unspecified, then the
	// condition will trigger if the comparison is true for any of the
	// time series that have been identified by `filter` and `aggregations`,
	// or by the ratio, if `denominator_filter` and `denominator_aggregations`
	// are specified.
	Trigger              *AlertPolicy_Condition_Trigger `protobuf:"bytes,7,opt,name=trigger,proto3" json:"trigger,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                       `json:"-"`
	XXX_unrecognized     []byte                         `json:"-"`
	XXX_sizecache        int32                          `json:"-"`
}

A condition type that compares a collection of time series against a threshold.

func (*AlertPolicy_Condition_MetricThreshold) Descriptor

func (*AlertPolicy_Condition_MetricThreshold) Descriptor() ([]byte, []int)

func (*AlertPolicy_Condition_MetricThreshold) GetAggregations

func (m *AlertPolicy_Condition_MetricThreshold) GetAggregations() []*Aggregation

func (*AlertPolicy_Condition_MetricThreshold) GetComparison

func (*AlertPolicy_Condition_MetricThreshold) GetDenominatorAggregations

func (m *AlertPolicy_Condition_MetricThreshold) GetDenominatorAggregations() []*Aggregation

func (*AlertPolicy_Condition_MetricThreshold) GetDenominatorFilter

func (m *AlertPolicy_Condition_MetricThreshold) GetDenominatorFilter() string

func (*AlertPolicy_Condition_MetricThreshold) GetDuration

func (*AlertPolicy_Condition_MetricThreshold) GetFilter

func (*AlertPolicy_Condition_MetricThreshold) GetThresholdValue

func (m *AlertPolicy_Condition_MetricThreshold) GetThresholdValue() float64

func (*AlertPolicy_Condition_MetricThreshold) GetTrigger

func (*AlertPolicy_Condition_MetricThreshold) ProtoMessage

func (*AlertPolicy_Condition_MetricThreshold) ProtoMessage()

func (*AlertPolicy_Condition_MetricThreshold) Reset

func (*AlertPolicy_Condition_MetricThreshold) String

func (*AlertPolicy_Condition_MetricThreshold) XXX_DiscardUnknown

func (m *AlertPolicy_Condition_MetricThreshold) XXX_DiscardUnknown()

func (*AlertPolicy_Condition_MetricThreshold) XXX_Marshal

func (m *AlertPolicy_Condition_MetricThreshold) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AlertPolicy_Condition_MetricThreshold) XXX_Merge

func (*AlertPolicy_Condition_MetricThreshold) XXX_Size

func (*AlertPolicy_Condition_MetricThreshold) XXX_Unmarshal

func (m *AlertPolicy_Condition_MetricThreshold) XXX_Unmarshal(b []byte) error

type AlertPolicy_Condition_Trigger

type AlertPolicy_Condition_Trigger struct {
	// A type of trigger.
	//
	// Types that are valid to be assigned to Type:
	//	*AlertPolicy_Condition_Trigger_Count
	//	*AlertPolicy_Condition_Trigger_Percent
	Type                 isAlertPolicy_Condition_Trigger_Type `protobuf_oneof:"type"`
	XXX_NoUnkeyedLiteral struct{}                             `json:"-"`
	XXX_unrecognized     []byte                               `json:"-"`
	XXX_sizecache        int32                                `json:"-"`
}

Specifies how many time series must fail a predicate to trigger a condition. If not specified, then a `{count: 1}` trigger is used.

func (*AlertPolicy_Condition_Trigger) Descriptor

func (*AlertPolicy_Condition_Trigger) Descriptor() ([]byte, []int)

func (*AlertPolicy_Condition_Trigger) GetCount

func (m *AlertPolicy_Condition_Trigger) GetCount() int32

func (*AlertPolicy_Condition_Trigger) GetPercent

func (m *AlertPolicy_Condition_Trigger) GetPercent() float64

func (*AlertPolicy_Condition_Trigger) GetType

func (m *AlertPolicy_Condition_Trigger) GetType() isAlertPolicy_Condition_Trigger_Type

func (*AlertPolicy_Condition_Trigger) ProtoMessage

func (*AlertPolicy_Condition_Trigger) ProtoMessage()

func (*AlertPolicy_Condition_Trigger) Reset

func (m *AlertPolicy_Condition_Trigger) Reset()

func (*AlertPolicy_Condition_Trigger) String

func (*AlertPolicy_Condition_Trigger) XXX_DiscardUnknown

func (m *AlertPolicy_Condition_Trigger) XXX_DiscardUnknown()

func (*AlertPolicy_Condition_Trigger) XXX_Marshal

func (m *AlertPolicy_Condition_Trigger) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AlertPolicy_Condition_Trigger) XXX_Merge

func (m *AlertPolicy_Condition_Trigger) XXX_Merge(src proto.Message)

func (*AlertPolicy_Condition_Trigger) XXX_OneofWrappers

func (*AlertPolicy_Condition_Trigger) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*AlertPolicy_Condition_Trigger) XXX_Size

func (m *AlertPolicy_Condition_Trigger) XXX_Size() int

func (*AlertPolicy_Condition_Trigger) XXX_Unmarshal

func (m *AlertPolicy_Condition_Trigger) XXX_Unmarshal(b []byte) error

type AlertPolicy_Condition_Trigger_Count

type AlertPolicy_Condition_Trigger_Count struct {
	Count int32 `protobuf:"varint,1,opt,name=count,proto3,oneof"`
}

type AlertPolicy_Condition_Trigger_Percent

type AlertPolicy_Condition_Trigger_Percent struct {
	Percent float64 `protobuf:"fixed64,2,opt,name=percent,proto3,oneof"`
}

type AlertPolicy_Documentation

type AlertPolicy_Documentation struct {
	// The text of the documentation, interpreted according to `mime_type`.
	// The content may not exceed 8,192 Unicode characters and may not exceed
	// more than 10,240 bytes when encoded in UTF-8 format, whichever is
	// smaller.
	Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	// The format of the `content` field. Presently, only the value
	// `"text/markdown"` is supported. See
	// [Markdown](https://en.wikipedia.org/wiki/Markdown) for more information.
	MimeType             string   `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A content string and a MIME type that describes the content string's format.

func (*AlertPolicy_Documentation) Descriptor

func (*AlertPolicy_Documentation) Descriptor() ([]byte, []int)

func (*AlertPolicy_Documentation) GetContent

func (m *AlertPolicy_Documentation) GetContent() string

func (*AlertPolicy_Documentation) GetMimeType

func (m *AlertPolicy_Documentation) GetMimeType() string

func (*AlertPolicy_Documentation) ProtoMessage

func (*AlertPolicy_Documentation) ProtoMessage()

func (*AlertPolicy_Documentation) Reset

func (m *AlertPolicy_Documentation) Reset()

func (*AlertPolicy_Documentation) String

func (m *AlertPolicy_Documentation) String() string

func (*AlertPolicy_Documentation) XXX_DiscardUnknown

func (m *AlertPolicy_Documentation) XXX_DiscardUnknown()

func (*AlertPolicy_Documentation) XXX_Marshal

func (m *AlertPolicy_Documentation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AlertPolicy_Documentation) XXX_Merge

func (m *AlertPolicy_Documentation) XXX_Merge(src proto.Message)

func (*AlertPolicy_Documentation) XXX_Size

func (m *AlertPolicy_Documentation) XXX_Size() int

func (*AlertPolicy_Documentation) XXX_Unmarshal

func (m *AlertPolicy_Documentation) XXX_Unmarshal(b []byte) error

type BasicSli

type BasicSli struct {
	// OPTIONAL: The set of RPCs to which this SLI is relevant. Telemetry from
	// other methods will not be used to calculate performance for this SLI. If
	// omitted, this SLI applies to all the Service's methods. For service types
	// that don't support breaking down by method, setting this field will result
	// in an error.
	Method []string `protobuf:"bytes,7,rep,name=method,proto3" json:"method,omitempty"`
	// OPTIONAL: The set of locations to which this SLI is relevant. Telemetry
	// from other locations will not be used to calculate performance for this
	// SLI. If omitted, this SLI applies to all locations in which the Service has
	// activity. For service types that don't support breaking down by location,
	// setting this field will result in an error.
	Location []string `protobuf:"bytes,8,rep,name=location,proto3" json:"location,omitempty"`
	// OPTIONAL: The set of API versions to which this SLI is relevant. Telemetry
	// from other API versions will not be used to calculate performance for this
	// SLI. If omitted, this SLI applies to all API versions. For service types
	// that don't support breaking down by version, setting this field will result
	// in an error.
	Version []string `protobuf:"bytes,9,rep,name=version,proto3" json:"version,omitempty"`
	// This SLI can be evaluated on the basis of availability or latency.
	//
	// Types that are valid to be assigned to SliCriteria:
	//	*BasicSli_Availability
	//	*BasicSli_Latency
	SliCriteria          isBasicSli_SliCriteria `protobuf_oneof:"sli_criteria"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

An SLI measuring performance on a well-known service type. Performance will be computed on the basis of pre-defined metrics. The type of the `service_resource` determines the metrics to use and the `service_resource.labels` and `metric_labels` are used to construct a monitoring filter to filter that metric down to just the data relevant to this service.

func (*BasicSli) Descriptor

func (*BasicSli) Descriptor() ([]byte, []int)

func (*BasicSli) GetAvailability

func (m *BasicSli) GetAvailability() *BasicSli_AvailabilityCriteria

func (*BasicSli) GetLatency

func (m *BasicSli) GetLatency() *BasicSli_LatencyCriteria

func (*BasicSli) GetLocation

func (m *BasicSli) GetLocation() []string

func (*BasicSli) GetMethod

func (m *BasicSli) GetMethod() []string

func (*BasicSli) GetSliCriteria

func (m *BasicSli) GetSliCriteria() isBasicSli_SliCriteria

func (*BasicSli) GetVersion

func (m *BasicSli) GetVersion() []string

func (*BasicSli) ProtoMessage

func (*BasicSli) ProtoMessage()

func (*BasicSli) Reset

func (m *BasicSli) Reset()

func (*BasicSli) String

func (m *BasicSli) String() string

func (*BasicSli) XXX_DiscardUnknown

func (m *BasicSli) XXX_DiscardUnknown()

func (*BasicSli) XXX_Marshal

func (m *BasicSli) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BasicSli) XXX_Merge

func (m *BasicSli) XXX_Merge(src proto.Message)

func (*BasicSli) XXX_OneofWrappers

func (*BasicSli) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*BasicSli) XXX_Size

func (m *BasicSli) XXX_Size() int

func (*BasicSli) XXX_Unmarshal

func (m *BasicSli) XXX_Unmarshal(b []byte) error

type BasicSli_Availability

type BasicSli_Availability struct {
	Availability *BasicSli_AvailabilityCriteria `protobuf:"bytes,2,opt,name=availability,proto3,oneof"`
}

type BasicSli_AvailabilityCriteria

type BasicSli_AvailabilityCriteria struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Future parameters for the availability SLI.

func (*BasicSli_AvailabilityCriteria) Descriptor

func (*BasicSli_AvailabilityCriteria) Descriptor() ([]byte, []int)

func (*BasicSli_AvailabilityCriteria) ProtoMessage

func (*BasicSli_AvailabilityCriteria) ProtoMessage()

func (*BasicSli_AvailabilityCriteria) Reset

func (m *BasicSli_AvailabilityCriteria) Reset()

func (*BasicSli_AvailabilityCriteria) String

func (*BasicSli_AvailabilityCriteria) XXX_DiscardUnknown

func (m *BasicSli_AvailabilityCriteria) XXX_DiscardUnknown()

func (*BasicSli_AvailabilityCriteria) XXX_Marshal

func (m *BasicSli_AvailabilityCriteria) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BasicSli_AvailabilityCriteria) XXX_Merge

func (m *BasicSli_AvailabilityCriteria) XXX_Merge(src proto.Message)

func (*BasicSli_AvailabilityCriteria) XXX_Size

func (m *BasicSli_AvailabilityCriteria) XXX_Size() int

func (*BasicSli_AvailabilityCriteria) XXX_Unmarshal

func (m *BasicSli_AvailabilityCriteria) XXX_Unmarshal(b []byte) error

type BasicSli_Latency

type BasicSli_Latency struct {
	Latency *BasicSli_LatencyCriteria `protobuf:"bytes,3,opt,name=latency,proto3,oneof"`
}

type BasicSli_LatencyCriteria

type BasicSli_LatencyCriteria struct {
	// Good service is defined to be the count of requests made to this service
	// that return in no more than `threshold`.
	Threshold            *duration.Duration `protobuf:"bytes,3,opt,name=threshold,proto3" json:"threshold,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

Parameters for a latency threshold SLI.

func (*BasicSli_LatencyCriteria) Descriptor

func (*BasicSli_LatencyCriteria) Descriptor() ([]byte, []int)

func (*BasicSli_LatencyCriteria) GetThreshold

func (m *BasicSli_LatencyCriteria) GetThreshold() *duration.Duration

func (*BasicSli_LatencyCriteria) ProtoMessage

func (*BasicSli_LatencyCriteria) ProtoMessage()

func (*BasicSli_LatencyCriteria) Reset

func (m *BasicSli_LatencyCriteria) Reset()

func (*BasicSli_LatencyCriteria) String

func (m *BasicSli_LatencyCriteria) String() string

func (*BasicSli_LatencyCriteria) XXX_DiscardUnknown

func (m *BasicSli_LatencyCriteria) XXX_DiscardUnknown()

func (*BasicSli_LatencyCriteria) XXX_Marshal

func (m *BasicSli_LatencyCriteria) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BasicSli_LatencyCriteria) XXX_Merge

func (m *BasicSli_LatencyCriteria) XXX_Merge(src proto.Message)

func (*BasicSli_LatencyCriteria) XXX_Size

func (m *BasicSli_LatencyCriteria) XXX_Size() int

func (*BasicSli_LatencyCriteria) XXX_Unmarshal

func (m *BasicSli_LatencyCriteria) XXX_Unmarshal(b []byte) error

type ComparisonType

type ComparisonType int32

Specifies an ordering relationship on two arguments, called `left` and `right`.

const (
	// No ordering relationship is specified.
	ComparisonType_COMPARISON_UNSPECIFIED ComparisonType = 0
	// True if the left argument is greater than the right argument.
	ComparisonType_COMPARISON_GT ComparisonType = 1
	// True if the left argument is greater than or equal to the right argument.
	ComparisonType_COMPARISON_GE ComparisonType = 2
	// True if the left argument is less than the right argument.
	ComparisonType_COMPARISON_LT ComparisonType = 3
	// True if the left argument is less than or equal to the right argument.
	ComparisonType_COMPARISON_LE ComparisonType = 4
	// True if the left argument is equal to the right argument.
	ComparisonType_COMPARISON_EQ ComparisonType = 5
	// True if the left argument is not equal to the right argument.
	ComparisonType_COMPARISON_NE ComparisonType = 6
)

func (ComparisonType) EnumDescriptor

func (ComparisonType) EnumDescriptor() ([]byte, []int)

func (ComparisonType) String

func (x ComparisonType) String() string

type CreateAlertPolicyRequest

type CreateAlertPolicyRequest struct {
	// Required. The project in which to create the alerting policy. The format is:
	//
	//     projects/[PROJECT_ID_OR_NUMBER]
	//
	// Note that this field names the parent container in which the alerting
	// policy will be written, not the name of the created policy. The alerting
	// policy that is returned will have a name that contains a normalized
	// representation of this name as a prefix but adds a suffix of the form
	// `/alertPolicies/[ALERT_POLICY_ID]`, identifying the policy in the
	// container.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The requested alerting policy. You should omit the `name` field in this
	// policy. The name will be returned in the new policy, including
	// a new `[ALERT_POLICY_ID]` value.
	AlertPolicy          *AlertPolicy `protobuf:"bytes,2,opt,name=alert_policy,json=alertPolicy,proto3" json:"alert_policy,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

The protocol for the `CreateAlertPolicy` request.

func (*CreateAlertPolicyRequest) Descriptor

func (*CreateAlertPolicyRequest) Descriptor() ([]byte, []int)

func (*CreateAlertPolicyRequest) GetAlertPolicy

func (m *CreateAlertPolicyRequest) GetAlertPolicy() *AlertPolicy

func (*CreateAlertPolicyRequest) GetName

func (m *CreateAlertPolicyRequest) GetName() string

func (*CreateAlertPolicyRequest) ProtoMessage

func (*CreateAlertPolicyRequest) ProtoMessage()

func (*CreateAlertPolicyRequest) Reset

func (m *CreateAlertPolicyRequest) Reset()

func (*CreateAlertPolicyRequest) String

func (m *CreateAlertPolicyRequest) String() string

func (*CreateAlertPolicyRequest) XXX_DiscardUnknown

func (m *CreateAlertPolicyRequest) XXX_DiscardUnknown()

func (*CreateAlertPolicyRequest) XXX_Marshal

func (m *CreateAlertPolicyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateAlertPolicyRequest) XXX_Merge

func (m *CreateAlertPolicyRequest) XXX_Merge(src proto.Message)

func (*CreateAlertPolicyRequest) XXX_Size

func (m *CreateAlertPolicyRequest) XXX_Size() int

func (*CreateAlertPolicyRequest) XXX_Unmarshal

func (m *CreateAlertPolicyRequest) XXX_Unmarshal(b []byte) error

type CreateGroupRequest

type CreateGroupRequest struct {
	// Required. The project in which to create the group. The format is:
	//
	//     projects/[PROJECT_ID_OR_NUMBER]
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// Required. A group definition. It is an error to define the `name` field because
	// the system assigns the name.
	Group *Group `protobuf:"bytes,2,opt,name=group,proto3" json:"group,omitempty"`
	// If true, validate this request but do not create the group.
	ValidateOnly         bool     `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The `CreateGroup` request.

func (*CreateGroupRequest) Descriptor

func (*CreateGroupRequest) Descriptor() ([]byte, []int)

func (*CreateGroupRequest) GetGroup

func (m *CreateGroupRequest) GetGroup() *Group

func (*CreateGroupRequest) GetName

func (m *CreateGroupRequest) GetName() string

func (*CreateGroupRequest) GetValidateOnly

func (m *CreateGroupRequest) GetValidateOnly() bool

func (*CreateGroupRequest) ProtoMessage

func (*CreateGroupRequest) ProtoMessage()

func (*CreateGroupRequest) Reset

func (m *CreateGroupRequest) Reset()

func (*CreateGroupRequest) String

func (m *CreateGroupRequest) String() string

func (*CreateGroupRequest) XXX_DiscardUnknown

func (m *CreateGroupRequest) XXX_DiscardUnknown()

func (*CreateGroupRequest) XXX_Marshal

func (m *CreateGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateGroupRequest) XXX_Merge

func (m *CreateGroupRequest) XXX_Merge(src proto.Message)

func (*CreateGroupRequest) XXX_Size

func (m *CreateGroupRequest) XXX_Size() int

func (*CreateGroupRequest) XXX_Unmarshal

func (m *CreateGroupRequest) XXX_Unmarshal(b []byte) error

type CreateMetricDescriptorRequest

type CreateMetricDescriptorRequest struct {
	// Required. The project on which to execute the request. The format is:
	//
	//     projects/[PROJECT_ID_OR_NUMBER]
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The new [custom metric](https://cloud.google.com/monitoring/custom-metrics)
	// descriptor.
	MetricDescriptor     *metric.MetricDescriptor `protobuf:"bytes,2,opt,name=metric_descriptor,json=metricDescriptor,proto3" json:"metric_descriptor,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

The `CreateMetricDescriptor` request.

func (*CreateMetricDescriptorRequest) Descriptor

func (*CreateMetricDescriptorRequest) Descriptor() ([]byte, []int)

func (*CreateMetricDescriptorRequest) GetMetricDescriptor

func (m *CreateMetricDescriptorRequest) GetMetricDescriptor() *metric.MetricDescriptor

func (*CreateMetricDescriptorRequest) GetName

func (*CreateMetricDescriptorRequest) ProtoMessage

func (*CreateMetricDescriptorRequest) ProtoMessage()

func (*CreateMetricDescriptorRequest) Reset

func (m *CreateMetricDescriptorRequest) Reset()

func (*CreateMetricDescriptorRequest) String

func (*CreateMetricDescriptorRequest) XXX_DiscardUnknown

func (m *CreateMetricDescriptorRequest) XXX_DiscardUnknown()

func (*CreateMetricDescriptorRequest) XXX_Marshal

func (m *CreateMetricDescriptorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateMetricDescriptorRequest) XXX_Merge

func (m *CreateMetricDescriptorRequest) XXX_Merge(src proto.Message)

func (*CreateMetricDescriptorRequest) XXX_Size

func (m *CreateMetricDescriptorRequest) XXX_Size() int

func (*CreateMetricDescriptorRequest) XXX_Unmarshal

func (m *CreateMetricDescriptorRequest) XXX_Unmarshal(b []byte) error

type CreateNotificationChannelRequest

type CreateNotificationChannelRequest struct {
	// Required. The project on which to execute the request. The format is:
	//
	//     projects/[PROJECT_ID_OR_NUMBER]
	//
	// This names the container into which the channel will be
	// written, this does not name the newly created channel. The resulting
	// channel's name will have a normalized version of this field as a prefix,
	// but will add `/notificationChannels/[CHANNEL_ID]` to identify the channel.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The definition of the `NotificationChannel` to create.
	NotificationChannel  *NotificationChannel `protobuf:"bytes,2,opt,name=notification_channel,json=notificationChannel,proto3" json:"notification_channel,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

The `CreateNotificationChannel` request.

func (*CreateNotificationChannelRequest) Descriptor

func (*CreateNotificationChannelRequest) Descriptor() ([]byte, []int)

func (*CreateNotificationChannelRequest) GetName

func (*CreateNotificationChannelRequest) GetNotificationChannel

func (m *CreateNotificationChannelRequest) GetNotificationChannel() *NotificationChannel

func (*CreateNotificationChannelRequest) ProtoMessage

func (*CreateNotificationChannelRequest) ProtoMessage()

func (*CreateNotificationChannelRequest) Reset

func (*CreateNotificationChannelRequest) String

func (*CreateNotificationChannelRequest) XXX_DiscardUnknown

func (m *CreateNotificationChannelRequest) XXX_DiscardUnknown()

func (*CreateNotificationChannelRequest) XXX_Marshal

func (m *CreateNotificationChannelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateNotificationChannelRequest) XXX_Merge

func (*CreateNotificationChannelRequest) XXX_Size

func (m *CreateNotificationChannelRequest) XXX_Size() int

func (*CreateNotificationChannelRequest) XXX_Unmarshal

func (m *CreateNotificationChannelRequest) XXX_Unmarshal(b []byte) error

type CreateServiceLevelObjectiveRequest

type CreateServiceLevelObjectiveRequest struct {
	// Required. Resource name of the parent `Service`. The format is:
	//
	//     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. The ServiceLevelObjective id to use for this
	// ServiceLevelObjective. If omitted, an id will be generated instead. Must
	// match the pattern `[a-z0-9\-]+`
	ServiceLevelObjectiveId string `` /* 134-byte string literal not displayed */
	// Required. The `ServiceLevelObjective` to create.
	// The provided `name` will be respected if no `ServiceLevelObjective` exists
	// with this name.
	ServiceLevelObjective *ServiceLevelObjective `` /* 126-byte string literal not displayed */
	XXX_NoUnkeyedLiteral  struct{}               `json:"-"`
	XXX_unrecognized      []byte                 `json:"-"`
	XXX_sizecache         int32                  `json:"-"`
}

The `CreateServiceLevelObjective` request.

func (*CreateServiceLevelObjectiveRequest) Descriptor

func (*CreateServiceLevelObjectiveRequest) Descriptor() ([]byte, []int)

func (*CreateServiceLevelObjectiveRequest) GetParent

func (*CreateServiceLevelObjectiveRequest) GetServiceLevelObjective

func (m *CreateServiceLevelObjectiveRequest) GetServiceLevelObjective() *ServiceLevelObjective

func (*CreateServiceLevelObjectiveRequest) GetServiceLevelObjectiveId

func (m *CreateServiceLevelObjectiveRequest) GetServiceLevelObjectiveId() string

func (*CreateServiceLevelObjectiveRequest) ProtoMessage

func (*CreateServiceLevelObjectiveRequest) ProtoMessage()

func (*CreateServiceLevelObjectiveRequest) Reset

func (*CreateServiceLevelObjectiveRequest) String

func (*CreateServiceLevelObjectiveRequest) XXX_DiscardUnknown

func (m *CreateServiceLevelObjectiveRequest) XXX_DiscardUnknown()

func (*CreateServiceLevelObjectiveRequest) XXX_Marshal

func (m *CreateServiceLevelObjectiveRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateServiceLevelObjectiveRequest) XXX_Merge

func (*CreateServiceLevelObjectiveRequest) XXX_Size

func (*CreateServiceLevelObjectiveRequest) XXX_Unmarshal

func (m *CreateServiceLevelObjectiveRequest) XXX_Unmarshal(b []byte) error

type CreateServiceRequest

type CreateServiceRequest struct {
	// Required. Resource name of the parent workspace. The format is:
	//
	//     projects/[PROJECT_ID_OR_NUMBER]
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. The Service id to use for this Service. If omitted, an id will be
	// generated instead. Must match the pattern `[a-z0-9\-]+`
	ServiceId string `protobuf:"bytes,3,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
	// Required. The `Service` to create.
	Service              *Service `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The `CreateService` request.

func (*CreateServiceRequest) Descriptor

func (*CreateServiceRequest) Descriptor() ([]byte, []int)

func (*CreateServiceRequest) GetParent

func (m *CreateServiceRequest) GetParent() string

func (*CreateServiceRequest) GetService

func (m *CreateServiceRequest) GetService() *Service

func (*CreateServiceRequest) GetServiceId

func (m *CreateServiceRequest) GetServiceId() string

func (*CreateServiceRequest) ProtoMessage

func (*CreateServiceRequest) ProtoMessage()

func (*CreateServiceRequest) Reset

func (m *CreateServiceRequest) Reset()

func (*CreateServiceRequest) String

func (m *CreateServiceRequest) String() string

func (*CreateServiceRequest) XXX_DiscardUnknown

func (m *CreateServiceRequest) XXX_DiscardUnknown()

func (*CreateServiceRequest) XXX_Marshal

func (m *CreateServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateServiceRequest) XXX_Merge

func (m *CreateServiceRequest) XXX_Merge(src proto.Message)

func (*CreateServiceRequest) XXX_Size

func (m *CreateServiceRequest) XXX_Size() int

func (*CreateServiceRequest) XXX_Unmarshal

func (m *CreateServiceRequest) XXX_Unmarshal(b []byte) error

type CreateTimeSeriesError

type CreateTimeSeriesError struct {
	// DEPRECATED. Time series ID that resulted in the `status` error.
	TimeSeries *TimeSeries `protobuf:"bytes,1,opt,name=time_series,json=timeSeries,proto3" json:"time_series,omitempty"` // Deprecated: Do not use.
	// DEPRECATED. The status of the requested write operation for `time_series`.
	Status               *status.Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` // Deprecated: Do not use.
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

DEPRECATED. Used to hold per-time-series error status.

func (*CreateTimeSeriesError) Descriptor

func (*CreateTimeSeriesError) Descriptor() ([]byte, []int)

func (*CreateTimeSeriesError) GetStatus deprecated

func (m *CreateTimeSeriesError) GetStatus() *status.Status

Deprecated: Do not use.

func (*CreateTimeSeriesError) GetTimeSeries deprecated

func (m *CreateTimeSeriesError) GetTimeSeries() *TimeSeries

Deprecated: Do not use.

func (*CreateTimeSeriesError) ProtoMessage

func (*CreateTimeSeriesError) ProtoMessage()

func (*CreateTimeSeriesError) Reset

func (m *CreateTimeSeriesError) Reset()

func (*CreateTimeSeriesError) String

func (m *CreateTimeSeriesError) String() string

func (*CreateTimeSeriesError) XXX_DiscardUnknown

func (m *CreateTimeSeriesError) XXX_DiscardUnknown()

func (*CreateTimeSeriesError) XXX_Marshal

func (m *CreateTimeSeriesError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateTimeSeriesError) XXX_Merge

func (m *CreateTimeSeriesError) XXX_Merge(src proto.Message)

func (*CreateTimeSeriesError) XXX_Size

func (m *CreateTimeSeriesError) XXX_Size() int

func (*CreateTimeSeriesError) XXX_Unmarshal

func (m *CreateTimeSeriesError) XXX_Unmarshal(b []byte) error

type CreateTimeSeriesRequest

type CreateTimeSeriesRequest struct {
	// Required. The project on which to execute the request. The format is:
	//
	//     projects/[PROJECT_ID_OR_NUMBER]
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The new data to be added to a list of time series.
	// Adds at most one data point to each of several time series.  The new data
	// point must be more recent than any other point in its time series.  Each
	// `TimeSeries` value must fully specify a unique time series by supplying
	// all label values for the metric and the monitored resource.
	//
	// The maximum number of `TimeSeries` objects per `Create` request is 200.
	TimeSeries           []*TimeSeries `protobuf:"bytes,2,rep,name=time_series,json=timeSeries,proto3" json:"time_series,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

The `CreateTimeSeries` request.

func (*CreateTimeSeriesRequest) Descriptor

func (*CreateTimeSeriesRequest) Descriptor() ([]byte, []int)

func (*CreateTimeSeriesRequest) GetName

func (m *CreateTimeSeriesRequest) GetName() string

func (*CreateTimeSeriesRequest) GetTimeSeries

func (m *CreateTimeSeriesRequest) GetTimeSeries() []*TimeSeries

func (*CreateTimeSeriesRequest) ProtoMessage

func (*CreateTimeSeriesRequest) ProtoMessage()

func (*CreateTimeSeriesRequest) Reset

func (m *CreateTimeSeriesRequest) Reset()

func (*CreateTimeSeriesRequest) String

func (m *CreateTimeSeriesRequest) String() string

func (*CreateTimeSeriesRequest) XXX_DiscardUnknown

func (m *CreateTimeSeriesRequest) XXX_DiscardUnknown()

func (*CreateTimeSeriesRequest) XXX_Marshal

func (m *CreateTimeSeriesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateTimeSeriesRequest) XXX_Merge

func (m *CreateTimeSeriesRequest) XXX_Merge(src proto.Message)

func (*CreateTimeSeriesRequest) XXX_Size

func (m *CreateTimeSeriesRequest) XXX_Size() int

func (*CreateTimeSeriesRequest) XXX_Unmarshal

func (m *CreateTimeSeriesRequest) XXX_Unmarshal(b []byte) error

type CreateTimeSeriesSummary

type CreateTimeSeriesSummary struct {
	// The number of points in the request.
	TotalPointCount int32 `protobuf:"varint,1,opt,name=total_point_count,json=totalPointCount,proto3" json:"total_point_count,omitempty"`
	// The number of points that were successfully written.
	SuccessPointCount int32 `protobuf:"varint,2,opt,name=success_point_count,json=successPointCount,proto3" json:"success_point_count,omitempty"`
	// The number of points that failed to be written. Order is not guaranteed.
	Errors               []*CreateTimeSeriesSummary_Error `protobuf:"bytes,3,rep,name=errors,proto3" json:"errors,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                         `json:"-"`
	XXX_unrecognized     []byte                           `json:"-"`
	XXX_sizecache        int32                            `json:"-"`
}

Summary of the result of a failed request to write data to a time series.

func (*CreateTimeSeriesSummary) Descriptor

func (*CreateTimeSeriesSummary) Descriptor() ([]byte, []int)

func (*CreateTimeSeriesSummary) GetErrors

func (*CreateTimeSeriesSummary) GetSuccessPointCount

func (m *CreateTimeSeriesSummary) GetSuccessPointCount() int32

func (*CreateTimeSeriesSummary) GetTotalPointCount

func (m *CreateTimeSeriesSummary) GetTotalPointCount() int32

func (*CreateTimeSeriesSummary) ProtoMessage

func (*CreateTimeSeriesSummary) ProtoMessage()

func (*CreateTimeSeriesSummary) Reset

func (m *CreateTimeSeriesSummary) Reset()

func (*CreateTimeSeriesSummary) String

func (m *CreateTimeSeriesSummary) String() string

func (*CreateTimeSeriesSummary) XXX_DiscardUnknown

func (m *CreateTimeSeriesSummary) XXX_DiscardUnknown()

func (*CreateTimeSeriesSummary) XXX_Marshal

func (m *CreateTimeSeriesSummary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateTimeSeriesSummary) XXX_Merge

func (m *CreateTimeSeriesSummary) XXX_Merge(src proto.Message)

func (*CreateTimeSeriesSummary) XXX_Size

func (m *CreateTimeSeriesSummary) XXX_Size() int

func (*CreateTimeSeriesSummary) XXX_Unmarshal

func (m *CreateTimeSeriesSummary) XXX_Unmarshal(b []byte) error

type CreateTimeSeriesSummary_Error

type CreateTimeSeriesSummary_Error struct {
	// The status of the requested write operation.
	Status *status.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// The number of points that couldn't be written because of `status`.
	PointCount           int32    `protobuf:"varint,2,opt,name=point_count,json=pointCount,proto3" json:"point_count,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Detailed information about an error category.

func (*CreateTimeSeriesSummary_Error) Descriptor

func (*CreateTimeSeriesSummary_Error) Descriptor() ([]byte, []int)

func (*CreateTimeSeriesSummary_Error) GetPointCount

func (m *CreateTimeSeriesSummary_Error) GetPointCount() int32

func (*CreateTimeSeriesSummary_Error) GetStatus

func (*CreateTimeSeriesSummary_Error) ProtoMessage

func (*CreateTimeSeriesSummary_Error) ProtoMessage()

func (*CreateTimeSeriesSummary_Error) Reset

func (m *CreateTimeSeriesSummary_Error) Reset()

func (*CreateTimeSeriesSummary_Error) String

func (*CreateTimeSeriesSummary_Error) XXX_DiscardUnknown

func (m *CreateTimeSeriesSummary_Error) XXX_DiscardUnknown()

func (*CreateTimeSeriesSummary_Error) XXX_Marshal

func (m *CreateTimeSeriesSummary_Error) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateTimeSeriesSummary_Error) XXX_Merge

func (m *CreateTimeSeriesSummary_Error) XXX_Merge(src proto.Message)

func (*CreateTimeSeriesSummary_Error) XXX_Size

func (m *CreateTimeSeriesSummary_Error) XXX_Size() int

func (*CreateTimeSeriesSummary_Error) XXX_Unmarshal

func (m *CreateTimeSeriesSummary_Error) XXX_Unmarshal(b []byte) error

type CreateUptimeCheckConfigRequest

type CreateUptimeCheckConfigRequest struct {
	// Required. The project in which to create the Uptime check. The format is:
	//
	//     projects/[PROJECT_ID_OR_NUMBER]
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The new Uptime check configuration.
	UptimeCheckConfig    *UptimeCheckConfig `protobuf:"bytes,2,opt,name=uptime_check_config,json=uptimeCheckConfig,proto3" json:"uptime_check_config,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

The protocol for the `CreateUptimeCheckConfig` request.

func (*CreateUptimeCheckConfigRequest) Descriptor

func (*CreateUptimeCheckConfigRequest) Descriptor() ([]byte, []int)

func (*CreateUptimeCheckConfigRequest) GetParent

func (m *CreateUptimeCheckConfigRequest) GetParent() string

func (*CreateUptimeCheckConfigRequest) GetUptimeCheckConfig

func (m *CreateUptimeCheckConfigRequest) GetUptimeCheckConfig() *UptimeCheckConfig

func (*CreateUptimeCheckConfigRequest) ProtoMessage

func (*CreateUptimeCheckConfigRequest) ProtoMessage()

func (*CreateUptimeCheckConfigRequest) Reset

func (m *CreateUptimeCheckConfigRequest) Reset()

func (*CreateUptimeCheckConfigRequest) String

func (*CreateUptimeCheckConfigRequest) XXX_DiscardUnknown

func (m *CreateUptimeCheckConfigRequest) XXX_DiscardUnknown()

func (*CreateUptimeCheckConfigRequest) XXX_Marshal

func (m *CreateUptimeCheckConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateUptimeCheckConfigRequest) XXX_Merge

func (m *CreateUptimeCheckConfigRequest) XXX_Merge(src proto.Message)

func (*CreateUptimeCheckConfigRequest) XXX_Size

func (m *CreateUptimeCheckConfigRequest) XXX_Size() int

func (*CreateUptimeCheckConfigRequest) XXX_Unmarshal

func (m *CreateUptimeCheckConfigRequest) XXX_Unmarshal(b []byte) error

type DeleteAlertPolicyRequest

type DeleteAlertPolicyRequest struct {
	// Required. The alerting policy to delete. The format is:
	//
	//     projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
	//
	// For more information, see [AlertPolicy][google.monitoring.v3.AlertPolicy].
	Name                 string   `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The protocol for the `DeleteAlertPolicy` request.

func (*DeleteAlertPolicyRequest) Descriptor

func (*DeleteAlertPolicyRequest) Descriptor() ([]byte, []int)

func (*DeleteAlertPolicyRequest) GetName

func (m *DeleteAlertPolicyRequest) GetName() string

func (*DeleteAlertPolicyRequest) ProtoMessage

func (*DeleteAlertPolicyRequest) ProtoMessage()

func (*DeleteAlertPolicyRequest) Reset

func (m *DeleteAlertPolicyRequest) Reset()

func (*DeleteAlertPolicyRequest) String

func (m *DeleteAlertPolicyRequest) String() string

func (*DeleteAlertPolicyRequest) XXX_DiscardUnknown

func (m *DeleteAlertPolicyRequest) XXX_DiscardUnknown()

func (*DeleteAlertPolicyRequest) XXX_Marshal

func (m *DeleteAlertPolicyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteAlertPolicyRequest) XXX_Merge

func (m *DeleteAlertPolicyRequest) XXX_Merge(src proto.Message)

func (*DeleteAlertPolicyRequest) XXX_Size

func (m *DeleteAlertPolicyRequest) XXX_Size() int

func (*DeleteAlertPolicyRequest) XXX_Unmarshal

func (m *DeleteAlertPolicyRequest) XXX_Unmarshal(b []byte) error

type DeleteGroupRequest

type DeleteGroupRequest struct {
	// Required. The group to delete. The format is:
	//
	//     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// If this field is true, then the request means to delete a group with all
	// its descendants. Otherwise, the request means to delete a group only when
	// it has no descendants. The default value is false.
	Recursive            bool     `protobuf:"varint,4,opt,name=recursive,proto3" json:"recursive,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The `DeleteGroup` request. The default behavior is to be able to delete a single group without any descendants.

func (*DeleteGroupRequest) Descriptor

func (*DeleteGroupRequest) Descriptor() ([]byte, []int)

func (*DeleteGroupRequest) GetName

func (m *DeleteGroupRequest) GetName() string

func (*DeleteGroupRequest) GetRecursive

func (m *DeleteGroupRequest) GetRecursive() bool

func (*DeleteGroupRequest) ProtoMessage

func (*DeleteGroupRequest) ProtoMessage()

func (*DeleteGroupRequest) Reset

func (m *DeleteGroupRequest) Reset()

func (*DeleteGroupRequest) String

func (m *DeleteGroupRequest) String() string

func (*DeleteGroupRequest) XXX_DiscardUnknown

func (m *DeleteGroupRequest) XXX_DiscardUnknown()

func (*DeleteGroupRequest) XXX_Marshal

func (m *DeleteGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteGroupRequest) XXX_Merge

func (m *DeleteGroupRequest) XXX_Merge(src proto.Message)

func (*DeleteGroupRequest) XXX_Size

func (m *DeleteGroupRequest) XXX_Size() int

func (*DeleteGroupRequest) XXX_Unmarshal

func (m *DeleteGroupRequest) XXX_Unmarshal(b []byte) error

type DeleteMetricDescriptorRequest

type DeleteMetricDescriptorRequest struct {
	// Required. The metric descriptor on which to execute the request. The format is:
	//
	//     projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID]
	//
	// An example of `[METRIC_ID]` is:
	// `"custom.googleapis.com/my_test_metric"`.
	Name                 string   `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The `DeleteMetricDescriptor` request.

func (*DeleteMetricDescriptorRequest) Descriptor

func (*DeleteMetricDescriptorRequest) Descriptor() ([]byte, []int)

func (*DeleteMetricDescriptorRequest) GetName

func (*DeleteMetricDescriptorRequest) ProtoMessage

func (*DeleteMetricDescriptorRequest) ProtoMessage()

func (*DeleteMetricDescriptorRequest) Reset

func (m *DeleteMetricDescriptorRequest) Reset()

func (*DeleteMetricDescriptorRequest) String

func (*DeleteMetricDescriptorRequest) XXX_DiscardUnknown

func (m *DeleteMetricDescriptorRequest) XXX_DiscardUnknown()

func (*DeleteMetricDescriptorRequest) XXX_Marshal

func (m *DeleteMetricDescriptorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteMetricDescriptorRequest) XXX_Merge

func (m *DeleteMetricDescriptorRequest) XXX_Merge(src proto.Message)

func (*DeleteMetricDescriptorRequest) XXX_Size

func (m *DeleteMetricDescriptorRequest) XXX_Size() int

func (*DeleteMetricDescriptorRequest) XXX_Unmarshal

func (m *DeleteMetricDescriptorRequest) XXX_Unmarshal(b []byte) error

type DeleteNotificationChannelRequest

type DeleteNotificationChannelRequest struct {
	// Required. The channel for which to execute the request. The format is:
	//
	//     projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// If true, the notification channel will be deleted regardless of its
	// use in alert policies (the policies will be updated to remove the
	// channel). If false, channels that are still referenced by an existing
	// alerting policy will fail to be deleted in a delete operation.
	Force                bool     `protobuf:"varint,5,opt,name=force,proto3" json:"force,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The `DeleteNotificationChannel` request.

func (*DeleteNotificationChannelRequest) Descriptor

func (*DeleteNotificationChannelRequest) Descriptor() ([]byte, []int)

func (*DeleteNotificationChannelRequest) GetForce

func (m *DeleteNotificationChannelRequest) GetForce() bool

func (*DeleteNotificationChannelRequest) GetName

func (*DeleteNotificationChannelRequest) ProtoMessage

func (*DeleteNotificationChannelRequest) ProtoMessage()

func (*DeleteNotificationChannelRequest) Reset

func (*DeleteNotificationChannelRequest) String

func (*DeleteNotificationChannelRequest) XXX_DiscardUnknown

func (m *DeleteNotificationChannelRequest) XXX_DiscardUnknown()

func (*DeleteNotificationChannelRequest) XXX_Marshal

func (m *DeleteNotificationChannelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteNotificationChannelRequest) XXX_Merge

func (*DeleteNotificationChannelRequest) XXX_Size

func (m *DeleteNotificationChannelRequest) XXX_Size() int

func (*DeleteNotificationChannelRequest) XXX_Unmarshal

func (m *DeleteNotificationChannelRequest) XXX_Unmarshal(b []byte) error

type DeleteServiceLevelObjectiveRequest

type DeleteServiceLevelObjectiveRequest struct {
	// Required. Resource name of the `ServiceLevelObjective` to delete. The format is:
	//
	//     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The `DeleteServiceLevelObjective` request.

func (*DeleteServiceLevelObjectiveRequest) Descriptor

func (*DeleteServiceLevelObjectiveRequest) Descriptor() ([]byte, []int)

func (*DeleteServiceLevelObjectiveRequest) GetName

func (*DeleteServiceLevelObjectiveRequest) ProtoMessage

func (*DeleteServiceLevelObjectiveRequest) ProtoMessage()

func (*DeleteServiceLevelObjectiveRequest) Reset

func (*DeleteServiceLevelObjectiveRequest) String

func (*DeleteServiceLevelObjectiveRequest) XXX_DiscardUnknown

func (m *DeleteServiceLevelObjectiveRequest) XXX_DiscardUnknown()

func (*DeleteServiceLevelObjectiveRequest) XXX_Marshal

func (m *DeleteServiceLevelObjectiveRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteServiceLevelObjectiveRequest) XXX_Merge

func (*DeleteServiceLevelObjectiveRequest) XXX_Size

func (*DeleteServiceLevelObjectiveRequest) XXX_Unmarshal

func (m *DeleteServiceLevelObjectiveRequest) XXX_Unmarshal(b []byte) error

type DeleteServiceRequest

type DeleteServiceRequest struct {
	// Required. Resource name of the `Service` to delete. The format is:
	//
	//     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The `DeleteService` request.

func (*DeleteServiceRequest) Descriptor

func (*DeleteServiceRequest) Descriptor() ([]byte, []int)

func (*DeleteServiceRequest) GetName

func (m *DeleteServiceRequest) GetName() string

func (*DeleteServiceRequest) ProtoMessage

func (*DeleteServiceRequest) ProtoMessage()

func (*DeleteServiceRequest) Reset

func (m *DeleteServiceRequest) Reset()

func (*DeleteServiceRequest) String

func (m *DeleteServiceRequest) String() string

func (*DeleteServiceRequest) XXX_DiscardUnknown

func (m *DeleteServiceRequest) XXX_DiscardUnknown()

func (*DeleteServiceRequest) XXX_Marshal

func (m *DeleteServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteServiceRequest) XXX_Merge

func (m *DeleteServiceRequest) XXX_Merge(src proto.Message)

func (*DeleteServiceRequest) XXX_Size

func (m *DeleteServiceRequest) XXX_Size() int

func (*DeleteServiceRequest) XXX_Unmarshal

func (m *DeleteServiceRequest) XXX_Unmarshal(b []byte) error

type DeleteUptimeCheckConfigRequest

type DeleteUptimeCheckConfigRequest struct {
	// Required. The Uptime check configuration to delete. The format is:
	//
	//     projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The protocol for the `DeleteUptimeCheckConfig` request.

func (*DeleteUptimeCheckConfigRequest) Descriptor

func (*DeleteUptimeCheckConfigRequest) Descriptor() ([]byte, []int)

func (*DeleteUptimeCheckConfigRequest) GetName

func (*DeleteUptimeCheckConfigRequest) ProtoMessage

func (*DeleteUptimeCheckConfigRequest) ProtoMessage()

func (*DeleteUptimeCheckConfigRequest) Reset

func (m *DeleteUptimeCheckConfigRequest) Reset()

func (*DeleteUptimeCheckConfigRequest) String

func (*DeleteUptimeCheckConfigRequest) XXX_DiscardUnknown

func (m *DeleteUptimeCheckConfigRequest) XXX_DiscardUnknown()

func (*DeleteUptimeCheckConfigRequest) XXX_Marshal

func (m *DeleteUptimeCheckConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteUptimeCheckConfigRequest) XXX_Merge

func (m *DeleteUptimeCheckConfigRequest) XXX_Merge(src proto.Message)

func (*DeleteUptimeCheckConfigRequest) XXX_Size

func (m *DeleteUptimeCheckConfigRequest) XXX_Size() int

func (*DeleteUptimeCheckConfigRequest) XXX_Unmarshal

func (m *DeleteUptimeCheckConfigRequest) XXX_Unmarshal(b []byte) error

type DistributionCut

type DistributionCut struct {
	// A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
	// specifying a `TimeSeries` aggregating values. Must have `ValueType =
	// DISTRIBUTION` and `MetricKind = DELTA` or `MetricKind = CUMULATIVE`.
	DistributionFilter string `protobuf:"bytes,4,opt,name=distribution_filter,json=distributionFilter,proto3" json:"distribution_filter,omitempty"`
	// Range of values considered "good." For a one-sided range, set one bound to
	// an infinite value.
	Range                *Range   `protobuf:"bytes,5,opt,name=range,proto3" json:"range,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A `DistributionCut` defines a `TimeSeries` and thresholds used for measuring good service and total service. The `TimeSeries` must have `ValueType = DISTRIBUTION` and `MetricKind = DELTA` or `MetricKind = CUMULATIVE`. The computed `good_service` will be the count of values x in the `Distribution` such that `range.min <= x < range.max`.

func (*DistributionCut) Descriptor

func (*DistributionCut) Descriptor() ([]byte, []int)

func (*DistributionCut) GetDistributionFilter

func (m *DistributionCut) GetDistributionFilter() string

func (*DistributionCut) GetRange

func (m *DistributionCut) GetRange() *Range

func (*DistributionCut) ProtoMessage

func (*DistributionCut) ProtoMessage()

func (*DistributionCut) Reset

func (m *DistributionCut) Reset()

func (*DistributionCut) String

func (m *DistributionCut) String() string

func (*DistributionCut) XXX_DiscardUnknown

func (m *DistributionCut) XXX_DiscardUnknown()

func (*DistributionCut) XXX_Marshal

func (m *DistributionCut) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DistributionCut) XXX_Merge

func (m *DistributionCut) XXX_Merge(src proto.Message)

func (*DistributionCut) XXX_Size

func (m *DistributionCut) XXX_Size() int

func (*DistributionCut) XXX_Unmarshal

func (m *DistributionCut) XXX_Unmarshal(b []byte) error

type DroppedLabels

type DroppedLabels struct {
	// Map from label to its value, for all labels dropped in any aggregation.
	Label                map[string]string `` /* 151-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

A set of (label, value) pairs which were dropped during aggregation, attached to google.api.Distribution.Exemplars in google.api.Distribution values during aggregation.

These values are used in combination with the label values that remain on the aggregated Distribution timeseries to construct the full label set for the exemplar values. The resulting full label set may be used to identify the specific task/job/instance (for example) which may be contributing to a long-tail, while allowing the storage savings of only storing aggregated distribution values for a large group.

Note that there are no guarantees on ordering of the labels from exemplar-to-exemplar and from distribution-to-distribution in the same stream, and there may be duplicates. It is up to clients to resolve any ambiguities.

func (*DroppedLabels) Descriptor

func (*DroppedLabels) Descriptor() ([]byte, []int)

func (*DroppedLabels) GetLabel

func (m *DroppedLabels) GetLabel() map[string]string

func (*DroppedLabels) ProtoMessage

func (*DroppedLabels) ProtoMessage()

func (*DroppedLabels) Reset

func (m *DroppedLabels) Reset()

func (*DroppedLabels) String

func (m *DroppedLabels) String() string

func (*DroppedLabels) XXX_DiscardUnknown

func (m *DroppedLabels) XXX_DiscardUnknown()

func (*DroppedLabels) XXX_Marshal

func (m *DroppedLabels) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DroppedLabels) XXX_Merge

func (m *DroppedLabels) XXX_Merge(src proto.Message)

func (*DroppedLabels) XXX_Size

func (m *DroppedLabels) XXX_Size() int

func (*DroppedLabels) XXX_Unmarshal

func (m *DroppedLabels) XXX_Unmarshal(b []byte) error

type GetAlertPolicyRequest

type GetAlertPolicyRequest struct {
	// Required. The alerting policy to retrieve. The format is:
	//
	//     projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
	Name                 string   `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The protocol for the `GetAlertPolicy` request.

func (*GetAlertPolicyRequest) Descriptor

func (*GetAlertPolicyRequest) Descriptor() ([]byte, []int)

func (*GetAlertPolicyRequest) GetName

func (m *GetAlertPolicyRequest) GetName() string

func (*GetAlertPolicyRequest) ProtoMessage

func (*GetAlertPolicyRequest) ProtoMessage()

func (*GetAlertPolicyRequest) Reset

func (m *GetAlertPolicyRequest) Reset()

func (*GetAlertPolicyRequest) String

func (m *GetAlertPolicyRequest) String() string

func (*GetAlertPolicyRequest) XXX_DiscardUnknown

func (m *GetAlertPolicyRequest) XXX_DiscardUnknown()

func (*GetAlertPolicyRequest) XXX_Marshal

func (m *GetAlertPolicyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetAlertPolicyRequest) XXX_Merge

func (m *GetAlertPolicyRequest) XXX_Merge(src proto.Message)

func (*GetAlertPolicyRequest) XXX_Size

func (m *GetAlertPolicyRequest) XXX_Size() int

func (*GetAlertPolicyRequest) XXX_Unmarshal

func (m *GetAlertPolicyRequest) XXX_Unmarshal(b []byte) error

type GetGroupRequest

type GetGroupRequest struct {
	// Required. The group to retrieve. The format is:
	//
	//     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
	Name                 string   `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The `GetGroup` request.

func (*GetGroupRequest) Descriptor

func (*GetGroupRequest) Descriptor() ([]byte, []int)

func (*GetGroupRequest) GetName

func (m *GetGroupRequest) GetName() string

func (*GetGroupRequest) ProtoMessage

func (*GetGroupRequest) ProtoMessage()

func (*GetGroupRequest) Reset

func (m *GetGroupRequest) Reset()

func (*GetGroupRequest) String

func (m *GetGroupRequest) String() string

func (*GetGroupRequest) XXX_DiscardUnknown

func (m *GetGroupRequest) XXX_DiscardUnknown()

func (*GetGroupRequest) XXX_Marshal

func (m *GetGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetGroupRequest) XXX_Merge

func (m *GetGroupRequest) XXX_Merge(src proto.Message)

func (*GetGroupRequest) XXX_Size

func (m *GetGroupRequest) XXX_Size() int

func (*GetGroupRequest) XXX_Unmarshal

func (m *GetGroupRequest) XXX_Unmarshal(b []byte) error

type GetMetricDescriptorRequest

type GetMetricDescriptorRequest struct {
	// Required. The metric descriptor on which to execute the request. The format is:
	//
	//     projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID]
	//
	// An example value of `[METRIC_ID]` is
	// `"compute.googleapis.com/instance/disk/read_bytes_count"`.
	Name                 string   `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The `GetMetricDescriptor` request.

func (*GetMetricDescriptorRequest) Descriptor

func (*GetMetricDescriptorRequest) Descriptor() ([]byte, []int)

func (*GetMetricDescriptorRequest) GetName

func (m *GetMetricDescriptorRequest) GetName() string

func (*GetMetricDescriptorRequest) ProtoMessage

func (*GetMetricDescriptorRequest) ProtoMessage()

func (*GetMetricDescriptorRequest) Reset

func (m *GetMetricDescriptorRequest) Reset()

func (*GetMetricDescriptorRequest) String

func (m *GetMetricDescriptorRequest) String() string

func (*GetMetricDescriptorRequest) XXX_DiscardUnknown

func (m *GetMetricDescriptorRequest) XXX_DiscardUnknown()

func (*GetMetricDescriptorRequest) XXX_Marshal

func (m *GetMetricDescriptorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetMetricDescriptorRequest) XXX_Merge

func (m *GetMetricDescriptorRequest) XXX_Merge(src proto.Message)

func (*GetMetricDescriptorRequest) XXX_Size

func (m *GetMetricDescriptorRequest) XXX_Size() int

func (*GetMetricDescriptorRequest) XXX_Unmarshal

func (m *GetMetricDescriptorRequest) XXX_Unmarshal(b []byte) error

type GetMonitoredResourceDescriptorRequest

type GetMonitoredResourceDescriptorRequest struct {
	// Required. The monitored resource descriptor to get.  The format is:
	//
	//     projects/[PROJECT_ID_OR_NUMBER]/monitoredResourceDescriptors/[RESOURCE_TYPE]
	//
	// The `[RESOURCE_TYPE]` is a predefined type, such as
	// `cloudsql_database`.
	Name                 string   `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The `GetMonitoredResourceDescriptor` request.

func (*GetMonitoredResourceDescriptorRequest) Descriptor

func (*GetMonitoredResourceDescriptorRequest) Descriptor() ([]byte, []int)

func (*GetMonitoredResourceDescriptorRequest) GetName

func (*GetMonitoredResourceDescriptorRequest) ProtoMessage

func (*GetMonitoredResourceDescriptorRequest) ProtoMessage()

func (*GetMonitoredResourceDescriptorRequest) Reset

func (*GetMonitoredResourceDescriptorRequest) String

func (*GetMonitoredResourceDescriptorRequest) XXX_DiscardUnknown

func (m *GetMonitoredResourceDescriptorRequest) XXX_DiscardUnknown()

func (*GetMonitoredResourceDescriptorRequest) XXX_Marshal

func (m *GetMonitoredResourceDescriptorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetMonitoredResourceDescriptorRequest) XXX_Merge

func (*GetMonitoredResourceDescriptorRequest) XXX_Size

func (*GetMonitoredResourceDescriptorRequest) XXX_Unmarshal

func (m *GetMonitoredResourceDescriptorRequest) XXX_Unmarshal(b []byte) error

type GetNotificationChannelDescriptorRequest

type GetNotificationChannelDescriptorRequest struct {
	// Required. The channel type for which to execute the request. The format is:
	//
	//     projects/[PROJECT_ID_OR_NUMBER]/notificationChannelDescriptors/[CHANNEL_TYPE]
	Name                 string   `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The `GetNotificationChannelDescriptor` response.

func (*GetNotificationChannelDescriptorRequest) Descriptor

func (*GetNotificationChannelDescriptorRequest) Descriptor() ([]byte, []int)

func (*GetNotificationChannelDescriptorRequest) GetName

func (*GetNotificationChannelDescriptorRequest) ProtoMessage

func (*GetNotificationChannelDescriptorRequest) Reset

func (*GetNotificationChannelDescriptorRequest) String

func (*GetNotificationChannelDescriptorRequest) XXX_DiscardUnknown

func (m *GetNotificationChannelDescriptorRequest) XXX_DiscardUnknown()

func (*GetNotificationChannelDescriptorRequest) XXX_Marshal

func (m *GetNotificationChannelDescriptorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetNotificationChannelDescriptorRequest) XXX_Merge

func (*GetNotificationChannelDescriptorRequest) XXX_Size

func (*GetNotificationChannelDescriptorRequest) XXX_Unmarshal

func (m *GetNotificationChannelDescriptorRequest) XXX_Unmarshal(b []byte) error

type GetNotificationChannelRequest

type GetNotificationChannelRequest struct {
	// Required. The channel for which to execute the request. The format is:
	//
	//     projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
	Name                 string   `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The `GetNotificationChannel` request.

func (*GetNotificationChannelRequest) Descriptor

func (*GetNotificationChannelRequest) Descriptor() ([]byte, []int)

func (*GetNotificationChannelRequest) GetName

func (*GetNotificationChannelRequest) ProtoMessage

func (*GetNotificationChannelRequest) ProtoMessage()

func (*GetNotificationChannelRequest) Reset

func (m *GetNotificationChannelRequest) Reset()

func (*GetNotificationChannelRequest) String

func (*GetNotificationChannelRequest) XXX_DiscardUnknown

func (m *GetNotificationChannelRequest) XXX_DiscardUnknown()

func (*GetNotificationChannelRequest) XXX_Marshal

func (m *GetNotificationChannelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetNotificationChannelRequest) XXX_Merge

func (m *GetNotificationChannelRequest) XXX_Merge(src proto.Message)

func (*GetNotificationChannelRequest) XXX_Size

func (m *GetNotificationChannelRequest) XXX_Size() int

func (*GetNotificationChannelRequest) XXX_Unmarshal

func (m *GetNotificationChannelRequest) XXX_Unmarshal(b []byte) error

type GetNotificationChannelVerificationCodeRequest

type GetNotificationChannelVerificationCodeRequest struct {
	// Required. The notification channel for which a verification code is to be generated
	// and retrieved. This must name a channel that is already verified; if
	// the specified channel is not verified, the request will fail.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The desired expiration time. If specified, the API will guarantee that
	// the returned code will not be valid after the specified timestamp;
	// however, the API cannot guarantee that the returned code will be
	// valid for at least as long as the requested time (the API puts an upper
	// bound on the amount of time for which a code may be valid). If omitted,
	// a default expiration will be used, which may be less than the max
	// permissible expiration (so specifying an expiration may extend the
	// code's lifetime over omitting an expiration, even though the API does
	// impose an upper limit on the maximum expiration that is permitted).
	ExpireTime           *timestamp.Timestamp `protobuf:"bytes,2,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

The `GetNotificationChannelVerificationCode` request.

func (*GetNotificationChannelVerificationCodeRequest) Descriptor

func (*GetNotificationChannelVerificationCodeRequest) GetExpireTime

func (*GetNotificationChannelVerificationCodeRequest) GetName

func (*GetNotificationChannelVerificationCodeRequest) ProtoMessage

func (*GetNotificationChannelVerificationCodeRequest) Reset

func (*GetNotificationChannelVerificationCodeRequest) String

func (*GetNotificationChannelVerificationCodeRequest) XXX_DiscardUnknown

func (m *GetNotificationChannelVerificationCodeRequest) XXX_DiscardUnknown()

func (*GetNotificationChannelVerificationCodeRequest) XXX_Marshal

func (m *GetNotificationChannelVerificationCodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetNotificationChannelVerificationCodeRequest) XXX_Merge

func (*GetNotificationChannelVerificationCodeRequest) XXX_Size

func (*GetNotificationChannelVerificationCodeRequest) XXX_Unmarshal

type GetNotificationChannelVerificationCodeResponse

type GetNotificationChannelVerificationCodeResponse struct {
	// The verification code, which may be used to verify other channels
	// that have an equivalent identity (i.e. other channels of the same
	// type with the same fingerprint such as other email channels with
	// the same email address or other sms channels with the same number).
	Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
	// The expiration time associated with the code that was returned. If
	// an expiration was provided in the request, this is the minimum of the
	// requested expiration in the request and the max permitted expiration.
	ExpireTime           *timestamp.Timestamp `protobuf:"bytes,2,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

The `GetNotificationChannelVerificationCode` request.

func (*GetNotificationChannelVerificationCodeResponse) Descriptor

func (*GetNotificationChannelVerificationCodeResponse) GetCode

func (*GetNotificationChannelVerificationCodeResponse) GetExpireTime

func (*GetNotificationChannelVerificationCodeResponse) ProtoMessage

func (*GetNotificationChannelVerificationCodeResponse) Reset

func (*GetNotificationChannelVerificationCodeResponse) String

func (*GetNotificationChannelVerificationCodeResponse) XXX_DiscardUnknown

func (m *GetNotificationChannelVerificationCodeResponse) XXX_DiscardUnknown()

func (*GetNotificationChannelVerificationCodeResponse) XXX_Marshal

func (m *GetNotificationChannelVerificationCodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetNotificationChannelVerificationCodeResponse) XXX_Merge

func (*GetNotificationChannelVerificationCodeResponse) XXX_Size

func (*GetNotificationChannelVerificationCodeResponse) XXX_Unmarshal

type GetServiceLevelObjectiveRequest

type GetServiceLevelObjectiveRequest struct {
	// Required. Resource name of the `ServiceLevelObjective` to get. The format is:
	//
	//     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// View of the `ServiceLevelObjective` to return. If `DEFAULT`, return the
	// `ServiceLevelObjective` as originally defined. If `EXPLICIT` and the
	// `ServiceLevelObjective` is defined in terms of a `BasicSli`, replace the
	// `BasicSli` with a `RequestBasedSli` spelling out how the SLI is computed.
	View                 ServiceLevelObjective_View `protobuf:"varint,2,opt,name=view,proto3,enum=google.monitoring.v3.ServiceLevelObjective_View" json:"view,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

The `GetServiceLevelObjective` request.

func (*GetServiceLevelObjectiveRequest) Descriptor

func (*GetServiceLevelObjectiveRequest) Descriptor() ([]byte, []int)

func (*GetServiceLevelObjectiveRequest) GetName

func (*GetServiceLevelObjectiveRequest) GetView

func (*GetServiceLevelObjectiveRequest) ProtoMessage

func (*GetServiceLevelObjectiveRequest) ProtoMessage()

func (*GetServiceLevelObjectiveRequest) Reset

func (*GetServiceLevelObjectiveRequest) String

func (*GetServiceLevelObjectiveRequest) XXX_DiscardUnknown

func (m *GetServiceLevelObjectiveRequest) XXX_DiscardUnknown()

func (*GetServiceLevelObjectiveRequest) XXX_Marshal

func (m *GetServiceLevelObjectiveRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetServiceLevelObjectiveRequest) XXX_Merge

func (m *GetServiceLevelObjectiveRequest) XXX_Merge(src proto.Message)

func (*GetServiceLevelObjectiveRequest) XXX_Size

func (m *GetServiceLevelObjectiveRequest) XXX_Size() int

func (*GetServiceLevelObjectiveRequest) XXX_Unmarshal

func (m *GetServiceLevelObjectiveRequest) XXX_Unmarshal(b []byte) error

type GetServiceRequest

type GetServiceRequest struct {
	// Required. Resource name of the `Service`. The format is:
	//
	//     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The `GetService` request.

func (*GetServiceRequest) Descriptor

func (*GetServiceRequest) Descriptor() ([]byte, []int)

func (*GetServiceRequest) GetName

func (m *GetServiceRequest) GetName() string

func (*GetServiceRequest) ProtoMessage

func (*GetServiceRequest) ProtoMessage()

func (*GetServiceRequest) Reset

func (m *GetServiceRequest) Reset()

func (*GetServiceRequest) String

func (m *GetServiceRequest) String() string

func (*GetServiceRequest) XXX_DiscardUnknown

func (m *GetServiceRequest) XXX_DiscardUnknown()

func (*GetServiceRequest) XXX_Marshal

func (m *GetServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetServiceRequest) XXX_Merge

func (m *GetServiceRequest) XXX_Merge(src proto.Message)

func (*GetServiceRequest) XXX_Size

func (m *GetServiceRequest) XXX_Size() int

func (*GetServiceRequest) XXX_Unmarshal

func (m *GetServiceRequest) XXX_Unmarshal(b []byte) error

type GetUptimeCheckConfigRequest

type GetUptimeCheckConfigRequest struct {
	// Required. The Uptime check configuration to retrieve. The format is:
	//
	//     projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The protocol for the `GetUptimeCheckConfig` request.

func (*GetUptimeCheckConfigRequest) Descriptor

func (*GetUptimeCheckConfigRequest) Descriptor() ([]byte, []int)

func (*GetUptimeCheckConfigRequest) GetName

func (m *GetUptimeCheckConfigRequest) GetName() string

func (*GetUptimeCheckConfigRequest) ProtoMessage

func (*GetUptimeCheckConfigRequest) ProtoMessage()

func (*GetUptimeCheckConfigRequest) Reset

func (m *GetUptimeCheckConfigRequest) Reset()

func (*GetUptimeCheckConfigRequest) String

func (m *GetUptimeCheckConfigRequest) String() string

func (*GetUptimeCheckConfigRequest) XXX_DiscardUnknown

func (m *GetUptimeCheckConfigRequest) XXX_DiscardUnknown()

func (*GetUptimeCheckConfigRequest) XXX_Marshal

func (m *GetUptimeCheckConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetUptimeCheckConfigRequest) XXX_Merge

func (m *GetUptimeCheckConfigRequest) XXX_Merge(src proto.Message)

func (*GetUptimeCheckConfigRequest) XXX_Size

func (m *GetUptimeCheckConfigRequest) XXX_Size() int

func (*GetUptimeCheckConfigRequest) XXX_Unmarshal

func (m *GetUptimeCheckConfigRequest) XXX_Unmarshal(b []byte) error

type Group

type Group struct {
	// Output only. The name of this group. The format is:
	//
	//     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
	//
	// When creating a group, this field is ignored and a new name is created
	// consisting of the project specified in the call to `CreateGroup`
	// and a unique `[GROUP_ID]` that is generated automatically.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// A user-assigned name for this group, used only for display purposes.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// The name of the group's parent, if it has one. The format is:
	//
	//     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
	//
	// For groups with no parent, `parent_name` is the empty string, `""`.
	ParentName string `protobuf:"bytes,3,opt,name=parent_name,json=parentName,proto3" json:"parent_name,omitempty"`
	// The filter used to determine which monitored resources belong to this
	// group.
	Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"`
	// If true, the members of this group are considered to be a cluster.
	// The system can perform additional analysis on groups that are clusters.
	IsCluster            bool     `protobuf:"varint,6,opt,name=is_cluster,json=isCluster,proto3" json:"is_cluster,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The description of a dynamic collection of monitored resources. Each group has a filter that is matched against monitored resources and their associated metadata. If a group's filter matches an available monitored resource, then that resource is a member of that group. Groups can contain any number of monitored resources, and each monitored resource can be a member of any number of groups.

Groups can be nested in parent-child hierarchies. The `parentName` field identifies an optional parent for each group. If a group has a parent, then the only monitored resources available to be matched by the group's filter are the resources contained in the parent group. In other words, a group contains the monitored resources that match its filter and the filters of all the group's ancestors. A group without a parent can contain any monitored resource.

For example, consider an infrastructure running a set of instances with two user-defined tags: `"environment"` and `"role"`. A parent group has a filter, `environment="production"`. A child of that parent group has a filter, `role="transcoder"`. The parent group contains all instances in the production environment, regardless of their roles. The child group contains instances that have the transcoder role *and* are in the production environment.

The monitored resources contained in a group can change at any moment, depending on what resources exist and what filters are associated with the group and its ancestors.

func (*Group) Descriptor

func (*Group) Descriptor() ([]byte, []int)

func (*Group) GetDisplayName

func (m *Group) GetDisplayName() string

func (*Group) GetFilter

func (m *Group) GetFilter() string

func (*Group) GetIsCluster

func (m *Group) GetIsCluster() bool

func (*Group) GetName

func (m *Group) GetName() string

func (*Group) GetParentName

func (m *Group) GetParentName() string

func (*Group) ProtoMessage

func (*Group) ProtoMessage()

func (*Group) Reset

func (m *Group) Reset()

func (*Group) String

func (m *Group) String() string

func (*Group) XXX_DiscardUnknown

func (m *Group) XXX_DiscardUnknown()

func (*Group) XXX_Marshal

func (m *Group) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Group) XXX_Merge

func (m *Group) XXX_Merge(src proto.Message)

func (*Group) XXX_Size

func (m *Group) XXX_Size() int

func (*Group) XXX_Unmarshal

func (m *Group) XXX_Unmarshal(b []byte) error

type GroupResourceType

type GroupResourceType int32

The supported resource types that can be used as values of `group_resource.resource_type`. `INSTANCE` includes `gce_instance` and `aws_ec2_instance` resource types. The resource types `gae_app` and `uptime_url` are not valid here because group checks on App Engine modules and URLs are not allowed.

const (
	// Default value (not valid).
	GroupResourceType_RESOURCE_TYPE_UNSPECIFIED GroupResourceType = 0
	// A group of instances from Google Cloud Platform (GCP) or
	// Amazon Web Services (AWS).
	GroupResourceType_INSTANCE GroupResourceType = 1
	// A group of Amazon ELB load balancers.
	GroupResourceType_AWS_ELB_LOAD_BALANCER GroupResourceType = 2
)

func (GroupResourceType) EnumDescriptor

func (GroupResourceType) EnumDescriptor() ([]byte, []int)

func (GroupResourceType) String

func (x GroupResourceType) String() string

type GroupServiceClient

type GroupServiceClient interface {
	// Lists the existing groups.
	ListGroups(ctx context.Context, in *ListGroupsRequest, opts ...grpc.CallOption) (*ListGroupsResponse, error)
	// Gets a single group.
	GetGroup(ctx context.Context, in *GetGroupRequest, opts ...grpc.CallOption) (*Group, error)
	// Creates a new group.
	CreateGroup(ctx context.Context, in *CreateGroupRequest, opts ...grpc.CallOption) (*Group, error)
	// Updates an existing group.
	// You can change any group attributes except `name`.
	UpdateGroup(ctx context.Context, in *UpdateGroupRequest, opts ...grpc.CallOption) (*Group, error)
	// Deletes an existing group.
	DeleteGroup(ctx context.Context, in *DeleteGroupRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// Lists the monitored resources that are members of a group.
	ListGroupMembers(ctx context.Context, in *ListGroupMembersRequest, opts ...grpc.CallOption) (*ListGroupMembersResponse, error)
}

GroupServiceClient is the client API for GroupService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type GroupServiceServer

type GroupServiceServer interface {
	// Lists the existing groups.
	ListGroups(context.Context, *ListGroupsRequest) (*ListGroupsResponse, error)
	// Gets a single group.
	GetGroup(context.Context, *GetGroupRequest) (*Group, error)
	// Creates a new group.
	CreateGroup(context.Context, *CreateGroupRequest) (*Group, error)
	// Updates an existing group.
	// You can change any group attributes except `name`.
	UpdateGroup(context.Context, *UpdateGroupRequest) (*Group, error)
	// Deletes an existing group.
	DeleteGroup(context.Context, *DeleteGroupRequest) (*empty.Empty, error)
	// Lists the monitored resources that are members of a group.
	ListGroupMembers(context.Context, *ListGroupMembersRequest) (*ListGroupMembersResponse, error)
}

GroupServiceServer is the server API for GroupService service.

type InternalChecker deprecated

type InternalChecker struct {
	// A unique resource name for this InternalChecker. The format is:
	//
	//     projects/[PROJECT_ID_OR_NUMBER]/internalCheckers/[INTERNAL_CHECKER_ID]
	//
	// `[PROJECT_ID_OR_NUMBER]` is the Stackdriver Workspace project for the
	// Uptime check config associated with the internal checker.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The checker's human-readable name. The display name
	// should be unique within a Stackdriver Workspace in order to make it easier
	// to identify; however, uniqueness is not enforced.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// The [GCP VPC network](https://cloud.google.com/vpc/docs/vpc) where the
	// internal resource lives (ex: "default").
	Network string `protobuf:"bytes,3,opt,name=network,proto3" json:"network,omitempty"`
	// The GCP zone the Uptime check should egress from. Only respected for
	// internal Uptime checks, where internal_network is specified.
	GcpZone string `protobuf:"bytes,4,opt,name=gcp_zone,json=gcpZone,proto3" json:"gcp_zone,omitempty"`
	// The GCP project ID where the internal checker lives. Not necessary
	// the same as the Workspace project.
	PeerProjectId string `protobuf:"bytes,6,opt,name=peer_project_id,json=peerProjectId,proto3" json:"peer_project_id,omitempty"`
	// The current operational state of the internal checker.
	State                InternalChecker_State `protobuf:"varint,7,opt,name=state,proto3,enum=google.monitoring.v3.InternalChecker_State" json:"state,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

An internal checker allows Uptime checks to run on private/internal GCP resources.

Deprecated: Do not use.

func (*InternalChecker) Descriptor

func (*InternalChecker) Descriptor() ([]byte, []int)

func (*InternalChecker) GetDisplayName

func (m *InternalChecker) GetDisplayName() string

func (*InternalChecker) GetGcpZone

func (m *InternalChecker) GetGcpZone() string

func (*InternalChecker) GetName

func (m *InternalChecker) GetName() string

func (*InternalChecker) GetNetwork

func (m *InternalChecker) GetNetwork() string

func (*InternalChecker) GetPeerProjectId

func (m *InternalChecker) GetPeerProjectId() string

func (*InternalChecker) GetState

func (m *InternalChecker) GetState() InternalChecker_State

func (*InternalChecker) ProtoMessage

func (*InternalChecker) ProtoMessage()

func (*InternalChecker) Reset

func (m *InternalChecker) Reset()

func (*InternalChecker) String

func (m *InternalChecker) String() string

func (*InternalChecker) XXX_DiscardUnknown

func (m *InternalChecker) XXX_DiscardUnknown()

func (*InternalChecker) XXX_Marshal

func (m *InternalChecker) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InternalChecker) XXX_Merge

func (m *InternalChecker) XXX_Merge(src proto.Message)

func (*InternalChecker) XXX_Size

func (m *InternalChecker) XXX_Size() int

func (*InternalChecker) XXX_Unmarshal

func (m *InternalChecker) XXX_Unmarshal(b []byte) error

type InternalChecker_State

type InternalChecker_State int32

Operational states for an internal checker.

const (
	// An internal checker should never be in the unspecified state.
	InternalChecker_UNSPECIFIED InternalChecker_State = 0
	// The checker is being created, provisioned, and configured. A checker in
	// this state can be returned by `ListInternalCheckers` or
	// `GetInternalChecker`, as well as by examining the [long running
	// Operation](https://cloud.google.com/apis/design/design_patterns#long_running_operations)
	// that created it.
	InternalChecker_CREATING InternalChecker_State = 1
	// The checker is running and available for use. A checker in this state
	// can be returned by `ListInternalCheckers` or `GetInternalChecker` as
	// well as by examining the [long running
	// Operation](https://cloud.google.com/apis/design/design_patterns#long_running_operations)
	// that created it.
	// If a checker is being torn down, it is neither visible nor usable, so
	// there is no "deleting" or "down" state.
	InternalChecker_RUNNING InternalChecker_State = 2
)

func (InternalChecker_State) EnumDescriptor

func (InternalChecker_State) EnumDescriptor() ([]byte, []int)

func (InternalChecker_State) String

func (x InternalChecker_State) String() string

type LabelValue

type LabelValue struct {
	// The label value can be a bool, int64, or string.
	//
	// Types that are valid to be assigned to Value:
	//	*LabelValue_BoolValue
	//	*LabelValue_Int64Value
	//	*LabelValue_StringValue
	Value                isLabelValue_Value `protobuf_oneof:"value"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

A label value.

func (*LabelValue) Descriptor

func (*LabelValue) Descriptor() ([]byte, []int)

func (*LabelValue) GetBoolValue

func (m *LabelValue) GetBoolValue() bool

func (*LabelValue) GetInt64Value

func (m *LabelValue) GetInt64Value() int64

func (*LabelValue) GetStringValue

func (m *LabelValue) GetStringValue() string

func (*LabelValue) GetValue

func (m *LabelValue) GetValue() isLabelValue_Value

func (*LabelValue) ProtoMessage

func (*LabelValue) ProtoMessage()

func (*LabelValue) Reset

func (m *LabelValue) Reset()

func (*LabelValue) String

func (m *LabelValue) String() string

func (*LabelValue) XXX_DiscardUnknown

func (m *LabelValue) XXX_DiscardUnknown()

func (*LabelValue) XXX_Marshal

func (m *LabelValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LabelValue) XXX_Merge

func (m *LabelValue) XXX_Merge(src proto.Message)

func (*LabelValue) XXX_OneofWrappers

func (*LabelValue) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*LabelValue) XXX_Size

func (m *LabelValue) XXX_Size() int

func (*LabelValue) XXX_Unmarshal

func (m *LabelValue) XXX_Unmarshal(b []byte) error

type LabelValue_BoolValue

type LabelValue_BoolValue struct {
	BoolValue bool `protobuf:"varint,1,opt,name=bool_value,json=boolValue,proto3,oneof"`
}

type LabelValue_Int64Value

type LabelValue_Int64Value struct {
	Int64Value int64 `protobuf:"varint,2,opt,name=int64_value,json=int64Value,proto3,oneof"`
}

type LabelValue_StringValue

type LabelValue_StringValue struct {
	StringValue string `protobuf:"bytes,3,opt,name=string_value,json=stringValue,proto3,oneof"`
}

type ListAlertPoliciesRequest

type ListAlertPoliciesRequest struct {
	// Required. The project whose alert policies are to be listed. The format is:
	//
	//     projects/[PROJECT_ID_OR_NUMBER]
	//
	// Note that this field names the parent container in which the alerting
	// policies to be listed are stored. To retrieve a single alerting policy
	// by name, use the
	// [GetAlertPolicy][google.monitoring.v3.AlertPolicyService.GetAlertPolicy]
	// operation, instead.
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// If provided, this field specifies the criteria that must be met by
	// alert policies to be included in the response.
	//
	// For more details, see [sorting and
	// filtering](https://cloud.google.com/monitoring/api/v3/sorting-and-filtering).
	Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"`
	// A comma-separated list of fields by which to sort the result. Supports
	// the same set of field references as the `filter` field. Entries can be
	// prefixed with a minus sign to sort by the field in descending order.
	//
	// For more details, see [sorting and
	// filtering](https://cloud.google.com/monitoring/api/v3/sorting-and-filtering).
	OrderBy string `protobuf:"bytes,6,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// The maximum number of results to return in a single response.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// If this field is not empty then it must contain the `nextPageToken` value
	// returned by a previous call to this method.  Using this field causes the
	// method to return more results from the previous method call.
	PageToken            string   `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The protocol for the `ListAlertPolicies` request.

func (*ListAlertPoliciesRequest) Descriptor

func (*ListAlertPoliciesRequest) Descriptor() ([]byte, []int)

func (*ListAlertPoliciesRequest) GetFilter

func (m *ListAlertPoliciesRequest) GetFilter() string

func (*ListAlertPoliciesRequest) GetName

func (m *ListAlertPoliciesRequest) GetName() string

func (*ListAlertPoliciesRequest) GetOrderBy

func (m *ListAlertPoliciesRequest) GetOrderBy() string

func (*ListAlertPoliciesRequest) GetPageSize

func (m *ListAlertPoliciesRequest) GetPageSize() int32

func (*ListAlertPoliciesRequest) GetPageToken

func (m *ListAlertPoliciesRequest) GetPageToken() string

func (*ListAlertPoliciesRequest) ProtoMessage

func (*ListAlertPoliciesRequest) ProtoMessage()

func (*ListAlertPoliciesRequest) Reset

func (m *ListAlertPoliciesRequest) Reset()

func (*ListAlertPoliciesRequest) String

func (m *ListAlertPoliciesRequest) String() string

func (*ListAlertPoliciesRequest) XXX_DiscardUnknown

func (m *ListAlertPoliciesRequest) XXX_DiscardUnknown()

func (*ListAlertPoliciesRequest) XXX_Marshal

func (m *ListAlertPoliciesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListAlertPoliciesRequest) XXX_Merge

func (m *ListAlertPoliciesRequest) XXX_Merge(src proto.Message)

func (*ListAlertPoliciesRequest) XXX_Size

func (m *ListAlertPoliciesRequest) XXX_Size() int

func (*ListAlertPoliciesRequest) XXX_Unmarshal

func (m *ListAlertPoliciesRequest) XXX_Unmarshal(b []byte) error

type ListAlertPoliciesResponse

type ListAlertPoliciesResponse struct {
	// The returned alert policies.
	AlertPolicies []*AlertPolicy `protobuf:"bytes,3,rep,name=alert_policies,json=alertPolicies,proto3" json:"alert_policies,omitempty"`
	// If there might be more results than were returned, then this field is set
	// to a non-empty value. To see the additional results,
	// use that value as `page_token` in the next call to this method.
	NextPageToken        string   `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The protocol for the `ListAlertPolicies` response.

func (*ListAlertPoliciesResponse) Descriptor

func (*ListAlertPoliciesResponse) Descriptor() ([]byte, []int)

func (*ListAlertPoliciesResponse) GetAlertPolicies

func (m *ListAlertPoliciesResponse) GetAlertPolicies() []*AlertPolicy

func (*ListAlertPoliciesResponse) GetNextPageToken

func (m *ListAlertPoliciesResponse) GetNextPageToken() string

func (*ListAlertPoliciesResponse) ProtoMessage

func (*ListAlertPoliciesResponse) ProtoMessage()

func (*ListAlertPoliciesResponse) Reset

func (m *ListAlertPoliciesResponse) Reset()

func (*ListAlertPoliciesResponse) String

func (m *ListAlertPoliciesResponse) String() string

func (*ListAlertPoliciesResponse) XXX_DiscardUnknown

func (m *ListAlertPoliciesResponse) XXX_DiscardUnknown()

func (*ListAlertPoliciesResponse) XXX_Marshal

func (m *ListAlertPoliciesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListAlertPoliciesResponse) XXX_Merge

func (m *ListAlertPoliciesResponse) XXX_Merge(src proto.Message)

func (*ListAlertPoliciesResponse) XXX_Size

func (m *ListAlertPoliciesResponse) XXX_Size() int

func (*ListAlertPoliciesResponse) XXX_Unmarshal

func (m *ListAlertPoliciesResponse) XXX_Unmarshal(b []byte) error

type ListGroupMembersRequest

type ListGroupMembersRequest struct {
	// Required. The group whose members are listed. The format is:
	//
	//     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
	Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
	// A positive number that is the maximum number of results to return.
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// If this field is not empty then it must contain the `next_page_token` value
	// returned by a previous call to this method.  Using this field causes the
	// method to return additional results from the previous method call.
	PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// An optional [list
	// filter](https://cloud.google.com/monitoring/api/learn_more#filtering)
	// describing the members to be returned.  The filter may reference the type,
	// labels, and metadata of monitored resources that comprise the group. For
	// example, to return only resources representing Compute Engine VM instances,
	// use this filter:
	//
	//     `resource.type = "gce_instance"`
	Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"`
	// An optional time interval for which results should be returned. Only
	// members that were part of the group during the specified interval are
	// included in the response.  If no interval is provided then the group
	// membership over the last minute is returned.
	Interval             *TimeInterval `protobuf:"bytes,6,opt,name=interval,proto3" json:"interval,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

The `ListGroupMembers` request.

func (*ListGroupMembersRequest) Descriptor

func (*ListGroupMembersRequest) Descriptor() ([]byte, []int)

func (*ListGroupMembersRequest) GetFilter

func (m *ListGroupMembersRequest) GetFilter() string

func (*ListGroupMembersRequest) GetInterval

func (m *ListGroupMembersRequest) GetInterval() *TimeInterval

func (*ListGroupMembersRequest) GetName

func (m *ListGroupMembersRequest) GetName() string

func (*ListGroupMembersRequest) GetPageSize

func (m *ListGroupMembersRequest) GetPageSize() int32

func (*ListGroupMembersRequest) GetPageToken

func (m *ListGroupMembersRequest) GetPageToken() string

func (*ListGroupMembersRequest) ProtoMessage

func (*ListGroupMembersRequest) ProtoMessage()

func (*ListGroupMembersRequest) Reset

func (m *ListGroupMembersRequest) Reset()

func (*ListGroupMembersRequest) String

func (m *ListGroupMembersRequest) String() string

func (*ListGroupMembersRequest) XXX_DiscardUnknown

func (m *ListGroupMembersRequest) XXX_DiscardUnknown()

func (*ListGroupMembersRequest) XXX_Marshal

func (m *ListGroupMembersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListGroupMembersRequest) XXX_Merge

func (m *ListGroupMembersRequest) XXX_Merge(src proto.Message)

func (*ListGroupMembersRequest) XXX_Size

func (m *ListGroupMembersRequest) XXX_Size() int

func (*ListGroupMembersRequest) XXX_Unmarshal

func (m *ListGroupMembersRequest) XXX_Unmarshal(b []byte) error

type ListGroupMembersResponse

type ListGroupMembersResponse struct {
	// A set of monitored resources in the group.
	Members []*monitoredres.MonitoredResource `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"`
	// If there are more results than have been returned, then this field is
	// set to a non-empty value.  To see the additional results, use that value as
	// `page_token` in the next call to this method.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// The total number of elements matching this request.
	TotalSize            int32    `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The `ListGroupMembers` response.

func (*ListGroupMembersResponse) Descriptor

func (*ListGroupMembersResponse) Descriptor() ([]byte, []int)

func (*ListGroupMembersResponse) GetMembers

func (*ListGroupMembersResponse) GetNextPageToken

func (m *ListGroupMembersResponse) GetNextPageToken() string

func (*ListGroupMembersResponse) GetTotalSize

func (m *ListGroupMembersResponse) GetTotalSize() int32

func (*ListGroupMembersResponse) ProtoMessage

func (*ListGroupMembersResponse) ProtoMessage()

func (*ListGroupMembersResponse) Reset

func (m *ListGroupMembersResponse) Reset()

func (*ListGroupMembersResponse) String

func (m *ListGroupMembersResponse) String() string

func (*ListGroupMembersResponse) XXX_DiscardUnknown

func (m *ListGroupMembersResponse) XXX_DiscardUnknown()

func (*ListGroupMembersResponse) XXX_Marshal

func (m *ListGroupMembersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListGroupMembersResponse) XXX_Merge

func (m *ListGroupMembersResponse) XXX_Merge(src proto.Message)

func (*ListGroupMembersResponse) XXX_Size

func (m *ListGroupMembersResponse) XXX_Size() int

func (*ListGroupMembersResponse) XXX_Unmarshal

func (m *ListGroupMembersResponse) XXX_Unmarshal(b []byte) error

type ListGroupsRequest

type ListGroupsRequest struct {
	// Required. The project whose groups are to be listed. The format is:
	//
	//     projects/[PROJECT_ID_OR_NUMBER]
	Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
	// An optional filter consisting of a single group name.  The filters limit
	// the groups returned based on their parent-child relationship with the
	// specified group. If no filter is specified, all groups are returned.
	//
	// Types that are valid to be assigned to Filter:
	//	*ListGroupsRequest_ChildrenOfGroup
	//	*ListGroupsRequest_AncestorsOfGroup
	//	*ListGroupsRequest_DescendantsOfGroup
	Filter isListGroupsRequest_Filter `protobuf_oneof:"filter"`
	// A positive number that is the maximum number of results to return.
	PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// If this field is not empty then it must contain the `next_page_token` value
	// returned by a previous call to this method.  Using this field causes the
	// method to return additional results from the previous method call.
	PageToken            string   `protobuf:"bytes,6,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The `ListGroup` request.

func (*ListGroupsRequest) Descriptor

func (*ListGroupsRequest) Descriptor() ([]byte, []int)

func (*ListGroupsRequest) GetAncestorsOfGroup

func (m *ListGroupsRequest) GetAncestorsOfGroup() string

func (*ListGroupsRequest) GetChildrenOfGroup

func (m *ListGroupsRequest) GetChildrenOfGroup() string

func (*ListGroupsRequest) GetDescendantsOfGroup

func (m *ListGroupsRequest) GetDescendantsOfGroup() string

func (*ListGroupsRequest) GetFilter

func (m *ListGroupsRequest) GetFilter() isListGroupsRequest_Filter

func (*ListGroupsRequest) GetName

func (m *ListGroupsRequest) GetName() string

func (*ListGroupsRequest) GetPageSize

func (m *ListGroupsRequest) GetPageSize() int32

func (*ListGroupsRequest) GetPageToken

func (m *ListGroupsRequest) GetPageToken() string

func (*ListGroupsRequest) ProtoMessage

func (*ListGroupsRequest) ProtoMessage()

func (*ListGroupsRequest) Reset

func (m *ListGroupsRequest) Reset()

func (*ListGroupsRequest) String

func (m *ListGroupsRequest) String() string

func (*ListGroupsRequest) XXX_DiscardUnknown

func (m *ListGroupsRequest) XXX_DiscardUnknown()

func (*ListGroupsRequest) XXX_Marshal

func (m *ListGroupsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListGroupsRequest) XXX_Merge

func (m *ListGroupsRequest) XXX_Merge(src proto.Message)

func (*ListGroupsRequest) XXX_OneofWrappers

func (*ListGroupsRequest) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*ListGroupsRequest) XXX_Size

func (m *ListGroupsRequest) XXX_Size() int

func (*ListGroupsRequest) XXX_Unmarshal

func (m *ListGroupsRequest) XXX_Unmarshal(b []byte) error

type ListGroupsRequest_AncestorsOfGroup

type ListGroupsRequest_AncestorsOfGroup struct {
	AncestorsOfGroup string `protobuf:"bytes,3,opt,name=ancestors_of_group,json=ancestorsOfGroup,proto3,oneof"`
}

type ListGroupsRequest_ChildrenOfGroup

type ListGroupsRequest_ChildrenOfGroup struct {
	ChildrenOfGroup string `protobuf:"bytes,2,opt,name=children_of_group,json=childrenOfGroup,proto3,oneof"`
}

type ListGroupsRequest_DescendantsOfGroup

type ListGroupsRequest_DescendantsOfGroup struct {
	DescendantsOfGroup string `protobuf:"bytes,4,opt,name=descendants_of_group,json=descendantsOfGroup,proto3,oneof"`
}

type ListGroupsResponse

type ListGroupsResponse struct {
	// The groups that match the specified filters.
	Group []*Group `protobuf:"bytes,1,rep,name=group,proto3" json:"group,omitempty"`
	// If there are more results than have been returned, then this field is set
	// to a non-empty value.  To see the additional results,
	// use that value as `page_token` in the next call to this method.
	NextPageToken        string   `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The `ListGroups` response.

func (*ListGroupsResponse) Descriptor

func (*ListGroupsResponse) Descriptor() ([]byte, []int)

func (*ListGroupsResponse) GetGroup

func (m *ListGroupsResponse) GetGroup() []*Group

func (*ListGroupsResponse) GetNextPageToken

func (m *ListGroupsResponse) GetNextPageToken() string

func (*ListGroupsResponse) ProtoMessage

func (*ListGroupsResponse) ProtoMessage()

func (*ListGroupsResponse) Reset

func (m *ListGroupsResponse) Reset()

func (*ListGroupsResponse) String

func (m *ListGroupsResponse) String() string

func (*ListGroupsResponse) XXX_DiscardUnknown

func (m *ListGroupsResponse) XXX_DiscardUnknown()

func (*ListGroupsResponse) XXX_Marshal

func (m *ListGroupsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListGroupsResponse) XXX_Merge

func (m *ListGroupsResponse) XXX_Merge(src proto.Message)

func (*ListGroupsResponse) XXX_Size

func (m *ListGroupsResponse) XXX_Size() int

func (*ListGroupsResponse) XXX_Unmarshal

func (m *ListGroupsResponse) XXX_Unmarshal(b []byte) error

type ListMetricDescriptorsRequest

type ListMetricDescriptorsRequest struct {
	// Required. The project on which to execute the request. The format is:
	//
	//     projects/[PROJECT_ID_OR_NUMBER]
	Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
	// If this field is empty, all custom and
	// system-defined metric descriptors are returned.
	// Otherwise, the [filter](https://cloud.google.com/monitoring/api/v3/filters)
	// specifies which metric descriptors are to be
	// returned. For example, the following filter matches all
	// [custom metrics](https://cloud.google.com/monitoring/custom-metrics):
	//
	//     metric.type = starts_with("custom.googleapis.com/")
	Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
	// A positive number that is the maximum number of results to return.
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// If this field is not empty then it must contain the `nextPageToken` value
	// returned by a previous call to this method.  Using this field causes the
	// method to return additional results from the previous method call.
	PageToken            string   `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The `ListMetricDescriptors` request.

func (*ListMetricDescriptorsRequest) Descriptor

func (*ListMetricDescriptorsRequest) Descriptor() ([]byte, []int)

func (*ListMetricDescriptorsRequest) GetFilter

func (m *ListMetricDescriptorsRequest) GetFilter() string

func (*ListMetricDescriptorsRequest) GetName

func (m *ListMetricDescriptorsRequest) GetName() string

func (*ListMetricDescriptorsRequest) GetPageSize

func (m *ListMetricDescriptorsRequest) GetPageSize() int32

func (*ListMetricDescriptorsRequest) GetPageToken

func (m *ListMetricDescriptorsRequest) GetPageToken() string

func (*ListMetricDescriptorsRequest) ProtoMessage

func (*ListMetricDescriptorsRequest) ProtoMessage()

func (*ListMetricDescriptorsRequest) Reset

func (m *ListMetricDescriptorsRequest) Reset()

func (*ListMetricDescriptorsRequest) String

func (*ListMetricDescriptorsRequest) XXX_DiscardUnknown

func (m *ListMetricDescriptorsRequest) XXX_DiscardUnknown()

func (*ListMetricDescriptorsRequest) XXX_Marshal

func (m *ListMetricDescriptorsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListMetricDescriptorsRequest) XXX_Merge

func (m *ListMetricDescriptorsRequest) XXX_Merge(src proto.Message)

func (*ListMetricDescriptorsRequest) XXX_Size

func (m *ListMetricDescriptorsRequest) XXX_Size() int

func (*ListMetricDescriptorsRequest) XXX_Unmarshal

func (m *ListMetricDescriptorsRequest) XXX_Unmarshal(b []byte) error

type ListMetricDescriptorsResponse

type ListMetricDescriptorsResponse struct {
	// The metric descriptors that are available to the project
	// and that match the value of `filter`, if present.
	MetricDescriptors []*metric.MetricDescriptor `protobuf:"bytes,1,rep,name=metric_descriptors,json=metricDescriptors,proto3" json:"metric_descriptors,omitempty"`
	// If there are more results than have been returned, then this field is set
	// to a non-empty value.  To see the additional results,
	// use that value as `page_token` in the next call to this method.
	NextPageToken        string   `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The `ListMetricDescriptors` response.

func (*ListMetricDescriptorsResponse) Descriptor

func (*ListMetricDescriptorsResponse) Descriptor() ([]byte, []int)

func (*ListMetricDescriptorsResponse) GetMetricDescriptors

func (m *ListMetricDescriptorsResponse) GetMetricDescriptors() []*metric.MetricDescriptor

func (*ListMetricDescriptorsResponse) GetNextPageToken

func (m *ListMetricDescriptorsResponse) GetNextPageToken() string

func (*ListMetricDescriptorsResponse) ProtoMessage

func (*ListMetricDescriptorsResponse) ProtoMessage()

func (*ListMetricDescriptorsResponse) Reset

func (m *ListMetricDescriptorsResponse) Reset()

func (*ListMetricDescriptorsResponse) String

func (*ListMetricDescriptorsResponse) XXX_DiscardUnknown

func (m *ListMetricDescriptorsResponse) XXX_DiscardUnknown()

func (*ListMetricDescriptorsResponse) XXX_Marshal

func (m *ListMetricDescriptorsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListMetricDescriptorsResponse) XXX_Merge

func (m *ListMetricDescriptorsResponse) XXX_Merge(src proto.Message)

func (*ListMetricDescriptorsResponse) XXX_Size

func (m *ListMetricDescriptorsResponse) XXX_Size() int

func (*ListMetricDescriptorsResponse) XXX_Unmarshal

func (m *ListMetricDescriptorsResponse) XXX_Unmarshal(b []byte) error

type ListMonitoredResourceDescriptorsRequest

type ListMonitoredResourceDescriptorsRequest struct {
	// Required. The project on which to execute the request. The format is:
	//
	//     projects/[PROJECT_ID_OR_NUMBER]
	Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
	// An optional [filter](https://cloud.google.com/monitoring/api/v3/filters)
	// describing the descriptors to be returned.  The filter can reference the
	// descriptor's type and labels. For example, the following filter returns
	// only Google Compute Engine descriptors that have an `id` label:
	//
	//     resource.type = starts_with("gce_") AND resource.label:id
	Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
	// A positive number that is the maximum number of results to return.
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// If this field is not empty then it must contain the `nextPageToken` value
	// returned by a previous call to this method.  Using this field causes the
	// method to return additional results from the previous method call.
	PageToken            string   `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The `ListMonitoredResourceDescriptors` request.

func (*ListMonitoredResourceDescriptorsRequest) Descriptor

func (*ListMonitoredResourceDescriptorsRequest) Descriptor() ([]byte, []int)

func (*ListMonitoredResourceDescriptorsRequest) GetFilter

func (*ListMonitoredResourceDescriptorsRequest) GetName

func (*ListMonitoredResourceDescriptorsRequest) GetPageSize

func (*ListMonitoredResourceDescriptorsRequest) GetPageToken

func (*ListMonitoredResourceDescriptorsRequest) ProtoMessage

func (*ListMonitoredResourceDescriptorsRequest) Reset

func (*ListMonitoredResourceDescriptorsRequest) String

func (*ListMonitoredResourceDescriptorsRequest) XXX_DiscardUnknown

func (m *ListMonitoredResourceDescriptorsRequest) XXX_DiscardUnknown()

func (*ListMonitoredResourceDescriptorsRequest) XXX_Marshal

func (m *ListMonitoredResourceDescriptorsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListMonitoredResourceDescriptorsRequest) XXX_Merge

func (*ListMonitoredResourceDescriptorsRequest) XXX_Size

func (*ListMonitoredResourceDescriptorsRequest) XXX_Unmarshal

func (m *ListMonitoredResourceDescriptorsRequest) XXX_Unmarshal(b []byte) error

type ListMonitoredResourceDescriptorsResponse

type ListMonitoredResourceDescriptorsResponse struct {
	// The monitored resource descriptors that are available to this project
	// and that match `filter`, if present.
	ResourceDescriptors []*monitoredres.MonitoredResourceDescriptor `protobuf:"bytes,1,rep,name=resource_descriptors,json=resourceDescriptors,proto3" json:"resource_descriptors,omitempty"`
	// If there are more results than have been returned, then this field is set
	// to a non-empty value.  To see the additional results,
	// use that value as `page_token` in the next call to this method.
	NextPageToken        string   `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The `ListMonitoredResourceDescriptors` response.

func (*ListMonitoredResourceDescriptorsResponse) Descriptor

func (*ListMonitoredResourceDescriptorsResponse) Descriptor() ([]byte, []int)

func (*ListMonitoredResourceDescriptorsResponse) GetNextPageToken

func (m *ListMonitoredResourceDescriptorsResponse) GetNextPageToken() string

func (*ListMonitoredResourceDescriptorsResponse) GetResourceDescriptors

func (*ListMonitoredResourceDescriptorsResponse) ProtoMessage

func (*ListMonitoredResourceDescriptorsResponse) Reset

func (*ListMonitoredResourceDescriptorsResponse) String

func (*ListMonitoredResourceDescriptorsResponse) XXX_DiscardUnknown

func (m *ListMonitoredResourceDescriptorsResponse) XXX_DiscardUnknown()

func (*ListMonitoredResourceDescriptorsResponse) XXX_Marshal

func (m *ListMonitoredResourceDescriptorsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListMonitoredResourceDescriptorsResponse) XXX_Merge

func (*ListMonitoredResourceDescriptorsResponse) XXX_Size

func (*ListMonitoredResourceDescriptorsResponse) XXX_Unmarshal

func (m *ListMonitoredResourceDescriptorsResponse) XXX_Unmarshal(b []byte) error

type ListNotificationChannelDescriptorsRequest

type ListNotificationChannelDescriptorsRequest struct {
	// Required. The REST resource name of the parent from which to retrieve
	// the notification channel descriptors. The expected syntax is:
	//
	//     projects/[PROJECT_ID_OR_NUMBER]
	//
	// Note that this names the parent container in which to look for the
	// descriptors; to retrieve a single descriptor by name, use the
	// [GetNotificationChannelDescriptor][google.monitoring.v3.NotificationChannelService.GetNotificationChannelDescriptor]
	// operation, instead.
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// The maximum number of results to return in a single response. If
	// not set to a positive number, a reasonable value will be chosen by the
	// service.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// If non-empty, `page_token` must contain a value returned as the
	// `next_page_token` in a previous response to request the next set
	// of results.
	PageToken            string   `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The `ListNotificationChannelDescriptors` request.

func (*ListNotificationChannelDescriptorsRequest) Descriptor

func (*ListNotificationChannelDescriptorsRequest) Descriptor() ([]byte, []int)

func (*ListNotificationChannelDescriptorsRequest) GetName

func (*ListNotificationChannelDescriptorsRequest) GetPageSize

func (*ListNotificationChannelDescriptorsRequest) GetPageToken

func (*ListNotificationChannelDescriptorsRequest) ProtoMessage

func (*ListNotificationChannelDescriptorsRequest) Reset

func (*ListNotificationChannelDescriptorsRequest) String

func (*ListNotificationChannelDescriptorsRequest) XXX_DiscardUnknown

func (m *ListNotificationChannelDescriptorsRequest) XXX_DiscardUnknown()

func (*ListNotificationChannelDescriptorsRequest) XXX_Marshal

func (m *ListNotificationChannelDescriptorsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListNotificationChannelDescriptorsRequest) XXX_Merge

func (*ListNotificationChannelDescriptorsRequest) XXX_Size

func (*ListNotificationChannelDescriptorsRequest) XXX_Unmarshal

type ListNotificationChannelDescriptorsResponse

type ListNotificationChannelDescriptorsResponse struct {
	// The monitored resource descriptors supported for the specified
	// project, optionally filtered.
	ChannelDescriptors []*NotificationChannelDescriptor `protobuf:"bytes,1,rep,name=channel_descriptors,json=channelDescriptors,proto3" json:"channel_descriptors,omitempty"`
	// If not empty, indicates that there may be more results that match
	// the request. Use the value in the `page_token` field in a
	// subsequent request to fetch the next set of results. If empty,
	// all results have been returned.
	NextPageToken        string   `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The `ListNotificationChannelDescriptors` response.

func (*ListNotificationChannelDescriptorsResponse) Descriptor

func (*ListNotificationChannelDescriptorsResponse) GetChannelDescriptors

func (*ListNotificationChannelDescriptorsResponse) GetNextPageToken

func (m *ListNotificationChannelDescriptorsResponse) GetNextPageToken() string

func (*ListNotificationChannelDescriptorsResponse) ProtoMessage

func (*ListNotificationChannelDescriptorsResponse) Reset

func (*ListNotificationChannelDescriptorsResponse) String

func (*ListNotificationChannelDescriptorsResponse) XXX_DiscardUnknown

func (m *ListNotificationChannelDescriptorsResponse) XXX_DiscardUnknown()

func (*ListNotificationChannelDescriptorsResponse) XXX_Marshal

func (m *ListNotificationChannelDescriptorsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListNotificationChannelDescriptorsResponse) XXX_Merge

func (*ListNotificationChannelDescriptorsResponse) XXX_Size

func (*ListNotificationChannelDescriptorsResponse) XXX_Unmarshal

type ListNotificationChannelsRequest

type ListNotificationChannelsRequest struct {
	// Required. The project on which to execute the request. The format is:
	//
	//     projects/[PROJECT_ID_OR_NUMBER]
	//
	// This names the container
	// in which to look for the notification channels; it does not name a
	// specific channel. To query a specific channel by REST resource name, use
	// the
	// [`GetNotificationChannel`][google.monitoring.v3.NotificationChannelService.GetNotificationChannel]
	// operation.
	Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
	// If provided, this field specifies the criteria that must be met by
	// notification channels to be included in the response.
	//
	// For more details, see [sorting and
	// filtering](https://cloud.google.com/monitoring/api/v3/sorting-and-filtering).
	Filter string `protobuf:"bytes,6,opt,name=filter,proto3" json:"filter,omitempty"`
	// A comma-separated list of fields by which to sort the result. Supports
	// the same set of fields as in `filter`. Entries can be prefixed with
	// a minus sign to sort in descending rather than ascending order.
	//
	// For more details, see [sorting and
	// filtering](https://cloud.google.com/monitoring/api/v3/sorting-and-filtering).
	OrderBy string `protobuf:"bytes,7,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// The maximum number of results to return in a single response. If
	// not set to a positive number, a reasonable value will be chosen by the
	// service.
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// If non-empty, `page_token` must contain a value returned as the
	// `next_page_token` in a previous response to request the next set
	// of results.
	PageToken            string   `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The `ListNotificationChannels` request.

func (*ListNotificationChannelsRequest) Descriptor

func (*ListNotificationChannelsRequest) Descriptor() ([]byte, []int)

func (*ListNotificationChannelsRequest) GetFilter

func (m *ListNotificationChannelsRequest) GetFilter() string

func (*ListNotificationChannelsRequest) GetName

func (*ListNotificationChannelsRequest) GetOrderBy

func (m *ListNotificationChannelsRequest) GetOrderBy() string

func (*ListNotificationChannelsRequest) GetPageSize

func (m *ListNotificationChannelsRequest) GetPageSize() int32

func (*ListNotificationChannelsRequest) GetPageToken

func (m *ListNotificationChannelsRequest) GetPageToken() string

func (*ListNotificationChannelsRequest) ProtoMessage

func (*ListNotificationChannelsRequest) ProtoMessage()

func (*ListNotificationChannelsRequest) Reset

func (*ListNotificationChannelsRequest) String

func (*ListNotificationChannelsRequest) XXX_DiscardUnknown

func (m *ListNotificationChannelsRequest) XXX_DiscardUnknown()

func (*ListNotificationChannelsRequest) XXX_Marshal

func (m *ListNotificationChannelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListNotificationChannelsRequest) XXX_Merge

func (m *ListNotificationChannelsRequest) XXX_Merge(src proto.Message)

func (*ListNotificationChannelsRequest) XXX_Size

func (m *ListNotificationChannelsRequest) XXX_Size() int

func (*ListNotificationChannelsRequest) XXX_Unmarshal

func (m *ListNotificationChannelsRequest) XXX_Unmarshal(b []byte) error

type ListNotificationChannelsResponse

type ListNotificationChannelsResponse struct {
	// The notification channels defined for the specified project.
	NotificationChannels []*NotificationChannel `protobuf:"bytes,3,rep,name=notification_channels,json=notificationChannels,proto3" json:"notification_channels,omitempty"`
	// If not empty, indicates that there may be more results that match
	// the request. Use the value in the `page_token` field in a
	// subsequent request to fetch the next set of results. If empty,
	// all results have been returned.
	NextPageToken        string   `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The `ListNotificationChannels` response.

func (*ListNotificationChannelsResponse) Descriptor

func (*ListNotificationChannelsResponse) Descriptor() ([]byte, []int)

func (*ListNotificationChannelsResponse) GetNextPageToken

func (m *ListNotificationChannelsResponse) GetNextPageToken() string

func (*ListNotificationChannelsResponse) GetNotificationChannels

func (m *ListNotificationChannelsResponse) GetNotificationChannels() []*NotificationChannel

func (*ListNotificationChannelsResponse) ProtoMessage

func (*ListNotificationChannelsResponse) ProtoMessage()

func (*ListNotificationChannelsResponse) Reset

func (*ListNotificationChannelsResponse) String

func (*ListNotificationChannelsResponse) XXX_DiscardUnknown

func (m *ListNotificationChannelsResponse) XXX_DiscardUnknown()

func (*ListNotificationChannelsResponse) XXX_Marshal

func (m *ListNotificationChannelsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListNotificationChannelsResponse) XXX_Merge

func (*ListNotificationChannelsResponse) XXX_Size

func (m *ListNotificationChannelsResponse) XXX_Size() int

func (*ListNotificationChannelsResponse) XXX_Unmarshal

func (m *ListNotificationChannelsResponse) XXX_Unmarshal(b []byte) error

type ListServiceLevelObjectivesRequest

type ListServiceLevelObjectivesRequest struct {
	// Required. Resource name of the parent containing the listed SLOs, either a
	// project or a Monitoring Workspace. The formats are:
	//
	//     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
	//     workspaces/[HOST_PROJECT_ID_OR_NUMBER]/services/-
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// A filter specifying what `ServiceLevelObjective`s to return.
	Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
	// A non-negative number that is the maximum number of results to return.
	// When 0, use default page size.
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// If this field is not empty then it must contain the `nextPageToken` value
	// returned by a previous call to this method.  Using this field causes the
	// method to return additional results from the previous method call.
	PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// View of the `ServiceLevelObjective`s to return. If `DEFAULT`, return each
	// `ServiceLevelObjective` as originally defined. If `EXPLICIT` and the
	// `ServiceLevelObjective` is defined in terms of a `BasicSli`, replace the
	// `BasicSli` with a `RequestBasedSli` spelling out how the SLI is computed.
	View                 ServiceLevelObjective_View `protobuf:"varint,5,opt,name=view,proto3,enum=google.monitoring.v3.ServiceLevelObjective_View" json:"view,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

The `ListServiceLevelObjectives` request.

func (*ListServiceLevelObjectivesRequest) Descriptor

func (*ListServiceLevelObjectivesRequest) Descriptor() ([]byte, []int)

func (*ListServiceLevelObjectivesRequest) GetFilter

func (*ListServiceLevelObjectivesRequest) GetPageSize

func (m *ListServiceLevelObjectivesRequest) GetPageSize() int32

func (*ListServiceLevelObjectivesRequest) GetPageToken

func (m *ListServiceLevelObjectivesRequest) GetPageToken() string

func (*ListServiceLevelObjectivesRequest) GetParent

func (*ListServiceLevelObjectivesRequest) GetView

func (*ListServiceLevelObjectivesRequest) ProtoMessage

func (*ListServiceLevelObjectivesRequest) ProtoMessage()

func (*ListServiceLevelObjectivesRequest) Reset

func (*ListServiceLevelObjectivesRequest) String

func (*ListServiceLevelObjectivesRequest) XXX_DiscardUnknown

func (m *ListServiceLevelObjectivesRequest) XXX_DiscardUnknown()

func (*ListServiceLevelObjectivesRequest) XXX_Marshal

func (m *ListServiceLevelObjectivesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListServiceLevelObjectivesRequest) XXX_Merge

func (*ListServiceLevelObjectivesRequest) XXX_Size

func (m *ListServiceLevelObjectivesRequest) XXX_Size() int

func (*ListServiceLevelObjectivesRequest) XXX_Unmarshal

func (m *ListServiceLevelObjectivesRequest) XXX_Unmarshal(b []byte) error

type ListServiceLevelObjectivesResponse

type ListServiceLevelObjectivesResponse struct {
	// The `ServiceLevelObjective`s matching the specified filter.
	ServiceLevelObjectives []*ServiceLevelObjective `` /* 129-byte string literal not displayed */
	// If there are more results than have been returned, then this field is set
	// to a non-empty value.  To see the additional results,
	// use that value as `page_token` in the next call to this method.
	NextPageToken        string   `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The `ListServiceLevelObjectives` response.

func (*ListServiceLevelObjectivesResponse) Descriptor

func (*ListServiceLevelObjectivesResponse) Descriptor() ([]byte, []int)

func (*ListServiceLevelObjectivesResponse) GetNextPageToken

func (m *ListServiceLevelObjectivesResponse) GetNextPageToken() string

func (*ListServiceLevelObjectivesResponse) GetServiceLevelObjectives

func (m *ListServiceLevelObjectivesResponse) GetServiceLevelObjectives() []*ServiceLevelObjective

func (*ListServiceLevelObjectivesResponse) ProtoMessage

func (*ListServiceLevelObjectivesResponse) ProtoMessage()

func (*ListServiceLevelObjectivesResponse) Reset

func (*ListServiceLevelObjectivesResponse) String

func (*ListServiceLevelObjectivesResponse) XXX_DiscardUnknown

func (m *ListServiceLevelObjectivesResponse) XXX_DiscardUnknown()

func (*ListServiceLevelObjectivesResponse) XXX_Marshal

func (m *ListServiceLevelObjectivesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListServiceLevelObjectivesResponse) XXX_Merge

func (*ListServiceLevelObjectivesResponse) XXX_Size

func (*ListServiceLevelObjectivesResponse) XXX_Unmarshal

func (m *ListServiceLevelObjectivesResponse) XXX_Unmarshal(b []byte) error

type ListServicesRequest

type ListServicesRequest struct {
	// Required. Resource name of the parent containing the listed services, either a
	// project or a Monitoring Workspace. The formats are:
	//
	//     projects/[PROJECT_ID_OR_NUMBER]
	//     workspaces/[HOST_PROJECT_ID_OR_NUMBER]
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// A filter specifying what `Service`s to return. The filter currently
	// supports the following fields:
	//
	//     - `identifier_case`
	//     - `app_engine.module_id`
	//     - `cloud_endpoints.service`
	//     - `cluster_istio.location`
	//     - `cluster_istio.cluster_name`
	//     - `cluster_istio.service_namespace`
	//     - `cluster_istio.service_name`
	//
	// `identifier_case` refers to which option in the identifier oneof is
	// populated. For example, the filter `identifier_case = "CUSTOM"` would match
	// all services with a value for the `custom` field. Valid options are
	// "CUSTOM", "APP_ENGINE", "CLOUD_ENDPOINTS", and "CLUSTER_ISTIO".
	Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
	// A non-negative number that is the maximum number of results to return.
	// When 0, use default page size.
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// If this field is not empty then it must contain the `nextPageToken` value
	// returned by a previous call to this method.  Using this field causes the
	// method to return additional results from the previous method call.
	PageToken            string   `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The `ListServices` request.

func (*ListServicesRequest) Descriptor

func (*ListServicesRequest) Descriptor() ([]byte, []int)

func (*ListServicesRequest) GetFilter

func (m *ListServicesRequest) GetFilter() string

func (*ListServicesRequest) GetPageSize

func (m *ListServicesRequest) GetPageSize() int32

func (*ListServicesRequest) GetPageToken

func (m *ListServicesRequest) GetPageToken() string

func (*ListServicesRequest) GetParent

func (m *ListServicesRequest) GetParent() string

func (*ListServicesRequest) ProtoMessage

func (*ListServicesRequest) ProtoMessage()

func (*ListServicesRequest) Reset

func (m *ListServicesRequest) Reset()

func (*ListServicesRequest) String

func (m *ListServicesRequest) String() string

func (*ListServicesRequest) XXX_DiscardUnknown

func (m *ListServicesRequest) XXX_DiscardUnknown()

func (*ListServicesRequest) XXX_Marshal

func (m *ListServicesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListServicesRequest) XXX_Merge

func (m *ListServicesRequest) XXX_Merge(src proto.Message)

func (*ListServicesRequest) XXX_Size

func (m *ListServicesRequest) XXX_Size() int

func (*ListServicesRequest) XXX_Unmarshal

func (m *ListServicesRequest) XXX_Unmarshal(b []byte) error

type ListServicesResponse

type ListServicesResponse struct {
	// The `Service`s matching the specified filter.
	Services []*Service `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"`
	// If there are more results than have been returned, then this field is set
	// to a non-empty value.  To see the additional results,
	// use that value as `page_token` in the next call to this method.
	NextPageToken        string   `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The `ListServices` response.

func (*ListServicesResponse) Descriptor

func (*ListServicesResponse) Descriptor() ([]byte, []int)

func (*ListServicesResponse) GetNextPageToken

func (m *ListServicesResponse) GetNextPageToken() string

func (*ListServicesResponse) GetServices

func (m *ListServicesResponse) GetServices() []*Service

func (*ListServicesResponse) ProtoMessage

func (*ListServicesResponse) ProtoMessage()

func (*ListServicesResponse) Reset

func (m *ListServicesResponse) Reset()

func (*ListServicesResponse) String

func (m *ListServicesResponse) String() string

func (*ListServicesResponse) XXX_DiscardUnknown

func (m *ListServicesResponse) XXX_DiscardUnknown()

func (*ListServicesResponse) XXX_Marshal

func (m *ListServicesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListServicesResponse) XXX_Merge

func (m *ListServicesResponse) XXX_Merge(src proto.Message)

func (*ListServicesResponse) XXX_Size

func (m *ListServicesResponse) XXX_Size() int

func (*ListServicesResponse) XXX_Unmarshal

func (m *ListServicesResponse) XXX_Unmarshal(b []byte) error

type ListTimeSeriesRequest

type ListTimeSeriesRequest struct {
	// Required. The project on which to execute the request. The format is:
	//
	//     projects/[PROJECT_ID_OR_NUMBER]
	Name string `protobuf:"bytes,10,opt,name=name,proto3" json:"name,omitempty"`
	// Required. A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
	// that specifies which time series should be returned.  The filter must
	// specify a single metric type, and can additionally specify metric labels
	// and other information. For example:
	//
	//     metric.type = "compute.googleapis.com/instance/cpu/usage_time" AND
	//         metric.labels.instance_name = "my-instance-name"
	Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
	// Required. The time interval for which results should be returned. Only time series
	// that contain data points in the specified interval are included
	// in the response.
	Interval *TimeInterval `protobuf:"bytes,4,opt,name=interval,proto3" json:"interval,omitempty"`
	// Specifies the alignment of data points in individual time series as
	// well as how to combine the retrieved time series across specified labels.
	//
	// By default (if no `aggregation` is explicitly specified), the raw time
	// series data is returned.
	Aggregation *Aggregation `protobuf:"bytes,5,opt,name=aggregation,proto3" json:"aggregation,omitempty"`
	// Unsupported: must be left blank. The points in each time series are
	// currently returned in reverse time order (most recent to oldest).
	OrderBy string `protobuf:"bytes,6,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// Required. Specifies which information is returned about the time series.
	View ListTimeSeriesRequest_TimeSeriesView `protobuf:"varint,7,opt,name=view,proto3,enum=google.monitoring.v3.ListTimeSeriesRequest_TimeSeriesView" json:"view,omitempty"`
	// A positive number that is the maximum number of results to return. If
	// `page_size` is empty or more than 100,000 results, the effective
	// `page_size` is 100,000 results. If `view` is set to `FULL`, this is the
	// maximum number of `Points` returned. If `view` is set to `HEADERS`, this is
	// the maximum number of `TimeSeries` returned.
	PageSize int32 `protobuf:"varint,8,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// If this field is not empty then it must contain the `nextPageToken` value
	// returned by a previous call to this method.  Using this field causes the
	// method to return additional results from the previous method call.
	PageToken            string   `protobuf:"bytes,9,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The `ListTimeSeries` request.

func (*ListTimeSeriesRequest) Descriptor

func (*ListTimeSeriesRequest) Descriptor() ([]byte, []int)

func (*ListTimeSeriesRequest) GetAggregation

func (m *ListTimeSeriesRequest) GetAggregation() *Aggregation

func (*ListTimeSeriesRequest) GetFilter

func (m *ListTimeSeriesRequest) GetFilter() string

func (*ListTimeSeriesRequest) GetInterval

func (m *ListTimeSeriesRequest) GetInterval() *TimeInterval

func (*ListTimeSeriesRequest) GetName

func (m *ListTimeSeriesRequest) GetName() string

func (*ListTimeSeriesRequest) GetOrderBy

func (m *ListTimeSeriesRequest) GetOrderBy() string

func (*ListTimeSeriesRequest) GetPageSize

func (m *ListTimeSeriesRequest) GetPageSize() int32

func (*ListTimeSeriesRequest) GetPageToken

func (m *ListTimeSeriesRequest) GetPageToken() string

func (*ListTimeSeriesRequest) GetView

func (*ListTimeSeriesRequest) ProtoMessage

func (*ListTimeSeriesRequest) ProtoMessage()

func (*ListTimeSeriesRequest) Reset

func (m *ListTimeSeriesRequest) Reset()

func (*ListTimeSeriesRequest) String

func (m *ListTimeSeriesRequest) String() string

func (*ListTimeSeriesRequest) XXX_DiscardUnknown

func (m *ListTimeSeriesRequest) XXX_DiscardUnknown()

func (*ListTimeSeriesRequest) XXX_Marshal

func (m *ListTimeSeriesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListTimeSeriesRequest) XXX_Merge

func (m *ListTimeSeriesRequest) XXX_Merge(src proto.Message)

func (*ListTimeSeriesRequest) XXX_Size

func (m *ListTimeSeriesRequest) XXX_Size() int

func (*ListTimeSeriesRequest) XXX_Unmarshal

func (m *ListTimeSeriesRequest) XXX_Unmarshal(b []byte) error

type ListTimeSeriesRequest_TimeSeriesView

type ListTimeSeriesRequest_TimeSeriesView int32

Controls which fields are returned by `ListTimeSeries`.

const (
	// Returns the identity of the metric(s), the time series,
	// and the time series data.
	ListTimeSeriesRequest_FULL ListTimeSeriesRequest_TimeSeriesView = 0
	// Returns the identity of the metric and the time series resource,
	// but not the time series data.
	ListTimeSeriesRequest_HEADERS ListTimeSeriesRequest_TimeSeriesView = 1
)

func (ListTimeSeriesRequest_TimeSeriesView) EnumDescriptor

func (ListTimeSeriesRequest_TimeSeriesView) EnumDescriptor() ([]byte, []int)

func (ListTimeSeriesRequest_TimeSeriesView) String

type ListTimeSeriesResponse

type ListTimeSeriesResponse struct {
	// One or more time series that match the filter included in the request.
	TimeSeries []*TimeSeries `protobuf:"bytes,1,rep,name=time_series,json=timeSeries,proto3" json:"time_series,omitempty"`
	// If there are more results than have been returned, then this field is set
	// to a non-empty value.  To see the additional results,
	// use that value as `page_token` in the next call to this method.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// Query execution errors that may have caused the time series data returned
	// to be incomplete.
	ExecutionErrors      []*status.Status `protobuf:"bytes,3,rep,name=execution_errors,json=executionErrors,proto3" json:"execution_errors,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

The `ListTimeSeries` response.

func (*ListTimeSeriesResponse) Descriptor

func (*ListTimeSeriesResponse) Descriptor() ([]byte, []int)

func (*ListTimeSeriesResponse) GetExecutionErrors

func (m *ListTimeSeriesResponse) GetExecutionErrors() []*status.Status

func (*ListTimeSeriesResponse) GetNextPageToken

func (m *ListTimeSeriesResponse) GetNextPageToken() string

func (*ListTimeSeriesResponse) GetTimeSeries

func (m *ListTimeSeriesResponse) GetTimeSeries() []*TimeSeries

func (*ListTimeSeriesResponse) ProtoMessage

func (*ListTimeSeriesResponse) ProtoMessage()

func (*ListTimeSeriesResponse) Reset

func (m *ListTimeSeriesResponse) Reset()

func (*ListTimeSeriesResponse) String

func (m *ListTimeSeriesResponse) String() string

func (*ListTimeSeriesResponse) XXX_DiscardUnknown

func (m *ListTimeSeriesResponse) XXX_DiscardUnknown()

func (*ListTimeSeriesResponse) XXX_Marshal

func (m *ListTimeSeriesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListTimeSeriesResponse) XXX_Merge

func (m *ListTimeSeriesResponse) XXX_Merge(src proto.Message)

func (*ListTimeSeriesResponse) XXX_Size

func (m *ListTimeSeriesResponse) XXX_Size() int

func (*ListTimeSeriesResponse) XXX_Unmarshal

func (m *ListTimeSeriesResponse) XXX_Unmarshal(b []byte) error

type ListUptimeCheckConfigsRequest

type ListUptimeCheckConfigsRequest struct {
	// Required. The project whose Uptime check configurations are listed. The format is:
	//
	//     projects/[PROJECT_ID_OR_NUMBER]
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The maximum number of results to return in a single response. The server
	// may further constrain the maximum number of results returned in a single
	// page. If the page_size is <=0, the server will decide the number of results
	// to be returned.
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// If this field is not empty then it must contain the `nextPageToken` value
	// returned by a previous call to this method.  Using this field causes the
	// method to return more results from the previous method call.
	PageToken            string   `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The protocol for the `ListUptimeCheckConfigs` request.

func (*ListUptimeCheckConfigsRequest) Descriptor

func (*ListUptimeCheckConfigsRequest) Descriptor() ([]byte, []int)

func (*ListUptimeCheckConfigsRequest) GetPageSize

func (m *ListUptimeCheckConfigsRequest) GetPageSize() int32

func (*ListUptimeCheckConfigsRequest) GetPageToken

func (m *ListUptimeCheckConfigsRequest) GetPageToken() string

func (*ListUptimeCheckConfigsRequest) GetParent

func (m *ListUptimeCheckConfigsRequest) GetParent() string

func (*ListUptimeCheckConfigsRequest) ProtoMessage

func (*ListUptimeCheckConfigsRequest) ProtoMessage()

func (*ListUptimeCheckConfigsRequest) Reset

func (m *ListUptimeCheckConfigsRequest) Reset()

func (*ListUptimeCheckConfigsRequest) String

func (*ListUptimeCheckConfigsRequest) XXX_DiscardUnknown

func (m *ListUptimeCheckConfigsRequest) XXX_DiscardUnknown()

func (*ListUptimeCheckConfigsRequest) XXX_Marshal

func (m *ListUptimeCheckConfigsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListUptimeCheckConfigsRequest) XXX_Merge

func (m *ListUptimeCheckConfigsRequest) XXX_Merge(src proto.Message)

func (*ListUptimeCheckConfigsRequest) XXX_Size

func (m *ListUptimeCheckConfigsRequest) XXX_Size() int

func (*ListUptimeCheckConfigsRequest) XXX_Unmarshal

func (m *ListUptimeCheckConfigsRequest) XXX_Unmarshal(b []byte) error

type ListUptimeCheckConfigsResponse

type ListUptimeCheckConfigsResponse struct {
	// The returned Uptime check configurations.
	UptimeCheckConfigs []*UptimeCheckConfig `protobuf:"bytes,1,rep,name=uptime_check_configs,json=uptimeCheckConfigs,proto3" json:"uptime_check_configs,omitempty"`
	// This field represents the pagination token to retrieve the next page of
	// results. If the value is empty, it means no further results for the
	// request. To retrieve the next page of results, the value of the
	// next_page_token is passed to the subsequent List method call (in the
	// request message's page_token field).
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// The total number of Uptime check configurations for the project,
	// irrespective of any pagination.
	TotalSize            int32    `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The protocol for the `ListUptimeCheckConfigs` response.

func (*ListUptimeCheckConfigsResponse) Descriptor

func (*ListUptimeCheckConfigsResponse) Descriptor() ([]byte, []int)

func (*ListUptimeCheckConfigsResponse) GetNextPageToken

func (m *ListUptimeCheckConfigsResponse) GetNextPageToken() string

func (*ListUptimeCheckConfigsResponse) GetTotalSize

func (m *ListUptimeCheckConfigsResponse) GetTotalSize() int32

func (*ListUptimeCheckConfigsResponse) GetUptimeCheckConfigs

func (m *ListUptimeCheckConfigsResponse) GetUptimeCheckConfigs() []*UptimeCheckConfig

func (*ListUptimeCheckConfigsResponse) ProtoMessage

func (*ListUptimeCheckConfigsResponse) ProtoMessage()

func (*ListUptimeCheckConfigsResponse) Reset

func (m *ListUptimeCheckConfigsResponse) Reset()

func (*ListUptimeCheckConfigsResponse) String

func (*ListUptimeCheckConfigsResponse) XXX_DiscardUnknown

func (m *ListUptimeCheckConfigsResponse) XXX_DiscardUnknown()

func (*ListUptimeCheckConfigsResponse) XXX_Marshal

func (m *ListUptimeCheckConfigsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListUptimeCheckConfigsResponse) XXX_Merge

func (m *ListUptimeCheckConfigsResponse) XXX_Merge(src proto.Message)

func (*ListUptimeCheckConfigsResponse) XXX_Size

func (m *ListUptimeCheckConfigsResponse) XXX_Size() int

func (*ListUptimeCheckConfigsResponse) XXX_Unmarshal

func (m *ListUptimeCheckConfigsResponse) XXX_Unmarshal(b []byte) error

type ListUptimeCheckIpsRequest

type ListUptimeCheckIpsRequest struct {
	// The maximum number of results to return in a single response. The server
	// may further constrain the maximum number of results returned in a single
	// page. If the page_size is <=0, the server will decide the number of results
	// to be returned.
	// NOTE: this field is not yet implemented
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// If this field is not empty then it must contain the `nextPageToken` value
	// returned by a previous call to this method.  Using this field causes the
	// method to return more results from the previous method call.
	// NOTE: this field is not yet implemented
	PageToken            string   `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The protocol for the `ListUptimeCheckIps` request.

func (*ListUptimeCheckIpsRequest) Descriptor

func (*ListUptimeCheckIpsRequest) Descriptor() ([]byte, []int)

func (*ListUptimeCheckIpsRequest) GetPageSize

func (m *ListUptimeCheckIpsRequest) GetPageSize() int32

func (*ListUptimeCheckIpsRequest) GetPageToken

func (m *ListUptimeCheckIpsRequest) GetPageToken() string

func (*ListUptimeCheckIpsRequest) ProtoMessage

func (*ListUptimeCheckIpsRequest) ProtoMessage()

func (*ListUptimeCheckIpsRequest) Reset

func (m *ListUptimeCheckIpsRequest) Reset()

func (*ListUptimeCheckIpsRequest) String

func (m *ListUptimeCheckIpsRequest) String() string

func (*ListUptimeCheckIpsRequest) XXX_DiscardUnknown

func (m *ListUptimeCheckIpsRequest) XXX_DiscardUnknown()

func (*ListUptimeCheckIpsRequest) XXX_Marshal

func (m *ListUptimeCheckIpsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListUptimeCheckIpsRequest) XXX_Merge

func (m *ListUptimeCheckIpsRequest) XXX_Merge(src proto.Message)

func (*ListUptimeCheckIpsRequest) XXX_Size

func (m *ListUptimeCheckIpsRequest) XXX_Size() int

func (*ListUptimeCheckIpsRequest) XXX_Unmarshal

func (m *ListUptimeCheckIpsRequest) XXX_Unmarshal(b []byte) error

type ListUptimeCheckIpsResponse

type ListUptimeCheckIpsResponse struct {
	// The returned list of IP addresses (including region and location) that the
	// checkers run from.
	UptimeCheckIps []*UptimeCheckIp `protobuf:"bytes,1,rep,name=uptime_check_ips,json=uptimeCheckIps,proto3" json:"uptime_check_ips,omitempty"`
	// This field represents the pagination token to retrieve the next page of
	// results. If the value is empty, it means no further results for the
	// request. To retrieve the next page of results, the value of the
	// next_page_token is passed to the subsequent List method call (in the
	// request message's page_token field).
	// NOTE: this field is not yet implemented
	NextPageToken        string   `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The protocol for the `ListUptimeCheckIps` response.

func (*ListUptimeCheckIpsResponse) Descriptor

func (*ListUptimeCheckIpsResponse) Descriptor() ([]byte, []int)

func (*ListUptimeCheckIpsResponse) GetNextPageToken

func (m *ListUptimeCheckIpsResponse) GetNextPageToken() string

func (*ListUptimeCheckIpsResponse) GetUptimeCheckIps

func (m *ListUptimeCheckIpsResponse) GetUptimeCheckIps() []*UptimeCheckIp

func (*ListUptimeCheckIpsResponse) ProtoMessage

func (*ListUptimeCheckIpsResponse) ProtoMessage()

func (*ListUptimeCheckIpsResponse) Reset

func (m *ListUptimeCheckIpsResponse) Reset()

func (*ListUptimeCheckIpsResponse) String

func (m *ListUptimeCheckIpsResponse) String() string

func (*ListUptimeCheckIpsResponse) XXX_DiscardUnknown

func (m *ListUptimeCheckIpsResponse) XXX_DiscardUnknown()

func (*ListUptimeCheckIpsResponse) XXX_Marshal

func (m *ListUptimeCheckIpsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListUptimeCheckIpsResponse) XXX_Merge

func (m *ListUptimeCheckIpsResponse) XXX_Merge(src proto.Message)

func (*ListUptimeCheckIpsResponse) XXX_Size

func (m *ListUptimeCheckIpsResponse) XXX_Size() int

func (*ListUptimeCheckIpsResponse) XXX_Unmarshal

func (m *ListUptimeCheckIpsResponse) XXX_Unmarshal(b []byte) error

type MetricServiceClient

type MetricServiceClient interface {
	// Lists monitored resource descriptors that match a filter. This method does not require a Workspace.
	ListMonitoredResourceDescriptors(ctx context.Context, in *ListMonitoredResourceDescriptorsRequest, opts ...grpc.CallOption) (*ListMonitoredResourceDescriptorsResponse, error)
	// Gets a single monitored resource descriptor. This method does not require a Workspace.
	GetMonitoredResourceDescriptor(ctx context.Context, in *GetMonitoredResourceDescriptorRequest, opts ...grpc.CallOption) (*monitoredres.MonitoredResourceDescriptor, error)
	// Lists metric descriptors that match a filter. This method does not require a Workspace.
	ListMetricDescriptors(ctx context.Context, in *ListMetricDescriptorsRequest, opts ...grpc.CallOption) (*ListMetricDescriptorsResponse, error)
	// Gets a single metric descriptor. This method does not require a Workspace.
	GetMetricDescriptor(ctx context.Context, in *GetMetricDescriptorRequest, opts ...grpc.CallOption) (*metric.MetricDescriptor, error)
	// Creates a new metric descriptor.
	// User-created metric descriptors define
	// [custom metrics](https://cloud.google.com/monitoring/custom-metrics).
	CreateMetricDescriptor(ctx context.Context, in *CreateMetricDescriptorRequest, opts ...grpc.CallOption) (*metric.MetricDescriptor, error)
	// Deletes a metric descriptor. Only user-created
	// [custom metrics](https://cloud.google.com/monitoring/custom-metrics) can be
	// deleted.
	DeleteMetricDescriptor(ctx context.Context, in *DeleteMetricDescriptorRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// Lists time series that match a filter. This method does not require a Workspace.
	ListTimeSeries(ctx context.Context, in *ListTimeSeriesRequest, opts ...grpc.CallOption) (*ListTimeSeriesResponse, error)
	// Creates or adds data to one or more time series.
	// The response is empty if all time series in the request were written.
	// If any time series could not be written, a corresponding failure message is
	// included in the error response.
	CreateTimeSeries(ctx context.Context, in *CreateTimeSeriesRequest, opts ...grpc.CallOption) (*empty.Empty, error)
}

MetricServiceClient is the client API for MetricService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type MetricServiceServer

type MetricServiceServer interface {
	// Lists monitored resource descriptors that match a filter. This method does not require a Workspace.
	ListMonitoredResourceDescriptors(context.Context, *ListMonitoredResourceDescriptorsRequest) (*ListMonitoredResourceDescriptorsResponse, error)
	// Gets a single monitored resource descriptor. This method does not require a Workspace.
	GetMonitoredResourceDescriptor(context.Context, *GetMonitoredResourceDescriptorRequest) (*monitoredres.MonitoredResourceDescriptor, error)
	// Lists metric descriptors that match a filter. This method does not require a Workspace.
	ListMetricDescriptors(context.Context, *ListMetricDescriptorsRequest) (*ListMetricDescriptorsResponse, error)
	// Gets a single metric descriptor. This method does not require a Workspace.
	GetMetricDescriptor(context.Context, *GetMetricDescriptorRequest) (*metric.MetricDescriptor, error)
	// Creates a new metric descriptor.
	// User-created metric descriptors define
	// [custom metrics](https://cloud.google.com/monitoring/custom-metrics).
	CreateMetricDescriptor(context.Context, *CreateMetricDescriptorRequest) (*metric.MetricDescriptor, error)
	// Deletes a metric descriptor. Only user-created
	// [custom metrics](https://cloud.google.com/monitoring/custom-metrics) can be
	// deleted.
	DeleteMetricDescriptor(context.Context, *DeleteMetricDescriptorRequest) (*empty.Empty, error)
	// Lists time series that match a filter. This method does not require a Workspace.
	ListTimeSeries(context.Context, *ListTimeSeriesRequest) (*ListTimeSeriesResponse, error)
	// Creates or adds data to one or more time series.
	// The response is empty if all time series in the request were written.
	// If any time series could not be written, a corresponding failure message is
	// included in the error response.
	CreateTimeSeries(context.Context, *CreateTimeSeriesRequest) (*empty.Empty, error)
}

MetricServiceServer is the server API for MetricService service.

type MutationRecord

type MutationRecord struct {
	// When the change occurred.
	MutateTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=mutate_time,json=mutateTime,proto3" json:"mutate_time,omitempty"`
	// The email address of the user making the change.
	MutatedBy            string   `protobuf:"bytes,2,opt,name=mutated_by,json=mutatedBy,proto3" json:"mutated_by,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Describes a change made to a configuration.

func (*MutationRecord) Descriptor

func (*MutationRecord) Descriptor() ([]byte, []int)

func (*MutationRecord) GetMutateTime

func (m *MutationRecord) GetMutateTime() *timestamp.Timestamp

func (*MutationRecord) GetMutatedBy

func (m *MutationRecord) GetMutatedBy() string

func (*MutationRecord) ProtoMessage

func (*MutationRecord) ProtoMessage()

func (*MutationRecord) Reset

func (m *MutationRecord) Reset()

func (*MutationRecord) String

func (m *MutationRecord) String() string

func (*MutationRecord) XXX_DiscardUnknown

func (m *MutationRecord) XXX_DiscardUnknown()

func (*MutationRecord) XXX_Marshal

func (m *MutationRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MutationRecord) XXX_Merge

func (m *MutationRecord) XXX_Merge(src proto.Message)

func (*MutationRecord) XXX_Size

func (m *MutationRecord) XXX_Size() int

func (*MutationRecord) XXX_Unmarshal

func (m *MutationRecord) XXX_Unmarshal(b []byte) error

type NotificationChannel

type NotificationChannel struct {
	// The type of the notification channel. This field matches the
	// value of the [NotificationChannelDescriptor.type][google.monitoring.v3.NotificationChannelDescriptor.type] field.
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// The full REST resource name for this channel. The format is:
	//
	//     projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
	//
	// The `[CHANNEL_ID]` is automatically assigned by the server on creation.
	Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	// An optional human-readable name for this notification channel. It is
	// recommended that you specify a non-empty and unique name in order to
	// make it easier to identify the channels in your project, though this is
	// not enforced. The display name is limited to 512 Unicode characters.
	DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// An optional human-readable description of this notification channel. This
	// description may provide additional details, beyond the display
	// name, for the channel. This may not exceed 1024 Unicode characters.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// Configuration fields that define the channel and its behavior. The
	// permissible and required labels are specified in the
	// [NotificationChannelDescriptor.labels][google.monitoring.v3.NotificationChannelDescriptor.labels] of the
	// `NotificationChannelDescriptor` corresponding to the `type` field.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// User-supplied key/value data that does not need to conform to
	// the corresponding `NotificationChannelDescriptor`'s schema, unlike
	// the `labels` field. This field is intended to be used for organizing
	// and identifying the `NotificationChannel` objects.
	//
	// The field can contain up to 64 entries. Each key and value is limited to
	// 63 Unicode characters or 128 bytes, whichever is smaller. Labels and
	// values can contain only lowercase letters, numerals, underscores, and
	// dashes. Keys must begin with a letter.
	UserLabels map[string]string `` /* 179-byte string literal not displayed */
	// Indicates whether this channel has been verified or not. On a
	// [`ListNotificationChannels`][google.monitoring.v3.NotificationChannelService.ListNotificationChannels]
	// or
	// [`GetNotificationChannel`][google.monitoring.v3.NotificationChannelService.GetNotificationChannel]
	// operation, this field is expected to be populated.
	//
	// If the value is `UNVERIFIED`, then it indicates that the channel is
	// non-functioning (it both requires verification and lacks verification);
	// otherwise, it is assumed that the channel works.
	//
	// If the channel is neither `VERIFIED` nor `UNVERIFIED`, it implies that
	// the channel is of a type that does not require verification or that
	// this specific channel has been exempted from verification because it was
	// created prior to verification being required for channels of this type.
	//
	// This field cannot be modified using a standard
	// [`UpdateNotificationChannel`][google.monitoring.v3.NotificationChannelService.UpdateNotificationChannel]
	// operation. To change the value of this field, you must call
	// [`VerifyNotificationChannel`][google.monitoring.v3.NotificationChannelService.VerifyNotificationChannel].
	VerificationStatus NotificationChannel_VerificationStatus `` /* 181-byte string literal not displayed */
	// Whether notifications are forwarded to the described channel. This makes
	// it possible to disable delivery of notifications to a particular channel
	// without removing the channel from all alerting policies that reference
	// the channel. This is a more convenient approach when the change is
	// temporary and you want to receive notifications from the same set
	// of alerting policies on the channel at some point in the future.
	Enabled              *wrappers.BoolValue `protobuf:"bytes,11,opt,name=enabled,proto3" json:"enabled,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

A `NotificationChannel` is a medium through which an alert is delivered when a policy violation is detected. Examples of channels include email, SMS, and third-party messaging applications. Fields containing sensitive information like authentication tokens or contact info are only partially populated on retrieval.

func (*NotificationChannel) Descriptor

func (*NotificationChannel) Descriptor() ([]byte, []int)

func (*NotificationChannel) GetDescription

func (m *NotificationChannel) GetDescription() string

func (*NotificationChannel) GetDisplayName

func (m *NotificationChannel) GetDisplayName() string

func (*NotificationChannel) GetEnabled

func (m *NotificationChannel) GetEnabled() *wrappers.BoolValue

func (*NotificationChannel) GetLabels

func (m *NotificationChannel) GetLabels() map[string]string

func (*NotificationChannel) GetName

func (m *NotificationChannel) GetName() string

func (*NotificationChannel) GetType

func (m *NotificationChannel) GetType() string

func (*NotificationChannel) GetUserLabels

func (m *NotificationChannel) GetUserLabels() map[string]string

func (*NotificationChannel) GetVerificationStatus

func (*NotificationChannel) ProtoMessage

func (*NotificationChannel) ProtoMessage()

func (*NotificationChannel) Reset

func (m *NotificationChannel) Reset()

func (*NotificationChannel) String

func (m *NotificationChannel) String() string

func (*NotificationChannel) XXX_DiscardUnknown

func (m *NotificationChannel) XXX_DiscardUnknown()

func (*NotificationChannel) XXX_Marshal

func (m *NotificationChannel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NotificationChannel) XXX_Merge

func (m *NotificationChannel) XXX_Merge(src proto.Message)

func (*NotificationChannel) XXX_Size

func (m *NotificationChannel) XXX_Size() int

func (*NotificationChannel) XXX_Unmarshal

func (m *NotificationChannel) XXX_Unmarshal(b []byte) error

type NotificationChannelDescriptor

type NotificationChannelDescriptor struct {
	// The full REST resource name for this descriptor. The format is:
	//
	//     projects/[PROJECT_ID_OR_NUMBER]/notificationChannelDescriptors/[TYPE]
	//
	// In the above, `[TYPE]` is the value of the `type` field.
	Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	// The type of notification channel, such as "email", "sms", etc.
	// Notification channel types are globally unique.
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// A human-readable name for the notification channel type.  This
	// form of the name is suitable for a user interface.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// A human-readable description of the notification channel
	// type. The description may include a description of the properties
	// of the channel and pointers to external documentation.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// The set of labels that must be defined to identify a particular
	// channel of the corresponding type. Each label includes a
	// description for how that field should be populated.
	Labels []*label.LabelDescriptor `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty"`
	// The tiers that support this notification channel; the project service tier
	// must be one of the supported_tiers.
	SupportedTiers []ServiceTier `` // Deprecated: Do not use.
	/* 149-byte string literal not displayed */
	// The product launch stage for channels of this type.
	LaunchStage          api.LaunchStage `protobuf:"varint,7,opt,name=launch_stage,json=launchStage,proto3,enum=google.api.LaunchStage" json:"launch_stage,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

A description of a notification channel. The descriptor includes the properties of the channel and the set of labels or fields that must be specified to configure channels of a given type.

func (*NotificationChannelDescriptor) Descriptor

func (*NotificationChannelDescriptor) Descriptor() ([]byte, []int)

func (*NotificationChannelDescriptor) GetDescription

func (m *NotificationChannelDescriptor) GetDescription() string

func (*NotificationChannelDescriptor) GetDisplayName

func (m *NotificationChannelDescriptor) GetDisplayName() string

func (*NotificationChannelDescriptor) GetLabels

func (*NotificationChannelDescriptor) GetLaunchStage

func (m *NotificationChannelDescriptor) GetLaunchStage() api.LaunchStage

func (*NotificationChannelDescriptor) GetName

func (*NotificationChannelDescriptor) GetSupportedTiers deprecated

func (m *NotificationChannelDescriptor) GetSupportedTiers() []ServiceTier

Deprecated: Do not use.

func (*NotificationChannelDescriptor) GetType

func (*NotificationChannelDescriptor) ProtoMessage

func (*NotificationChannelDescriptor) ProtoMessage()

func (*NotificationChannelDescriptor) Reset

func (m *NotificationChannelDescriptor) Reset()

func (*NotificationChannelDescriptor) String

func (*NotificationChannelDescriptor) XXX_DiscardUnknown

func (m *NotificationChannelDescriptor) XXX_DiscardUnknown()

func (*NotificationChannelDescriptor) XXX_Marshal

func (m *NotificationChannelDescriptor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NotificationChannelDescriptor) XXX_Merge

func (m *NotificationChannelDescriptor) XXX_Merge(src proto.Message)

func (*NotificationChannelDescriptor) XXX_Size

func (m *NotificationChannelDescriptor) XXX_Size() int

func (*NotificationChannelDescriptor) XXX_Unmarshal

func (m *NotificationChannelDescriptor) XXX_Unmarshal(b []byte) error

type NotificationChannelServiceClient

type NotificationChannelServiceClient interface {
	// Lists the descriptors for supported channel types. The use of descriptors
	// makes it possible for new channel types to be dynamically added.
	ListNotificationChannelDescriptors(ctx context.Context, in *ListNotificationChannelDescriptorsRequest, opts ...grpc.CallOption) (*ListNotificationChannelDescriptorsResponse, error)
	// Gets a single channel descriptor. The descriptor indicates which fields
	// are expected / permitted for a notification channel of the given type.
	GetNotificationChannelDescriptor(ctx context.Context, in *GetNotificationChannelDescriptorRequest, opts ...grpc.CallOption) (*NotificationChannelDescriptor, error)
	// Lists the notification channels that have been created for the project.
	ListNotificationChannels(ctx context.Context, in *ListNotificationChannelsRequest, opts ...grpc.CallOption) (*ListNotificationChannelsResponse, error)
	// Gets a single notification channel. The channel includes the relevant
	// configuration details with which the channel was created. However, the
	// response may truncate or omit passwords, API keys, or other private key
	// matter and thus the response may not be 100% identical to the information
	// that was supplied in the call to the create method.
	GetNotificationChannel(ctx context.Context, in *GetNotificationChannelRequest, opts ...grpc.CallOption) (*NotificationChannel, error)
	// Creates a new notification channel, representing a single notification
	// endpoint such as an email address, SMS number, or PagerDuty service.
	CreateNotificationChannel(ctx context.Context, in *CreateNotificationChannelRequest, opts ...grpc.CallOption) (*NotificationChannel, error)
	// Updates a notification channel. Fields not specified in the field mask
	// remain unchanged.
	UpdateNotificationChannel(ctx context.Context, in *UpdateNotificationChannelRequest, opts ...grpc.CallOption) (*NotificationChannel, error)
	// Deletes a notification channel.
	DeleteNotificationChannel(ctx context.Context, in *DeleteNotificationChannelRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// Causes a verification code to be delivered to the channel. The code
	// can then be supplied in `VerifyNotificationChannel` to verify the channel.
	SendNotificationChannelVerificationCode(ctx context.Context, in *SendNotificationChannelVerificationCodeRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// Requests a verification code for an already verified channel that can then
	// be used in a call to VerifyNotificationChannel() on a different channel
	// with an equivalent identity in the same or in a different project. This
	// makes it possible to copy a channel between projects without requiring
	// manual reverification of the channel. If the channel is not in the
	// verified state, this method will fail (in other words, this may only be
	// used if the SendNotificationChannelVerificationCode and
	// VerifyNotificationChannel paths have already been used to put the given
	// channel into the verified state).
	//
	// There is no guarantee that the verification codes returned by this method
	// will be of a similar structure or form as the ones that are delivered
	// to the channel via SendNotificationChannelVerificationCode; while
	// VerifyNotificationChannel() will recognize both the codes delivered via
	// SendNotificationChannelVerificationCode() and returned from
	// GetNotificationChannelVerificationCode(), it is typically the case that
	// the verification codes delivered via
	// SendNotificationChannelVerificationCode() will be shorter and also
	// have a shorter expiration (e.g. codes such as "G-123456") whereas
	// GetVerificationCode() will typically return a much longer, websafe base
	// 64 encoded string that has a longer expiration time.
	GetNotificationChannelVerificationCode(ctx context.Context, in *GetNotificationChannelVerificationCodeRequest, opts ...grpc.CallOption) (*GetNotificationChannelVerificationCodeResponse, error)
	// Verifies a `NotificationChannel` by proving receipt of the code
	// delivered to the channel as a result of calling
	// `SendNotificationChannelVerificationCode`.
	VerifyNotificationChannel(ctx context.Context, in *VerifyNotificationChannelRequest, opts ...grpc.CallOption) (*NotificationChannel, error)
}

NotificationChannelServiceClient is the client API for NotificationChannelService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type NotificationChannelServiceServer

type NotificationChannelServiceServer interface {
	// Lists the descriptors for supported channel types. The use of descriptors
	// makes it possible for new channel types to be dynamically added.
	ListNotificationChannelDescriptors(context.Context, *ListNotificationChannelDescriptorsRequest) (*ListNotificationChannelDescriptorsResponse, error)
	// Gets a single channel descriptor. The descriptor indicates which fields
	// are expected / permitted for a notification channel of the given type.
	GetNotificationChannelDescriptor(context.Context, *GetNotificationChannelDescriptorRequest) (*NotificationChannelDescriptor, error)
	// Lists the notification channels that have been created for the project.
	ListNotificationChannels(context.Context, *ListNotificationChannelsRequest) (*ListNotificationChannelsResponse, error)
	// Gets a single notification channel. The channel includes the relevant
	// configuration details with which the channel was created. However, the
	// response may truncate or omit passwords, API keys, or other private key
	// matter and thus the response may not be 100% identical to the information
	// that was supplied in the call to the create method.
	GetNotificationChannel(context.Context, *GetNotificationChannelRequest) (*NotificationChannel, error)
	// Creates a new notification channel, representing a single notification
	// endpoint such as an email address, SMS number, or PagerDuty service.
	CreateNotificationChannel(context.Context, *CreateNotificationChannelRequest) (*NotificationChannel, error)
	// Updates a notification channel. Fields not specified in the field mask
	// remain unchanged.
	UpdateNotificationChannel(context.Context, *UpdateNotificationChannelRequest) (*NotificationChannel, error)
	// Deletes a notification channel.
	DeleteNotificationChannel(context.Context, *DeleteNotificationChannelRequest) (*empty.Empty, error)
	// Causes a verification code to be delivered to the channel. The code
	// can then be supplied in `VerifyNotificationChannel` to verify the channel.
	SendNotificationChannelVerificationCode(context.Context, *SendNotificationChannelVerificationCodeRequest) (*empty.Empty, error)
	// Requests a verification code for an already verified channel that can then
	// be used in a call to VerifyNotificationChannel() on a different channel
	// with an equivalent identity in the same or in a different project. This
	// makes it possible to copy a channel between projects without requiring
	// manual reverification of the channel. If the channel is not in the
	// verified state, this method will fail (in other words, this may only be
	// used if the SendNotificationChannelVerificationCode and
	// VerifyNotificationChannel paths have already been used to put the given
	// channel into the verified state).
	//
	// There is no guarantee that the verification codes returned by this method
	// will be of a similar structure or form as the ones that are delivered
	// to the channel via SendNotificationChannelVerificationCode; while
	// VerifyNotificationChannel() will recognize both the codes delivered via
	// SendNotificationChannelVerificationCode() and returned from
	// GetNotificationChannelVerificationCode(), it is typically the case that
	// the verification codes delivered via
	// SendNotificationChannelVerificationCode() will be shorter and also
	// have a shorter expiration (e.g. codes such as "G-123456") whereas
	// GetVerificationCode() will typically return a much longer, websafe base
	// 64 encoded string that has a longer expiration time.
	GetNotificationChannelVerificationCode(context.Context, *GetNotificationChannelVerificationCodeRequest) (*GetNotificationChannelVerificationCodeResponse, error)
	// Verifies a `NotificationChannel` by proving receipt of the code
	// delivered to the channel as a result of calling
	// `SendNotificationChannelVerificationCode`.
	VerifyNotificationChannel(context.Context, *VerifyNotificationChannelRequest) (*NotificationChannel, error)
}

NotificationChannelServiceServer is the server API for NotificationChannelService service.

type NotificationChannel_VerificationStatus

type NotificationChannel_VerificationStatus int32

Indicates whether the channel has been verified or not. It is illegal to specify this field in a [`CreateNotificationChannel`][google.monitoring.v3.NotificationChannelService.CreateNotificationChannel] or an [`UpdateNotificationChannel`][google.monitoring.v3.NotificationChannelService.UpdateNotificationChannel] operation.

const (
	// Sentinel value used to indicate that the state is unknown, omitted, or
	// is not applicable (as in the case of channels that neither support
	// nor require verification in order to function).
	NotificationChannel_VERIFICATION_STATUS_UNSPECIFIED NotificationChannel_VerificationStatus = 0
	// The channel has yet to be verified and requires verification to function.
	// Note that this state also applies to the case where the verification
	// process has been initiated by sending a verification code but where
	// the verification code has not been submitted to complete the process.
	NotificationChannel_UNVERIFIED NotificationChannel_VerificationStatus = 1
	// It has been proven that notifications can be received on this
	// notification channel and that someone on the project has access
	// to messages that are delivered to that channel.
	NotificationChannel_VERIFIED NotificationChannel_VerificationStatus = 2
)

func (NotificationChannel_VerificationStatus) EnumDescriptor

func (NotificationChannel_VerificationStatus) EnumDescriptor() ([]byte, []int)

func (NotificationChannel_VerificationStatus) String

type Point

type Point struct {
	// The time interval to which the data point applies.  For `GAUGE` metrics,
	// the start time is optional, but if it is supplied, it must equal the
	// end time.  For `DELTA` metrics, the start
	// and end time should specify a non-zero interval, with subsequent points
	// specifying contiguous and non-overlapping intervals.  For `CUMULATIVE`
	// metrics, the start and end time should specify a non-zero interval, with
	// subsequent points specifying the same start time and increasing end times,
	// until an event resets the cumulative value to zero and sets a new start
	// time for the following points.
	Interval *TimeInterval `protobuf:"bytes,1,opt,name=interval,proto3" json:"interval,omitempty"`
	// The value of the data point.
	Value                *TypedValue `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

A single data point in a time series.

func (*Point) Descriptor

func (*Point) Descriptor() ([]byte, []int)

func (*Point) GetInterval

func (m *Point) GetInterval() *TimeInterval

func (*Point) GetValue

func (m *Point) GetValue() *TypedValue

func (*Point) ProtoMessage

func (*Point) ProtoMessage()

func (*Point) Reset

func (m *Point) Reset()

func (*Point) String

func (m *Point) String() string

func (*Point) XXX_DiscardUnknown

func (m *Point) XXX_DiscardUnknown()

func (*Point) XXX_Marshal

func (m *Point) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Point) XXX_Merge

func (m *Point) XXX_Merge(src proto.Message)

func (*Point) XXX_Size

func (m *Point) XXX_Size() int

func (*Point) XXX_Unmarshal

func (m *Point) XXX_Unmarshal(b []byte) error

type QueryError

type QueryError struct {
	// The location of the time series query language text that this error applies
	// to.
	Locator *TextLocator `protobuf:"bytes,1,opt,name=locator,proto3" json:"locator,omitempty"`
	// The error message.
	Message              string   `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

An error associated with a query in the time series query language format.

func (*QueryError) Descriptor

func (*QueryError) Descriptor() ([]byte, []int)

func (*QueryError) GetLocator

func (m *QueryError) GetLocator() *TextLocator

func (*QueryError) GetMessage

func (m *QueryError) GetMessage() string

func (*QueryError) ProtoMessage

func (*QueryError) ProtoMessage()

func (*QueryError) Reset

func (m *QueryError) Reset()

func (*QueryError) String

func (m *QueryError) String() string

func (*QueryError) XXX_DiscardUnknown

func (m *QueryError) XXX_DiscardUnknown()

func (*QueryError) XXX_Marshal

func (m *QueryError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryError) XXX_Merge

func (m *QueryError) XXX_Merge(src proto.Message)

func (*QueryError) XXX_Size

func (m *QueryError) XXX_Size() int

func (*QueryError) XXX_Unmarshal

func (m *QueryError) XXX_Unmarshal(b []byte) error

type QueryErrorList

type QueryErrorList struct {
	// Errors in parsing the time series query language text. The number of errors
	// in the response may be limited.
	Errors []*QueryError `protobuf:"bytes,1,rep,name=errors,proto3" json:"errors,omitempty"`
	// A summary of all the errors.
	ErrorSummary         string   `protobuf:"bytes,2,opt,name=error_summary,json=errorSummary,proto3" json:"error_summary,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

This is an error detail intended to be used with INVALID_ARGUMENT errors.

func (*QueryErrorList) Descriptor

func (*QueryErrorList) Descriptor() ([]byte, []int)

func (*QueryErrorList) GetErrorSummary

func (m *QueryErrorList) GetErrorSummary() string

func (*QueryErrorList) GetErrors

func (m *QueryErrorList) GetErrors() []*QueryError

func (*QueryErrorList) ProtoMessage

func (*QueryErrorList) ProtoMessage()

func (*QueryErrorList) Reset

func (m *QueryErrorList) Reset()

func (*QueryErrorList) String

func (m *QueryErrorList) String() string

func (*QueryErrorList) XXX_DiscardUnknown

func (m *QueryErrorList) XXX_DiscardUnknown()

func (*QueryErrorList) XXX_Marshal

func (m *QueryErrorList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryErrorList) XXX_Merge

func (m *QueryErrorList) XXX_Merge(src proto.Message)

func (*QueryErrorList) XXX_Size

func (m *QueryErrorList) XXX_Size() int

func (*QueryErrorList) XXX_Unmarshal

func (m *QueryErrorList) XXX_Unmarshal(b []byte) error

type QueryTimeSeriesRequest

type QueryTimeSeriesRequest struct {
	// Required. The project on which to execute the request. The format is:
	//
	//     projects/[PROJECT_ID_OR_NUMBER]
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The query in the monitoring query language format. The default
	// time zone is in UTC.
	Query string `protobuf:"bytes,7,opt,name=query,proto3" json:"query,omitempty"`
	// A positive number that is the maximum number of time_series_data to return.
	PageSize int32 `protobuf:"varint,9,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// If this field is not empty then it must contain the `nextPageToken` value
	// returned by a previous call to this method.  Using this field causes the
	// method to return additional results from the previous method call.
	PageToken            string   `protobuf:"bytes,10,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The `QueryTimeSeries` request.

func (*QueryTimeSeriesRequest) Descriptor

func (*QueryTimeSeriesRequest) Descriptor() ([]byte, []int)

func (*QueryTimeSeriesRequest) GetName

func (m *QueryTimeSeriesRequest) GetName() string

func (*QueryTimeSeriesRequest) GetPageSize

func (m *QueryTimeSeriesRequest) GetPageSize() int32

func (*QueryTimeSeriesRequest) GetPageToken

func (m *QueryTimeSeriesRequest) GetPageToken() string

func (*QueryTimeSeriesRequest) GetQuery

func (m *QueryTimeSeriesRequest) GetQuery() string

func (*QueryTimeSeriesRequest) ProtoMessage

func (*QueryTimeSeriesRequest) ProtoMessage()

func (*QueryTimeSeriesRequest) Reset

func (m *QueryTimeSeriesRequest) Reset()

func (*QueryTimeSeriesRequest) String

func (m *QueryTimeSeriesRequest) String() string

func (*QueryTimeSeriesRequest) XXX_DiscardUnknown

func (m *QueryTimeSeriesRequest) XXX_DiscardUnknown()

func (*QueryTimeSeriesRequest) XXX_Marshal

func (m *QueryTimeSeriesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryTimeSeriesRequest) XXX_Merge

func (m *QueryTimeSeriesRequest) XXX_Merge(src proto.Message)

func (*QueryTimeSeriesRequest) XXX_Size

func (m *QueryTimeSeriesRequest) XXX_Size() int

func (*QueryTimeSeriesRequest) XXX_Unmarshal

func (m *QueryTimeSeriesRequest) XXX_Unmarshal(b []byte) error

type QueryTimeSeriesResponse

type QueryTimeSeriesResponse struct {
	// The descriptor for the time series data.
	TimeSeriesDescriptor *TimeSeriesDescriptor `protobuf:"bytes,8,opt,name=time_series_descriptor,json=timeSeriesDescriptor,proto3" json:"time_series_descriptor,omitempty"`
	// The time series data.
	TimeSeriesData []*TimeSeriesData `protobuf:"bytes,9,rep,name=time_series_data,json=timeSeriesData,proto3" json:"time_series_data,omitempty"`
	// If there are more results than have been returned, then this field is set
	// to a non-empty value.  To see the additional results, use that value as
	// `page_token` in the next call to this method.
	NextPageToken string `protobuf:"bytes,10,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// Query execution errors that may have caused the time series data returned
	// to be incomplete. The available data will be available in the
	// response.
	PartialErrors        []*status.Status `protobuf:"bytes,11,rep,name=partial_errors,json=partialErrors,proto3" json:"partial_errors,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

The `QueryTimeSeries` response.

func (*QueryTimeSeriesResponse) Descriptor

func (*QueryTimeSeriesResponse) Descriptor() ([]byte, []int)

func (*QueryTimeSeriesResponse) GetNextPageToken

func (m *QueryTimeSeriesResponse) GetNextPageToken() string

func (*QueryTimeSeriesResponse) GetPartialErrors

func (m *QueryTimeSeriesResponse) GetPartialErrors() []*status.Status

func (*QueryTimeSeriesResponse) GetTimeSeriesData

func (m *QueryTimeSeriesResponse) GetTimeSeriesData() []*TimeSeriesData

func (*QueryTimeSeriesResponse) GetTimeSeriesDescriptor

func (m *QueryTimeSeriesResponse) GetTimeSeriesDescriptor() *TimeSeriesDescriptor

func (*QueryTimeSeriesResponse) ProtoMessage

func (*QueryTimeSeriesResponse) ProtoMessage()

func (*QueryTimeSeriesResponse) Reset

func (m *QueryTimeSeriesResponse) Reset()

func (*QueryTimeSeriesResponse) String

func (m *QueryTimeSeriesResponse) String() string

func (*QueryTimeSeriesResponse) XXX_DiscardUnknown

func (m *QueryTimeSeriesResponse) XXX_DiscardUnknown()

func (*QueryTimeSeriesResponse) XXX_Marshal

func (m *QueryTimeSeriesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryTimeSeriesResponse) XXX_Merge

func (m *QueryTimeSeriesResponse) XXX_Merge(src proto.Message)

func (*QueryTimeSeriesResponse) XXX_Size

func (m *QueryTimeSeriesResponse) XXX_Size() int

func (*QueryTimeSeriesResponse) XXX_Unmarshal

func (m *QueryTimeSeriesResponse) XXX_Unmarshal(b []byte) error

type Range

type Range struct {
	// Range minimum.
	Min float64 `protobuf:"fixed64,1,opt,name=min,proto3" json:"min,omitempty"`
	// Range maximum.
	Max                  float64  `protobuf:"fixed64,2,opt,name=max,proto3" json:"max,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Range of numerical values, inclusive of `min` and exclusive of `max`. If the open range "< range.max" is desired, set `range.min = -infinity`. If the open range ">= range.min" is desired, set `range.max = infinity`.

func (*Range) Descriptor

func (*Range) Descriptor() ([]byte, []int)

func (*Range) GetMax

func (m *Range) GetMax() float64

func (*Range) GetMin

func (m *Range) GetMin() float64

func (*Range) ProtoMessage

func (*Range) ProtoMessage()

func (*Range) Reset

func (m *Range) Reset()

func (*Range) String

func (m *Range) String() string

func (*Range) XXX_DiscardUnknown

func (m *Range) XXX_DiscardUnknown()

func (*Range) XXX_Marshal

func (m *Range) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Range) XXX_Merge

func (m *Range) XXX_Merge(src proto.Message)

func (*Range) XXX_Size

func (m *Range) XXX_Size() int

func (*Range) XXX_Unmarshal

func (m *Range) XXX_Unmarshal(b []byte) error

type RequestBasedSli

type RequestBasedSli struct {
	// The means to compute a ratio of `good_service` to `total_service`.
	//
	// Types that are valid to be assigned to Method:
	//	*RequestBasedSli_GoodTotalRatio
	//	*RequestBasedSli_DistributionCut
	Method               isRequestBasedSli_Method `protobuf_oneof:"method"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

Service Level Indicators for which atomic units of service are counted directly.

func (*RequestBasedSli) Descriptor

func (*RequestBasedSli) Descriptor() ([]byte, []int)

func (*RequestBasedSli) GetDistributionCut

func (m *RequestBasedSli) GetDistributionCut() *DistributionCut

func (*RequestBasedSli) GetGoodTotalRatio

func (m *RequestBasedSli) GetGoodTotalRatio() *TimeSeriesRatio

func (*RequestBasedSli) GetMethod

func (m *RequestBasedSli) GetMethod() isRequestBasedSli_Method

func (*RequestBasedSli) ProtoMessage

func (*RequestBasedSli) ProtoMessage()

func (*RequestBasedSli) Reset

func (m *RequestBasedSli) Reset()

func (*RequestBasedSli) String

func (m *RequestBasedSli) String() string

func (*RequestBasedSli) XXX_DiscardUnknown

func (m *RequestBasedSli) XXX_DiscardUnknown()

func (*RequestBasedSli) XXX_Marshal

func (m *RequestBasedSli) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RequestBasedSli) XXX_Merge

func (m *RequestBasedSli) XXX_Merge(src proto.Message)

func (*RequestBasedSli) XXX_OneofWrappers

func (*RequestBasedSli) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*RequestBasedSli) XXX_Size

func (m *RequestBasedSli) XXX_Size() int

func (*RequestBasedSli) XXX_Unmarshal

func (m *RequestBasedSli) XXX_Unmarshal(b []byte) error

type RequestBasedSli_DistributionCut

type RequestBasedSli_DistributionCut struct {
	DistributionCut *DistributionCut `protobuf:"bytes,3,opt,name=distribution_cut,json=distributionCut,proto3,oneof"`
}

type RequestBasedSli_GoodTotalRatio

type RequestBasedSli_GoodTotalRatio struct {
	GoodTotalRatio *TimeSeriesRatio `protobuf:"bytes,1,opt,name=good_total_ratio,json=goodTotalRatio,proto3,oneof"`
}

type SendNotificationChannelVerificationCodeRequest

type SendNotificationChannelVerificationCodeRequest struct {
	// Required. The notification channel to which to send a verification code.
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The `SendNotificationChannelVerificationCode` request.

func (*SendNotificationChannelVerificationCodeRequest) Descriptor

func (*SendNotificationChannelVerificationCodeRequest) GetName

func (*SendNotificationChannelVerificationCodeRequest) ProtoMessage

func (*SendNotificationChannelVerificationCodeRequest) Reset

func (*SendNotificationChannelVerificationCodeRequest) String

func (*SendNotificationChannelVerificationCodeRequest) XXX_DiscardUnknown

func (m *SendNotificationChannelVerificationCodeRequest) XXX_DiscardUnknown()

func (*SendNotificationChannelVerificationCodeRequest) XXX_Marshal

func (m *SendNotificationChannelVerificationCodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendNotificationChannelVerificationCodeRequest) XXX_Merge

func (*SendNotificationChannelVerificationCodeRequest) XXX_Size

func (*SendNotificationChannelVerificationCodeRequest) XXX_Unmarshal

type Service

type Service struct {
	// Resource name for this Service. The format is:
	//
	//     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Name used for UI elements listing this Service.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// REQUIRED. Service-identifying atoms specifying the underlying service.
	//
	// Types that are valid to be assigned to Identifier:
	//	*Service_Custom_
	//	*Service_AppEngine_
	//	*Service_CloudEndpoints_
	//	*Service_ClusterIstio_
	//	*Service_MeshIstio_
	Identifier isService_Identifier `protobuf_oneof:"identifier"`
	// Configuration for how to query telemetry on a Service.
	Telemetry            *Service_Telemetry `protobuf:"bytes,13,opt,name=telemetry,proto3" json:"telemetry,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

A `Service` is a discrete, autonomous, and network-accessible unit, designed to solve an individual concern ([Wikipedia](https://en.wikipedia.org/wiki/Service-orientation)). In Cloud Monitoring, a `Service` acts as the root resource under which operational aspects of the service are accessible.

func (*Service) Descriptor

func (*Service) Descriptor() ([]byte, []int)

func (*Service) GetAppEngine

func (m *Service) GetAppEngine() *Service_AppEngine

func (*Service) GetCloudEndpoints

func (m *Service) GetCloudEndpoints() *Service_CloudEndpoints

func (*Service) GetClusterIstio deprecated

func (m *Service) GetClusterIstio() *Service_ClusterIstio

Deprecated: Do not use.

func (*Service) GetCustom

func (m *Service) GetCustom() *Service_Custom

func (*Service) GetDisplayName

func (m *Service) GetDisplayName() string

func (*Service) GetIdentifier

func (m *Service) GetIdentifier() isService_Identifier

func (*Service) GetMeshIstio

func (m *Service) GetMeshIstio() *Service_MeshIstio

func (*Service) GetName

func (m *Service) GetName() string

func (*Service) GetTelemetry

func (m *Service) GetTelemetry() *Service_Telemetry

func (*Service) ProtoMessage

func (*Service) ProtoMessage()

func (*Service) Reset

func (m *Service) Reset()

func (*Service) String

func (m *Service) String() string

func (*Service) XXX_DiscardUnknown

func (m *Service) XXX_DiscardUnknown()

func (*Service) XXX_Marshal

func (m *Service) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Service) XXX_Merge

func (m *Service) XXX_Merge(src proto.Message)

func (*Service) XXX_OneofWrappers

func (*Service) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Service) XXX_Size

func (m *Service) XXX_Size() int

func (*Service) XXX_Unmarshal

func (m *Service) XXX_Unmarshal(b []byte) error

type ServiceLevelIndicator

type ServiceLevelIndicator struct {
	// Service level indicators can be grouped by whether the "unit" of service
	// being measured is based on counts of good requests or on counts of good
	// time windows
	//
	// Types that are valid to be assigned to Type:
	//	*ServiceLevelIndicator_BasicSli
	//	*ServiceLevelIndicator_RequestBased
	//	*ServiceLevelIndicator_WindowsBased
	Type                 isServiceLevelIndicator_Type `protobuf_oneof:"type"`
	XXX_NoUnkeyedLiteral struct{}                     `json:"-"`
	XXX_unrecognized     []byte                       `json:"-"`
	XXX_sizecache        int32                        `json:"-"`
}

A Service-Level Indicator (SLI) describes the "performance" of a service. For some services, the SLI is well-defined. In such cases, the SLI can be described easily by referencing the well-known SLI and providing the needed parameters. Alternatively, a "custom" SLI can be defined with a query to the underlying metric store. An SLI is defined to be `good_service / total_service` over any queried time interval. The value of performance always falls into the range `0 <= performance <= 1`. A custom SLI describes how to compute this ratio, whether this is by dividing values from a pair of time series, cutting a `Distribution` into good and bad counts, or counting time windows in which the service complies with a criterion. For separation of concerns, a single Service-Level Indicator measures performance for only one aspect of service quality, such as fraction of successful queries or fast-enough queries.

func (*ServiceLevelIndicator) Descriptor

func (*ServiceLevelIndicator) Descriptor() ([]byte, []int)

func (*ServiceLevelIndicator) GetBasicSli

func (m *ServiceLevelIndicator) GetBasicSli() *BasicSli

func (*ServiceLevelIndicator) GetRequestBased

func (m *ServiceLevelIndicator) GetRequestBased() *RequestBasedSli

func (*ServiceLevelIndicator) GetType

func (m *ServiceLevelIndicator) GetType() isServiceLevelIndicator_Type

func (*ServiceLevelIndicator) GetWindowsBased

func (m *ServiceLevelIndicator) GetWindowsBased() *WindowsBasedSli

func (*ServiceLevelIndicator) ProtoMessage

func (*ServiceLevelIndicator) ProtoMessage()

func (*ServiceLevelIndicator) Reset

func (m *ServiceLevelIndicator) Reset()

func (*ServiceLevelIndicator) String

func (m *ServiceLevelIndicator) String() string

func (*ServiceLevelIndicator) XXX_DiscardUnknown

func (m *ServiceLevelIndicator) XXX_DiscardUnknown()

func (*ServiceLevelIndicator) XXX_Marshal

func (m *ServiceLevelIndicator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ServiceLevelIndicator) XXX_Merge

func (m *ServiceLevelIndicator) XXX_Merge(src proto.Message)

func (*ServiceLevelIndicator) XXX_OneofWrappers

func (*ServiceLevelIndicator) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*ServiceLevelIndicator) XXX_Size

func (m *ServiceLevelIndicator) XXX_Size() int

func (*ServiceLevelIndicator) XXX_Unmarshal

func (m *ServiceLevelIndicator) XXX_Unmarshal(b []byte) error

type ServiceLevelIndicator_BasicSli

type ServiceLevelIndicator_BasicSli struct {
	BasicSli *BasicSli `protobuf:"bytes,4,opt,name=basic_sli,json=basicSli,proto3,oneof"`
}

type ServiceLevelIndicator_RequestBased

type ServiceLevelIndicator_RequestBased struct {
	RequestBased *RequestBasedSli `protobuf:"bytes,1,opt,name=request_based,json=requestBased,proto3,oneof"`
}

type ServiceLevelIndicator_WindowsBased

type ServiceLevelIndicator_WindowsBased struct {
	WindowsBased *WindowsBasedSli `protobuf:"bytes,2,opt,name=windows_based,json=windowsBased,proto3,oneof"`
}

type ServiceLevelObjective

type ServiceLevelObjective struct {
	// Resource name for this `ServiceLevelObjective`. The format is:
	//
	//     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Name used for UI elements listing this SLO.
	DisplayName string `protobuf:"bytes,11,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// The definition of good service, used to measure and calculate the quality
	// of the `Service`'s performance with respect to a single aspect of service
	// quality.
	ServiceLevelIndicator *ServiceLevelIndicator `` /* 126-byte string literal not displayed */
	// The fraction of service that must be good in order for this objective to be
	// met. `0 < goal <= 0.999`.
	Goal float64 `protobuf:"fixed64,4,opt,name=goal,proto3" json:"goal,omitempty"`
	// The time period over which the objective will be evaluated.
	//
	// Types that are valid to be assigned to Period:
	//	*ServiceLevelObjective_RollingPeriod
	//	*ServiceLevelObjective_CalendarPeriod
	Period               isServiceLevelObjective_Period `protobuf_oneof:"period"`
	XXX_NoUnkeyedLiteral struct{}                       `json:"-"`
	XXX_unrecognized     []byte                         `json:"-"`
	XXX_sizecache        int32                          `json:"-"`
}

A Service-Level Objective (SLO) describes a level of desired good service. It consists of a service-level indicator (SLI), a performance goal, and a period over which the objective is to be evaluated against that goal. The SLO can use SLIs defined in a number of different manners. Typical SLOs might include "99% of requests in each rolling week have latency below 200 milliseconds" or "99.5% of requests in each calendar month return successfully."

func (*ServiceLevelObjective) Descriptor

func (*ServiceLevelObjective) Descriptor() ([]byte, []int)

func (*ServiceLevelObjective) GetCalendarPeriod

func (m *ServiceLevelObjective) GetCalendarPeriod() calendarperiod.CalendarPeriod

func (*ServiceLevelObjective) GetDisplayName

func (m *ServiceLevelObjective) GetDisplayName() string

func (*ServiceLevelObjective) GetGoal

func (m *ServiceLevelObjective) GetGoal() float64

func (*ServiceLevelObjective) GetName

func (m *ServiceLevelObjective) GetName() string

func (*ServiceLevelObjective) GetPeriod

func (m *ServiceLevelObjective) GetPeriod() isServiceLevelObjective_Period

func (*ServiceLevelObjective) GetRollingPeriod

func (m *ServiceLevelObjective) GetRollingPeriod() *duration.Duration

func (*ServiceLevelObjective) GetServiceLevelIndicator

func (m *ServiceLevelObjective) GetServiceLevelIndicator() *ServiceLevelIndicator

func (*ServiceLevelObjective) ProtoMessage

func (*ServiceLevelObjective) ProtoMessage()

func (*ServiceLevelObjective) Reset

func (m *ServiceLevelObjective) Reset()

func (*ServiceLevelObjective) String

func (m *ServiceLevelObjective) String() string

func (*ServiceLevelObjective) XXX_DiscardUnknown

func (m *ServiceLevelObjective) XXX_DiscardUnknown()

func (*ServiceLevelObjective) XXX_Marshal

func (m *ServiceLevelObjective) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ServiceLevelObjective) XXX_Merge

func (m *ServiceLevelObjective) XXX_Merge(src proto.Message)

func (*ServiceLevelObjective) XXX_OneofWrappers

func (*ServiceLevelObjective) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*ServiceLevelObjective) XXX_Size

func (m *ServiceLevelObjective) XXX_Size() int

func (*ServiceLevelObjective) XXX_Unmarshal

func (m *ServiceLevelObjective) XXX_Unmarshal(b []byte) error

type ServiceLevelObjective_CalendarPeriod

type ServiceLevelObjective_CalendarPeriod struct {
	CalendarPeriod calendarperiod.CalendarPeriod `protobuf:"varint,6,opt,name=calendar_period,json=calendarPeriod,proto3,enum=google.type.CalendarPeriod,oneof"`
}

type ServiceLevelObjective_RollingPeriod

type ServiceLevelObjective_RollingPeriod struct {
	RollingPeriod *duration.Duration `protobuf:"bytes,5,opt,name=rolling_period,json=rollingPeriod,proto3,oneof"`
}

type ServiceLevelObjective_View

type ServiceLevelObjective_View int32

`ServiceLevelObjective.View` determines what form of `ServiceLevelObjective` is returned from `GetServiceLevelObjective`, `ListServiceLevelObjectives`, and `ListServiceLevelObjectiveVersions` RPCs.

const (
	// Same as FULL.
	ServiceLevelObjective_VIEW_UNSPECIFIED ServiceLevelObjective_View = 0
	// Return the embedded `ServiceLevelIndicator` in the form in which it was
	// defined. If it was defined using a `BasicSli`, return that `BasicSli`.
	ServiceLevelObjective_FULL ServiceLevelObjective_View = 2
	// For `ServiceLevelIndicator`s using `BasicSli` articulation, instead
	// return the `ServiceLevelIndicator` with its mode of computation fully
	// spelled out as a `RequestBasedSli`. For `ServiceLevelIndicator`s using
	// `RequestBasedSli` or `WindowsBasedSli`, return the
	// `ServiceLevelIndicator` as it was provided.
	ServiceLevelObjective_EXPLICIT ServiceLevelObjective_View = 1
)

func (ServiceLevelObjective_View) EnumDescriptor

func (ServiceLevelObjective_View) EnumDescriptor() ([]byte, []int)

func (ServiceLevelObjective_View) String

type ServiceMonitoringServiceClient

type ServiceMonitoringServiceClient interface {
	// Create a `Service`.
	CreateService(ctx context.Context, in *CreateServiceRequest, opts ...grpc.CallOption) (*Service, error)
	// Get the named `Service`.
	GetService(ctx context.Context, in *GetServiceRequest, opts ...grpc.CallOption) (*Service, error)
	// List `Service`s for this workspace.
	ListServices(ctx context.Context, in *ListServicesRequest, opts ...grpc.CallOption) (*ListServicesResponse, error)
	// Update this `Service`.
	UpdateService(ctx context.Context, in *UpdateServiceRequest, opts ...grpc.CallOption) (*Service, error)
	// Soft delete this `Service`.
	DeleteService(ctx context.Context, in *DeleteServiceRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// Create a `ServiceLevelObjective` for the given `Service`.
	CreateServiceLevelObjective(ctx context.Context, in *CreateServiceLevelObjectiveRequest, opts ...grpc.CallOption) (*ServiceLevelObjective, error)
	// Get a `ServiceLevelObjective` by name.
	GetServiceLevelObjective(ctx context.Context, in *GetServiceLevelObjectiveRequest, opts ...grpc.CallOption) (*ServiceLevelObjective, error)
	// List the `ServiceLevelObjective`s for the given `Service`.
	ListServiceLevelObjectives(ctx context.Context, in *ListServiceLevelObjectivesRequest, opts ...grpc.CallOption) (*ListServiceLevelObjectivesResponse, error)
	// Update the given `ServiceLevelObjective`.
	UpdateServiceLevelObjective(ctx context.Context, in *UpdateServiceLevelObjectiveRequest, opts ...grpc.CallOption) (*ServiceLevelObjective, error)
	// Delete the given `ServiceLevelObjective`.
	DeleteServiceLevelObjective(ctx context.Context, in *DeleteServiceLevelObjectiveRequest, opts ...grpc.CallOption) (*empty.Empty, error)
}

ServiceMonitoringServiceClient is the client API for ServiceMonitoringService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type ServiceMonitoringServiceServer

type ServiceMonitoringServiceServer interface {
	// Create a `Service`.
	CreateService(context.Context, *CreateServiceRequest) (*Service, error)
	// Get the named `Service`.
	GetService(context.Context, *GetServiceRequest) (*Service, error)
	// List `Service`s for this workspace.
	ListServices(context.Context, *ListServicesRequest) (*ListServicesResponse, error)
	// Update this `Service`.
	UpdateService(context.Context, *UpdateServiceRequest) (*Service, error)
	// Soft delete this `Service`.
	DeleteService(context.Context, *DeleteServiceRequest) (*empty.Empty, error)
	// Create a `ServiceLevelObjective` for the given `Service`.
	CreateServiceLevelObjective(context.Context, *CreateServiceLevelObjectiveRequest) (*ServiceLevelObjective, error)
	// Get a `ServiceLevelObjective` by name.
	GetServiceLevelObjective(context.Context, *GetServiceLevelObjectiveRequest) (*ServiceLevelObjective, error)
	// List the `ServiceLevelObjective`s for the given `Service`.
	ListServiceLevelObjectives(context.Context, *ListServiceLevelObjectivesRequest) (*ListServiceLevelObjectivesResponse, error)
	// Update the given `ServiceLevelObjective`.
	UpdateServiceLevelObjective(context.Context, *UpdateServiceLevelObjectiveRequest) (*ServiceLevelObjective, error)
	// Delete the given `ServiceLevelObjective`.
	DeleteServiceLevelObjective(context.Context, *DeleteServiceLevelObjectiveRequest) (*empty.Empty, error)
}

ServiceMonitoringServiceServer is the server API for ServiceMonitoringService service.

type ServiceTier

type ServiceTier int32 // Deprecated: Do not use.

The tier of service for a Workspace. Please see the [service tiers documentation](https://cloud.google.com/monitoring/workspaces/tiers) for more details.

const (
	// An invalid sentinel value, used to indicate that a tier has not
	// been provided explicitly.
	ServiceTier_SERVICE_TIER_UNSPECIFIED ServiceTier = 0
	// The Stackdriver Basic tier, a free tier of service that provides basic
	// features, a moderate allotment of logs, and access to built-in metrics.
	// A number of features are not available in this tier. For more details,
	// see [the service tiers
	// documentation](https://cloud.google.com/monitoring/workspaces/tiers).
	ServiceTier_SERVICE_TIER_BASIC ServiceTier = 1
	// The Stackdriver Premium tier, a higher, more expensive tier of service
	// that provides access to all Stackdriver features, lets you use Stackdriver
	// with AWS accounts, and has a larger allotments for logs and metrics. For
	// more details, see [the service tiers
	// documentation](https://cloud.google.com/monitoring/workspaces/tiers).
	ServiceTier_SERVICE_TIER_PREMIUM ServiceTier = 2
)

func (ServiceTier) EnumDescriptor

func (ServiceTier) EnumDescriptor() ([]byte, []int)

func (ServiceTier) String

func (x ServiceTier) String() string

type Service_AppEngine

type Service_AppEngine struct {
	// The ID of the App Engine module underlying this service. Corresponds to
	// the `module_id` resource label in the `gae_app` monitored resource:
	// https://cloud.google.com/monitoring/api/resources#tag_gae_app
	ModuleId             string   `protobuf:"bytes,1,opt,name=module_id,json=moduleId,proto3" json:"module_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

App Engine service. Learn more at https://cloud.google.com/appengine.

func (*Service_AppEngine) Descriptor

func (*Service_AppEngine) Descriptor() ([]byte, []int)

func (*Service_AppEngine) GetModuleId

func (m *Service_AppEngine) GetModuleId() string

func (*Service_AppEngine) ProtoMessage

func (*Service_AppEngine) ProtoMessage()

func (*Service_AppEngine) Reset

func (m *Service_AppEngine) Reset()

func (*Service_AppEngine) String

func (m *Service_AppEngine) String() string

func (*Service_AppEngine) XXX_DiscardUnknown

func (m *Service_AppEngine) XXX_DiscardUnknown()

func (*Service_AppEngine) XXX_Marshal

func (m *Service_AppEngine) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Service_AppEngine) XXX_Merge

func (m *Service_AppEngine) XXX_Merge(src proto.Message)

func (*Service_AppEngine) XXX_Size

func (m *Service_AppEngine) XXX_Size() int

func (*Service_AppEngine) XXX_Unmarshal

func (m *Service_AppEngine) XXX_Unmarshal(b []byte) error

type Service_AppEngine_

type Service_AppEngine_ struct {
	AppEngine *Service_AppEngine `protobuf:"bytes,7,opt,name=app_engine,json=appEngine,proto3,oneof"`
}

type Service_CloudEndpoints

type Service_CloudEndpoints struct {
	// The name of the Cloud Endpoints service underlying this service.
	// Corresponds to the `service` resource label in the `api` monitored
	// resource: https://cloud.google.com/monitoring/api/resources#tag_api
	Service              string   `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Cloud Endpoints service. Learn more at https://cloud.google.com/endpoints.

func (*Service_CloudEndpoints) Descriptor

func (*Service_CloudEndpoints) Descriptor() ([]byte, []int)

func (*Service_CloudEndpoints) GetService

func (m *Service_CloudEndpoints) GetService() string

func (*Service_CloudEndpoints) ProtoMessage

func (*Service_CloudEndpoints) ProtoMessage()

func (*Service_CloudEndpoints) Reset

func (m *Service_CloudEndpoints) Reset()

func (*Service_CloudEndpoints) String

func (m *Service_CloudEndpoints) String() string

func (*Service_CloudEndpoints) XXX_DiscardUnknown

func (m *Service_CloudEndpoints) XXX_DiscardUnknown()

func (*Service_CloudEndpoints) XXX_Marshal

func (m *Service_CloudEndpoints) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Service_CloudEndpoints) XXX_Merge

func (m *Service_CloudEndpoints) XXX_Merge(src proto.Message)

func (*Service_CloudEndpoints) XXX_Size

func (m *Service_CloudEndpoints) XXX_Size() int

func (*Service_CloudEndpoints) XXX_Unmarshal

func (m *Service_CloudEndpoints) XXX_Unmarshal(b []byte) error

type Service_CloudEndpoints_

type Service_CloudEndpoints_ struct {
	CloudEndpoints *Service_CloudEndpoints `protobuf:"bytes,8,opt,name=cloud_endpoints,json=cloudEndpoints,proto3,oneof"`
}

type Service_ClusterIstio deprecated

type Service_ClusterIstio struct {
	// The location of the Kubernetes cluster in which this Istio service is
	// defined. Corresponds to the `location` resource label in `k8s_cluster`
	// resources.
	Location string `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"`
	// The name of the Kubernetes cluster in which this Istio service is
	// defined. Corresponds to the `cluster_name` resource label in
	// `k8s_cluster` resources.
	ClusterName string `protobuf:"bytes,2,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
	// The namespace of the Istio service underlying this service. Corresponds
	// to the `destination_service_namespace` metric label in Istio metrics.
	ServiceNamespace string `protobuf:"bytes,3,opt,name=service_namespace,json=serviceNamespace,proto3" json:"service_namespace,omitempty"`
	// The name of the Istio service underlying this service. Corresponds to the
	// `destination_service_name` metric label in Istio metrics.
	ServiceName          string   `protobuf:"bytes,4,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Istio service scoped to a single Kubernetes cluster. Learn more at http://istio.io.

Deprecated: Do not use.

func (*Service_ClusterIstio) Descriptor

func (*Service_ClusterIstio) Descriptor() ([]byte, []int)

func (*Service_ClusterIstio) GetClusterName

func (m *Service_ClusterIstio) GetClusterName() string

func (*Service_ClusterIstio) GetLocation

func (m *Service_ClusterIstio) GetLocation() string

func (*Service_ClusterIstio) GetServiceName

func (m *Service_ClusterIstio) GetServiceName() string

func (*Service_ClusterIstio) GetServiceNamespace

func (m *Service_ClusterIstio) GetServiceNamespace() string

func (*Service_ClusterIstio) ProtoMessage

func (*Service_ClusterIstio) ProtoMessage()

func (*Service_ClusterIstio) Reset

func (m *Service_ClusterIstio) Reset()

func (*Service_ClusterIstio) String

func (m *Service_ClusterIstio) String() string

func (*Service_ClusterIstio) XXX_DiscardUnknown

func (m *Service_ClusterIstio) XXX_DiscardUnknown()

func (*Service_ClusterIstio) XXX_Marshal

func (m *Service_ClusterIstio) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Service_ClusterIstio) XXX_Merge

func (m *Service_ClusterIstio) XXX_Merge(src proto.Message)

func (*Service_ClusterIstio) XXX_Size

func (m *Service_ClusterIstio) XXX_Size() int

func (*Service_ClusterIstio) XXX_Unmarshal

func (m *Service_ClusterIstio) XXX_Unmarshal(b []byte) error

type Service_ClusterIstio_

type Service_ClusterIstio_ struct {
	ClusterIstio *Service_ClusterIstio `protobuf:"bytes,9,opt,name=cluster_istio,json=clusterIstio,proto3,oneof"`
}

type Service_Custom

type Service_Custom struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Custom view of service telemetry. Currently a place-holder pending final design.

func (*Service_Custom) Descriptor

func (*Service_Custom) Descriptor() ([]byte, []int)

func (*Service_Custom) ProtoMessage

func (*Service_Custom) ProtoMessage()

func (*Service_Custom) Reset

func (m *Service_Custom) Reset()

func (*Service_Custom) String

func (m *Service_Custom) String() string

func (*Service_Custom) XXX_DiscardUnknown

func (m *Service_Custom) XXX_DiscardUnknown()

func (*Service_Custom) XXX_Marshal

func (m *Service_Custom) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Service_Custom) XXX_Merge

func (m *Service_Custom) XXX_Merge(src proto.Message)

func (*Service_Custom) XXX_Size

func (m *Service_Custom) XXX_Size() int

func (*Service_Custom) XXX_Unmarshal

func (m *Service_Custom) XXX_Unmarshal(b []byte) error

type Service_Custom_

type Service_Custom_ struct {
	Custom *Service_Custom `protobuf:"bytes,6,opt,name=custom,proto3,oneof"`
}

type Service_MeshIstio

type Service_MeshIstio struct {
	// Identifier for the mesh in which this Istio service is defined.
	// Corresponds to the `mesh_uid` metric label in Istio metrics.
	MeshUid string `protobuf:"bytes,1,opt,name=mesh_uid,json=meshUid,proto3" json:"mesh_uid,omitempty"`
	// The namespace of the Istio service underlying this service. Corresponds
	// to the `destination_service_namespace` metric label in Istio metrics.
	ServiceNamespace string `protobuf:"bytes,3,opt,name=service_namespace,json=serviceNamespace,proto3" json:"service_namespace,omitempty"`
	// The name of the Istio service underlying this service. Corresponds to the
	// `destination_service_name` metric label in Istio metrics.
	ServiceName          string   `protobuf:"bytes,4,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Istio service scoped to an Istio mesh

func (*Service_MeshIstio) Descriptor

func (*Service_MeshIstio) Descriptor() ([]byte, []int)

func (*Service_MeshIstio) GetMeshUid

func (m *Service_MeshIstio) GetMeshUid() string

func (*Service_MeshIstio) GetServiceName

func (m *Service_MeshIstio) GetServiceName() string

func (*Service_MeshIstio) GetServiceNamespace

func (m *Service_MeshIstio) GetServiceNamespace() string

func (*Service_MeshIstio) ProtoMessage

func (*Service_MeshIstio) ProtoMessage()

func (*Service_MeshIstio) Reset

func (m *Service_MeshIstio) Reset()

func (*Service_MeshIstio) String

func (m *Service_MeshIstio) String() string

func (*Service_MeshIstio) XXX_DiscardUnknown

func (m *Service_MeshIstio) XXX_DiscardUnknown()

func (*Service_MeshIstio) XXX_Marshal

func (m *Service_MeshIstio) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Service_MeshIstio) XXX_Merge

func (m *Service_MeshIstio) XXX_Merge(src proto.Message)

func (*Service_MeshIstio) XXX_Size

func (m *Service_MeshIstio) XXX_Size() int

func (*Service_MeshIstio) XXX_Unmarshal

func (m *Service_MeshIstio) XXX_Unmarshal(b []byte) error

type Service_MeshIstio_

type Service_MeshIstio_ struct {
	MeshIstio *Service_MeshIstio `protobuf:"bytes,10,opt,name=mesh_istio,json=meshIstio,proto3,oneof"`
}

type Service_Telemetry

type Service_Telemetry struct {
	// The full name of the resource that defines this service. Formatted as
	// described in https://cloud.google.com/apis/design/resource_names.
	ResourceName         string   `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Configuration for how to query telemetry on a Service.

func (*Service_Telemetry) Descriptor

func (*Service_Telemetry) Descriptor() ([]byte, []int)

func (*Service_Telemetry) GetResourceName

func (m *Service_Telemetry) GetResourceName() string

func (*Service_Telemetry) ProtoMessage

func (*Service_Telemetry) ProtoMessage()

func (*Service_Telemetry) Reset

func (m *Service_Telemetry) Reset()

func (*Service_Telemetry) String

func (m *Service_Telemetry) String() string

func (*Service_Telemetry) XXX_DiscardUnknown

func (m *Service_Telemetry) XXX_DiscardUnknown()

func (*Service_Telemetry) XXX_Marshal

func (m *Service_Telemetry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Service_Telemetry) XXX_Merge

func (m *Service_Telemetry) XXX_Merge(src proto.Message)

func (*Service_Telemetry) XXX_Size

func (m *Service_Telemetry) XXX_Size() int

func (*Service_Telemetry) XXX_Unmarshal

func (m *Service_Telemetry) XXX_Unmarshal(b []byte) error

type SpanContext

type SpanContext struct {
	// The resource name of the span. The format is:
	//
	//     projects/[PROJECT_ID_OR_NUMBER]/traces/[TRACE_ID]/spans/[SPAN_ID]
	//
	// `[TRACE_ID]` is a unique identifier for a trace within a project;
	// it is a 32-character hexadecimal encoding of a 16-byte array.
	//
	// `[SPAN_ID]` is a unique identifier for a span within a trace; it
	// is a 16-character hexadecimal encoding of an 8-byte array.
	SpanName             string   `protobuf:"bytes,1,opt,name=span_name,json=spanName,proto3" json:"span_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The context of a span, attached to [Exemplars][google.api.Distribution.Exemplars] in [Distribution][google.api.Distribution] values during aggregation.

It contains the name of a span with format:

projects/[PROJECT_ID_OR_NUMBER]/traces/[TRACE_ID]/spans/[SPAN_ID]

func (*SpanContext) Descriptor

func (*SpanContext) Descriptor() ([]byte, []int)

func (*SpanContext) GetSpanName

func (m *SpanContext) GetSpanName() string

func (*SpanContext) ProtoMessage

func (*SpanContext) ProtoMessage()

func (*SpanContext) Reset

func (m *SpanContext) Reset()

func (*SpanContext) String

func (m *SpanContext) String() string

func (*SpanContext) XXX_DiscardUnknown

func (m *SpanContext) XXX_DiscardUnknown()

func (*SpanContext) XXX_Marshal

func (m *SpanContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SpanContext) XXX_Merge

func (m *SpanContext) XXX_Merge(src proto.Message)

func (*SpanContext) XXX_Size

func (m *SpanContext) XXX_Size() int

func (*SpanContext) XXX_Unmarshal

func (m *SpanContext) XXX_Unmarshal(b []byte) error

type TextLocator

type TextLocator struct {
	// The source of the text. The source may be a field in the request, in which
	// case its format is the format of the
	// google.rpc.BadRequest.FieldViolation.field field in
	// https://cloud.google.com/apis/design/errors#error_details. It may also be
	// be a source other than the request field (e.g. a macro definition
	// referenced in the text of the query), in which case this is the name of
	// the source (e.g. the macro name).
	Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
	// The position of the first byte within the text.
	StartPosition *TextLocator_Position `protobuf:"bytes,2,opt,name=start_position,json=startPosition,proto3" json:"start_position,omitempty"`
	// The position of the last byte within the text.
	EndPosition *TextLocator_Position `protobuf:"bytes,3,opt,name=end_position,json=endPosition,proto3" json:"end_position,omitempty"`
	// If `source`, `start_position`, and `end_position` describe a call on
	// some object (e.g. a macro in the time series query language text) and a
	// location is to be designated in that object's text, `nested_locator`
	// identifies the location within that object.
	NestedLocator *TextLocator `protobuf:"bytes,4,opt,name=nested_locator,json=nestedLocator,proto3" json:"nested_locator,omitempty"`
	// When `nested_locator` is set, this field gives the reason for the nesting.
	// Usually, the reason is a macro invocation. In that case, the macro name
	// (including the leading '@') signals the location of the macro call
	// in the text and a macro argument name (including the leading '$') signals
	// the location of the macro argument inside the macro body that got
	// substituted away.
	NestingReason        string   `protobuf:"bytes,5,opt,name=nesting_reason,json=nestingReason,proto3" json:"nesting_reason,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A locator for text. Indicates a particular part of the text of a request or of an object referenced in the request.

For example, suppose the request field `text` contains:

text: "The quick brown fox jumps over the lazy dog."

Then the locator:

source: "text"
start_position {
  line: 1
  column: 17
}
end_position {
  line: 1
  column: 19
}

refers to the part of the text: "fox".

func (*TextLocator) Descriptor

func (*TextLocator) Descriptor() ([]byte, []int)

func (*TextLocator) GetEndPosition

func (m *TextLocator) GetEndPosition() *TextLocator_Position

func (*TextLocator) GetNestedLocator

func (m *TextLocator) GetNestedLocator() *TextLocator

func (*TextLocator) GetNestingReason

func (m *TextLocator) GetNestingReason() string

func (*TextLocator) GetSource

func (m *TextLocator) GetSource() string

func (*TextLocator) GetStartPosition

func (m *TextLocator) GetStartPosition() *TextLocator_Position

func (*TextLocator) ProtoMessage

func (*TextLocator) ProtoMessage()

func (*TextLocator) Reset

func (m *TextLocator) Reset()

func (*TextLocator) String

func (m *TextLocator) String() string

func (*TextLocator) XXX_DiscardUnknown

func (m *TextLocator) XXX_DiscardUnknown()

func (*TextLocator) XXX_Marshal

func (m *TextLocator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TextLocator) XXX_Merge

func (m *TextLocator) XXX_Merge(src proto.Message)

func (*TextLocator) XXX_Size

func (m *TextLocator) XXX_Size() int

func (*TextLocator) XXX_Unmarshal

func (m *TextLocator) XXX_Unmarshal(b []byte) error

type TextLocator_Position

type TextLocator_Position struct {
	// The line, starting with 1, where the byte is positioned.
	Line int32 `protobuf:"varint,1,opt,name=line,proto3" json:"line,omitempty"`
	// The column within the line, starting with 1, where the byte is
	// positioned. This is a byte index even though the text is UTF-8.
	Column               int32    `protobuf:"varint,2,opt,name=column,proto3" json:"column,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The position of a byte within the text.

func (*TextLocator_Position) Descriptor

func (*TextLocator_Position) Descriptor() ([]byte, []int)

func (*TextLocator_Position) GetColumn

func (m *TextLocator_Position) GetColumn() int32

func (*TextLocator_Position) GetLine

func (m *TextLocator_Position) GetLine() int32

func (*TextLocator_Position) ProtoMessage

func (*TextLocator_Position) ProtoMessage()

func (*TextLocator_Position) Reset

func (m *TextLocator_Position) Reset()

func (*TextLocator_Position) String

func (m *TextLocator_Position) String() string

func (*TextLocator_Position) XXX_DiscardUnknown

func (m *TextLocator_Position) XXX_DiscardUnknown()

func (*TextLocator_Position) XXX_Marshal

func (m *TextLocator_Position) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TextLocator_Position) XXX_Merge

func (m *TextLocator_Position) XXX_Merge(src proto.Message)

func (*TextLocator_Position) XXX_Size

func (m *TextLocator_Position) XXX_Size() int

func (*TextLocator_Position) XXX_Unmarshal

func (m *TextLocator_Position) XXX_Unmarshal(b []byte) error

type TimeInterval

type TimeInterval struct {
	// Required. The end of the time interval.
	EndTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// Optional. The beginning of the time interval.  The default value
	// for the start time is the end time. The start time must not be
	// later than the end time.
	StartTime            *timestamp.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

A closed time interval. It extends from the start time to the end time, and includes both: `[startTime, endTime]`. Valid time intervals depend on the [`MetricKind`](/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors#MetricKind) of the metric value. In no case can the end time be earlier than the start time.

  • For a `GAUGE` metric, the `startTime` value is technically optional; if no value is specified, the start time defaults to the value of the end time, and the interval represents a single point in time. If both start and end times are specified, they must be identical. Such an interval is valid only for `GAUGE` metrics, which are point-in-time measurements.
  • For `DELTA` and `CUMULATIVE` metrics, the start time must be earlier than the end time.
  • In all cases, the start time of the next interval must be at least a millisecond after the end time of the previous interval. Because the interval is closed, if the start time of a new interval is the same as the end time of the previous interval, data written at the new start time could overwrite data written at the previous end time.

func (*TimeInterval) Descriptor

func (*TimeInterval) Descriptor() ([]byte, []int)

func (*TimeInterval) GetEndTime

func (m *TimeInterval) GetEndTime() *timestamp.Timestamp

func (*TimeInterval) GetStartTime

func (m *TimeInterval) GetStartTime() *timestamp.Timestamp

func (*TimeInterval) ProtoMessage

func (*TimeInterval) ProtoMessage()

func (*TimeInterval) Reset

func (m *TimeInterval) Reset()

func (*TimeInterval) String

func (m *TimeInterval) String() string

func (*TimeInterval) XXX_DiscardUnknown

func (m *TimeInterval) XXX_DiscardUnknown()

func (*TimeInterval) XXX_Marshal

func (m *TimeInterval) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TimeInterval) XXX_Merge

func (m *TimeInterval) XXX_Merge(src proto.Message)

func (*TimeInterval) XXX_Size

func (m *TimeInterval) XXX_Size() int

func (*TimeInterval) XXX_Unmarshal

func (m *TimeInterval) XXX_Unmarshal(b []byte) error

type TimeSeries

type TimeSeries struct {
	// The associated metric. A fully-specified metric used to identify the time
	// series.
	Metric *metric.Metric `protobuf:"bytes,1,opt,name=metric,proto3" json:"metric,omitempty"`
	// The associated monitored resource.  Custom metrics can use only certain
	// monitored resource types in their time series data.
	Resource *monitoredres.MonitoredResource `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"`
	// Output only. The associated monitored resource metadata. When reading a
	// a timeseries, this field will include metadata labels that are explicitly
	// named in the reduction. When creating a timeseries, this field is ignored.
	Metadata *monitoredres.MonitoredResourceMetadata `protobuf:"bytes,7,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// The metric kind of the time series. When listing time series, this metric
	// kind might be different from the metric kind of the associated metric if
	// this time series is an alignment or reduction of other time series.
	//
	// When creating a time series, this field is optional. If present, it must be
	// the same as the metric kind of the associated metric. If the associated
	// metric's descriptor must be auto-created, then this field specifies the
	// metric kind of the new descriptor and must be either `GAUGE` (the default)
	// or `CUMULATIVE`.
	MetricKind metric.MetricDescriptor_MetricKind `` /* 136-byte string literal not displayed */
	// The value type of the time series. When listing time series, this value
	// type might be different from the value type of the associated metric if
	// this time series is an alignment or reduction of other time series.
	//
	// When creating a time series, this field is optional. If present, it must be
	// the same as the type of the data in the `points` field.
	ValueType metric.MetricDescriptor_ValueType `` /* 132-byte string literal not displayed */
	// The data points of this time series. When listing time series, points are
	// returned in reverse time order.
	//
	// When creating a time series, this field must contain exactly one point and
	// the point's type must be the same as the value type of the associated
	// metric. If the associated metric's descriptor must be auto-created, then
	// the value type of the descriptor is determined by the point's type, which
	// must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
	Points               []*Point `protobuf:"bytes,5,rep,name=points,proto3" json:"points,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A collection of data points that describes the time-varying values of a metric. A time series is identified by a combination of a fully-specified monitored resource and a fully-specified metric. This type is used for both listing and creating time series.

func (*TimeSeries) Descriptor

func (*TimeSeries) Descriptor() ([]byte, []int)

func (*TimeSeries) GetMetadata

func (*TimeSeries) GetMetric

func (m *TimeSeries) GetMetric() *metric.Metric

func (*TimeSeries) GetMetricKind

func (m *TimeSeries) GetMetricKind() metric.MetricDescriptor_MetricKind

func (*TimeSeries) GetPoints

func (m *TimeSeries) GetPoints() []*Point

func (*TimeSeries) GetResource

func (m *TimeSeries) GetResource() *monitoredres.MonitoredResource

func (*TimeSeries) GetValueType

func (m *TimeSeries) GetValueType() metric.MetricDescriptor_ValueType

func (*TimeSeries) ProtoMessage

func (*TimeSeries) ProtoMessage()

func (*TimeSeries) Reset

func (m *TimeSeries) Reset()

func (*TimeSeries) String

func (m *TimeSeries) String() string

func (*TimeSeries) XXX_DiscardUnknown

func (m *TimeSeries) XXX_DiscardUnknown()

func (*TimeSeries) XXX_Marshal

func (m *TimeSeries) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TimeSeries) XXX_Merge

func (m *TimeSeries) XXX_Merge(src proto.Message)

func (*TimeSeries) XXX_Size

func (m *TimeSeries) XXX_Size() int

func (*TimeSeries) XXX_Unmarshal

func (m *TimeSeries) XXX_Unmarshal(b []byte) error

type TimeSeriesData

type TimeSeriesData struct {
	// The values of the labels in the time series identifier, given in the same
	// order as the `label_descriptors` field of the TimeSeriesDescriptor
	// associated with this object. Each value must have a value of the type
	// given in the corresponding entry of `label_descriptors`.
	LabelValues []*LabelValue `protobuf:"bytes,1,rep,name=label_values,json=labelValues,proto3" json:"label_values,omitempty"`
	// The points in the time series.
	PointData            []*TimeSeriesData_PointData `protobuf:"bytes,2,rep,name=point_data,json=pointData,proto3" json:"point_data,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
}

Represents the values of a time series associated with a TimeSeriesDescriptor.

func (*TimeSeriesData) Descriptor

func (*TimeSeriesData) Descriptor() ([]byte, []int)

func (*TimeSeriesData) GetLabelValues

func (m *TimeSeriesData) GetLabelValues() []*LabelValue

func (*TimeSeriesData) GetPointData

func (m *TimeSeriesData) GetPointData() []*TimeSeriesData_PointData

func (*TimeSeriesData) ProtoMessage

func (*TimeSeriesData) ProtoMessage()

func (*TimeSeriesData) Reset

func (m *TimeSeriesData) Reset()

func (*TimeSeriesData) String

func (m *TimeSeriesData) String() string

func (*TimeSeriesData) XXX_DiscardUnknown

func (m *TimeSeriesData) XXX_DiscardUnknown()

func (*TimeSeriesData) XXX_Marshal

func (m *TimeSeriesData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TimeSeriesData) XXX_Merge

func (m *TimeSeriesData) XXX_Merge(src proto.Message)

func (*TimeSeriesData) XXX_Size

func (m *TimeSeriesData) XXX_Size() int

func (*TimeSeriesData) XXX_Unmarshal

func (m *TimeSeriesData) XXX_Unmarshal(b []byte) error

type TimeSeriesData_PointData

type TimeSeriesData_PointData struct {
	// The values that make up the point.
	Values []*TypedValue `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// The time interval associated with the point.
	TimeInterval         *TimeInterval `protobuf:"bytes,2,opt,name=time_interval,json=timeInterval,proto3" json:"time_interval,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

A point's value columns and time interval. Each point has one or more point values corresponding to the entries in `point_descriptors` field in the TimeSeriesDescriptor associated with this object.

func (*TimeSeriesData_PointData) Descriptor

func (*TimeSeriesData_PointData) Descriptor() ([]byte, []int)

func (*TimeSeriesData_PointData) GetTimeInterval

func (m *TimeSeriesData_PointData) GetTimeInterval() *TimeInterval

func (*TimeSeriesData_PointData) GetValues

func (m *TimeSeriesData_PointData) GetValues() []*TypedValue

func (*TimeSeriesData_PointData) ProtoMessage

func (*TimeSeriesData_PointData) ProtoMessage()

func (*TimeSeriesData_PointData) Reset

func (m *TimeSeriesData_PointData) Reset()

func (*TimeSeriesData_PointData) String

func (m *TimeSeriesData_PointData) String() string

func (*TimeSeriesData_PointData) XXX_DiscardUnknown

func (m *TimeSeriesData_PointData) XXX_DiscardUnknown()

func (*TimeSeriesData_PointData) XXX_Marshal

func (m *TimeSeriesData_PointData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TimeSeriesData_PointData) XXX_Merge

func (m *TimeSeriesData_PointData) XXX_Merge(src proto.Message)

func (*TimeSeriesData_PointData) XXX_Size

func (m *TimeSeriesData_PointData) XXX_Size() int

func (*TimeSeriesData_PointData) XXX_Unmarshal

func (m *TimeSeriesData_PointData) XXX_Unmarshal(b []byte) error

type TimeSeriesDescriptor

type TimeSeriesDescriptor struct {
	// Descriptors for the labels.
	LabelDescriptors []*label.LabelDescriptor `protobuf:"bytes,1,rep,name=label_descriptors,json=labelDescriptors,proto3" json:"label_descriptors,omitempty"`
	// Descriptors for the point data value columns.
	PointDescriptors     []*TimeSeriesDescriptor_ValueDescriptor `protobuf:"bytes,5,rep,name=point_descriptors,json=pointDescriptors,proto3" json:"point_descriptors,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                `json:"-"`
	XXX_unrecognized     []byte                                  `json:"-"`
	XXX_sizecache        int32                                   `json:"-"`
}

A descriptor for the labels and points in a timeseries.

func (*TimeSeriesDescriptor) Descriptor

func (*TimeSeriesDescriptor) Descriptor() ([]byte, []int)

func (*TimeSeriesDescriptor) GetLabelDescriptors

func (m *TimeSeriesDescriptor) GetLabelDescriptors() []*label.LabelDescriptor

func (*TimeSeriesDescriptor) GetPointDescriptors

func (m *TimeSeriesDescriptor) GetPointDescriptors() []*TimeSeriesDescriptor_ValueDescriptor

func (*TimeSeriesDescriptor) ProtoMessage

func (*TimeSeriesDescriptor) ProtoMessage()

func (*TimeSeriesDescriptor) Reset

func (m *TimeSeriesDescriptor) Reset()

func (*TimeSeriesDescriptor) String

func (m *TimeSeriesDescriptor) String() string

func (*TimeSeriesDescriptor) XXX_DiscardUnknown

func (m *TimeSeriesDescriptor) XXX_DiscardUnknown()

func (*TimeSeriesDescriptor) XXX_Marshal

func (m *TimeSeriesDescriptor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TimeSeriesDescriptor) XXX_Merge

func (m *TimeSeriesDescriptor) XXX_Merge(src proto.Message)

func (*TimeSeriesDescriptor) XXX_Size

func (m *TimeSeriesDescriptor) XXX_Size() int

func (*TimeSeriesDescriptor) XXX_Unmarshal

func (m *TimeSeriesDescriptor) XXX_Unmarshal(b []byte) error

type TimeSeriesDescriptor_ValueDescriptor

type TimeSeriesDescriptor_ValueDescriptor struct {
	// The value key.
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// The value type.
	ValueType metric.MetricDescriptor_ValueType `` /* 132-byte string literal not displayed */
	// The value stream kind.
	MetricKind           metric.MetricDescriptor_MetricKind `` /* 136-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                           `json:"-"`
	XXX_unrecognized     []byte                             `json:"-"`
	XXX_sizecache        int32                              `json:"-"`
}

A descriptor for the value columns in a data point.

func (*TimeSeriesDescriptor_ValueDescriptor) Descriptor

func (*TimeSeriesDescriptor_ValueDescriptor) Descriptor() ([]byte, []int)

func (*TimeSeriesDescriptor_ValueDescriptor) GetKey

func (*TimeSeriesDescriptor_ValueDescriptor) GetMetricKind

func (*TimeSeriesDescriptor_ValueDescriptor) GetValueType

func (*TimeSeriesDescriptor_ValueDescriptor) ProtoMessage

func (*TimeSeriesDescriptor_ValueDescriptor) ProtoMessage()

func (*TimeSeriesDescriptor_ValueDescriptor) Reset

func (*TimeSeriesDescriptor_ValueDescriptor) String

func (*TimeSeriesDescriptor_ValueDescriptor) XXX_DiscardUnknown

func (m *TimeSeriesDescriptor_ValueDescriptor) XXX_DiscardUnknown()

func (*TimeSeriesDescriptor_ValueDescriptor) XXX_Marshal

func (m *TimeSeriesDescriptor_ValueDescriptor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TimeSeriesDescriptor_ValueDescriptor) XXX_Merge

func (*TimeSeriesDescriptor_ValueDescriptor) XXX_Size

func (*TimeSeriesDescriptor_ValueDescriptor) XXX_Unmarshal

func (m *TimeSeriesDescriptor_ValueDescriptor) XXX_Unmarshal(b []byte) error

type TimeSeriesRatio

type TimeSeriesRatio struct {
	// A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
	// specifying a `TimeSeries` quantifying good service provided. Must have
	// `ValueType = DOUBLE` or `ValueType = INT64` and must have `MetricKind =
	// DELTA` or `MetricKind = CUMULATIVE`.
	GoodServiceFilter string `protobuf:"bytes,4,opt,name=good_service_filter,json=goodServiceFilter,proto3" json:"good_service_filter,omitempty"`
	// A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
	// specifying a `TimeSeries` quantifying bad service, either demanded service
	// that was not provided or demanded service that was of inadequate quality.
	// Must have `ValueType = DOUBLE` or `ValueType = INT64` and must have
	// `MetricKind = DELTA` or `MetricKind = CUMULATIVE`.
	BadServiceFilter string `protobuf:"bytes,5,opt,name=bad_service_filter,json=badServiceFilter,proto3" json:"bad_service_filter,omitempty"`
	// A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
	// specifying a `TimeSeries` quantifying total demanded service. Must have
	// `ValueType = DOUBLE` or `ValueType = INT64` and must have `MetricKind =
	// DELTA` or `MetricKind = CUMULATIVE`.
	TotalServiceFilter   string   `protobuf:"bytes,6,opt,name=total_service_filter,json=totalServiceFilter,proto3" json:"total_service_filter,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A `TimeSeriesRatio` specifies two `TimeSeries` to use for computing the `good_service / total_service` ratio. The specified `TimeSeries` must have `ValueType = DOUBLE` or `ValueType = INT64` and must have `MetricKind = DELTA` or `MetricKind = CUMULATIVE`. The `TimeSeriesRatio` must specify exactly two of good, bad, and total, and the relationship `good_service + bad_service = total_service` will be assumed.

func (*TimeSeriesRatio) Descriptor

func (*TimeSeriesRatio) Descriptor() ([]byte, []int)

func (*TimeSeriesRatio) GetBadServiceFilter

func (m *TimeSeriesRatio) GetBadServiceFilter() string

func (*TimeSeriesRatio) GetGoodServiceFilter

func (m *TimeSeriesRatio) GetGoodServiceFilter() string

func (*TimeSeriesRatio) GetTotalServiceFilter

func (m *TimeSeriesRatio) GetTotalServiceFilter() string

func (*TimeSeriesRatio) ProtoMessage

func (*TimeSeriesRatio) ProtoMessage()

func (*TimeSeriesRatio) Reset

func (m *TimeSeriesRatio) Reset()

func (*TimeSeriesRatio) String

func (m *TimeSeriesRatio) String() string

func (*TimeSeriesRatio) XXX_DiscardUnknown

func (m *TimeSeriesRatio) XXX_DiscardUnknown()

func (*TimeSeriesRatio) XXX_Marshal

func (m *TimeSeriesRatio) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TimeSeriesRatio) XXX_Merge

func (m *TimeSeriesRatio) XXX_Merge(src proto.Message)

func (*TimeSeriesRatio) XXX_Size

func (m *TimeSeriesRatio) XXX_Size() int

func (*TimeSeriesRatio) XXX_Unmarshal

func (m *TimeSeriesRatio) XXX_Unmarshal(b []byte) error

type TypedValue

type TypedValue struct {
	// The typed value field.
	//
	// Types that are valid to be assigned to Value:
	//	*TypedValue_BoolValue
	//	*TypedValue_Int64Value
	//	*TypedValue_DoubleValue
	//	*TypedValue_StringValue
	//	*TypedValue_DistributionValue
	Value                isTypedValue_Value `protobuf_oneof:"value"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

A single strongly-typed value.

func (*TypedValue) Descriptor

func (*TypedValue) Descriptor() ([]byte, []int)

func (*TypedValue) GetBoolValue

func (m *TypedValue) GetBoolValue() bool

func (*TypedValue) GetDistributionValue

func (m *TypedValue) GetDistributionValue() *distribution.Distribution

func (*TypedValue) GetDoubleValue

func (m *TypedValue) GetDoubleValue() float64

func (*TypedValue) GetInt64Value

func (m *TypedValue) GetInt64Value() int64

func (*TypedValue) GetStringValue

func (m *TypedValue) GetStringValue() string

func (*TypedValue) GetValue

func (m *TypedValue) GetValue() isTypedValue_Value

func (*TypedValue) ProtoMessage

func (*TypedValue) ProtoMessage()

func (*TypedValue) Reset

func (m *TypedValue) Reset()

func (*TypedValue) String

func (m *TypedValue) String() string

func (*TypedValue) XXX_DiscardUnknown

func (m *TypedValue) XXX_DiscardUnknown()

func (*TypedValue) XXX_Marshal

func (m *TypedValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TypedValue) XXX_Merge

func (m *TypedValue) XXX_Merge(src proto.Message)

func (*TypedValue) XXX_OneofWrappers

func (*TypedValue) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*TypedValue) XXX_Size

func (m *TypedValue) XXX_Size() int

func (*TypedValue) XXX_Unmarshal

func (m *TypedValue) XXX_Unmarshal(b []byte) error

type TypedValue_BoolValue

type TypedValue_BoolValue struct {
	BoolValue bool `protobuf:"varint,1,opt,name=bool_value,json=boolValue,proto3,oneof"`
}

type TypedValue_DistributionValue

type TypedValue_DistributionValue struct {
	DistributionValue *distribution.Distribution `protobuf:"bytes,5,opt,name=distribution_value,json=distributionValue,proto3,oneof"`
}

type TypedValue_DoubleValue

type TypedValue_DoubleValue struct {
	DoubleValue float64 `protobuf:"fixed64,3,opt,name=double_value,json=doubleValue,proto3,oneof"`
}

type TypedValue_Int64Value

type TypedValue_Int64Value struct {
	Int64Value int64 `protobuf:"varint,2,opt,name=int64_value,json=int64Value,proto3,oneof"`
}

type TypedValue_StringValue

type TypedValue_StringValue struct {
	StringValue string `protobuf:"bytes,4,opt,name=string_value,json=stringValue,proto3,oneof"`
}

type UnimplementedAlertPolicyServiceServer

type UnimplementedAlertPolicyServiceServer struct {
}

UnimplementedAlertPolicyServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedAlertPolicyServiceServer) CreateAlertPolicy

func (*UnimplementedAlertPolicyServiceServer) DeleteAlertPolicy

func (*UnimplementedAlertPolicyServiceServer) GetAlertPolicy

func (*UnimplementedAlertPolicyServiceServer) ListAlertPolicies

func (*UnimplementedAlertPolicyServiceServer) UpdateAlertPolicy

type UnimplementedGroupServiceServer

type UnimplementedGroupServiceServer struct {
}

UnimplementedGroupServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedGroupServiceServer) CreateGroup

func (*UnimplementedGroupServiceServer) DeleteGroup

func (*UnimplementedGroupServiceServer) GetGroup

func (*UnimplementedGroupServiceServer) ListGroupMembers

func (*UnimplementedGroupServiceServer) ListGroups

func (*UnimplementedGroupServiceServer) UpdateGroup

type UnimplementedMetricServiceServer

type UnimplementedMetricServiceServer struct {
}

UnimplementedMetricServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedMetricServiceServer) CreateMetricDescriptor

func (*UnimplementedMetricServiceServer) CreateTimeSeries

func (*UnimplementedMetricServiceServer) DeleteMetricDescriptor

func (*UnimplementedMetricServiceServer) GetMetricDescriptor

func (*UnimplementedMetricServiceServer) ListMetricDescriptors

func (*UnimplementedMetricServiceServer) ListTimeSeries

type UnimplementedNotificationChannelServiceServer

type UnimplementedNotificationChannelServiceServer struct {
}

UnimplementedNotificationChannelServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedNotificationChannelServiceServer) CreateNotificationChannel

func (*UnimplementedNotificationChannelServiceServer) DeleteNotificationChannel

func (*UnimplementedNotificationChannelServiceServer) GetNotificationChannel

func (*UnimplementedNotificationChannelServiceServer) GetNotificationChannelDescriptor

func (*UnimplementedNotificationChannelServiceServer) ListNotificationChannels

func (*UnimplementedNotificationChannelServiceServer) SendNotificationChannelVerificationCode

func (*UnimplementedNotificationChannelServiceServer) UpdateNotificationChannel

func (*UnimplementedNotificationChannelServiceServer) VerifyNotificationChannel

type UnimplementedServiceMonitoringServiceServer

type UnimplementedServiceMonitoringServiceServer struct {
}

UnimplementedServiceMonitoringServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedServiceMonitoringServiceServer) CreateService

func (*UnimplementedServiceMonitoringServiceServer) CreateServiceLevelObjective

func (*UnimplementedServiceMonitoringServiceServer) DeleteService

func (*UnimplementedServiceMonitoringServiceServer) DeleteServiceLevelObjective

func (*UnimplementedServiceMonitoringServiceServer) GetService

func (*UnimplementedServiceMonitoringServiceServer) GetServiceLevelObjective

func (*UnimplementedServiceMonitoringServiceServer) ListServiceLevelObjectives

func (*UnimplementedServiceMonitoringServiceServer) ListServices

func (*UnimplementedServiceMonitoringServiceServer) UpdateService

func (*UnimplementedServiceMonitoringServiceServer) UpdateServiceLevelObjective

type UnimplementedUptimeCheckServiceServer

type UnimplementedUptimeCheckServiceServer struct {
}

UnimplementedUptimeCheckServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedUptimeCheckServiceServer) CreateUptimeCheckConfig

func (*UnimplementedUptimeCheckServiceServer) DeleteUptimeCheckConfig

func (*UnimplementedUptimeCheckServiceServer) GetUptimeCheckConfig

func (*UnimplementedUptimeCheckServiceServer) ListUptimeCheckConfigs

func (*UnimplementedUptimeCheckServiceServer) ListUptimeCheckIps

func (*UnimplementedUptimeCheckServiceServer) UpdateUptimeCheckConfig

type UpdateAlertPolicyRequest

type UpdateAlertPolicyRequest struct {
	// Optional. A list of alerting policy field names. If this field is not
	// empty, each listed field in the existing alerting policy is set to the
	// value of the corresponding field in the supplied policy (`alert_policy`),
	// or to the field's default value if the field is not in the supplied
	// alerting policy.  Fields not listed retain their previous value.
	//
	// Examples of valid field masks include `display_name`, `documentation`,
	// `documentation.content`, `documentation.mime_type`, `user_labels`,
	// `user_label.nameofkey`, `enabled`, `conditions`, `combiner`, etc.
	//
	// If this field is empty, then the supplied alerting policy replaces the
	// existing policy. It is the same as deleting the existing policy and
	// adding the supplied policy, except for the following:
	//
	// +   The new policy will have the same `[ALERT_POLICY_ID]` as the former
	//     policy. This gives you continuity with the former policy in your
	//     notifications and incidents.
	// +   Conditions in the new policy will keep their former `[CONDITION_ID]` if
	//     the supplied condition includes the `name` field with that
	//     `[CONDITION_ID]`. If the supplied condition omits the `name` field,
	//     then a new `[CONDITION_ID]` is created.
	UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// Required. The updated alerting policy or the updated values for the
	// fields listed in `update_mask`.
	// If `update_mask` is not empty, any fields in this policy that are
	// not in `update_mask` are ignored.
	AlertPolicy          *AlertPolicy `protobuf:"bytes,3,opt,name=alert_policy,json=alertPolicy,proto3" json:"alert_policy,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

The protocol for the `UpdateAlertPolicy` request.

func (*UpdateAlertPolicyRequest) Descriptor

func (*UpdateAlertPolicyRequest) Descriptor() ([]byte, []int)

func (*UpdateAlertPolicyRequest) GetAlertPolicy

func (m *UpdateAlertPolicyRequest) GetAlertPolicy() *AlertPolicy

func (*UpdateAlertPolicyRequest) GetUpdateMask

func (m *UpdateAlertPolicyRequest) GetUpdateMask() *field_mask.FieldMask

func (*UpdateAlertPolicyRequest) ProtoMessage

func (*UpdateAlertPolicyRequest) ProtoMessage()

func (*UpdateAlertPolicyRequest) Reset

func (m *UpdateAlertPolicyRequest) Reset()

func (*UpdateAlertPolicyRequest) String

func (m *UpdateAlertPolicyRequest) String() string

func (*UpdateAlertPolicyRequest) XXX_DiscardUnknown

func (m *UpdateAlertPolicyRequest) XXX_DiscardUnknown()

func (*UpdateAlertPolicyRequest) XXX_Marshal

func (m *UpdateAlertPolicyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateAlertPolicyRequest) XXX_Merge

func (m *UpdateAlertPolicyRequest) XXX_Merge(src proto.Message)

func (*UpdateAlertPolicyRequest) XXX_Size

func (m *UpdateAlertPolicyRequest) XXX_Size() int

func (*UpdateAlertPolicyRequest) XXX_Unmarshal

func (m *UpdateAlertPolicyRequest) XXX_Unmarshal(b []byte) error

type UpdateGroupRequest

type UpdateGroupRequest struct {
	// Required. The new definition of the group.  All fields of the existing group,
	// excepting `name`, are replaced with the corresponding fields of this group.
	Group *Group `protobuf:"bytes,2,opt,name=group,proto3" json:"group,omitempty"`
	// If true, validate this request but do not update the existing group.
	ValidateOnly         bool     `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The `UpdateGroup` request.

func (*UpdateGroupRequest) Descriptor

func (*UpdateGroupRequest) Descriptor() ([]byte, []int)

func (*UpdateGroupRequest) GetGroup

func (m *UpdateGroupRequest) GetGroup() *Group

func (*UpdateGroupRequest) GetValidateOnly

func (m *UpdateGroupRequest) GetValidateOnly() bool

func (*UpdateGroupRequest) ProtoMessage

func (*UpdateGroupRequest) ProtoMessage()

func (*UpdateGroupRequest) Reset

func (m *UpdateGroupRequest) Reset()

func (*UpdateGroupRequest) String

func (m *UpdateGroupRequest) String() string

func (*UpdateGroupRequest) XXX_DiscardUnknown

func (m *UpdateGroupRequest) XXX_DiscardUnknown()

func (*UpdateGroupRequest) XXX_Marshal

func (m *UpdateGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateGroupRequest) XXX_Merge

func (m *UpdateGroupRequest) XXX_Merge(src proto.Message)

func (*UpdateGroupRequest) XXX_Size

func (m *UpdateGroupRequest) XXX_Size() int

func (*UpdateGroupRequest) XXX_Unmarshal

func (m *UpdateGroupRequest) XXX_Unmarshal(b []byte) error

type UpdateNotificationChannelRequest

type UpdateNotificationChannelRequest struct {
	// The fields to update.
	UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// Required. A description of the changes to be applied to the specified
	// notification channel. The description must provide a definition for
	// fields to be updated; the names of these fields should also be
	// included in the `update_mask`.
	NotificationChannel  *NotificationChannel `protobuf:"bytes,3,opt,name=notification_channel,json=notificationChannel,proto3" json:"notification_channel,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

The `UpdateNotificationChannel` request.

func (*UpdateNotificationChannelRequest) Descriptor

func (*UpdateNotificationChannelRequest) Descriptor() ([]byte, []int)

func (*UpdateNotificationChannelRequest) GetNotificationChannel

func (m *UpdateNotificationChannelRequest) GetNotificationChannel() *NotificationChannel

func (*UpdateNotificationChannelRequest) GetUpdateMask

func (*UpdateNotificationChannelRequest) ProtoMessage

func (*UpdateNotificationChannelRequest) ProtoMessage()

func (*UpdateNotificationChannelRequest) Reset

func (*UpdateNotificationChannelRequest) String

func (*UpdateNotificationChannelRequest) XXX_DiscardUnknown

func (m *UpdateNotificationChannelRequest) XXX_DiscardUnknown()

func (*UpdateNotificationChannelRequest) XXX_Marshal

func (m *UpdateNotificationChannelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateNotificationChannelRequest) XXX_Merge

func (*UpdateNotificationChannelRequest) XXX_Size

func (m *UpdateNotificationChannelRequest) XXX_Size() int

func (*UpdateNotificationChannelRequest) XXX_Unmarshal

func (m *UpdateNotificationChannelRequest) XXX_Unmarshal(b []byte) error

type UpdateServiceLevelObjectiveRequest

type UpdateServiceLevelObjectiveRequest struct {
	// Required. The `ServiceLevelObjective` to draw updates from.
	// The given `name` specifies the resource to update.
	ServiceLevelObjective *ServiceLevelObjective `` /* 126-byte string literal not displayed */
	// A set of field paths defining which fields to use for the update.
	UpdateMask           *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

The `UpdateServiceLevelObjective` request.

func (*UpdateServiceLevelObjectiveRequest) Descriptor

func (*UpdateServiceLevelObjectiveRequest) Descriptor() ([]byte, []int)

func (*UpdateServiceLevelObjectiveRequest) GetServiceLevelObjective

func (m *UpdateServiceLevelObjectiveRequest) GetServiceLevelObjective() *ServiceLevelObjective

func (*UpdateServiceLevelObjectiveRequest) GetUpdateMask

func (*UpdateServiceLevelObjectiveRequest) ProtoMessage

func (*UpdateServiceLevelObjectiveRequest) ProtoMessage()

func (*UpdateServiceLevelObjectiveRequest) Reset

func (*UpdateServiceLevelObjectiveRequest) String

func (*UpdateServiceLevelObjectiveRequest) XXX_DiscardUnknown

func (m *UpdateServiceLevelObjectiveRequest) XXX_DiscardUnknown()

func (*UpdateServiceLevelObjectiveRequest) XXX_Marshal

func (m *UpdateServiceLevelObjectiveRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateServiceLevelObjectiveRequest) XXX_Merge

func (*UpdateServiceLevelObjectiveRequest) XXX_Size

func (*UpdateServiceLevelObjectiveRequest) XXX_Unmarshal

func (m *UpdateServiceLevelObjectiveRequest) XXX_Unmarshal(b []byte) error

type UpdateServiceRequest

type UpdateServiceRequest struct {
	// Required. The `Service` to draw updates from.
	// The given `name` specifies the resource to update.
	Service *Service `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
	// A set of field paths defining which fields to use for the update.
	UpdateMask           *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

The `UpdateService` request.

func (*UpdateServiceRequest) Descriptor

func (*UpdateServiceRequest) Descriptor() ([]byte, []int)

func (*UpdateServiceRequest) GetService

func (m *UpdateServiceRequest) GetService() *Service

func (*UpdateServiceRequest) GetUpdateMask

func (m *UpdateServiceRequest) GetUpdateMask() *field_mask.FieldMask

func (*UpdateServiceRequest) ProtoMessage

func (*UpdateServiceRequest) ProtoMessage()

func (*UpdateServiceRequest) Reset

func (m *UpdateServiceRequest) Reset()

func (*UpdateServiceRequest) String

func (m *UpdateServiceRequest) String() string

func (*UpdateServiceRequest) XXX_DiscardUnknown

func (m *UpdateServiceRequest) XXX_DiscardUnknown()

func (*UpdateServiceRequest) XXX_Marshal

func (m *UpdateServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateServiceRequest) XXX_Merge

func (m *UpdateServiceRequest) XXX_Merge(src proto.Message)

func (*UpdateServiceRequest) XXX_Size

func (m *UpdateServiceRequest) XXX_Size() int

func (*UpdateServiceRequest) XXX_Unmarshal

func (m *UpdateServiceRequest) XXX_Unmarshal(b []byte) error

type UpdateUptimeCheckConfigRequest

type UpdateUptimeCheckConfigRequest struct {
	// Optional. If present, only the listed fields in the current Uptime check
	// configuration are updated with values from the new configuration. If this
	// field is empty, then the current configuration is completely replaced with
	// the new configuration.
	UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// Required. If an `updateMask` has been specified, this field gives
	// the values for the set of fields mentioned in the `updateMask`. If an
	// `updateMask` has not been given, this Uptime check configuration replaces
	// the current configuration. If a field is mentioned in `updateMask` but
	// the corresonding field is omitted in this partial Uptime check
	// configuration, it has the effect of deleting/clearing the field from the
	// configuration on the server.
	//
	// The following fields can be updated: `display_name`,
	// `http_check`, `tcp_check`, `timeout`, `content_matchers`, and
	// `selected_regions`.
	UptimeCheckConfig    *UptimeCheckConfig `protobuf:"bytes,3,opt,name=uptime_check_config,json=uptimeCheckConfig,proto3" json:"uptime_check_config,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

The protocol for the `UpdateUptimeCheckConfig` request.

func (*UpdateUptimeCheckConfigRequest) Descriptor

func (*UpdateUptimeCheckConfigRequest) Descriptor() ([]byte, []int)

func (*UpdateUptimeCheckConfigRequest) GetUpdateMask

func (*UpdateUptimeCheckConfigRequest) GetUptimeCheckConfig

func (m *UpdateUptimeCheckConfigRequest) GetUptimeCheckConfig() *UptimeCheckConfig

func (*UpdateUptimeCheckConfigRequest) ProtoMessage

func (*UpdateUptimeCheckConfigRequest) ProtoMessage()

func (*UpdateUptimeCheckConfigRequest) Reset

func (m *UpdateUptimeCheckConfigRequest) Reset()

func (*UpdateUptimeCheckConfigRequest) String

func (*UpdateUptimeCheckConfigRequest) XXX_DiscardUnknown

func (m *UpdateUptimeCheckConfigRequest) XXX_DiscardUnknown()

func (*UpdateUptimeCheckConfigRequest) XXX_Marshal

func (m *UpdateUptimeCheckConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateUptimeCheckConfigRequest) XXX_Merge

func (m *UpdateUptimeCheckConfigRequest) XXX_Merge(src proto.Message)

func (*UpdateUptimeCheckConfigRequest) XXX_Size

func (m *UpdateUptimeCheckConfigRequest) XXX_Size() int

func (*UpdateUptimeCheckConfigRequest) XXX_Unmarshal

func (m *UpdateUptimeCheckConfigRequest) XXX_Unmarshal(b []byte) error

type UptimeCheckConfig

type UptimeCheckConfig struct {
	// A unique resource name for this Uptime check configuration. The format is:
	//
	//      projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
	//
	// This field should be omitted when creating the Uptime check configuration;
	// on create, the resource name is assigned by the server and included in the
	// response.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// A human-friendly name for the Uptime check configuration. The display name
	// should be unique within a Stackdriver Workspace in order to make it easier
	// to identify; however, uniqueness is not enforced. Required.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// The resource the check is checking. Required.
	//
	// Types that are valid to be assigned to Resource:
	//	*UptimeCheckConfig_MonitoredResource
	//	*UptimeCheckConfig_ResourceGroup_
	Resource isUptimeCheckConfig_Resource `protobuf_oneof:"resource"`
	// The type of Uptime check request.
	//
	// Types that are valid to be assigned to CheckRequestType:
	//	*UptimeCheckConfig_HttpCheck_
	//	*UptimeCheckConfig_TcpCheck_
	CheckRequestType isUptimeCheckConfig_CheckRequestType `protobuf_oneof:"check_request_type"`
	// How often, in seconds, the Uptime check is performed.
	// Currently, the only supported values are `60s` (1 minute), `300s`
	// (5 minutes), `600s` (10 minutes), and `900s` (15 minutes). Optional,
	// defaults to `60s`.
	Period *duration.Duration `protobuf:"bytes,7,opt,name=period,proto3" json:"period,omitempty"`
	// The maximum amount of time to wait for the request to complete (must be
	// between 1 and 60 seconds). Required.
	Timeout *duration.Duration `protobuf:"bytes,8,opt,name=timeout,proto3" json:"timeout,omitempty"`
	// The content that is expected to appear in the data returned by the target
	// server against which the check is run.  Currently, only the first entry
	// in the `content_matchers` list is supported, and additional entries will
	// be ignored. This field is optional and should only be specified if a
	// content match is required as part of the/ Uptime check.
	ContentMatchers []*UptimeCheckConfig_ContentMatcher `protobuf:"bytes,9,rep,name=content_matchers,json=contentMatchers,proto3" json:"content_matchers,omitempty"`
	// The list of regions from which the check will be run.
	// Some regions contain one location, and others contain more than one.
	// If this field is specified, enough regions must be provided to include a
	// minimum of 3 locations.  Not specifying this field will result in Uptime
	// checks running from all available regions.
	SelectedRegions []UptimeCheckRegion `` /* 159-byte string literal not displayed */
	// If this is `true`, then checks are made only from the 'internal_checkers'.
	// If it is `false`, then checks are made only from the 'selected_regions'.
	// It is an error to provide 'selected_regions' when is_internal is `true`,
	// or to provide 'internal_checkers' when is_internal is `false`.
	IsInternal bool `protobuf:"varint,15,opt,name=is_internal,json=isInternal,proto3" json:"is_internal,omitempty"` // Deprecated: Do not use.
	// The internal checkers that this check will egress from. If `is_internal` is
	// `true` and this list is empty, the check will egress from all the
	// InternalCheckers configured for the project that owns this
	// `UptimeCheckConfig`.
	InternalCheckers     []*InternalChecker `protobuf:"bytes,14,rep,name=internal_checkers,json=internalCheckers,proto3" json:"internal_checkers,omitempty"` // Deprecated: Do not use.
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

This message configures which resources and services to monitor for availability.

func (*UptimeCheckConfig) Descriptor

func (*UptimeCheckConfig) Descriptor() ([]byte, []int)

func (*UptimeCheckConfig) GetCheckRequestType

func (m *UptimeCheckConfig) GetCheckRequestType() isUptimeCheckConfig_CheckRequestType

func (*UptimeCheckConfig) GetContentMatchers

func (m *UptimeCheckConfig) GetContentMatchers() []*UptimeCheckConfig_ContentMatcher

func (*UptimeCheckConfig) GetDisplayName

func (m *UptimeCheckConfig) GetDisplayName() string

func (*UptimeCheckConfig) GetHttpCheck

func (*UptimeCheckConfig) GetInternalCheckers deprecated

func (m *UptimeCheckConfig) GetInternalCheckers() []*InternalChecker

Deprecated: Do not use.

func (*UptimeCheckConfig) GetIsInternal deprecated

func (m *UptimeCheckConfig) GetIsInternal() bool

Deprecated: Do not use.

func (*UptimeCheckConfig) GetMonitoredResource

func (m *UptimeCheckConfig) GetMonitoredResource() *monitoredres.MonitoredResource

func (*UptimeCheckConfig) GetName

func (m *UptimeCheckConfig) GetName() string

func (*UptimeCheckConfig) GetPeriod

func (m *UptimeCheckConfig) GetPeriod() *duration.Duration

func (*UptimeCheckConfig) GetResource

func (m *UptimeCheckConfig) GetResource() isUptimeCheckConfig_Resource

func (*UptimeCheckConfig) GetResourceGroup

func (m *UptimeCheckConfig) GetResourceGroup() *UptimeCheckConfig_ResourceGroup

func (*UptimeCheckConfig) GetSelectedRegions

func (m *UptimeCheckConfig) GetSelectedRegions() []UptimeCheckRegion

func (*UptimeCheckConfig) GetTcpCheck

func (*UptimeCheckConfig) GetTimeout

func (m *UptimeCheckConfig) GetTimeout() *duration.Duration

func (*UptimeCheckConfig) ProtoMessage

func (*UptimeCheckConfig) ProtoMessage()

func (*UptimeCheckConfig) Reset

func (m *UptimeCheckConfig) Reset()

func (*UptimeCheckConfig) String

func (m *UptimeCheckConfig) String() string

func (*UptimeCheckConfig) XXX_DiscardUnknown

func (m *UptimeCheckConfig) XXX_DiscardUnknown()

func (*UptimeCheckConfig) XXX_Marshal

func (m *UptimeCheckConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UptimeCheckConfig) XXX_Merge

func (m *UptimeCheckConfig) XXX_Merge(src proto.Message)

func (*UptimeCheckConfig) XXX_OneofWrappers

func (*UptimeCheckConfig) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*UptimeCheckConfig) XXX_Size

func (m *UptimeCheckConfig) XXX_Size() int

func (*UptimeCheckConfig) XXX_Unmarshal

func (m *UptimeCheckConfig) XXX_Unmarshal(b []byte) error

type UptimeCheckConfig_ContentMatcher

type UptimeCheckConfig_ContentMatcher struct {
	// String or regex content to match. Maximum 1024 bytes. An empty `content`
	// string indicates no content matching is to be performed.
	Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	// The type of content matcher that will be applied to the server output,
	// compared to the `content` string when the check is run.
	Matcher              UptimeCheckConfig_ContentMatcher_ContentMatcherOption `` /* 148-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                                              `json:"-"`
	XXX_unrecognized     []byte                                                `json:"-"`
	XXX_sizecache        int32                                                 `json:"-"`
}

Optional. Used to perform content matching. This allows matching based on substrings and regular expressions, together with their negations. Only the first 4&nbsp;MB of an HTTP or HTTPS check's response (and the first 1&nbsp;MB of a TCP check's response) are examined for purposes of content matching.

func (*UptimeCheckConfig_ContentMatcher) Descriptor

func (*UptimeCheckConfig_ContentMatcher) Descriptor() ([]byte, []int)

func (*UptimeCheckConfig_ContentMatcher) GetContent

func (m *UptimeCheckConfig_ContentMatcher) GetContent() string

func (*UptimeCheckConfig_ContentMatcher) GetMatcher

func (*UptimeCheckConfig_ContentMatcher) ProtoMessage

func (*UptimeCheckConfig_ContentMatcher) ProtoMessage()

func (*UptimeCheckConfig_ContentMatcher) Reset

func (*UptimeCheckConfig_ContentMatcher) String

func (*UptimeCheckConfig_ContentMatcher) XXX_DiscardUnknown

func (m *UptimeCheckConfig_ContentMatcher) XXX_DiscardUnknown()

func (*UptimeCheckConfig_ContentMatcher) XXX_Marshal

func (m *UptimeCheckConfig_ContentMatcher) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UptimeCheckConfig_ContentMatcher) XXX_Merge

func (*UptimeCheckConfig_ContentMatcher) XXX_Size

func (m *UptimeCheckConfig_ContentMatcher) XXX_Size() int

func (*UptimeCheckConfig_ContentMatcher) XXX_Unmarshal

func (m *UptimeCheckConfig_ContentMatcher) XXX_Unmarshal(b []byte) error

type UptimeCheckConfig_ContentMatcher_ContentMatcherOption

type UptimeCheckConfig_ContentMatcher_ContentMatcherOption int32

Options to perform content matching.

const (
	// No content matcher type specified (maintained for backward
	// compatibility, but deprecated for future use).
	// Treated as `CONTAINS_STRING`.
	UptimeCheckConfig_ContentMatcher_CONTENT_MATCHER_OPTION_UNSPECIFIED UptimeCheckConfig_ContentMatcher_ContentMatcherOption = 0
	// Selects substring matching. The match succeeds if the output contains
	// the `content` string.  This is the default value for checks without
	// a `matcher` option, or where the value of `matcher` is
	// `CONTENT_MATCHER_OPTION_UNSPECIFIED`.
	UptimeCheckConfig_ContentMatcher_CONTAINS_STRING UptimeCheckConfig_ContentMatcher_ContentMatcherOption = 1
	// Selects negation of substring matching. The match succeeds if the
	// output does _NOT_ contain the `content` string.
	UptimeCheckConfig_ContentMatcher_NOT_CONTAINS_STRING UptimeCheckConfig_ContentMatcher_ContentMatcherOption = 2
	// Selects regular-expression matching. The match succeeds of the output
	// matches the regular expression specified in the `content` string.
	UptimeCheckConfig_ContentMatcher_MATCHES_REGEX UptimeCheckConfig_ContentMatcher_ContentMatcherOption = 3
	// Selects negation of regular-expression matching. The match succeeds if
	// the output does _NOT_ match the regular expression specified in the
	// `content` string.
	UptimeCheckConfig_ContentMatcher_NOT_MATCHES_REGEX UptimeCheckConfig_ContentMatcher_ContentMatcherOption = 4
)

func (UptimeCheckConfig_ContentMatcher_ContentMatcherOption) EnumDescriptor

func (UptimeCheckConfig_ContentMatcher_ContentMatcherOption) String

type UptimeCheckConfig_HttpCheck

type UptimeCheckConfig_HttpCheck struct {
	// The HTTP request method to use for the check.
	RequestMethod UptimeCheckConfig_HttpCheck_RequestMethod `` /* 169-byte string literal not displayed */
	// If `true`, use HTTPS instead of HTTP to run the check.
	UseSsl bool `protobuf:"varint,1,opt,name=use_ssl,json=useSsl,proto3" json:"use_ssl,omitempty"`
	// Optional (defaults to "/"). The path to the page against which to run
	// the check. Will be combined with the `host` (specified within the
	// `monitored_resource`) and `port` to construct the full URL. If the
	// provided path does not begin with "/", a "/" will be prepended
	// automatically.
	Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	// Optional (defaults to 80 when `use_ssl` is `false`, and 443 when
	// `use_ssl` is `true`). The TCP port on the HTTP server against which to
	// run the check. Will be combined with host (specified within the
	// `monitored_resource`) and `path` to construct the full URL.
	Port int32 `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"`
	// The authentication information. Optional when creating an HTTP check;
	// defaults to empty.
	AuthInfo *UptimeCheckConfig_HttpCheck_BasicAuthentication `protobuf:"bytes,4,opt,name=auth_info,json=authInfo,proto3" json:"auth_info,omitempty"`
	// Boolean specifiying whether to encrypt the header information.
	// Encryption should be specified for any headers related to authentication
	// that you do not wish to be seen when retrieving the configuration. The
	// server will be responsible for encrypting the headers.
	// On Get/List calls, if `mask_headers` is set to `true` then the headers
	// will be obscured with `******.`
	MaskHeaders bool `protobuf:"varint,5,opt,name=mask_headers,json=maskHeaders,proto3" json:"mask_headers,omitempty"`
	// The list of headers to send as part of the Uptime check request.
	// If two headers have the same key and different values, they should
	// be entered as a single header, with the value being a comma-separated
	// list of all the desired values as described at
	// https://www.w3.org/Protocols/rfc2616/rfc2616.txt (page 31).
	// Entering two separate headers with the same key in a Create call will
	// cause the first to be overwritten by the second.
	// The maximum number of headers allowed is 100.
	Headers map[string]string `` /* 155-byte string literal not displayed */
	// The content type to use for the check.
	ContentType UptimeCheckConfig_HttpCheck_ContentType `` /* 161-byte string literal not displayed */
	// Boolean specifying whether to include SSL certificate validation as a
	// part of the Uptime check. Only applies to checks where
	// `monitored_resource` is set to `uptime_url`. If `use_ssl` is `false`,
	// setting `validate_ssl` to `true` has no effect.
	ValidateSsl bool `protobuf:"varint,7,opt,name=validate_ssl,json=validateSsl,proto3" json:"validate_ssl,omitempty"`
	// The request body associated with the HTTP request. If `content_type` is
	// `URL_ENCODED`, the body passed in must be URL-encoded. Users can provide
	// a `Content-Length` header via the `headers` field or the API will do
	// so. The maximum byte size is 1 megabyte. Note: As with all `bytes` fields
	// JSON representations are base64 encoded.
	Body                 []byte   `protobuf:"bytes,10,opt,name=body,proto3" json:"body,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Information involved in an HTTP/HTTPS Uptime check request.

func (*UptimeCheckConfig_HttpCheck) Descriptor

func (*UptimeCheckConfig_HttpCheck) Descriptor() ([]byte, []int)

func (*UptimeCheckConfig_HttpCheck) GetAuthInfo

func (*UptimeCheckConfig_HttpCheck) GetBody

func (m *UptimeCheckConfig_HttpCheck) GetBody() []byte

func (*UptimeCheckConfig_HttpCheck) GetContentType

func (*UptimeCheckConfig_HttpCheck) GetHeaders

func (m *UptimeCheckConfig_HttpCheck) GetHeaders() map[string]string

func (*UptimeCheckConfig_HttpCheck) GetMaskHeaders

func (m *UptimeCheckConfig_HttpCheck) GetMaskHeaders() bool

func (*UptimeCheckConfig_HttpCheck) GetPath

func (m *UptimeCheckConfig_HttpCheck) GetPath() string

func (*UptimeCheckConfig_HttpCheck) GetPort

func (m *UptimeCheckConfig_HttpCheck) GetPort() int32

func (*UptimeCheckConfig_HttpCheck) GetRequestMethod

func (*UptimeCheckConfig_HttpCheck) GetUseSsl

func (m *UptimeCheckConfig_HttpCheck) GetUseSsl() bool

func (*UptimeCheckConfig_HttpCheck) GetValidateSsl

func (m *UptimeCheckConfig_HttpCheck) GetValidateSsl() bool

func (*UptimeCheckConfig_HttpCheck) ProtoMessage

func (*UptimeCheckConfig_HttpCheck) ProtoMessage()

func (*UptimeCheckConfig_HttpCheck) Reset

func (m *UptimeCheckConfig_HttpCheck) Reset()

func (*UptimeCheckConfig_HttpCheck) String

func (m *UptimeCheckConfig_HttpCheck) String() string

func (*UptimeCheckConfig_HttpCheck) XXX_DiscardUnknown

func (m *UptimeCheckConfig_HttpCheck) XXX_DiscardUnknown()

func (*UptimeCheckConfig_HttpCheck) XXX_Marshal

func (m *UptimeCheckConfig_HttpCheck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UptimeCheckConfig_HttpCheck) XXX_Merge

func (m *UptimeCheckConfig_HttpCheck) XXX_Merge(src proto.Message)

func (*UptimeCheckConfig_HttpCheck) XXX_Size

func (m *UptimeCheckConfig_HttpCheck) XXX_Size() int

func (*UptimeCheckConfig_HttpCheck) XXX_Unmarshal

func (m *UptimeCheckConfig_HttpCheck) XXX_Unmarshal(b []byte) error

type UptimeCheckConfig_HttpCheck_

type UptimeCheckConfig_HttpCheck_ struct {
	HttpCheck *UptimeCheckConfig_HttpCheck `protobuf:"bytes,5,opt,name=http_check,json=httpCheck,proto3,oneof"`
}

type UptimeCheckConfig_HttpCheck_BasicAuthentication

type UptimeCheckConfig_HttpCheck_BasicAuthentication struct {
	// The username to use when authenticating with the HTTP server.
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	// The password to use when authenticating with the HTTP server.
	Password             string   `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The authentication parameters to provide to the specified resource or URL that requires a username and password. Currently, only [Basic HTTP authentication](https://tools.ietf.org/html/rfc7617) is supported in Uptime checks.

func (*UptimeCheckConfig_HttpCheck_BasicAuthentication) Descriptor

func (*UptimeCheckConfig_HttpCheck_BasicAuthentication) GetPassword

func (*UptimeCheckConfig_HttpCheck_BasicAuthentication) GetUsername

func (*UptimeCheckConfig_HttpCheck_BasicAuthentication) ProtoMessage

func (*UptimeCheckConfig_HttpCheck_BasicAuthentication) Reset

func (*UptimeCheckConfig_HttpCheck_BasicAuthentication) String

func (*UptimeCheckConfig_HttpCheck_BasicAuthentication) XXX_DiscardUnknown

func (m *UptimeCheckConfig_HttpCheck_BasicAuthentication) XXX_DiscardUnknown()

func (*UptimeCheckConfig_HttpCheck_BasicAuthentication) XXX_Marshal

func (m *UptimeCheckConfig_HttpCheck_BasicAuthentication) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UptimeCheckConfig_HttpCheck_BasicAuthentication) XXX_Merge

func (*UptimeCheckConfig_HttpCheck_BasicAuthentication) XXX_Size

func (*UptimeCheckConfig_HttpCheck_BasicAuthentication) XXX_Unmarshal

type UptimeCheckConfig_HttpCheck_ContentType

type UptimeCheckConfig_HttpCheck_ContentType int32

Header options corresponding to the Content-Type of the body in HTTP requests. Note that a `Content-Type` header cannot be present in the `headers` field if this field is specified.

const (
	// No content type specified. If the request method is POST, an
	// unspecified content type results in a check creation rejection.
	UptimeCheckConfig_HttpCheck_TYPE_UNSPECIFIED UptimeCheckConfig_HttpCheck_ContentType = 0
	// `body` is in URL-encoded form. Equivalent to setting the `Content-Type`
	// to `application/x-www-form-urlencoded` in the HTTP request.
	UptimeCheckConfig_HttpCheck_URL_ENCODED UptimeCheckConfig_HttpCheck_ContentType = 1
)

func (UptimeCheckConfig_HttpCheck_ContentType) EnumDescriptor

func (UptimeCheckConfig_HttpCheck_ContentType) EnumDescriptor() ([]byte, []int)

func (UptimeCheckConfig_HttpCheck_ContentType) String

type UptimeCheckConfig_HttpCheck_RequestMethod

type UptimeCheckConfig_HttpCheck_RequestMethod int32

The HTTP request method options.

const (
	// No request method specified.
	UptimeCheckConfig_HttpCheck_METHOD_UNSPECIFIED UptimeCheckConfig_HttpCheck_RequestMethod = 0
	// GET request.
	UptimeCheckConfig_HttpCheck_GET UptimeCheckConfig_HttpCheck_RequestMethod = 1
	// POST request.
	UptimeCheckConfig_HttpCheck_POST UptimeCheckConfig_HttpCheck_RequestMethod = 2
)

func (UptimeCheckConfig_HttpCheck_RequestMethod) EnumDescriptor

func (UptimeCheckConfig_HttpCheck_RequestMethod) EnumDescriptor() ([]byte, []int)

func (UptimeCheckConfig_HttpCheck_RequestMethod) String

type UptimeCheckConfig_MonitoredResource

type UptimeCheckConfig_MonitoredResource struct {
	MonitoredResource *monitoredres.MonitoredResource `protobuf:"bytes,3,opt,name=monitored_resource,json=monitoredResource,proto3,oneof"`
}

type UptimeCheckConfig_ResourceGroup

type UptimeCheckConfig_ResourceGroup struct {
	// The group of resources being monitored. Should be only the `[GROUP_ID]`,
	// and not the full-path
	// `projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]`.
	GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// The resource type of the group members.
	ResourceType         GroupResourceType `` /* 142-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

The resource submessage for group checks. It can be used instead of a monitored resource, when multiple resources are being monitored.

func (*UptimeCheckConfig_ResourceGroup) Descriptor

func (*UptimeCheckConfig_ResourceGroup) Descriptor() ([]byte, []int)

func (*UptimeCheckConfig_ResourceGroup) GetGroupId

func (m *UptimeCheckConfig_ResourceGroup) GetGroupId() string

func (*UptimeCheckConfig_ResourceGroup) GetResourceType

func (*UptimeCheckConfig_ResourceGroup) ProtoMessage

func (*UptimeCheckConfig_ResourceGroup) ProtoMessage()

func (*UptimeCheckConfig_ResourceGroup) Reset

func (*UptimeCheckConfig_ResourceGroup) String

func (*UptimeCheckConfig_ResourceGroup) XXX_DiscardUnknown

func (m *UptimeCheckConfig_ResourceGroup) XXX_DiscardUnknown()

func (*UptimeCheckConfig_ResourceGroup) XXX_Marshal

func (m *UptimeCheckConfig_ResourceGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UptimeCheckConfig_ResourceGroup) XXX_Merge

func (m *UptimeCheckConfig_ResourceGroup) XXX_Merge(src proto.Message)

func (*UptimeCheckConfig_ResourceGroup) XXX_Size

func (m *UptimeCheckConfig_ResourceGroup) XXX_Size() int

func (*UptimeCheckConfig_ResourceGroup) XXX_Unmarshal

func (m *UptimeCheckConfig_ResourceGroup) XXX_Unmarshal(b []byte) error

type UptimeCheckConfig_ResourceGroup_

type UptimeCheckConfig_ResourceGroup_ struct {
	ResourceGroup *UptimeCheckConfig_ResourceGroup `protobuf:"bytes,4,opt,name=resource_group,json=resourceGroup,proto3,oneof"`
}

type UptimeCheckConfig_TcpCheck

type UptimeCheckConfig_TcpCheck struct {
	// The TCP port on the server against which to run the check. Will be
	// combined with host (specified within the `monitored_resource`) to
	// construct the full URL. Required.
	Port                 int32    `protobuf:"varint,1,opt,name=port,proto3" json:"port,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Information required for a TCP Uptime check request.

func (*UptimeCheckConfig_TcpCheck) Descriptor

func (*UptimeCheckConfig_TcpCheck) Descriptor() ([]byte, []int)

func (*UptimeCheckConfig_TcpCheck) GetPort

func (m *UptimeCheckConfig_TcpCheck) GetPort() int32

func (*UptimeCheckConfig_TcpCheck) ProtoMessage

func (*UptimeCheckConfig_TcpCheck) ProtoMessage()

func (*UptimeCheckConfig_TcpCheck) Reset

func (m *UptimeCheckConfig_TcpCheck) Reset()

func (*UptimeCheckConfig_TcpCheck) String

func (m *UptimeCheckConfig_TcpCheck) String() string

func (*UptimeCheckConfig_TcpCheck) XXX_DiscardUnknown

func (m *UptimeCheckConfig_TcpCheck) XXX_DiscardUnknown()

func (*UptimeCheckConfig_TcpCheck) XXX_Marshal

func (m *UptimeCheckConfig_TcpCheck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UptimeCheckConfig_TcpCheck) XXX_Merge

func (m *UptimeCheckConfig_TcpCheck) XXX_Merge(src proto.Message)

func (*UptimeCheckConfig_TcpCheck) XXX_Size

func (m *UptimeCheckConfig_TcpCheck) XXX_Size() int

func (*UptimeCheckConfig_TcpCheck) XXX_Unmarshal

func (m *UptimeCheckConfig_TcpCheck) XXX_Unmarshal(b []byte) error

type UptimeCheckConfig_TcpCheck_

type UptimeCheckConfig_TcpCheck_ struct {
	TcpCheck *UptimeCheckConfig_TcpCheck `protobuf:"bytes,6,opt,name=tcp_check,json=tcpCheck,proto3,oneof"`
}

type UptimeCheckIp

type UptimeCheckIp struct {
	// A broad region category in which the IP address is located.
	Region UptimeCheckRegion `protobuf:"varint,1,opt,name=region,proto3,enum=google.monitoring.v3.UptimeCheckRegion" json:"region,omitempty"`
	// A more specific location within the region that typically encodes
	// a particular city/town/metro (and its containing state/province or country)
	// within the broader umbrella region category.
	Location string `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"`
	// The IP address from which the Uptime check originates. This is a fully
	// specified IP address (not an IP address range). Most IP addresses, as of
	// this publication, are in IPv4 format; however, one should not rely on the
	// IP addresses being in IPv4 format indefinitely, and should support
	// interpreting this field in either IPv4 or IPv6 format.
	IpAddress            string   `protobuf:"bytes,3,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Contains the region, location, and list of IP addresses where checkers in the location run from.

func (*UptimeCheckIp) Descriptor

func (*UptimeCheckIp) Descriptor() ([]byte, []int)

func (*UptimeCheckIp) GetIpAddress

func (m *UptimeCheckIp) GetIpAddress() string

func (*UptimeCheckIp) GetLocation

func (m *UptimeCheckIp) GetLocation() string

func (*UptimeCheckIp) GetRegion

func (m *UptimeCheckIp) GetRegion() UptimeCheckRegion

func (*UptimeCheckIp) ProtoMessage

func (*UptimeCheckIp) ProtoMessage()

func (*UptimeCheckIp) Reset

func (m *UptimeCheckIp) Reset()

func (*UptimeCheckIp) String

func (m *UptimeCheckIp) String() string

func (*UptimeCheckIp) XXX_DiscardUnknown

func (m *UptimeCheckIp) XXX_DiscardUnknown()

func (*UptimeCheckIp) XXX_Marshal

func (m *UptimeCheckIp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UptimeCheckIp) XXX_Merge

func (m *UptimeCheckIp) XXX_Merge(src proto.Message)

func (*UptimeCheckIp) XXX_Size

func (m *UptimeCheckIp) XXX_Size() int

func (*UptimeCheckIp) XXX_Unmarshal

func (m *UptimeCheckIp) XXX_Unmarshal(b []byte) error

type UptimeCheckRegion

type UptimeCheckRegion int32

The regions from which an Uptime check can be run.

const (
	// Default value if no region is specified. Will result in Uptime checks
	// running from all regions.
	UptimeCheckRegion_REGION_UNSPECIFIED UptimeCheckRegion = 0
	// Allows checks to run from locations within the United States of America.
	UptimeCheckRegion_USA UptimeCheckRegion = 1
	// Allows checks to run from locations within the continent of Europe.
	UptimeCheckRegion_EUROPE UptimeCheckRegion = 2
	// Allows checks to run from locations within the continent of South
	// America.
	UptimeCheckRegion_SOUTH_AMERICA UptimeCheckRegion = 3
	// Allows checks to run from locations within the Asia Pacific area (ex:
	// Singapore).
	UptimeCheckRegion_ASIA_PACIFIC UptimeCheckRegion = 4
)

func (UptimeCheckRegion) EnumDescriptor

func (UptimeCheckRegion) EnumDescriptor() ([]byte, []int)

func (UptimeCheckRegion) String

func (x UptimeCheckRegion) String() string

type UptimeCheckServiceClient

type UptimeCheckServiceClient interface {
	// Lists the existing valid Uptime check configurations for the project
	// (leaving out any invalid configurations).
	ListUptimeCheckConfigs(ctx context.Context, in *ListUptimeCheckConfigsRequest, opts ...grpc.CallOption) (*ListUptimeCheckConfigsResponse, error)
	// Gets a single Uptime check configuration.
	GetUptimeCheckConfig(ctx context.Context, in *GetUptimeCheckConfigRequest, opts ...grpc.CallOption) (*UptimeCheckConfig, error)
	// Creates a new Uptime check configuration.
	CreateUptimeCheckConfig(ctx context.Context, in *CreateUptimeCheckConfigRequest, opts ...grpc.CallOption) (*UptimeCheckConfig, error)
	// Updates an Uptime check configuration. You can either replace the entire
	// configuration with a new one or replace only certain fields in the current
	// configuration by specifying the fields to be updated via `updateMask`.
	// Returns the updated configuration.
	UpdateUptimeCheckConfig(ctx context.Context, in *UpdateUptimeCheckConfigRequest, opts ...grpc.CallOption) (*UptimeCheckConfig, error)
	// Deletes an Uptime check configuration. Note that this method will fail
	// if the Uptime check configuration is referenced by an alert policy or
	// other dependent configs that would be rendered invalid by the deletion.
	DeleteUptimeCheckConfig(ctx context.Context, in *DeleteUptimeCheckConfigRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// Returns the list of IP addresses that checkers run from
	ListUptimeCheckIps(ctx context.Context, in *ListUptimeCheckIpsRequest, opts ...grpc.CallOption) (*ListUptimeCheckIpsResponse, error)
}

UptimeCheckServiceClient is the client API for UptimeCheckService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type UptimeCheckServiceServer

type UptimeCheckServiceServer interface {
	// Lists the existing valid Uptime check configurations for the project
	// (leaving out any invalid configurations).
	ListUptimeCheckConfigs(context.Context, *ListUptimeCheckConfigsRequest) (*ListUptimeCheckConfigsResponse, error)
	// Gets a single Uptime check configuration.
	GetUptimeCheckConfig(context.Context, *GetUptimeCheckConfigRequest) (*UptimeCheckConfig, error)
	// Creates a new Uptime check configuration.
	CreateUptimeCheckConfig(context.Context, *CreateUptimeCheckConfigRequest) (*UptimeCheckConfig, error)
	// Updates an Uptime check configuration. You can either replace the entire
	// configuration with a new one or replace only certain fields in the current
	// configuration by specifying the fields to be updated via `updateMask`.
	// Returns the updated configuration.
	UpdateUptimeCheckConfig(context.Context, *UpdateUptimeCheckConfigRequest) (*UptimeCheckConfig, error)
	// Deletes an Uptime check configuration. Note that this method will fail
	// if the Uptime check configuration is referenced by an alert policy or
	// other dependent configs that would be rendered invalid by the deletion.
	DeleteUptimeCheckConfig(context.Context, *DeleteUptimeCheckConfigRequest) (*empty.Empty, error)
	// Returns the list of IP addresses that checkers run from
	ListUptimeCheckIps(context.Context, *ListUptimeCheckIpsRequest) (*ListUptimeCheckIpsResponse, error)
}

UptimeCheckServiceServer is the server API for UptimeCheckService service.

type VerifyNotificationChannelRequest

type VerifyNotificationChannelRequest struct {
	// Required. The notification channel to verify.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The verification code that was delivered to the channel as
	// a result of invoking the `SendNotificationChannelVerificationCode` API
	// method or that was retrieved from a verified channel via
	// `GetNotificationChannelVerificationCode`. For example, one might have
	// "G-123456" or "TKNZGhhd2EyN3I1MnRnMjRv" (in general, one is only
	// guaranteed that the code is valid UTF-8; one should not
	// make any assumptions regarding the structure or format of the code).
	Code                 string   `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The `VerifyNotificationChannel` request.

func (*VerifyNotificationChannelRequest) Descriptor

func (*VerifyNotificationChannelRequest) Descriptor() ([]byte, []int)

func (*VerifyNotificationChannelRequest) GetCode

func (*VerifyNotificationChannelRequest) GetName

func (*VerifyNotificationChannelRequest) ProtoMessage

func (*VerifyNotificationChannelRequest) ProtoMessage()

func (*VerifyNotificationChannelRequest) Reset

func (*VerifyNotificationChannelRequest) String

func (*VerifyNotificationChannelRequest) XXX_DiscardUnknown

func (m *VerifyNotificationChannelRequest) XXX_DiscardUnknown()

func (*VerifyNotificationChannelRequest) XXX_Marshal

func (m *VerifyNotificationChannelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VerifyNotificationChannelRequest) XXX_Merge

func (*VerifyNotificationChannelRequest) XXX_Size

func (m *VerifyNotificationChannelRequest) XXX_Size() int

func (*VerifyNotificationChannelRequest) XXX_Unmarshal

func (m *VerifyNotificationChannelRequest) XXX_Unmarshal(b []byte) error

type WindowsBasedSli

type WindowsBasedSli struct {
	// The criterion to use for evaluating window goodness.
	//
	// Types that are valid to be assigned to WindowCriterion:
	//	*WindowsBasedSli_GoodBadMetricFilter
	//	*WindowsBasedSli_GoodTotalRatioThreshold
	//	*WindowsBasedSli_MetricMeanInRange
	//	*WindowsBasedSli_MetricSumInRange
	WindowCriterion isWindowsBasedSli_WindowCriterion `protobuf_oneof:"window_criterion"`
	// Duration over which window quality is evaluated. Must be an integer
	// fraction of a day and at least `60s`.
	WindowPeriod         *duration.Duration `protobuf:"bytes,4,opt,name=window_period,json=windowPeriod,proto3" json:"window_period,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

A `WindowsBasedSli` defines `good_service` as the count of time windows for which the provided service was of good quality. Criteria for determining if service was good are embedded in the `window_criterion`.

func (*WindowsBasedSli) Descriptor

func (*WindowsBasedSli) Descriptor() ([]byte, []int)

func (*WindowsBasedSli) GetGoodBadMetricFilter

func (m *WindowsBasedSli) GetGoodBadMetricFilter() string

func (*WindowsBasedSli) GetGoodTotalRatioThreshold

func (m *WindowsBasedSli) GetGoodTotalRatioThreshold() *WindowsBasedSli_PerformanceThreshold

func (*WindowsBasedSli) GetMetricMeanInRange

func (m *WindowsBasedSli) GetMetricMeanInRange() *WindowsBasedSli_MetricRange

func (*WindowsBasedSli) GetMetricSumInRange

func (m *WindowsBasedSli) GetMetricSumInRange() *WindowsBasedSli_MetricRange

func (*WindowsBasedSli) GetWindowCriterion

func (m *WindowsBasedSli) GetWindowCriterion() isWindowsBasedSli_WindowCriterion

func (*WindowsBasedSli) GetWindowPeriod

func (m *WindowsBasedSli) GetWindowPeriod() *duration.Duration

func (*WindowsBasedSli) ProtoMessage

func (*WindowsBasedSli) ProtoMessage()

func (*WindowsBasedSli) Reset

func (m *WindowsBasedSli) Reset()

func (*WindowsBasedSli) String

func (m *WindowsBasedSli) String() string

func (*WindowsBasedSli) XXX_DiscardUnknown

func (m *WindowsBasedSli) XXX_DiscardUnknown()

func (*WindowsBasedSli) XXX_Marshal

func (m *WindowsBasedSli) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WindowsBasedSli) XXX_Merge

func (m *WindowsBasedSli) XXX_Merge(src proto.Message)

func (*WindowsBasedSli) XXX_OneofWrappers

func (*WindowsBasedSli) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*WindowsBasedSli) XXX_Size

func (m *WindowsBasedSli) XXX_Size() int

func (*WindowsBasedSli) XXX_Unmarshal

func (m *WindowsBasedSli) XXX_Unmarshal(b []byte) error

type WindowsBasedSli_GoodBadMetricFilter

type WindowsBasedSli_GoodBadMetricFilter struct {
	GoodBadMetricFilter string `protobuf:"bytes,5,opt,name=good_bad_metric_filter,json=goodBadMetricFilter,proto3,oneof"`
}

type WindowsBasedSli_GoodTotalRatioThreshold

type WindowsBasedSli_GoodTotalRatioThreshold struct {
	GoodTotalRatioThreshold *WindowsBasedSli_PerformanceThreshold `protobuf:"bytes,2,opt,name=good_total_ratio_threshold,json=goodTotalRatioThreshold,proto3,oneof"`
}

type WindowsBasedSli_MetricMeanInRange

type WindowsBasedSli_MetricMeanInRange struct {
	MetricMeanInRange *WindowsBasedSli_MetricRange `protobuf:"bytes,6,opt,name=metric_mean_in_range,json=metricMeanInRange,proto3,oneof"`
}

type WindowsBasedSli_MetricRange

type WindowsBasedSli_MetricRange struct {
	// A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
	// specifying the `TimeSeries` to use for evaluating window quality.
	TimeSeries string `protobuf:"bytes,1,opt,name=time_series,json=timeSeries,proto3" json:"time_series,omitempty"`
	// Range of values considered "good." For a one-sided range, set one bound
	// to an infinite value.
	Range                *Range   `protobuf:"bytes,4,opt,name=range,proto3" json:"range,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A `MetricRange` is used when each window is good when the value x of a single `TimeSeries` satisfies `range.min <= x < range.max`. The provided `TimeSeries` must have `ValueType = INT64` or `ValueType = DOUBLE` and `MetricKind = GAUGE`.

func (*WindowsBasedSli_MetricRange) Descriptor

func (*WindowsBasedSli_MetricRange) Descriptor() ([]byte, []int)

func (*WindowsBasedSli_MetricRange) GetRange

func (m *WindowsBasedSli_MetricRange) GetRange() *Range

func (*WindowsBasedSli_MetricRange) GetTimeSeries

func (m *WindowsBasedSli_MetricRange) GetTimeSeries() string

func (*WindowsBasedSli_MetricRange) ProtoMessage

func (*WindowsBasedSli_MetricRange) ProtoMessage()

func (*WindowsBasedSli_MetricRange) Reset

func (m *WindowsBasedSli_MetricRange) Reset()

func (*WindowsBasedSli_MetricRange) String

func (m *WindowsBasedSli_MetricRange) String() string

func (*WindowsBasedSli_MetricRange) XXX_DiscardUnknown

func (m *WindowsBasedSli_MetricRange) XXX_DiscardUnknown()

func (*WindowsBasedSli_MetricRange) XXX_Marshal

func (m *WindowsBasedSli_MetricRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WindowsBasedSli_MetricRange) XXX_Merge

func (m *WindowsBasedSli_MetricRange) XXX_Merge(src proto.Message)

func (*WindowsBasedSli_MetricRange) XXX_Size

func (m *WindowsBasedSli_MetricRange) XXX_Size() int

func (*WindowsBasedSli_MetricRange) XXX_Unmarshal

func (m *WindowsBasedSli_MetricRange) XXX_Unmarshal(b []byte) error

type WindowsBasedSli_MetricSumInRange

type WindowsBasedSli_MetricSumInRange struct {
	MetricSumInRange *WindowsBasedSli_MetricRange `protobuf:"bytes,7,opt,name=metric_sum_in_range,json=metricSumInRange,proto3,oneof"`
}

type WindowsBasedSli_PerformanceThreshold

type WindowsBasedSli_PerformanceThreshold struct {
	// The means, either a request-based SLI or a basic SLI, by which to compute
	// performance over a window.
	//
	// Types that are valid to be assigned to Type:
	//	*WindowsBasedSli_PerformanceThreshold_Performance
	//	*WindowsBasedSli_PerformanceThreshold_BasicSliPerformance
	Type isWindowsBasedSli_PerformanceThreshold_Type `protobuf_oneof:"type"`
	// If window `performance >= threshold`, the window is counted as good.
	Threshold            float64  `protobuf:"fixed64,2,opt,name=threshold,proto3" json:"threshold,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A `PerformanceThreshold` is used when each window is good when that window has a sufficiently high `performance`.

func (*WindowsBasedSli_PerformanceThreshold) Descriptor

func (*WindowsBasedSli_PerformanceThreshold) Descriptor() ([]byte, []int)

func (*WindowsBasedSli_PerformanceThreshold) GetBasicSliPerformance

func (m *WindowsBasedSli_PerformanceThreshold) GetBasicSliPerformance() *BasicSli

func (*WindowsBasedSli_PerformanceThreshold) GetPerformance

func (*WindowsBasedSli_PerformanceThreshold) GetThreshold

func (*WindowsBasedSli_PerformanceThreshold) GetType

func (m *WindowsBasedSli_PerformanceThreshold) GetType() isWindowsBasedSli_PerformanceThreshold_Type

func (*WindowsBasedSli_PerformanceThreshold) ProtoMessage

func (*WindowsBasedSli_PerformanceThreshold) ProtoMessage()

func (*WindowsBasedSli_PerformanceThreshold) Reset

func (*WindowsBasedSli_PerformanceThreshold) String

func (*WindowsBasedSli_PerformanceThreshold) XXX_DiscardUnknown

func (m *WindowsBasedSli_PerformanceThreshold) XXX_DiscardUnknown()

func (*WindowsBasedSli_PerformanceThreshold) XXX_Marshal

func (m *WindowsBasedSli_PerformanceThreshold) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WindowsBasedSli_PerformanceThreshold) XXX_Merge

func (*WindowsBasedSli_PerformanceThreshold) XXX_OneofWrappers

func (*WindowsBasedSli_PerformanceThreshold) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*WindowsBasedSli_PerformanceThreshold) XXX_Size

func (*WindowsBasedSli_PerformanceThreshold) XXX_Unmarshal

func (m *WindowsBasedSli_PerformanceThreshold) XXX_Unmarshal(b []byte) error

type WindowsBasedSli_PerformanceThreshold_BasicSliPerformance

type WindowsBasedSli_PerformanceThreshold_BasicSliPerformance struct {
	BasicSliPerformance *BasicSli `protobuf:"bytes,3,opt,name=basic_sli_performance,json=basicSliPerformance,proto3,oneof"`
}

type WindowsBasedSli_PerformanceThreshold_Performance

type WindowsBasedSli_PerformanceThreshold_Performance struct {
	Performance *RequestBasedSli `protobuf:"bytes,1,opt,name=performance,proto3,oneof"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL