genproto: google.golang.org/genproto/googleapis/monitoring/v3 Index | Files

package monitoring

import "google.golang.org/genproto/googleapis/monitoring/v3"

Index

Package Files

alert.pb.go alert_service.pb.go common.pb.go dropped_labels.pb.go group.pb.go group_service.pb.go metric.pb.go metric_service.pb.go mutation_record.pb.go notification.pb.go notification_service.pb.go service.pb.go service_service.pb.go span_context.pb.go uptime.pb.go uptime_service.pb.go

Variables

var (
    AlertPolicy_ConditionCombinerType_name = map[int32]string{
        0:  "COMBINE_UNSPECIFIED",
        1:  "AND",
        2:  "OR",
        3:  "AND_WITH_MATCHING_RESOURCE",
    }
    AlertPolicy_ConditionCombinerType_value = map[string]int32{
        "COMBINE_UNSPECIFIED":        0,
        "AND":                        1,
        "OR":                         2,
        "AND_WITH_MATCHING_RESOURCE": 3,
    }
)

Enum value maps for AlertPolicy_ConditionCombinerType.

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",
    }
    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,
    }
)

Enum value maps for ComparisonType.

var (
    ServiceTier_name = map[int32]string{
        0:  "SERVICE_TIER_UNSPECIFIED",
        1:  "SERVICE_TIER_BASIC",
        2:  "SERVICE_TIER_PREMIUM",
    }
    ServiceTier_value = map[string]int32{
        "SERVICE_TIER_UNSPECIFIED": 0,
        "SERVICE_TIER_BASIC":       1,
        "SERVICE_TIER_PREMIUM":     2,
    }
)

Enum value maps for ServiceTier.

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",
    }
    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,
    }
)

Enum value maps for Aggregation_Aligner.

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",
    }
    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,
    }
)

Enum value maps for Aggregation_Reducer.

var (
    ListTimeSeriesRequest_TimeSeriesView_name = map[int32]string{
        0:  "FULL",
        1:  "HEADERS",
    }
    ListTimeSeriesRequest_TimeSeriesView_value = map[string]int32{
        "FULL":    0,
        "HEADERS": 1,
    }
)

Enum value maps for ListTimeSeriesRequest_TimeSeriesView.

var (
    NotificationChannel_VerificationStatus_name = map[int32]string{
        0:  "VERIFICATION_STATUS_UNSPECIFIED",
        1:  "UNVERIFIED",
        2:  "VERIFIED",
    }
    NotificationChannel_VerificationStatus_value = map[string]int32{
        "VERIFICATION_STATUS_UNSPECIFIED": 0,
        "UNVERIFIED":                      1,
        "VERIFIED":                        2,
    }
)

Enum value maps for NotificationChannel_VerificationStatus.

var (
    ServiceLevelObjective_View_name = map[int32]string{
        0:  "VIEW_UNSPECIFIED",
        2:  "FULL",
        1:  "EXPLICIT",
    }
    ServiceLevelObjective_View_value = map[string]int32{
        "VIEW_UNSPECIFIED": 0,
        "FULL":             2,
        "EXPLICIT":         1,
    }
)

Enum value maps for ServiceLevelObjective_View.

var (
    UptimeCheckRegion_name = map[int32]string{
        0:  "REGION_UNSPECIFIED",
        1:  "USA",
        2:  "EUROPE",
        3:  "SOUTH_AMERICA",
        4:  "ASIA_PACIFIC",
    }
    UptimeCheckRegion_value = map[string]int32{
        "REGION_UNSPECIFIED": 0,
        "USA":                1,
        "EUROPE":             2,
        "SOUTH_AMERICA":      3,
        "ASIA_PACIFIC":       4,
    }
)

Enum value maps for UptimeCheckRegion.

var (
    GroupResourceType_name = map[int32]string{
        0:  "RESOURCE_TYPE_UNSPECIFIED",
        1:  "INSTANCE",
        2:  "AWS_ELB_LOAD_BALANCER",
    }
    GroupResourceType_value = map[string]int32{
        "RESOURCE_TYPE_UNSPECIFIED": 0,
        "INSTANCE":                  1,
        "AWS_ELB_LOAD_BALANCER":     2,
    }
)

Enum value maps for GroupResourceType.

var (
    InternalChecker_State_name = map[int32]string{
        0:  "UNSPECIFIED",
        1:  "CREATING",
        2:  "RUNNING",
    }
    InternalChecker_State_value = map[string]int32{
        "UNSPECIFIED": 0,
        "CREATING":    1,
        "RUNNING":     2,
    }
)

Enum value maps for InternalChecker_State.

var (
    UptimeCheckConfig_HttpCheck_RequestMethod_name = map[int32]string{
        0:  "METHOD_UNSPECIFIED",
        1:  "GET",
        2:  "POST",
    }
    UptimeCheckConfig_HttpCheck_RequestMethod_value = map[string]int32{
        "METHOD_UNSPECIFIED": 0,
        "GET":                1,
        "POST":               2,
    }
)

Enum value maps for UptimeCheckConfig_HttpCheck_RequestMethod.

var (
    UptimeCheckConfig_HttpCheck_ContentType_name = map[int32]string{
        0:  "TYPE_UNSPECIFIED",
        1:  "URL_ENCODED",
    }
    UptimeCheckConfig_HttpCheck_ContentType_value = map[string]int32{
        "TYPE_UNSPECIFIED": 0,
        "URL_ENCODED":      1,
    }
)

Enum value maps for UptimeCheckConfig_HttpCheck_ContentType.

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",
    }
    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,
    }
)

Enum value maps for UptimeCheckConfig_ContentMatcher_ContentMatcherOption.

var File_google_monitoring_v3_alert_proto protoreflect.FileDescriptor
var File_google_monitoring_v3_alert_service_proto protoreflect.FileDescriptor
var File_google_monitoring_v3_common_proto protoreflect.FileDescriptor
var File_google_monitoring_v3_dropped_labels_proto protoreflect.FileDescriptor
var File_google_monitoring_v3_group_proto protoreflect.FileDescriptor
var File_google_monitoring_v3_group_service_proto protoreflect.FileDescriptor
var File_google_monitoring_v3_metric_proto protoreflect.FileDescriptor
var File_google_monitoring_v3_metric_service_proto protoreflect.FileDescriptor
var File_google_monitoring_v3_mutation_record_proto protoreflect.FileDescriptor
var File_google_monitoring_v3_notification_proto protoreflect.FileDescriptor
var File_google_monitoring_v3_notification_service_proto protoreflect.FileDescriptor
var File_google_monitoring_v3_service_proto protoreflect.FileDescriptor
var File_google_monitoring_v3_service_service_proto protoreflect.FileDescriptor
var File_google_monitoring_v3_span_context_proto protoreflect.FileDescriptor
var File_google_monitoring_v3_uptime_proto protoreflect.FileDescriptor
var File_google_monitoring_v3_uptime_service_proto protoreflect.FileDescriptor

func RegisterAlertPolicyServiceServer Uses

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

func RegisterGroupServiceServer Uses

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

func RegisterMetricServiceServer Uses

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

func RegisterNotificationChannelServiceServer Uses

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

func RegisterServiceMonitoringServiceServer Uses

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

func RegisterUptimeCheckServiceServer Uses

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

type Aggregation Uses

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 `protobuf:"varint,2,opt,name=per_series_aligner,json=perSeriesAligner,proto3,enum=google.monitoring.v3.Aggregation_Aligner" json:"per_series_aligner,omitempty"`
    // 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 `protobuf:"varint,4,opt,name=cross_series_reducer,json=crossSeriesReducer,proto3,enum=google.monitoring.v3.Aggregation_Reducer" json:"cross_series_reducer,omitempty"`
    // 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"`
    // contains filtered or unexported fields
}

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 Uses

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

Deprecated: Use Aggregation.ProtoReflect.Descriptor instead.

func (*Aggregation) GetAlignmentPeriod Uses

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

func (*Aggregation) GetCrossSeriesReducer Uses

func (x *Aggregation) GetCrossSeriesReducer() Aggregation_Reducer

func (*Aggregation) GetGroupByFields Uses

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

func (*Aggregation) GetPerSeriesAligner Uses

func (x *Aggregation) GetPerSeriesAligner() Aggregation_Aligner

func (*Aggregation) ProtoMessage Uses

func (*Aggregation) ProtoMessage()

func (*Aggregation) ProtoReflect Uses

func (x *Aggregation) ProtoReflect() protoreflect.Message

func (*Aggregation) Reset Uses

func (x *Aggregation) Reset()

func (*Aggregation) String Uses

func (x *Aggregation) String() string

type Aggregation_Aligner Uses

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) Descriptor Uses

func (Aggregation_Aligner) Descriptor() protoreflect.EnumDescriptor

func (Aggregation_Aligner) Enum Uses

func (x Aggregation_Aligner) Enum() *Aggregation_Aligner

func (Aggregation_Aligner) EnumDescriptor Uses

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

Deprecated: Use Aggregation_Aligner.Descriptor instead.

func (Aggregation_Aligner) Number Uses

func (x Aggregation_Aligner) Number() protoreflect.EnumNumber

func (Aggregation_Aligner) String Uses

func (x Aggregation_Aligner) String() string

func (Aggregation_Aligner) Type Uses

func (Aggregation_Aligner) Type() protoreflect.EnumType

type Aggregation_Reducer Uses

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) Descriptor Uses

func (Aggregation_Reducer) Descriptor() protoreflect.EnumDescriptor

func (Aggregation_Reducer) Enum Uses

func (x Aggregation_Reducer) Enum() *Aggregation_Reducer

func (Aggregation_Reducer) EnumDescriptor Uses

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

Deprecated: Use Aggregation_Reducer.Descriptor instead.

func (Aggregation_Reducer) Number Uses

func (x Aggregation_Reducer) Number() protoreflect.EnumNumber

func (Aggregation_Reducer) String Uses

func (x Aggregation_Reducer) String() string

func (Aggregation_Reducer) Type Uses

func (Aggregation_Reducer) Type() protoreflect.EnumType

type AlertPolicy Uses

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 `protobuf:"bytes,16,rep,name=user_labels,json=userLabels,proto3" json:"user_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    // 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 `protobuf:"varint,6,opt,name=combiner,proto3,enum=google.monitoring.v3.AlertPolicy_ConditionCombinerType" json:"combiner,omitempty"`
    // 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"`
    // contains filtered or unexported fields
}

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 Uses

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

Deprecated: Use AlertPolicy.ProtoReflect.Descriptor instead.

func (*AlertPolicy) GetCombiner Uses

func (x *AlertPolicy) GetCombiner() AlertPolicy_ConditionCombinerType

func (*AlertPolicy) GetConditions Uses

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

func (*AlertPolicy) GetCreationRecord Uses

func (x *AlertPolicy) GetCreationRecord() *MutationRecord

func (*AlertPolicy) GetDisplayName Uses

func (x *AlertPolicy) GetDisplayName() string

func (*AlertPolicy) GetDocumentation Uses

func (x *AlertPolicy) GetDocumentation() *AlertPolicy_Documentation

func (*AlertPolicy) GetEnabled Uses

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

func (*AlertPolicy) GetMutationRecord Uses

func (x *AlertPolicy) GetMutationRecord() *MutationRecord

func (*AlertPolicy) GetName Uses

func (x *AlertPolicy) GetName() string

func (*AlertPolicy) GetNotificationChannels Uses

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

func (*AlertPolicy) GetUserLabels Uses

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

func (*AlertPolicy) GetValidity Uses

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

func (*AlertPolicy) ProtoMessage Uses

func (*AlertPolicy) ProtoMessage()

func (*AlertPolicy) ProtoReflect Uses

func (x *AlertPolicy) ProtoReflect() protoreflect.Message

func (*AlertPolicy) Reset Uses

func (x *AlertPolicy) Reset()

func (*AlertPolicy) String Uses

func (x *AlertPolicy) String() string

type AlertPolicyServiceClient Uses

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.

func NewAlertPolicyServiceClient Uses

func NewAlertPolicyServiceClient(cc grpc.ClientConnInterface) AlertPolicyServiceClient

type AlertPolicyServiceServer Uses

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 Uses

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 assignable to Condition:
    //	*AlertPolicy_Condition_ConditionThreshold
    //	*AlertPolicy_Condition_ConditionAbsent
    Condition isAlertPolicy_Condition_Condition `protobuf_oneof:"condition"`
    // contains filtered or unexported fields
}

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 Uses

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

Deprecated: Use AlertPolicy_Condition.ProtoReflect.Descriptor instead.

func (*AlertPolicy_Condition) GetCondition Uses

func (m *AlertPolicy_Condition) GetCondition() isAlertPolicy_Condition_Condition

func (*AlertPolicy_Condition) GetConditionAbsent Uses

func (x *AlertPolicy_Condition) GetConditionAbsent() *AlertPolicy_Condition_MetricAbsence

func (*AlertPolicy_Condition) GetConditionThreshold Uses

func (x *AlertPolicy_Condition) GetConditionThreshold() *AlertPolicy_Condition_MetricThreshold

func (*AlertPolicy_Condition) GetDisplayName Uses

func (x *AlertPolicy_Condition) GetDisplayName() string

func (*AlertPolicy_Condition) GetName Uses

func (x *AlertPolicy_Condition) GetName() string

func (*AlertPolicy_Condition) ProtoMessage Uses

func (*AlertPolicy_Condition) ProtoMessage()

func (*AlertPolicy_Condition) ProtoReflect Uses

func (x *AlertPolicy_Condition) ProtoReflect() protoreflect.Message

func (*AlertPolicy_Condition) Reset Uses

func (x *AlertPolicy_Condition) Reset()

func (*AlertPolicy_Condition) String Uses

func (x *AlertPolicy_Condition) String() string

type AlertPolicy_ConditionCombinerType Uses

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) Descriptor Uses

func (AlertPolicy_ConditionCombinerType) Descriptor() protoreflect.EnumDescriptor

func (AlertPolicy_ConditionCombinerType) Enum Uses

func (x AlertPolicy_ConditionCombinerType) Enum() *AlertPolicy_ConditionCombinerType

func (AlertPolicy_ConditionCombinerType) EnumDescriptor Uses

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

Deprecated: Use AlertPolicy_ConditionCombinerType.Descriptor instead.

func (AlertPolicy_ConditionCombinerType) Number Uses

func (x AlertPolicy_ConditionCombinerType) Number() protoreflect.EnumNumber

func (AlertPolicy_ConditionCombinerType) String Uses

func (x AlertPolicy_ConditionCombinerType) String() string

func (AlertPolicy_ConditionCombinerType) Type Uses

func (AlertPolicy_ConditionCombinerType) Type() protoreflect.EnumType

type AlertPolicy_Condition_ConditionAbsent Uses

type AlertPolicy_Condition_ConditionAbsent struct {
    // A condition that checks that a time series continues to
    // receive new data points.
    ConditionAbsent *AlertPolicy_Condition_MetricAbsence `protobuf:"bytes,2,opt,name=condition_absent,json=conditionAbsent,proto3,oneof"`
}

type AlertPolicy_Condition_ConditionThreshold Uses

type AlertPolicy_Condition_ConditionThreshold struct {
    // A condition that compares a time series against a threshold.
    ConditionThreshold *AlertPolicy_Condition_MetricThreshold `protobuf:"bytes,1,opt,name=condition_threshold,json=conditionThreshold,proto3,oneof"`
}

type AlertPolicy_Condition_MetricAbsence Uses

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"`
    // contains filtered or unexported fields
}

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 Uses

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

Deprecated: Use AlertPolicy_Condition_MetricAbsence.ProtoReflect.Descriptor instead.

func (*AlertPolicy_Condition_MetricAbsence) GetAggregations Uses

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

func (*AlertPolicy_Condition_MetricAbsence) GetDuration Uses

func (x *AlertPolicy_Condition_MetricAbsence) GetDuration() *duration.Duration

func (*AlertPolicy_Condition_MetricAbsence) GetFilter Uses

func (x *AlertPolicy_Condition_MetricAbsence) GetFilter() string

func (*AlertPolicy_Condition_MetricAbsence) GetTrigger Uses

func (x *AlertPolicy_Condition_MetricAbsence) GetTrigger() *AlertPolicy_Condition_Trigger

func (*AlertPolicy_Condition_MetricAbsence) ProtoMessage Uses

func (*AlertPolicy_Condition_MetricAbsence) ProtoMessage()

func (*AlertPolicy_Condition_MetricAbsence) ProtoReflect Uses

func (x *AlertPolicy_Condition_MetricAbsence) ProtoReflect() protoreflect.Message

func (*AlertPolicy_Condition_MetricAbsence) Reset Uses

func (x *AlertPolicy_Condition_MetricAbsence) Reset()

func (*AlertPolicy_Condition_MetricAbsence) String Uses

func (x *AlertPolicy_Condition_MetricAbsence) String() string

type AlertPolicy_Condition_MetricThreshold Uses

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 `protobuf:"bytes,10,rep,name=denominator_aggregations,json=denominatorAggregations,proto3" json:"denominator_aggregations,omitempty"`
    // 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"`
    // contains filtered or unexported fields
}

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

func (*AlertPolicy_Condition_MetricThreshold) Descriptor Uses

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

Deprecated: Use AlertPolicy_Condition_MetricThreshold.ProtoReflect.Descriptor instead.

func (*AlertPolicy_Condition_MetricThreshold) GetAggregations Uses

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

func (*AlertPolicy_Condition_MetricThreshold) GetComparison Uses

func (x *AlertPolicy_Condition_MetricThreshold) GetComparison() ComparisonType

func (*AlertPolicy_Condition_MetricThreshold) GetDenominatorAggregations Uses

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

func (*AlertPolicy_Condition_MetricThreshold) GetDenominatorFilter Uses

func (x *AlertPolicy_Condition_MetricThreshold) GetDenominatorFilter() string

func (*AlertPolicy_Condition_MetricThreshold) GetDuration Uses

func (x *AlertPolicy_Condition_MetricThreshold) GetDuration() *duration.Duration

func (*AlertPolicy_Condition_MetricThreshold) GetFilter Uses

func (x *AlertPolicy_Condition_MetricThreshold) GetFilter() string

func (*AlertPolicy_Condition_MetricThreshold) GetThresholdValue Uses

func (x *AlertPolicy_Condition_MetricThreshold) GetThresholdValue() float64

func (*AlertPolicy_Condition_MetricThreshold) GetTrigger Uses

func (x *AlertPolicy_Condition_MetricThreshold) GetTrigger() *AlertPolicy_Condition_Trigger

func (*AlertPolicy_Condition_MetricThreshold) ProtoMessage Uses

func (*AlertPolicy_Condition_MetricThreshold) ProtoMessage()

func (*AlertPolicy_Condition_MetricThreshold) ProtoReflect Uses

func (x *AlertPolicy_Condition_MetricThreshold) ProtoReflect() protoreflect.Message

func (*AlertPolicy_Condition_MetricThreshold) Reset Uses

func (x *AlertPolicy_Condition_MetricThreshold) Reset()

func (*AlertPolicy_Condition_MetricThreshold) String Uses

func (x *AlertPolicy_Condition_MetricThreshold) String() string

type AlertPolicy_Condition_Trigger Uses

type AlertPolicy_Condition_Trigger struct {

    // A type of trigger.
    //
    // Types that are assignable to Type:
    //	*AlertPolicy_Condition_Trigger_Count
    //	*AlertPolicy_Condition_Trigger_Percent
    Type isAlertPolicy_Condition_Trigger_Type `protobuf_oneof:"type"`
    // contains filtered or unexported fields
}

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 Uses

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

Deprecated: Use AlertPolicy_Condition_Trigger.ProtoReflect.Descriptor instead.

func (*AlertPolicy_Condition_Trigger) GetCount Uses

func (x *AlertPolicy_Condition_Trigger) GetCount() int32

func (*AlertPolicy_Condition_Trigger) GetPercent Uses

func (x *AlertPolicy_Condition_Trigger) GetPercent() float64

func (*AlertPolicy_Condition_Trigger) GetType Uses

func (m *AlertPolicy_Condition_Trigger) GetType() isAlertPolicy_Condition_Trigger_Type

func (*AlertPolicy_Condition_Trigger) ProtoMessage Uses

func (*AlertPolicy_Condition_Trigger) ProtoMessage()

func (*AlertPolicy_Condition_Trigger) ProtoReflect Uses

func (x *AlertPolicy_Condition_Trigger) ProtoReflect() protoreflect.Message

func (*AlertPolicy_Condition_Trigger) Reset Uses

func (x *AlertPolicy_Condition_Trigger) Reset()

func (*AlertPolicy_Condition_Trigger) String Uses

func (x *AlertPolicy_Condition_Trigger) String() string

type AlertPolicy_Condition_Trigger_Count Uses

type AlertPolicy_Condition_Trigger_Count struct {
    // The absolute number of time series that must fail
    // the predicate for the condition to be triggered.
    Count int32 `protobuf:"varint,1,opt,name=count,proto3,oneof"`
}

type AlertPolicy_Condition_Trigger_Percent Uses

type AlertPolicy_Condition_Trigger_Percent struct {
    // The percentage of time series that must fail the
    // predicate for the condition to be triggered.
    Percent float64 `protobuf:"fixed64,2,opt,name=percent,proto3,oneof"`
}

type AlertPolicy_Documentation Uses

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"`
    // contains filtered or unexported fields
}

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

func (*AlertPolicy_Documentation) Descriptor Uses

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

Deprecated: Use AlertPolicy_Documentation.ProtoReflect.Descriptor instead.

func (*AlertPolicy_Documentation) GetContent Uses

func (x *AlertPolicy_Documentation) GetContent() string

func (*AlertPolicy_Documentation) GetMimeType Uses

func (x *AlertPolicy_Documentation) GetMimeType() string

func (*AlertPolicy_Documentation) ProtoMessage Uses

func (*AlertPolicy_Documentation) ProtoMessage()

func (*AlertPolicy_Documentation) ProtoReflect Uses

func (x *AlertPolicy_Documentation) ProtoReflect() protoreflect.Message

func (*AlertPolicy_Documentation) Reset Uses

func (x *AlertPolicy_Documentation) Reset()

func (*AlertPolicy_Documentation) String Uses

func (x *AlertPolicy_Documentation) String() string

type BasicSli Uses

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 assignable to SliCriteria:
    //	*BasicSli_Availability
    //	*BasicSli_Latency
    SliCriteria isBasicSli_SliCriteria `protobuf_oneof:"sli_criteria"`
    // contains filtered or unexported fields
}

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 Uses

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

Deprecated: Use BasicSli.ProtoReflect.Descriptor instead.

func (*BasicSli) GetAvailability Uses

func (x *BasicSli) GetAvailability() *BasicSli_AvailabilityCriteria

func (*BasicSli) GetLatency Uses

func (x *BasicSli) GetLatency() *BasicSli_LatencyCriteria

func (*BasicSli) GetLocation Uses

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

func (*BasicSli) GetMethod Uses

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

func (*BasicSli) GetSliCriteria Uses

func (m *BasicSli) GetSliCriteria() isBasicSli_SliCriteria

func (*BasicSli) GetVersion Uses

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

func (*BasicSli) ProtoMessage Uses

func (*BasicSli) ProtoMessage()

func (*BasicSli) ProtoReflect Uses

func (x *BasicSli) ProtoReflect() protoreflect.Message

func (*BasicSli) Reset Uses

func (x *BasicSli) Reset()

func (*BasicSli) String Uses

func (x *BasicSli) String() string

type BasicSli_Availability Uses

type BasicSli_Availability struct {
    // Good service is defined to be the count of requests made to this service
    // that return successfully.
    Availability *BasicSli_AvailabilityCriteria `protobuf:"bytes,2,opt,name=availability,proto3,oneof"`
}

type BasicSli_AvailabilityCriteria Uses

type BasicSli_AvailabilityCriteria struct {
    // contains filtered or unexported fields
}

Future parameters for the availability SLI.

func (*BasicSli_AvailabilityCriteria) Descriptor Uses

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

Deprecated: Use BasicSli_AvailabilityCriteria.ProtoReflect.Descriptor instead.

func (*BasicSli_AvailabilityCriteria) ProtoMessage Uses

func (*BasicSli_AvailabilityCriteria) ProtoMessage()

func (*BasicSli_AvailabilityCriteria) ProtoReflect Uses

func (x *BasicSli_AvailabilityCriteria) ProtoReflect() protoreflect.Message

func (*BasicSli_AvailabilityCriteria) Reset Uses

func (x *BasicSli_AvailabilityCriteria) Reset()

func (*BasicSli_AvailabilityCriteria) String Uses

func (x *BasicSli_AvailabilityCriteria) String() string

type BasicSli_Latency Uses

type BasicSli_Latency struct {
    // Good service is defined to be the count of requests made to this service
    // that are fast enough with respect to `latency.threshold`.
    Latency *BasicSli_LatencyCriteria `protobuf:"bytes,3,opt,name=latency,proto3,oneof"`
}

type BasicSli_LatencyCriteria Uses

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"`
    // contains filtered or unexported fields
}

Parameters for a latency threshold SLI.

func (*BasicSli_LatencyCriteria) Descriptor Uses

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

Deprecated: Use BasicSli_LatencyCriteria.ProtoReflect.Descriptor instead.

func (*BasicSli_LatencyCriteria) GetThreshold Uses

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

func (*BasicSli_LatencyCriteria) ProtoMessage Uses

func (*BasicSli_LatencyCriteria) ProtoMessage()

func (*BasicSli_LatencyCriteria) ProtoReflect Uses

func (x *BasicSli_LatencyCriteria) ProtoReflect() protoreflect.Message

func (*BasicSli_LatencyCriteria) Reset Uses

func (x *BasicSli_LatencyCriteria) Reset()

func (*BasicSli_LatencyCriteria) String Uses

func (x *BasicSli_LatencyCriteria) String() string

type ComparisonType Uses

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) Descriptor Uses

func (ComparisonType) Descriptor() protoreflect.EnumDescriptor

func (ComparisonType) Enum Uses

func (x ComparisonType) Enum() *ComparisonType

func (ComparisonType) EnumDescriptor Uses

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

Deprecated: Use ComparisonType.Descriptor instead.

func (ComparisonType) Number Uses

func (x ComparisonType) Number() protoreflect.EnumNumber

func (ComparisonType) String Uses

func (x ComparisonType) String() string

func (ComparisonType) Type Uses

func (ComparisonType) Type() protoreflect.EnumType

type CreateAlertPolicyRequest Uses

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"`
    // contains filtered or unexported fields
}

The protocol for the `CreateAlertPolicy` request.

func (*CreateAlertPolicyRequest) Descriptor Uses

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

Deprecated: Use CreateAlertPolicyRequest.ProtoReflect.Descriptor instead.

func (*CreateAlertPolicyRequest) GetAlertPolicy Uses

func (x *CreateAlertPolicyRequest) GetAlertPolicy() *AlertPolicy

func (*CreateAlertPolicyRequest) GetName Uses

func (x *CreateAlertPolicyRequest) GetName() string

func (*CreateAlertPolicyRequest) ProtoMessage Uses

func (*CreateAlertPolicyRequest) ProtoMessage()

func (*CreateAlertPolicyRequest) ProtoReflect Uses

func (x *CreateAlertPolicyRequest) ProtoReflect() protoreflect.Message

func (*CreateAlertPolicyRequest) Reset Uses

func (x *CreateAlertPolicyRequest) Reset()

func (*CreateAlertPolicyRequest) String Uses

func (x *CreateAlertPolicyRequest) String() string

type CreateGroupRequest Uses

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"`
    // contains filtered or unexported fields
}

The `CreateGroup` request.

func (*CreateGroupRequest) Descriptor Uses

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

Deprecated: Use CreateGroupRequest.ProtoReflect.Descriptor instead.

func (*CreateGroupRequest) GetGroup Uses

func (x *CreateGroupRequest) GetGroup() *Group

func (*CreateGroupRequest) GetName Uses

func (x *CreateGroupRequest) GetName() string

func (*CreateGroupRequest) GetValidateOnly Uses

func (x *CreateGroupRequest) GetValidateOnly() bool

func (*CreateGroupRequest) ProtoMessage Uses

func (*CreateGroupRequest) ProtoMessage()

func (*CreateGroupRequest) ProtoReflect Uses

func (x *CreateGroupRequest) ProtoReflect() protoreflect.Message

func (*CreateGroupRequest) Reset Uses

func (x *CreateGroupRequest) Reset()

func (*CreateGroupRequest) String Uses

func (x *CreateGroupRequest) String() string

type CreateMetricDescriptorRequest Uses

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"`
    // contains filtered or unexported fields
}

The `CreateMetricDescriptor` request.

func (*CreateMetricDescriptorRequest) Descriptor Uses

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

Deprecated: Use CreateMetricDescriptorRequest.ProtoReflect.Descriptor instead.

func (*CreateMetricDescriptorRequest) GetMetricDescriptor Uses

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

func (*CreateMetricDescriptorRequest) GetName Uses

func (x *CreateMetricDescriptorRequest) GetName() string

func (*CreateMetricDescriptorRequest) ProtoMessage Uses

func (*CreateMetricDescriptorRequest) ProtoMessage()

func (*CreateMetricDescriptorRequest) ProtoReflect Uses

func (x *CreateMetricDescriptorRequest) ProtoReflect() protoreflect.Message

func (*CreateMetricDescriptorRequest) Reset Uses

func (x *CreateMetricDescriptorRequest) Reset()

func (*CreateMetricDescriptorRequest) String Uses

func (x *CreateMetricDescriptorRequest) String() string

type CreateNotificationChannelRequest Uses

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"`
    // contains filtered or unexported fields
}

The `CreateNotificationChannel` request.

func (*CreateNotificationChannelRequest) Descriptor Uses

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

Deprecated: Use CreateNotificationChannelRequest.ProtoReflect.Descriptor instead.

func (*CreateNotificationChannelRequest) GetName Uses

func (x *CreateNotificationChannelRequest) GetName() string

func (*CreateNotificationChannelRequest) GetNotificationChannel Uses

func (x *CreateNotificationChannelRequest) GetNotificationChannel() *NotificationChannel

func (*CreateNotificationChannelRequest) ProtoMessage Uses

func (*CreateNotificationChannelRequest) ProtoMessage()

func (*CreateNotificationChannelRequest) ProtoReflect Uses

func (x *CreateNotificationChannelRequest) ProtoReflect() protoreflect.Message

func (*CreateNotificationChannelRequest) Reset Uses

func (x *CreateNotificationChannelRequest) Reset()

func (*CreateNotificationChannelRequest) String Uses

func (x *CreateNotificationChannelRequest) String() string

type CreateServiceLevelObjectiveRequest Uses

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 `protobuf:"bytes,3,opt,name=service_level_objective_id,json=serviceLevelObjectiveId,proto3" json:"service_level_objective_id,omitempty"`
    // Required. The `ServiceLevelObjective` to create.
    // The provided `name` will be respected if no `ServiceLevelObjective` exists
    // with this name.
    ServiceLevelObjective *ServiceLevelObjective `protobuf:"bytes,2,opt,name=service_level_objective,json=serviceLevelObjective,proto3" json:"service_level_objective,omitempty"`
    // contains filtered or unexported fields
}

The `CreateServiceLevelObjective` request.

func (*CreateServiceLevelObjectiveRequest) Descriptor Uses

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

Deprecated: Use CreateServiceLevelObjectiveRequest.ProtoReflect.Descriptor instead.

func (*CreateServiceLevelObjectiveRequest) GetParent Uses

func (x *CreateServiceLevelObjectiveRequest) GetParent() string

func (*CreateServiceLevelObjectiveRequest) GetServiceLevelObjective Uses

func (x *CreateServiceLevelObjectiveRequest) GetServiceLevelObjective() *ServiceLevelObjective

func (*CreateServiceLevelObjectiveRequest) GetServiceLevelObjectiveId Uses

func (x *CreateServiceLevelObjectiveRequest) GetServiceLevelObjectiveId() string

func (*CreateServiceLevelObjectiveRequest) ProtoMessage Uses

func (*CreateServiceLevelObjectiveRequest) ProtoMessage()

func (*CreateServiceLevelObjectiveRequest) ProtoReflect Uses

func (x *CreateServiceLevelObjectiveRequest) ProtoReflect() protoreflect.Message

func (*CreateServiceLevelObjectiveRequest) Reset Uses

func (x *CreateServiceLevelObjectiveRequest) Reset()

func (*CreateServiceLevelObjectiveRequest) String Uses

func (x *CreateServiceLevelObjectiveRequest) String() string

type CreateServiceRequest Uses

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"`
    // contains filtered or unexported fields
}

The `CreateService` request.

func (*CreateServiceRequest) Descriptor Uses

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

Deprecated: Use CreateServiceRequest.ProtoReflect.Descriptor instead.

func (*CreateServiceRequest) GetParent Uses

func (x *CreateServiceRequest) GetParent() string

func (*CreateServiceRequest) GetService Uses

func (x *CreateServiceRequest) GetService() *Service

func (*CreateServiceRequest) GetServiceId Uses

func (x *CreateServiceRequest) GetServiceId() string

func (*CreateServiceRequest) ProtoMessage Uses

func (*CreateServiceRequest) ProtoMessage()

func (*CreateServiceRequest) ProtoReflect Uses

func (x *CreateServiceRequest) ProtoReflect() protoreflect.Message

func (*CreateServiceRequest) Reset Uses

func (x *CreateServiceRequest) Reset()

func (*CreateServiceRequest) String Uses

func (x *CreateServiceRequest) String() string

type CreateTimeSeriesError Uses

type CreateTimeSeriesError struct {

    // DEPRECATED. Time series ID that resulted in the `status` error.
    //
    // Deprecated: Do not use.
    TimeSeries *TimeSeries `protobuf:"bytes,1,opt,name=time_series,json=timeSeries,proto3" json:"time_series,omitempty"`
    // DEPRECATED. The status of the requested write operation for `time_series`.
    //
    // Deprecated: Do not use.
    Status *status.Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
    // contains filtered or unexported fields
}

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

func (*CreateTimeSeriesError) Descriptor Uses

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

Deprecated: Use CreateTimeSeriesError.ProtoReflect.Descriptor instead.

func (*CreateTimeSeriesError) GetStatus Uses

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

Deprecated: Do not use.

func (*CreateTimeSeriesError) GetTimeSeries Uses

func (x *CreateTimeSeriesError) GetTimeSeries() *TimeSeries

Deprecated: Do not use.

func (*CreateTimeSeriesError) ProtoMessage Uses

func (*CreateTimeSeriesError) ProtoMessage()

func (*CreateTimeSeriesError) ProtoReflect Uses

func (x *CreateTimeSeriesError) ProtoReflect() protoreflect.Message

func (*CreateTimeSeriesError) Reset Uses

func (x *CreateTimeSeriesError) Reset()

func (*CreateTimeSeriesError) String Uses

func (x *CreateTimeSeriesError) String() string

type CreateTimeSeriesRequest Uses

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"`
    // contains filtered or unexported fields
}

The `CreateTimeSeries` request.

func (*CreateTimeSeriesRequest) Descriptor Uses

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

Deprecated: Use CreateTimeSeriesRequest.ProtoReflect.Descriptor instead.

func (*CreateTimeSeriesRequest) GetName Uses

func (x *CreateTimeSeriesRequest) GetName() string

func (*CreateTimeSeriesRequest) GetTimeSeries Uses

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

func (*CreateTimeSeriesRequest) ProtoMessage Uses

func (*CreateTimeSeriesRequest) ProtoMessage()

func (*CreateTimeSeriesRequest) ProtoReflect Uses

func (x *CreateTimeSeriesRequest) ProtoReflect() protoreflect.Message

func (*CreateTimeSeriesRequest) Reset Uses

func (x *CreateTimeSeriesRequest) Reset()

func (*CreateTimeSeriesRequest) String Uses

func (x *CreateTimeSeriesRequest) String() string

type CreateTimeSeriesSummary Uses

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"`
    // contains filtered or unexported fields
}

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

func (*CreateTimeSeriesSummary) Descriptor Uses

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

Deprecated: Use CreateTimeSeriesSummary.ProtoReflect.Descriptor instead.

func (*CreateTimeSeriesSummary) GetErrors Uses

func (x *CreateTimeSeriesSummary) GetErrors() []*CreateTimeSeriesSummary_Error

func (*CreateTimeSeriesSummary) GetSuccessPointCount Uses

func (x *CreateTimeSeriesSummary) GetSuccessPointCount() int32

func (*CreateTimeSeriesSummary) GetTotalPointCount Uses

func (x *CreateTimeSeriesSummary) GetTotalPointCount() int32

func (*CreateTimeSeriesSummary) ProtoMessage Uses

func (*CreateTimeSeriesSummary) ProtoMessage()

func (*CreateTimeSeriesSummary) ProtoReflect Uses

func (x *CreateTimeSeriesSummary) ProtoReflect() protoreflect.Message

func (*CreateTimeSeriesSummary) Reset Uses

func (x *CreateTimeSeriesSummary) Reset()

func (*CreateTimeSeriesSummary) String Uses

func (x *CreateTimeSeriesSummary) String() string

type CreateTimeSeriesSummary_Error Uses

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"`
    // contains filtered or unexported fields
}

Detailed information about an error category.

func (*CreateTimeSeriesSummary_Error) Descriptor Uses

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

Deprecated: Use CreateTimeSeriesSummary_Error.ProtoReflect.Descriptor instead.

func (*CreateTimeSeriesSummary_Error) GetPointCount Uses

func (x *CreateTimeSeriesSummary_Error) GetPointCount() int32

func (*CreateTimeSeriesSummary_Error) GetStatus Uses

func (x *CreateTimeSeriesSummary_Error) GetStatus() *status.Status

func (*CreateTimeSeriesSummary_Error) ProtoMessage Uses

func (*CreateTimeSeriesSummary_Error) ProtoMessage()

func (*CreateTimeSeriesSummary_Error) ProtoReflect Uses

func (x *CreateTimeSeriesSummary_Error) ProtoReflect() protoreflect.Message

func (*CreateTimeSeriesSummary_Error) Reset Uses

func (x *CreateTimeSeriesSummary_Error) Reset()

func (*CreateTimeSeriesSummary_Error) String Uses

func (x *CreateTimeSeriesSummary_Error) String() string

type CreateUptimeCheckConfigRequest Uses

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"`
    // contains filtered or unexported fields
}

The protocol for the `CreateUptimeCheckConfig` request.

func (*CreateUptimeCheckConfigRequest) Descriptor Uses

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

Deprecated: Use CreateUptimeCheckConfigRequest.ProtoReflect.Descriptor instead.

func (*CreateUptimeCheckConfigRequest) GetParent Uses

func (x *CreateUptimeCheckConfigRequest) GetParent() string

func (*CreateUptimeCheckConfigRequest) GetUptimeCheckConfig Uses

func (x *CreateUptimeCheckConfigRequest) GetUptimeCheckConfig() *UptimeCheckConfig

func (*CreateUptimeCheckConfigRequest) ProtoMessage Uses

func (*CreateUptimeCheckConfigRequest) ProtoMessage()

func (*CreateUptimeCheckConfigRequest) ProtoReflect Uses

func (x *CreateUptimeCheckConfigRequest) ProtoReflect() protoreflect.Message

func (*CreateUptimeCheckConfigRequest) Reset Uses

func (x *CreateUptimeCheckConfigRequest) Reset()

func (*CreateUptimeCheckConfigRequest) String Uses

func (x *CreateUptimeCheckConfigRequest) String() string

type DeleteAlertPolicyRequest Uses

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"`
    // contains filtered or unexported fields
}

The protocol for the `DeleteAlertPolicy` request.

func (*DeleteAlertPolicyRequest) Descriptor Uses

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

Deprecated: Use DeleteAlertPolicyRequest.ProtoReflect.Descriptor instead.

func (*DeleteAlertPolicyRequest) GetName Uses

func (x *DeleteAlertPolicyRequest) GetName() string

func (*DeleteAlertPolicyRequest) ProtoMessage Uses

func (*DeleteAlertPolicyRequest) ProtoMessage()

func (*DeleteAlertPolicyRequest) ProtoReflect Uses

func (x *DeleteAlertPolicyRequest) ProtoReflect() protoreflect.Message

func (*DeleteAlertPolicyRequest) Reset Uses

func (x *DeleteAlertPolicyRequest) Reset()

func (*DeleteAlertPolicyRequest) String Uses

func (x *DeleteAlertPolicyRequest) String() string

type DeleteGroupRequest Uses

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"`
    // contains filtered or unexported fields
}

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

func (*DeleteGroupRequest) Descriptor Uses

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

Deprecated: Use DeleteGroupRequest.ProtoReflect.Descriptor instead.

func (*DeleteGroupRequest) GetName Uses

func (x *DeleteGroupRequest) GetName() string

func (*DeleteGroupRequest) GetRecursive Uses

func (x *DeleteGroupRequest) GetRecursive() bool

func (*DeleteGroupRequest) ProtoMessage Uses

func (*DeleteGroupRequest) ProtoMessage()

func (*DeleteGroupRequest) ProtoReflect Uses

func (x *DeleteGroupRequest) ProtoReflect() protoreflect.Message

func (*DeleteGroupRequest) Reset Uses

func (x *DeleteGroupRequest) Reset()

func (*DeleteGroupRequest) String Uses

func (x *DeleteGroupRequest) String() string

type DeleteMetricDescriptorRequest Uses

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"`
    // contains filtered or unexported fields
}

The `DeleteMetricDescriptor` request.

func (*DeleteMetricDescriptorRequest) Descriptor Uses

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

Deprecated: Use DeleteMetricDescriptorRequest.ProtoReflect.Descriptor instead.

func (*DeleteMetricDescriptorRequest) GetName Uses

func (x *DeleteMetricDescriptorRequest) GetName() string

func (*DeleteMetricDescriptorRequest) ProtoMessage Uses

func (*DeleteMetricDescriptorRequest) ProtoMessage()

func (*DeleteMetricDescriptorRequest) ProtoReflect Uses

func (x *DeleteMetricDescriptorRequest) ProtoReflect() protoreflect.Message

func (*DeleteMetricDescriptorRequest) Reset Uses

func (x *DeleteMetricDescriptorRequest) Reset()

func (*DeleteMetricDescriptorRequest) String Uses

func (x *DeleteMetricDescriptorRequest) String() string

type DeleteNotificationChannelRequest Uses

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"`
    // contains filtered or unexported fields
}

The `DeleteNotificationChannel` request.

func (*DeleteNotificationChannelRequest) Descriptor Uses

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

Deprecated: Use DeleteNotificationChannelRequest.ProtoReflect.Descriptor instead.

func (*DeleteNotificationChannelRequest) GetForce Uses

func (x *DeleteNotificationChannelRequest) GetForce() bool

func (*DeleteNotificationChannelRequest) GetName Uses

func (x *DeleteNotificationChannelRequest) GetName() string

func (*DeleteNotificationChannelRequest) ProtoMessage Uses

func (*DeleteNotificationChannelRequest) ProtoMessage()

func (*DeleteNotificationChannelRequest) ProtoReflect Uses

func (x *DeleteNotificationChannelRequest) ProtoReflect() protoreflect.Message

func (*DeleteNotificationChannelRequest) Reset Uses

func (x *DeleteNotificationChannelRequest) Reset()

func (*DeleteNotificationChannelRequest) String Uses

func (x *DeleteNotificationChannelRequest) String() string

type DeleteServiceLevelObjectiveRequest Uses

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"`
    // contains filtered or unexported fields
}

The `DeleteServiceLevelObjective` request.

func (*DeleteServiceLevelObjectiveRequest) Descriptor Uses

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

Deprecated: Use DeleteServiceLevelObjectiveRequest.ProtoReflect.Descriptor instead.

func (*DeleteServiceLevelObjectiveRequest) GetName Uses

func (x *DeleteServiceLevelObjectiveRequest) GetName() string

func (*DeleteServiceLevelObjectiveRequest) ProtoMessage Uses

func (*DeleteServiceLevelObjectiveRequest) ProtoMessage()

func (*DeleteServiceLevelObjectiveRequest) ProtoReflect Uses

func (x *DeleteServiceLevelObjectiveRequest) ProtoReflect() protoreflect.Message

func (*DeleteServiceLevelObjectiveRequest) Reset Uses

func (x *DeleteServiceLevelObjectiveRequest) Reset()

func (*DeleteServiceLevelObjectiveRequest) String Uses

func (x *DeleteServiceLevelObjectiveRequest) String() string

type DeleteServiceRequest Uses

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"`
    // contains filtered or unexported fields
}

The `DeleteService` request.

func (*DeleteServiceRequest) Descriptor Uses

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

Deprecated: Use DeleteServiceRequest.ProtoReflect.Descriptor instead.

func (*DeleteServiceRequest) GetName Uses

func (x *DeleteServiceRequest) GetName() string

func (*DeleteServiceRequest) ProtoMessage Uses

func (*DeleteServiceRequest) ProtoMessage()

func (*DeleteServiceRequest) ProtoReflect Uses

func (x *DeleteServiceRequest) ProtoReflect() protoreflect.Message

func (*DeleteServiceRequest) Reset Uses

func (x *DeleteServiceRequest) Reset()

func (*DeleteServiceRequest) String Uses

func (x *DeleteServiceRequest) String() string

type DeleteUptimeCheckConfigRequest Uses

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"`
    // contains filtered or unexported fields
}

The protocol for the `DeleteUptimeCheckConfig` request.

func (*DeleteUptimeCheckConfigRequest) Descriptor Uses

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

Deprecated: Use DeleteUptimeCheckConfigRequest.ProtoReflect.Descriptor instead.

func (*DeleteUptimeCheckConfigRequest) GetName Uses

func (x *DeleteUptimeCheckConfigRequest) GetName() string

func (*DeleteUptimeCheckConfigRequest) ProtoMessage Uses

func (*DeleteUptimeCheckConfigRequest) ProtoMessage()

func (*DeleteUptimeCheckConfigRequest) ProtoReflect Uses

func (x *DeleteUptimeCheckConfigRequest) ProtoReflect() protoreflect.Message

func (*DeleteUptimeCheckConfigRequest) Reset Uses

func (x *DeleteUptimeCheckConfigRequest) Reset()

func (*DeleteUptimeCheckConfigRequest) String Uses

func (x *DeleteUptimeCheckConfigRequest) String() string

type DistributionCut Uses

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"`
    // contains filtered or unexported fields
}

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 Uses

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

Deprecated: Use DistributionCut.ProtoReflect.Descriptor instead.

func (*DistributionCut) GetDistributionFilter Uses

func (x *DistributionCut) GetDistributionFilter() string

func (*DistributionCut) GetRange Uses

func (x *DistributionCut) GetRange() *Range

func (*DistributionCut) ProtoMessage Uses

func (*DistributionCut) ProtoMessage()

func (*DistributionCut) ProtoReflect Uses

func (x *DistributionCut) ProtoReflect() protoreflect.Message

func (*DistributionCut) Reset Uses

func (x *DistributionCut) Reset()

func (*DistributionCut) String Uses

func (x *DistributionCut) String() string

type DroppedLabels Uses

type DroppedLabels struct {

    // Map from label to its value, for all labels dropped in any aggregation.
    Label map[string]string `protobuf:"bytes,1,rep,name=label,proto3" json:"label,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    // contains filtered or unexported fields
}

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 Uses

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

Deprecated: Use DroppedLabels.ProtoReflect.Descriptor instead.

func (*DroppedLabels) GetLabel Uses

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

func (*DroppedLabels) ProtoMessage Uses

func (*DroppedLabels) ProtoMessage()

func (*DroppedLabels) ProtoReflect Uses

func (x *DroppedLabels) ProtoReflect() protoreflect.Message

func (*DroppedLabels) Reset Uses

func (x *DroppedLabels) Reset()

func (*DroppedLabels) String Uses

func (x *DroppedLabels) String() string

type GetAlertPolicyRequest Uses

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"`
    // contains filtered or unexported fields
}

The protocol for the `GetAlertPolicy` request.

func (*GetAlertPolicyRequest) Descriptor Uses

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

Deprecated: Use GetAlertPolicyRequest.ProtoReflect.Descriptor instead.

func (*GetAlertPolicyRequest) GetName Uses

func (x *GetAlertPolicyRequest) GetName() string

func (*GetAlertPolicyRequest) ProtoMessage Uses

func (*GetAlertPolicyRequest) ProtoMessage()

func (*GetAlertPolicyRequest) ProtoReflect Uses

func (x *GetAlertPolicyRequest) ProtoReflect() protoreflect.Message

func (*GetAlertPolicyRequest) Reset Uses

func (x *GetAlertPolicyRequest) Reset()

func (*GetAlertPolicyRequest) String Uses

func (x *GetAlertPolicyRequest) String() string

type GetGroupRequest Uses

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"`
    // contains filtered or unexported fields
}

The `GetGroup` request.

func (*GetGroupRequest) Descriptor Uses

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

Deprecated: Use GetGroupRequest.ProtoReflect.Descriptor instead.

func (*GetGroupRequest) GetName Uses

func (x *GetGroupRequest) GetName() string

func (*GetGroupRequest) ProtoMessage Uses

func (*GetGroupRequest) ProtoMessage()

func (*GetGroupRequest) ProtoReflect Uses

func (x *GetGroupRequest) ProtoReflect() protoreflect.Message

func (*GetGroupRequest) Reset Uses

func (x *GetGroupRequest) Reset()

func (*GetGroupRequest) String Uses

func (x *GetGroupRequest) String() string

type GetMetricDescriptorRequest Uses

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"`
    // contains filtered or unexported fields
}

The `GetMetricDescriptor` request.

func (*GetMetricDescriptorRequest) Descriptor Uses

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

Deprecated: Use GetMetricDescriptorRequest.ProtoReflect.Descriptor instead.

func (*GetMetricDescriptorRequest) GetName Uses

func (x *GetMetricDescriptorRequest) GetName() string

func (*GetMetricDescriptorRequest) ProtoMessage Uses

func (*GetMetricDescriptorRequest) ProtoMessage()

func (*GetMetricDescriptorRequest) ProtoReflect Uses

func (x *GetMetricDescriptorRequest) ProtoReflect() protoreflect.Message

func (*GetMetricDescriptorRequest) Reset Uses

func (x *GetMetricDescriptorRequest) Reset()

func (*GetMetricDescriptorRequest) String Uses

func (x *GetMetricDescriptorRequest) String() string

type GetMonitoredResourceDescriptorRequest Uses

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"`
    // contains filtered or unexported fields
}

The `GetMonitoredResourceDescriptor` request.

func (*GetMonitoredResourceDescriptorRequest) Descriptor Uses

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

Deprecated: Use GetMonitoredResourceDescriptorRequest.ProtoReflect.Descriptor instead.

func (*GetMonitoredResourceDescriptorRequest) GetName Uses

func (x *GetMonitoredResourceDescriptorRequest) GetName() string

func (*GetMonitoredResourceDescriptorRequest) ProtoMessage Uses

func (*GetMonitoredResourceDescriptorRequest) ProtoMessage()

func (*GetMonitoredResourceDescriptorRequest) ProtoReflect Uses

func (x *GetMonitoredResourceDescriptorRequest) ProtoReflect() protoreflect.Message

func (*GetMonitoredResourceDescriptorRequest) Reset Uses

func (x *GetMonitoredResourceDescriptorRequest) Reset()

func (*GetMonitoredResourceDescriptorRequest) String Uses

func (x *GetMonitoredResourceDescriptorRequest) String() string

type GetNotificationChannelDescriptorRequest Uses

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"`
    // contains filtered or unexported fields
}

The `GetNotificationChannelDescriptor` response.

func (*GetNotificationChannelDescriptorRequest) Descriptor Uses

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

Deprecated: Use GetNotificationChannelDescriptorRequest.ProtoReflect.Descriptor instead.

func (*GetNotificationChannelDescriptorRequest) GetName Uses

func (x *GetNotificationChannelDescriptorRequest) GetName() string

func (*GetNotificationChannelDescriptorRequest) ProtoMessage Uses

func (*GetNotificationChannelDescriptorRequest) ProtoMessage()

func (*GetNotificationChannelDescriptorRequest) ProtoReflect Uses

func (x *GetNotificationChannelDescriptorRequest) ProtoReflect() protoreflect.Message

func (*GetNotificationChannelDescriptorRequest) Reset Uses

func (x *GetNotificationChannelDescriptorRequest) Reset()

func (*GetNotificationChannelDescriptorRequest) String Uses

func (x *GetNotificationChannelDescriptorRequest) String() string

type GetNotificationChannelRequest Uses

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"`
    // contains filtered or unexported fields
}

The `GetNotificationChannel` request.

func (*GetNotificationChannelRequest) Descriptor Uses

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

Deprecated: Use GetNotificationChannelRequest.ProtoReflect.Descriptor instead.

func (*GetNotificationChannelRequest) GetName Uses

func (x *GetNotificationChannelRequest) GetName() string

func (*GetNotificationChannelRequest) ProtoMessage Uses

func (*GetNotificationChannelRequest) ProtoMessage()

func (*GetNotificationChannelRequest) ProtoReflect Uses

func (x *GetNotificationChannelRequest) ProtoReflect() protoreflect.Message

func (*GetNotificationChannelRequest) Reset Uses

func (x *GetNotificationChannelRequest) Reset()

func (*GetNotificationChannelRequest) String Uses

func (x *GetNotificationChannelRequest) String() string

type GetNotificationChannelVerificationCodeRequest Uses

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"`
    // contains filtered or unexported fields
}

The `GetNotificationChannelVerificationCode` request.

func (*GetNotificationChannelVerificationCodeRequest) Descriptor Uses

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

Deprecated: Use GetNotificationChannelVerificationCodeRequest.ProtoReflect.Descriptor instead.

func (*GetNotificationChannelVerificationCodeRequest) GetExpireTime Uses

func (x *GetNotificationChannelVerificationCodeRequest) GetExpireTime() *timestamp.Timestamp

func (*GetNotificationChannelVerificationCodeRequest) GetName Uses

func (x *GetNotificationChannelVerificationCodeRequest) GetName() string

func (*GetNotificationChannelVerificationCodeRequest) ProtoMessage Uses

func (*GetNotificationChannelVerificationCodeRequest) ProtoMessage()

func (*GetNotificationChannelVerificationCodeRequest) ProtoReflect Uses

func (x *GetNotificationChannelVerificationCodeRequest) ProtoReflect() protoreflect.Message

func (*GetNotificationChannelVerificationCodeRequest) Reset Uses

func (x *GetNotificationChannelVerificationCodeRequest) Reset()

func (*GetNotificationChannelVerificationCodeRequest) String Uses

func (x *GetNotificationChannelVerificationCodeRequest) String() string

type GetNotificationChannelVerificationCodeResponse Uses

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"`
    // contains filtered or unexported fields
}

The `GetNotificationChannelVerificationCode` request.

func (*GetNotificationChannelVerificationCodeResponse) Descriptor Uses

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

Deprecated: Use GetNotificationChannelVerificationCodeResponse.ProtoReflect.Descriptor instead.

func (*GetNotificationChannelVerificationCodeResponse) GetCode Uses

func (x *GetNotificationChannelVerificationCodeResponse) GetCode() string

func (*GetNotificationChannelVerificationCodeResponse) GetExpireTime Uses

func (x *GetNotificationChannelVerificationCodeResponse) GetExpireTime() *timestamp.Timestamp

func (*GetNotificationChannelVerificationCodeResponse) ProtoMessage Uses

func (*GetNotificationChannelVerificationCodeResponse) ProtoMessage()

func (*GetNotificationChannelVerificationCodeResponse) ProtoReflect Uses

func (x *GetNotificationChannelVerificationCodeResponse) ProtoReflect() protoreflect.Message

func (*GetNotificationChannelVerificationCodeResponse) Reset Uses

func (x *GetNotificationChannelVerificationCodeResponse) Reset()

func (*GetNotificationChannelVerificationCodeResponse) String Uses

func (x *GetNotificationChannelVerificationCodeResponse) String() string

type GetServiceLevelObjectiveRequest Uses

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"`
    // contains filtered or unexported fields
}

The `GetServiceLevelObjective` request.

func (*GetServiceLevelObjectiveRequest) Descriptor Uses

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

Deprecated: Use GetServiceLevelObjectiveRequest.ProtoReflect.Descriptor instead.

func (*GetServiceLevelObjectiveRequest) GetName Uses

func (x *GetServiceLevelObjectiveRequest) GetName() string

func (*GetServiceLevelObjectiveRequest) GetView Uses

func (x *GetServiceLevelObjectiveRequest) GetView() ServiceLevelObjective_View

func (*GetServiceLevelObjectiveRequest) ProtoMessage Uses

func (*GetServiceLevelObjectiveRequest) ProtoMessage()

func (*GetServiceLevelObjectiveRequest) ProtoReflect Uses

func (x *GetServiceLevelObjectiveRequest) ProtoReflect() protoreflect.Message

func (*GetServiceLevelObjectiveRequest) Reset Uses

func (x *GetServiceLevelObjectiveRequest) Reset()

func (*GetServiceLevelObjectiveRequest) String Uses

func (x *GetServiceLevelObjectiveRequest) String() string

type GetServiceRequest Uses

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"`
    // contains filtered or unexported fields
}

The `GetService` request.

func (*GetServiceRequest) Descriptor Uses

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

Deprecated: Use GetServiceRequest.ProtoReflect.Descriptor instead.

func (*GetServiceRequest) GetName Uses

func (x *GetServiceRequest) GetName() string

func (*GetServiceRequest) ProtoMessage Uses

func (*GetServiceRequest) ProtoMessage()

func (*GetServiceRequest) ProtoReflect Uses

func (x *GetServiceRequest) ProtoReflect() protoreflect.Message

func (*GetServiceRequest) Reset Uses

func (x *GetServiceRequest) Reset()

func (*GetServiceRequest) String Uses

func (x *GetServiceRequest) String() string

type GetUptimeCheckConfigRequest Uses

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"`
    // contains filtered or unexported fields
}

The protocol for the `GetUptimeCheckConfig` request.

func (*GetUptimeCheckConfigRequest) Descriptor Uses

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

Deprecated: Use GetUptimeCheckConfigRequest.ProtoReflect.Descriptor instead.

func (*GetUptimeCheckConfigRequest) GetName Uses

func (x *GetUptimeCheckConfigRequest) GetName() string

func (*GetUptimeCheckConfigRequest) ProtoMessage Uses

func (*GetUptimeCheckConfigRequest) ProtoMessage()

func (*GetUptimeCheckConfigRequest) ProtoReflect Uses

func (x *GetUptimeCheckConfigRequest) ProtoReflect() protoreflect.Message

func (*GetUptimeCheckConfigRequest) Reset Uses

func (x *GetUptimeCheckConfigRequest) Reset()

func (*GetUptimeCheckConfigRequest) String Uses

func (x *GetUptimeCheckConfigRequest) String() string

type Group Uses

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"`
    // contains filtered or unexported fields
}

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 Uses

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

Deprecated: Use Group.ProtoReflect.Descriptor instead.

func (*Group) GetDisplayName Uses

func (x *Group) GetDisplayName() string

func (*Group) GetFilter Uses

func (x *Group) GetFilter() string

func (*Group) GetIsCluster Uses

func (x *Group) GetIsCluster() bool

func (*Group) GetName Uses

func (x *Group) GetName() string

func (*Group) GetParentName Uses

func (x *Group) GetParentName() string

func (*Group) ProtoMessage Uses

func (*Group) ProtoMessage()

func (*Group) ProtoReflect Uses

func (x *Group) ProtoReflect() protoreflect.Message

func (*Group) Reset Uses

func (x *Group) Reset()

func (*Group) String Uses

func (x *Group) String() string

type GroupResourceType Uses

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) Descriptor Uses

func (GroupResourceType) Descriptor() protoreflect.EnumDescriptor

func (GroupResourceType) Enum Uses

func (x GroupResourceType) Enum() *GroupResourceType

func (GroupResourceType) EnumDescriptor Uses

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

Deprecated: Use GroupResourceType.Descriptor instead.

func (GroupResourceType) Number Uses

func (x GroupResourceType) Number() protoreflect.EnumNumber

func (GroupResourceType) String Uses

func (x GroupResourceType) String() string

func (GroupResourceType) Type Uses

func (GroupResourceType) Type() protoreflect.EnumType

type GroupServiceClient Uses

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.

func NewGroupServiceClient Uses

func NewGroupServiceClient(cc grpc.ClientConnInterface) GroupServiceClient

type GroupServiceServer Uses

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 Uses

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"`
    // contains filtered or unexported fields
}

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

Deprecated: Do not use.

func (*InternalChecker) Descriptor Uses

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

Deprecated: Use InternalChecker.ProtoReflect.Descriptor instead.

func (*InternalChecker) GetDisplayName Uses

func (x *InternalChecker) GetDisplayName() string

func (*InternalChecker) GetGcpZone Uses

func (x *InternalChecker) GetGcpZone() string

func (*InternalChecker) GetName Uses

func (x *InternalChecker) GetName() string

func (*InternalChecker) GetNetwork Uses

func (x *InternalChecker) GetNetwork() string

func (*InternalChecker) GetPeerProjectId Uses

func (x *InternalChecker) GetPeerProjectId() string

func (*InternalChecker) GetState Uses

func (x *InternalChecker) GetState() InternalChecker_State

func (*InternalChecker) ProtoMessage Uses

func (*InternalChecker) ProtoMessage()

func (*InternalChecker) ProtoReflect Uses

func (x *InternalChecker) ProtoReflect() protoreflect.Message

func (*InternalChecker) Reset Uses

func (x *InternalChecker) Reset()

func (*InternalChecker) String Uses

func (x *InternalChecker) String() string

type InternalChecker_State Uses

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) Descriptor Uses

func (InternalChecker_State) Descriptor() protoreflect.EnumDescriptor

func (InternalChecker_State) Enum Uses

func (x InternalChecker_State) Enum() *InternalChecker_State

func (InternalChecker_State) EnumDescriptor Uses

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

Deprecated: Use InternalChecker_State.Descriptor instead.

func (InternalChecker_State) Number Uses

func (x InternalChecker_State) Number() protoreflect.EnumNumber

func (InternalChecker_State) String Uses

func (x InternalChecker_State) String() string

func (InternalChecker_State) Type Uses

func (InternalChecker_State) Type() protoreflect.EnumType

type LabelValue Uses

type LabelValue struct {

    // The label value can be a bool, int64, or string.
    //
    // Types that are assignable to Value:
    //	*LabelValue_BoolValue
    //	*LabelValue_Int64Value
    //	*LabelValue_StringValue
    Value isLabelValue_Value `protobuf_oneof:"value"`
    // contains filtered or unexported fields
}

A label value.

func (*LabelValue) Descriptor Uses

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

Deprecated: Use LabelValue.ProtoReflect.Descriptor instead.

func (*LabelValue) GetBoolValue Uses

func (x *LabelValue) GetBoolValue() bool

func (*LabelValue) GetInt64Value Uses

func (x *LabelValue) GetInt64Value() int64

func (*LabelValue) GetStringValue Uses

func (x *LabelValue) GetStringValue() string

func (*LabelValue) GetValue Uses

func (m *LabelValue) GetValue() isLabelValue_Value

func (*LabelValue) ProtoMessage Uses

func (*LabelValue) ProtoMessage()

func (*LabelValue) ProtoReflect Uses

func (x *LabelValue) ProtoReflect() protoreflect.Message

func (*LabelValue) Reset Uses

func (x *LabelValue) Reset()

func (*LabelValue) String Uses

func (x *LabelValue) String() string

type LabelValue_BoolValue Uses

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

type LabelValue_Int64Value Uses

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

type LabelValue_StringValue Uses

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

type ListAlertPoliciesRequest Uses

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"`
    // contains filtered or unexported fields
}

The protocol for the `ListAlertPolicies` request.

func (*ListAlertPoliciesRequest) Descriptor Uses

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

Deprecated: Use ListAlertPoliciesRequest.ProtoReflect.Descriptor instead.

func (*ListAlertPoliciesRequest) GetFilter Uses

func (x *ListAlertPoliciesRequest) GetFilter() string

func (*ListAlertPoliciesRequest) GetName Uses

func (x *ListAlertPoliciesRequest) GetName() string

func (*ListAlertPoliciesRequest) GetOrderBy Uses

func (x *ListAlertPoliciesRequest) GetOrderBy() string

func (*ListAlertPoliciesRequest) GetPageSize Uses

func (x *ListAlertPoliciesRequest) GetPageSize() int32

func (*ListAlertPoliciesRequest) GetPageToken Uses

func (x *ListAlertPoliciesRequest) GetPageToken() string

func (*ListAlertPoliciesRequest) ProtoMessage Uses

func (*ListAlertPoliciesRequest) ProtoMessage()

func (*ListAlertPoliciesRequest) ProtoReflect Uses

func (x *ListAlertPoliciesRequest) ProtoReflect() protoreflect.Message

func (*ListAlertPoliciesRequest) Reset Uses

func (x *ListAlertPoliciesRequest) Reset()

func (*ListAlertPoliciesRequest) String Uses

func (x *ListAlertPoliciesRequest) String() string

type ListAlertPoliciesResponse Uses

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"`
    // contains filtered or unexported fields
}

The protocol for the `ListAlertPolicies` response.

func (*ListAlertPoliciesResponse) Descriptor Uses

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

Deprecated: Use ListAlertPoliciesResponse.ProtoReflect.Descriptor instead.

func (*ListAlertPoliciesResponse) GetAlertPolicies Uses

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

func (*ListAlertPoliciesResponse) GetNextPageToken Uses

func (x *ListAlertPoliciesResponse) GetNextPageToken() string

func (*ListAlertPoliciesResponse) ProtoMessage Uses

func (*ListAlertPoliciesResponse) ProtoMessage()

func (*ListAlertPoliciesResponse) ProtoReflect Uses

func (x *ListAlertPoliciesResponse) ProtoReflect() protoreflect.Message

func (*ListAlertPoliciesResponse) Reset Uses

func (x *ListAlertPoliciesResponse) Reset()

func (*ListAlertPoliciesResponse) String Uses

func (x *ListAlertPoliciesResponse) String() string

type ListGroupMembersRequest Uses

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"`
    // contains filtered or unexported fields
}

The `ListGroupMembers` request.

func (*ListGroupMembersRequest) Descriptor Uses

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

Deprecated: Use ListGroupMembersRequest.ProtoReflect.Descriptor instead.

func (*ListGroupMembersRequest) GetFilter Uses

func (x *ListGroupMembersRequest) GetFilter() string

func (*ListGroupMembersRequest) GetInterval Uses

func (x *ListGroupMembersRequest) GetInterval() *TimeInterval

func (*ListGroupMembersRequest) GetName Uses

func (x *ListGroupMembersRequest) GetName() string

func (*ListGroupMembersRequest) GetPageSize Uses

func (x *ListGroupMembersRequest) GetPageSize() int32

func (*ListGroupMembersRequest) GetPageToken Uses

func (x *ListGroupMembersRequest) GetPageToken() string

func (*ListGroupMembersRequest) ProtoMessage Uses

func (*ListGroupMembersRequest) ProtoMessage()

func (*ListGroupMembersRequest) ProtoReflect Uses

func (x *ListGroupMembersRequest) ProtoReflect() protoreflect.Message

func (*ListGroupMembersRequest) Reset Uses

func (x *ListGroupMembersRequest) Reset()

func (*ListGroupMembersRequest) String Uses

func (x *ListGroupMembersRequest) String() string

type ListGroupMembersResponse Uses

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"`
    // contains filtered or unexported fields
}

The `ListGroupMembers` response.

func (*ListGroupMembersResponse) Descriptor Uses

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

Deprecated: Use ListGroupMembersResponse.ProtoReflect.Descriptor instead.

func (*ListGroupMembersResponse) GetMembers Uses

func (x *ListGroupMembersResponse) GetMembers() []*monitoredres.MonitoredResource

func (*ListGroupMembersResponse) GetNextPageToken Uses

func (x *ListGroupMembersResponse) GetNextPageToken() string

func (*ListGroupMembersResponse) GetTotalSize Uses

func (x *ListGroupMembersResponse) GetTotalSize() int32

func (*ListGroupMembersResponse) ProtoMessage Uses

func (*ListGroupMembersResponse) ProtoMessage()

func (*ListGroupMembersResponse) ProtoReflect Uses

func (x *ListGroupMembersResponse) ProtoReflect() protoreflect.Message

func (*ListGroupMembersResponse) Reset Uses

func (x *ListGroupMembersResponse) Reset()

func (*ListGroupMembersResponse) String Uses

func (x *ListGroupMembersResponse) String() string

type ListGroupsRequest Uses

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 assignable 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"`
    // contains filtered or unexported fields
}

The `ListGroup` request.

func (*ListGroupsRequest) Descriptor Uses

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

Deprecated: Use ListGroupsRequest.ProtoReflect.Descriptor instead.

func (*ListGroupsRequest) GetAncestorsOfGroup Uses

func (x *ListGroupsRequest) GetAncestorsOfGroup() string

func (*ListGroupsRequest) GetChildrenOfGroup Uses

func (x *ListGroupsRequest) GetChildrenOfGroup() string

func (*ListGroupsRequest) GetDescendantsOfGroup Uses

func (x *ListGroupsRequest) GetDescendantsOfGroup() string

func (*ListGroupsRequest) GetFilter Uses

func (m *ListGroupsRequest) GetFilter() isListGroupsRequest_Filter

func (*ListGroupsRequest) GetName Uses

func (x *ListGroupsRequest) GetName() string

func (*ListGroupsRequest) GetPageSize Uses

func (x *ListGroupsRequest) GetPageSize() int32

func (*ListGroupsRequest) GetPageToken Uses

func (x *ListGroupsRequest) GetPageToken() string

func (*ListGroupsRequest) ProtoMessage Uses

func (*ListGroupsRequest) ProtoMessage()

func (*ListGroupsRequest) ProtoReflect Uses

func (x *ListGroupsRequest) ProtoReflect() protoreflect.Message

func (*ListGroupsRequest) Reset Uses

func (x *ListGroupsRequest) Reset()

func (*ListGroupsRequest) String Uses

func (x *ListGroupsRequest) String() string

type ListGroupsRequest_AncestorsOfGroup Uses

type ListGroupsRequest_AncestorsOfGroup struct {
    // A group name. The format is:
    //
    //     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
    //
    // Returns groups that are ancestors of the specified group.
    // The groups are returned in order, starting with the immediate parent and
    // ending with the most distant ancestor.  If the specified group has no
    // immediate parent, the results are empty.
    AncestorsOfGroup string `protobuf:"bytes,3,opt,name=ancestors_of_group,json=ancestorsOfGroup,proto3,oneof"`
}

type ListGroupsRequest_ChildrenOfGroup Uses

type ListGroupsRequest_ChildrenOfGroup struct {
    // A group name. The format is:
    //
    //     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
    //
    // Returns groups whose `parent_name` field contains the group
    // name.  If no groups have this parent, the results are empty.
    ChildrenOfGroup string `protobuf:"bytes,2,opt,name=children_of_group,json=childrenOfGroup,proto3,oneof"`
}

type ListGroupsRequest_DescendantsOfGroup Uses

type ListGroupsRequest_DescendantsOfGroup struct {
    // A group name. The format is:
    //
    //     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
    //
    // Returns the descendants of the specified group.  This is a superset of
    // the results returned by the `children_of_group` filter, and includes
    // children-of-children, and so forth.
    DescendantsOfGroup string `protobuf:"bytes,4,opt,name=descendants_of_group,json=descendantsOfGroup,proto3,oneof"`
}

type ListGroupsResponse Uses

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"`
    // contains filtered or unexported fields
}

The `ListGroups` response.

func (*ListGroupsResponse) Descriptor Uses

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

Deprecated: Use ListGroupsResponse.ProtoReflect.Descriptor instead.

func (*ListGroupsResponse) GetGroup Uses

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

func (*ListGroupsResponse) GetNextPageToken Uses

func (x *ListGroupsResponse) GetNextPageToken() string

func (*ListGroupsResponse) ProtoMessage Uses

func (*ListGroupsResponse) ProtoMessage()

func (*ListGroupsResponse) ProtoReflect Uses

func (x *ListGroupsResponse) ProtoReflect() protoreflect.Message

func (*ListGroupsResponse) Reset Uses

func (x *ListGroupsResponse) Reset()

func (*ListGroupsResponse) String Uses

func (x *ListGroupsResponse) String() string

type ListMetricDescriptorsRequest Uses

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"`
    // contains filtered or unexported fields
}

The `ListMetricDescriptors` request.

func (*ListMetricDescriptorsRequest) Descriptor Uses

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

Deprecated: Use ListMetricDescriptorsRequest.ProtoReflect.Descriptor instead.

func (*ListMetricDescriptorsRequest) GetFilter Uses

func (x *ListMetricDescriptorsRequest) GetFilter() string

func (*ListMetricDescriptorsRequest) GetName Uses

func (x *ListMetricDescriptorsRequest) GetName() string

func (*ListMetricDescriptorsRequest) GetPageSize Uses

func (x *ListMetricDescriptorsRequest) GetPageSize() int32

func (*ListMetricDescriptorsRequest) GetPageToken Uses

func (x *ListMetricDescriptorsRequest) GetPageToken() string

func (*ListMetricDescriptorsRequest) ProtoMessage Uses

func (*ListMetricDescriptorsRequest) ProtoMessage()

func (*ListMetricDescriptorsRequest) ProtoReflect Uses

func (x *ListMetricDescriptorsRequest) ProtoReflect() protoreflect.Message

func (*ListMetricDescriptorsRequest) Reset Uses

func (x *ListMetricDescriptorsRequest) Reset()

func (*ListMetricDescriptorsRequest) String Uses

func (x *ListMetricDescriptorsRequest) String() string

type ListMetricDescriptorsResponse Uses

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"`
    // contains filtered or unexported fields
}

The `ListMetricDescriptors` response.

func (*ListMetricDescriptorsResponse) Descriptor Uses

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

Deprecated: Use ListMetricDescriptorsResponse.ProtoReflect.Descriptor instead.

func (*ListMetricDescriptorsResponse) GetMetricDescriptors Uses

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

func (*ListMetricDescriptorsResponse) GetNextPageToken Uses

func (x *ListMetricDescriptorsResponse) GetNextPageToken() string

func (*ListMetricDescriptorsResponse) ProtoMessage Uses

func (*ListMetricDescriptorsResponse) ProtoMessage()

func (*ListMetricDescriptorsResponse) ProtoReflect Uses

func (x *ListMetricDescriptorsResponse) ProtoReflect() protoreflect.Message

func (*ListMetricDescriptorsResponse) Reset Uses

func (x *ListMetricDescriptorsResponse) Reset()

func (*ListMetricDescriptorsResponse) String Uses

func (x *ListMetricDescriptorsResponse) String() string

type ListMonitoredResourceDescriptorsRequest Uses

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"`
    // contains filtered or unexported fields
}

The `ListMonitoredResourceDescriptors` request.

func (*ListMonitoredResourceDescriptorsRequest) Descriptor Uses

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

Deprecated: Use ListMonitoredResourceDescriptorsRequest.ProtoReflect.Descriptor instead.

func (*ListMonitoredResourceDescriptorsRequest) GetFilter Uses

func (x *ListMonitoredResourceDescriptorsRequest) GetFilter() string

func (*ListMonitoredResourceDescriptorsRequest) GetName Uses

func (x *ListMonitoredResourceDescriptorsRequest) GetName() string

func (*ListMonitoredResourceDescriptorsRequest) GetPageSize Uses

func (x *ListMonitoredResourceDescriptorsRequest) GetPageSize() int32

func (*ListMonitoredResourceDescriptorsRequest) GetPageToken Uses

func (x *ListMonitoredResourceDescriptorsRequest) GetPageToken() string

func (*ListMonitoredResourceDescriptorsRequest) ProtoMessage Uses

func (*ListMonitoredResourceDescriptorsRequest) ProtoMessage()

func (*ListMonitoredResourceDescriptorsRequest) ProtoReflect Uses

func (x *ListMonitoredResourceDescriptorsRequest) ProtoReflect() protoreflect.Message

func (*ListMonitoredResourceDescriptorsRequest) Reset Uses

func (x *ListMonitoredResourceDescriptorsRequest) Reset()

func (*ListMonitoredResourceDescriptorsRequest) String Uses

func (x *ListMonitoredResourceDescriptorsRequest) String() string

type ListMonitoredResourceDescriptorsResponse Uses

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"`
    // contains filtered or unexported fields
}

The `ListMonitoredResourceDescriptors` response.

func (*ListMonitoredResourceDescriptorsResponse) Descriptor Uses

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

Deprecated: Use ListMonitoredResourceDescriptorsResponse.ProtoReflect.Descriptor instead.

func (*ListMonitoredResourceDescriptorsResponse) GetNextPageToken Uses

func (x *ListMonitoredResourceDescriptorsResponse) GetNextPageToken() string

func (*ListMonitoredResourceDescriptorsResponse) GetResourceDescriptors Uses

func (x *ListMonitoredResourceDescriptorsResponse) GetResourceDescriptors() []*monitoredres.MonitoredResourceDescriptor

func (*ListMonitoredResourceDescriptorsResponse) ProtoMessage Uses

func (*ListMonitoredResourceDescriptorsResponse) ProtoMessage()

func (*ListMonitoredResourceDescriptorsResponse) ProtoReflect Uses

func (x *ListMonitoredResourceDescriptorsResponse) ProtoReflect() protoreflect.Message

func (*ListMonitoredResourceDescriptorsResponse) Reset Uses

func (x *ListMonitoredResourceDescriptorsResponse) Reset()

func (*ListMonitoredResourceDescriptorsResponse) String Uses

func (x *ListMonitoredResourceDescriptorsResponse) String() string

type ListNotificationChannelDescriptorsRequest Uses

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"`
    // contains filtered or unexported fields
}

The `ListNotificationChannelDescriptors` request.

func (*ListNotificationChannelDescriptorsRequest) Descriptor Uses

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

Deprecated: Use ListNotificationChannelDescriptorsRequest.ProtoReflect.Descriptor instead.

func (*ListNotificationChannelDescriptorsRequest) GetName Uses

func (x *ListNotificationChannelDescriptorsRequest) GetName() string

func (*ListNotificationChannelDescriptorsRequest) GetPageSize Uses

func (x *ListNotificationChannelDescriptorsRequest) GetPageSize() int32

func (*ListNotificationChannelDescriptorsRequest) GetPageToken Uses

func (x *ListNotificationChannelDescriptorsRequest) GetPageToken() string

func (*ListNotificationChannelDescriptorsRequest) ProtoMessage Uses

func (*ListNotificationChannelDescriptorsRequest) ProtoMessage()

func (*ListNotificationChannelDescriptorsRequest) ProtoReflect Uses

func (x *ListNotificationChannelDescriptorsRequest) ProtoReflect() protoreflect.Message

func (*ListNotificationChannelDescriptorsRequest) Reset Uses

func (x *ListNotificationChannelDescriptorsRequest) Reset()

func (*ListNotificationChannelDescriptorsRequest) String Uses

func (x *ListNotificationChannelDescriptorsRequest) String() string

type ListNotificationChannelDescriptorsResponse Uses

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"`
    // contains filtered or unexported fields
}

The `ListNotificationChannelDescriptors` response.

func (*ListNotificationChannelDescriptorsResponse) Descriptor Uses

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

Deprecated: Use ListNotificationChannelDescriptorsResponse.ProtoReflect.Descriptor instead.

func (*ListNotificationChannelDescriptorsResponse) GetChannelDescriptors Uses

func (x *ListNotificationChannelDescriptorsResponse) GetChannelDescriptors() []*NotificationChannelDescriptor

func (*ListNotificationChannelDescriptorsResponse) GetNextPageToken Uses

func (x *ListNotificationChannelDescriptorsResponse) GetNextPageToken() string

func (*ListNotificationChannelDescriptorsResponse) ProtoMessage Uses

func (*ListNotificationChannelDescriptorsResponse) ProtoMessage()

func (*ListNotificationChannelDescriptorsResponse) ProtoReflect Uses

func (x *ListNotificationChannelDescriptorsResponse) ProtoReflect() protoreflect.Message

func (*ListNotificationChannelDescriptorsResponse) Reset Uses

func (x *ListNotificationChannelDescriptorsResponse) Reset()

func (*ListNotificationChannelDescriptorsResponse) String Uses

func (x *ListNotificationChannelDescriptorsResponse) String() string

type ListNotificationChannelsRequest Uses

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"`
    // contains filtered or unexported fields
}

The `ListNotificationChannels` request.

func (*ListNotificationChannelsRequest) Descriptor Uses

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

Deprecated: Use ListNotificationChannelsRequest.ProtoReflect.Descriptor instead.

func (*ListNotificationChannelsRequest) GetFilter Uses

func (x *ListNotificationChannelsRequest) GetFilter() string

func (*ListNotificationChannelsRequest) GetName Uses

func (x *ListNotificationChannelsRequest) GetName() string

func (*ListNotificationChannelsRequest) GetOrderBy Uses

func (x *ListNotificationChannelsRequest) GetOrderBy() string

func (*ListNotificationChannelsRequest) GetPageSize Uses

func (x *ListNotificationChannelsRequest) GetPageSize() int32

func (*ListNotificationChannelsRequest) GetPageToken Uses

func (x *ListNotificationChannelsRequest) GetPageToken() string

func (*ListNotificationChannelsRequest) ProtoMessage Uses

func (*ListNotificationChannelsRequest) ProtoMessage()

func (*ListNotificationChannelsRequest) ProtoReflect Uses

func (x *ListNotificationChannelsRequest) ProtoReflect() protoreflect.Message

func (*ListNotificationChannelsRequest) Reset Uses

func (x *ListNotificationChannelsRequest) Reset()

func (*ListNotificationChannelsRequest) String Uses

func (x *ListNotificationChannelsRequest) String() string

type ListNotificationChannelsResponse Uses

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"`
    // contains filtered or unexported fields
}

The `ListNotificationChannels` response.

func (*ListNotificationChannelsResponse) Descriptor Uses

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

Deprecated: Use ListNotificationChannelsResponse.ProtoReflect.Descriptor instead.

func (*ListNotificationChannelsResponse) GetNextPageToken Uses

func (x *ListNotificationChannelsResponse) GetNextPageToken() string

func (*ListNotificationChannelsResponse) GetNotificationChannels Uses

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

func (*ListNotificationChannelsResponse) ProtoMessage Uses

func (*ListNotificationChannelsResponse) ProtoMessage()

func (*ListNotificationChannelsResponse) ProtoReflect Uses

func (x *ListNotificationChannelsResponse) ProtoReflect() protoreflect.Message

func (*ListNotificationChannelsResponse) Reset Uses

func (x *ListNotificationChannelsResponse) Reset()

func (*ListNotificationChannelsResponse) String Uses

func (x *ListNotificationChannelsResponse) String() string

type ListServiceLevelObjectivesRequest Uses

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"`
    // contains filtered or unexported fields
}

The `ListServiceLevelObjectives` request.

func (*ListServiceLevelObjectivesRequest) Descriptor Uses

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

Deprecated: Use ListServiceLevelObjectivesRequest.ProtoReflect.Descriptor instead.

func (*ListServiceLevelObjectivesRequest) GetFilter Uses

func (x *ListServiceLevelObjectivesRequest) GetFilter() string

func (*ListServiceLevelObjectivesRequest) GetPageSize Uses

func (x *ListServiceLevelObjectivesRequest) GetPageSize() int32

func (*ListServiceLevelObjectivesRequest) GetPageToken Uses

func (x *ListServiceLevelObjectivesRequest) GetPageToken() string

func (*ListServiceLevelObjectivesRequest) GetParent Uses

func (x *ListServiceLevelObjectivesRequest) GetParent() string

func (*ListServiceLevelObjectivesRequest) GetView Uses

func (x *ListServiceLevelObjectivesRequest) GetView() ServiceLevelObjective_View

func (*ListServiceLevelObjectivesRequest) ProtoMessage Uses

func (*ListServiceLevelObjectivesRequest) ProtoMessage()

func (*ListServiceLevelObjectivesRequest) ProtoReflect Uses

func (x *ListServiceLevelObjectivesRequest) ProtoReflect() protoreflect.Message

func (*ListServiceLevelObjectivesRequest) Reset Uses

func (x *ListServiceLevelObjectivesRequest) Reset()

func (*ListServiceLevelObjectivesRequest) String Uses

func (x *ListServiceLevelObjectivesRequest) String() string

type ListServiceLevelObjectivesResponse Uses

type ListServiceLevelObjectivesResponse struct {

    // The `ServiceLevelObjective`s matching the specified filter.
    ServiceLevelObjectives []*ServiceLevelObjective `protobuf:"bytes,1,rep,name=service_level_objectives,json=serviceLevelObjectives,proto3" json:"service_level_objectives,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"`
    // contains filtered or unexported fields
}

The `ListServiceLevelObjectives` response.

func (*ListServiceLevelObjectivesResponse) Descriptor Uses

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

Deprecated: Use ListServiceLevelObjectivesResponse.ProtoReflect.Descriptor instead.

func (*ListServiceLevelObjectivesResponse) GetNextPageToken Uses

func (x *ListServiceLevelObjectivesResponse) GetNextPageToken() string

func (*ListServiceLevelObjectivesResponse) GetServiceLevelObjectives Uses

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

func (*ListServiceLevelObjectivesResponse) ProtoMessage Uses

func (*ListServiceLevelObjectivesResponse) ProtoMessage()

func (*ListServiceLevelObjectivesResponse) ProtoReflect Uses

func (x *ListServiceLevelObjectivesResponse) ProtoReflect() protoreflect.Message

func (*ListServiceLevelObjectivesResponse) Reset Uses

func (x *ListServiceLevelObjectivesResponse) Reset()

func (*ListServiceLevelObjectivesResponse) String Uses

func (x *ListServiceLevelObjectivesResponse) String() string

type ListServicesRequest Uses

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"`
    // contains filtered or unexported fields
}

The `ListServices` request.

func (*ListServicesRequest) Descriptor Uses

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

Deprecated: Use ListServicesRequest.ProtoReflect.Descriptor instead.

func (*ListServicesRequest) GetFilter Uses

func (x *ListServicesRequest) GetFilter() string

func (*ListServicesRequest) GetPageSize Uses

func (x *ListServicesRequest) GetPageSize() int32

func (*ListServicesRequest) GetPageToken Uses

func (x *ListServicesRequest) GetPageToken() string

func (*ListServicesRequest) GetParent Uses

func (x *ListServicesRequest) GetParent() string

func (*ListServicesRequest) ProtoMessage Uses

func (*ListServicesRequest) ProtoMessage()

func (*ListServicesRequest) ProtoReflect Uses

func (x *ListServicesRequest) ProtoReflect() protoreflect.Message

func (*ListServicesRequest) Reset Uses

func (x *ListServicesRequest) Reset()

func (*ListServicesRequest) String Uses

func (x *ListServicesRequest) String() string

type ListServicesResponse Uses

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"`
    // contains filtered or unexported fields
}

The `ListServices` response.

func (*ListServicesResponse) Descriptor Uses

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

Deprecated: Use ListServicesResponse.ProtoReflect.Descriptor instead.

func (*ListServicesResponse) GetNextPageToken Uses

func (x *ListServicesResponse) GetNextPageToken() string

func (*ListServicesResponse) GetServices Uses

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

func (*ListServicesResponse) ProtoMessage Uses

func (*ListServicesResponse) ProtoMessage()

func (*ListServicesResponse) ProtoReflect Uses

func (x *ListServicesResponse) ProtoReflect() protoreflect.Message

func (*ListServicesResponse) Reset Uses

func (x *ListServicesResponse) Reset()

func (*ListServicesResponse) String Uses

func (x *ListServicesResponse) String() string

type ListTimeSeriesRequest Uses

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"`
    // contains filtered or unexported fields
}

The `ListTimeSeries` request.

func (*ListTimeSeriesRequest) Descriptor Uses

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

Deprecated: Use ListTimeSeriesRequest.ProtoReflect.Descriptor instead.

func (*ListTimeSeriesRequest) GetAggregation Uses

func (x *ListTimeSeriesRequest) GetAggregation() *Aggregation

func (*ListTimeSeriesRequest) GetFilter Uses

func (x *ListTimeSeriesRequest) GetFilter() string

func (*ListTimeSeriesRequest) GetInterval Uses

func (x *ListTimeSeriesRequest) GetInterval() *TimeInterval

func (*ListTimeSeriesRequest) GetName Uses

func (x *ListTimeSeriesRequest) GetName() string

func (*ListTimeSeriesRequest) GetOrderBy Uses

func (x *ListTimeSeriesRequest) GetOrderBy() string

func (*ListTimeSeriesRequest) GetPageSize Uses

func (x *ListTimeSeriesRequest) GetPageSize() int32

func (*ListTimeSeriesRequest) GetPageToken Uses

func (x *ListTimeSeriesRequest) GetPageToken() string

func (*ListTimeSeriesRequest) GetView Uses

func (x *ListTimeSeriesRequest) GetView() ListTimeSeriesRequest_TimeSeriesView

func (*ListTimeSeriesRequest) ProtoMessage Uses

func (*ListTimeSeriesRequest) ProtoMessage()

func (*ListTimeSeriesRequest) ProtoReflect Uses

func (x *ListTimeSeriesRequest) ProtoReflect() protoreflect.Message

func (*ListTimeSeriesRequest) Reset Uses

func (x *ListTimeSeriesRequest) Reset()

func (*ListTimeSeriesRequest) String Uses

func (x *ListTimeSeriesRequest) String() string

type ListTimeSeriesRequest_TimeSeriesView Uses

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) Descriptor Uses

func (ListTimeSeriesRequest_TimeSeriesView) Descriptor() protoreflect.EnumDescriptor

func (ListTimeSeriesRequest_TimeSeriesView) Enum Uses

func (x ListTimeSeriesRequest_TimeSeriesView) Enum() *ListTimeSeriesRequest_TimeSeriesView

func (ListTimeSeriesRequest_TimeSeriesView) EnumDescriptor Uses

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

Deprecated: Use ListTimeSeriesRequest_TimeSeriesView.Descriptor instead.

func (ListTimeSeriesRequest_TimeSeriesView) Number Uses

func (x ListTimeSeriesRequest_TimeSeriesView) Number() protoreflect.EnumNumber

func (ListTimeSeriesRequest_TimeSeriesView) String Uses

func (x ListTimeSeriesRequest_TimeSeriesView) String() string

func (ListTimeSeriesRequest_TimeSeriesView) Type Uses

func (ListTimeSeriesRequest_TimeSeriesView) Type() protoreflect.EnumType

type ListTimeSeriesResponse Uses

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"`
    // contains filtered or unexported fields
}

The `ListTimeSeries` response.

func (*ListTimeSeriesResponse) Descriptor Uses

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

Deprecated: Use ListTimeSeriesResponse.ProtoReflect.Descriptor instead.

func (*ListTimeSeriesResponse) GetExecutionErrors Uses

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

func (*ListTimeSeriesResponse) GetNextPageToken Uses

func (x *ListTimeSeriesResponse) GetNextPageToken() string

func (*ListTimeSeriesResponse) GetTimeSeries Uses

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

func (*ListTimeSeriesResponse) ProtoMessage Uses

func (*ListTimeSeriesResponse) ProtoMessage()

func (*ListTimeSeriesResponse) ProtoReflect Uses

func (x *ListTimeSeriesResponse) ProtoReflect() protoreflect.Message

func (*ListTimeSeriesResponse) Reset Uses

func (x *ListTimeSeriesResponse) Reset()

func (*ListTimeSeriesResponse) String Uses

func (x *ListTimeSeriesResponse) String() string

type ListUptimeCheckConfigsRequest Uses

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"`
    // contains filtered or unexported fields
}

The protocol for the `ListUptimeCheckConfigs` request.

func (*ListUptimeCheckConfigsRequest) Descriptor Uses

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

Deprecated: Use ListUptimeCheckConfigsRequest.ProtoReflect.Descriptor instead.

func (*ListUptimeCheckConfigsRequest) GetPageSize Uses

func (x *ListUptimeCheckConfigsRequest) GetPageSize() int32

func (*ListUptimeCheckConfigsRequest) GetPageToken Uses

func (x *ListUptimeCheckConfigsRequest) GetPageToken() string

func (*ListUptimeCheckConfigsRequest) GetParent Uses

func (x *ListUptimeCheckConfigsRequest) GetParent() string

func (*ListUptimeCheckConfigsRequest) ProtoMessage Uses

func (*ListUptimeCheckConfigsRequest) ProtoMessage()

func (*ListUptimeCheckConfigsRequest) ProtoReflect Uses

func (x *ListUptimeCheckConfigsRequest) ProtoReflect() protoreflect.Message

func (*ListUptimeCheckConfigsRequest) Reset Uses

func (x *ListUptimeCheckConfigsRequest) Reset()

func (*ListUptimeCheckConfigsRequest) String Uses

func (x *ListUptimeCheckConfigsRequest) String() string

type ListUptimeCheckConfigsResponse Uses

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"`
    // contains filtered or unexported fields
}

The protocol for the `ListUptimeCheckConfigs` response.

func (*ListUptimeCheckConfigsResponse) Descriptor Uses

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

Deprecated: Use ListUptimeCheckConfigsResponse.ProtoReflect.Descriptor instead.

func (*ListUptimeCheckConfigsResponse) GetNextPageToken Uses

func (x *ListUptimeCheckConfigsResponse) GetNextPageToken() string

func (*ListUptimeCheckConfigsResponse) GetTotalSize Uses

func (x *ListUptimeCheckConfigsResponse) GetTotalSize() int32

func (*ListUptimeCheckConfigsResponse) GetUptimeCheckConfigs Uses

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

func (*ListUptimeCheckConfigsResponse) ProtoMessage Uses

func (*ListUptimeCheckConfigsResponse) ProtoMessage()

func (*ListUptimeCheckConfigsResponse) ProtoReflect Uses

func (x *ListUptimeCheckConfigsResponse) ProtoReflect() protoreflect.Message

func (*ListUptimeCheckConfigsResponse) Reset Uses

func (x *ListUptimeCheckConfigsResponse) Reset()

func (*ListUptimeCheckConfigsResponse) String Uses

func (x *ListUptimeCheckConfigsResponse) String() string

type ListUptimeCheckIpsRequest Uses

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"`
    // contains filtered or unexported fields
}

The protocol for the `ListUptimeCheckIps` request.

func (*ListUptimeCheckIpsRequest) Descriptor Uses

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

Deprecated: Use ListUptimeCheckIpsRequest.ProtoReflect.Descriptor instead.

func (*ListUptimeCheckIpsRequest) GetPageSize Uses

func (x *ListUptimeCheckIpsRequest) GetPageSize() int32

func (*ListUptimeCheckIpsRequest) GetPageToken Uses

func (x *ListUptimeCheckIpsRequest) GetPageToken() string

func (*ListUptimeCheckIpsRequest) ProtoMessage Uses

func (*ListUptimeCheckIpsRequest) ProtoMessage()

func (*ListUptimeCheckIpsRequest) ProtoReflect Uses

func (x *ListUptimeCheckIpsRequest) ProtoReflect() protoreflect.Message

func (*ListUptimeCheckIpsRequest) Reset Uses

func (x *ListUptimeCheckIpsRequest) Reset()

func (*ListUptimeCheckIpsRequest) String Uses

func (x *ListUptimeCheckIpsRequest) String() string

type ListUptimeCheckIpsResponse Uses

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"`
    // contains filtered or unexported fields
}

The protocol for the `ListUptimeCheckIps` response.

func (*ListUptimeCheckIpsResponse) Descriptor Uses

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

Deprecated: Use ListUptimeCheckIpsResponse.ProtoReflect.Descriptor instead.

func (*ListUptimeCheckIpsResponse) GetNextPageToken Uses

func (x *ListUptimeCheckIpsResponse) GetNextPageToken() string

func (*ListUptimeCheckIpsResponse) GetUptimeCheckIps Uses

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

func (*ListUptimeCheckIpsResponse) ProtoMessage Uses

func (*ListUptimeCheckIpsResponse) ProtoMessage()

func (*ListUptimeCheckIpsResponse) ProtoReflect Uses

func (x *ListUptimeCheckIpsResponse) ProtoReflect() protoreflect.Message

func (*ListUptimeCheckIpsResponse) Reset Uses

func (x *ListUptimeCheckIpsResponse) Reset()

func (*ListUptimeCheckIpsResponse) String Uses

func (x *ListUptimeCheckIpsResponse) String() string

type MetricServiceClient Uses

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.

func NewMetricServiceClient Uses

func NewMetricServiceClient(cc grpc.ClientConnInterface) MetricServiceClient

type MetricServiceServer Uses

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 Uses

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"`
    // contains filtered or unexported fields
}

Describes a change made to a configuration.

func (*MutationRecord) Descriptor Uses

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

Deprecated: Use MutationRecord.ProtoReflect.Descriptor instead.

func (*MutationRecord) GetMutateTime Uses

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

func (*MutationRecord) GetMutatedBy Uses

func (x *MutationRecord) GetMutatedBy() string

func (*MutationRecord) ProtoMessage Uses

func (*MutationRecord) ProtoMessage()

func (*MutationRecord) ProtoReflect Uses

func (x *MutationRecord) ProtoReflect() protoreflect.Message

func (*MutationRecord) Reset Uses

func (x *MutationRecord) Reset()

func (*MutationRecord) String Uses

func (x *MutationRecord) String() string

type NotificationChannel Uses

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 `protobuf:"bytes,5,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    // 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 `protobuf:"bytes,8,rep,name=user_labels,json=userLabels,proto3" json:"user_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    // 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 `protobuf:"varint,9,opt,name=verification_status,json=verificationStatus,proto3,enum=google.monitoring.v3.NotificationChannel_VerificationStatus" json:"verification_status,omitempty"`
    // 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"`
    // contains filtered or unexported fields
}

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 Uses

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

Deprecated: Use NotificationChannel.ProtoReflect.Descriptor instead.

func (*NotificationChannel) GetDescription Uses

func (x *NotificationChannel) GetDescription() string

func (*NotificationChannel) GetDisplayName Uses

func (x *NotificationChannel) GetDisplayName() string

func (*NotificationChannel) GetEnabled Uses

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

func (*NotificationChannel) GetLabels Uses

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

func (*NotificationChannel) GetName Uses

func (x *NotificationChannel) GetName() string

func (*NotificationChannel) GetType Uses

func (x *NotificationChannel) GetType() string

func (*NotificationChannel) GetUserLabels Uses

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

func (*NotificationChannel) GetVerificationStatus Uses

func (x *NotificationChannel) GetVerificationStatus() NotificationChannel_VerificationStatus

func (*NotificationChannel) ProtoMessage Uses

func (*NotificationChannel) ProtoMessage()

func (*NotificationChannel) ProtoReflect Uses

func (x *NotificationChannel) ProtoReflect() protoreflect.Message

func (*NotificationChannel) Reset Uses

func (x *NotificationChannel) Reset()

func (*NotificationChannel) String Uses

func (x *NotificationChannel) String() string

type NotificationChannelDescriptor Uses

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.
    //
    // Deprecated: Do not use.
    SupportedTiers []ServiceTier `protobuf:"varint,5,rep,packed,name=supported_tiers,json=supportedTiers,proto3,enum=google.monitoring.v3.ServiceTier" json:"supported_tiers,omitempty"`
    // 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"`
    // contains filtered or unexported fields
}

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 Uses

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

Deprecated: Use NotificationChannelDescriptor.ProtoReflect.Descriptor instead.

func (*NotificationChannelDescriptor) GetDescription Uses

func (x *NotificationChannelDescriptor) GetDescription() string

func (*NotificationChannelDescriptor) GetDisplayName Uses

func (x *NotificationChannelDescriptor) GetDisplayName() string

func (*NotificationChannelDescriptor) GetLabels Uses

func (x *NotificationChannelDescriptor) GetLabels() []*label.LabelDescriptor

func (*NotificationChannelDescriptor) GetLaunchStage Uses

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

func (*NotificationChannelDescriptor) GetName Uses

func (x *NotificationChannelDescriptor) GetName() string

func (*NotificationChannelDescriptor) GetSupportedTiers Uses

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

Deprecated: Do not use.

func (*NotificationChannelDescriptor) GetType Uses

func (x *NotificationChannelDescriptor) GetType() string

func (*NotificationChannelDescriptor) ProtoMessage Uses

func (*NotificationChannelDescriptor) ProtoMessage()

func (*NotificationChannelDescriptor) ProtoReflect Uses

func (x *NotificationChannelDescriptor) ProtoReflect() protoreflect.Message

func (*NotificationChannelDescriptor) Reset Uses

func (x *NotificationChannelDescriptor) Reset()

func (*NotificationChannelDescriptor) String Uses

func (x *NotificationChannelDescriptor) String() string

type NotificationChannelServiceClient Uses

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.

func NewNotificationChannelServiceClient Uses

func NewNotificationChannelServiceClient(cc grpc.ClientConnInterface) NotificationChannelServiceClient

type NotificationChannelServiceServer Uses

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 Uses

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).