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 span_context.pb.go uptime.pb.go uptime_service.pb.go

Variables

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",
}
var Aggregation_Aligner_value = map[string]int32{
    "ALIGN_NONE":           0,
    "ALIGN_DELTA":          1,
    "ALIGN_RATE":           2,
    "ALIGN_INTERPOLATE":    3,
    "ALIGN_NEXT_OLDER":     4,
    "ALIGN_MIN":            10,
    "ALIGN_MAX":            11,
    "ALIGN_MEAN":           12,
    "ALIGN_COUNT":          13,
    "ALIGN_SUM":            14,
    "ALIGN_STDDEV":         15,
    "ALIGN_COUNT_TRUE":     16,
    "ALIGN_COUNT_FALSE":    24,
    "ALIGN_FRACTION_TRUE":  17,
    "ALIGN_PERCENTILE_99":  18,
    "ALIGN_PERCENTILE_95":  19,
    "ALIGN_PERCENTILE_50":  20,
    "ALIGN_PERCENTILE_05":  21,
    "ALIGN_PERCENT_CHANGE": 23,
}
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",
}
var Aggregation_Reducer_value = map[string]int32{
    "REDUCE_NONE":          0,
    "REDUCE_MEAN":          1,
    "REDUCE_MIN":           2,
    "REDUCE_MAX":           3,
    "REDUCE_SUM":           4,
    "REDUCE_STDDEV":        5,
    "REDUCE_COUNT":         6,
    "REDUCE_COUNT_TRUE":    7,
    "REDUCE_COUNT_FALSE":   15,
    "REDUCE_FRACTION_TRUE": 8,
    "REDUCE_PERCENTILE_99": 9,
    "REDUCE_PERCENTILE_95": 10,
    "REDUCE_PERCENTILE_50": 11,
    "REDUCE_PERCENTILE_05": 12,
}
var AlertPolicy_ConditionCombinerType_name = map[int32]string{
    0:  "COMBINE_UNSPECIFIED",
    1:  "AND",
    2:  "OR",
    3:  "AND_WITH_MATCHING_RESOURCE",
}
var AlertPolicy_ConditionCombinerType_value = map[string]int32{
    "COMBINE_UNSPECIFIED":        0,
    "AND":                        1,
    "OR":                         2,
    "AND_WITH_MATCHING_RESOURCE": 3,
}
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",
}
var ComparisonType_value = map[string]int32{
    "COMPARISON_UNSPECIFIED": 0,
    "COMPARISON_GT":          1,
    "COMPARISON_GE":          2,
    "COMPARISON_LT":          3,
    "COMPARISON_LE":          4,
    "COMPARISON_EQ":          5,
    "COMPARISON_NE":          6,
}
var GroupResourceType_name = map[int32]string{
    0:  "RESOURCE_TYPE_UNSPECIFIED",
    1:  "INSTANCE",
    2:  "AWS_ELB_LOAD_BALANCER",
}
var GroupResourceType_value = map[string]int32{
    "RESOURCE_TYPE_UNSPECIFIED": 0,
    "INSTANCE":                  1,
    "AWS_ELB_LOAD_BALANCER":     2,
}
var ListTimeSeriesRequest_TimeSeriesView_name = map[int32]string{
    0:  "FULL",
    1:  "HEADERS",
}
var ListTimeSeriesRequest_TimeSeriesView_value = map[string]int32{
    "FULL":    0,
    "HEADERS": 1,
}
var NotificationChannel_VerificationStatus_name = map[int32]string{
    0:  "VERIFICATION_STATUS_UNSPECIFIED",
    1:  "UNVERIFIED",
    2:  "VERIFIED",
}
var NotificationChannel_VerificationStatus_value = map[string]int32{
    "VERIFICATION_STATUS_UNSPECIFIED": 0,
    "UNVERIFIED":                      1,
    "VERIFIED":                        2,
}
var ServiceTier_name = map[int32]string{
    0:  "SERVICE_TIER_UNSPECIFIED",
    1:  "SERVICE_TIER_BASIC",
    2:  "SERVICE_TIER_PREMIUM",
}
var ServiceTier_value = map[string]int32{
    "SERVICE_TIER_UNSPECIFIED": 0,
    "SERVICE_TIER_BASIC":       1,
    "SERVICE_TIER_PREMIUM":     2,
}
var UptimeCheckRegion_name = map[int32]string{
    0:  "REGION_UNSPECIFIED",
    1:  "USA",
    2:  "EUROPE",
    3:  "SOUTH_AMERICA",
    4:  "ASIA_PACIFIC",
}
var UptimeCheckRegion_value = map[string]int32{
    "REGION_UNSPECIFIED": 0,
    "USA":                1,
    "EUROPE":             2,
    "SOUTH_AMERICA":      3,
    "ASIA_PACIFIC":       4,
}

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 RegisterUptimeCheckServiceServer Uses

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

type Aggregation Uses

type Aggregation struct {
    // The alignment period for per-[time series][google.monitoring.v3.TimeSeries]
    // alignment. If present, `alignmentPeriod` must be at least 60
    // seconds.  After per-time series alignment, each time series will
    // contain data points only on the period boundaries. If
    // `perSeriesAligner` is not specified or equals `ALIGN_NONE`, then
    // this field is ignored. If `perSeriesAligner` is specified and
    // does not equal `ALIGN_NONE`, then this field must be defined;
    // otherwise an error is returned.
    AlignmentPeriod *duration.Duration `protobuf:"bytes,1,opt,name=alignment_period,json=alignmentPeriod,proto3" json:"alignment_period,omitempty"`
    // The approach to be used to align individual time series. Not all
    // alignment functions may be applied to all time series, depending
    // on the metric type and value type of the original time
    // series. Alignment may change the metric type or the value type of
    // the time series.
    //
    // Time series data must be aligned in order to perform cross-time
    // series reduction. If `crossSeriesReducer` is specified, then
    // `perSeriesAligner` must be specified and not equal `ALIGN_NONE`
    // and `alignmentPeriod` 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 approach to be used to combine time series. Not all reducer
    // functions may be applied to all time series, depending on the
    // metric type and the value type of the original time
    // series. Reduction may change the metric type of value type of the
    // time series.
    //
    // Time series data must be aligned in order to perform cross-time
    // series reduction. If `crossSeriesReducer` is specified, then
    // `perSeriesAligner` must be specified and not equal `ALIGN_NONE`
    // and `alignmentPeriod` must 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 `crossSeriesReducer` is
    // specified. The `groupByFields` determine how the time series are
    // partitioned into subsets prior to applying the aggregation
    // function. 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
    // `crossSeriesReducer` 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 `groupByFields` are aggregated away.  If
    // `groupByFields` 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 `crossSeriesReducer` is not
    // defined, this field is ignored.
    GroupByFields        []string `protobuf:"bytes,5,rep,name=group_by_fields,json=groupByFields,proto3" json:"group_by_fields,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Describes how to combine multiple time series to provide different views of the data. Aggregation consists of an alignment step on individual time series (`alignment_period` and `per_series_aligner`) followed by an optional reduction step of the data across the aligned time series (`cross_series_reducer` and `group_by_fields`). For more details, see [Aggregation](/monitoring/api/learn_more#aggregation).

func (*Aggregation) Descriptor Uses

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

func (*Aggregation) GetAlignmentPeriod Uses

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

func (*Aggregation) GetCrossSeriesReducer Uses

func (m *Aggregation) GetCrossSeriesReducer() Aggregation_Reducer

func (*Aggregation) GetGroupByFields Uses

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

func (*Aggregation) GetPerSeriesAligner Uses

func (m *Aggregation) GetPerSeriesAligner() Aggregation_Aligner

func (*Aggregation) ProtoMessage Uses

func (*Aggregation) ProtoMessage()

func (*Aggregation) Reset Uses

func (m *Aggregation) Reset()

func (*Aggregation) String Uses

func (m *Aggregation) String() string

func (*Aggregation) XXX_DiscardUnknown Uses

func (m *Aggregation) XXX_DiscardUnknown()

func (*Aggregation) XXX_Marshal Uses

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

func (*Aggregation) XXX_Merge Uses

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

func (*Aggregation) XXX_Size Uses

func (m *Aggregation) XXX_Size() int

func (*Aggregation) XXX_Unmarshal Uses

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

type Aggregation_Aligner Uses

type Aggregation_Aligner int32

The Aligner describes how to bring the data points in a single time series into temporal alignment.

const (
    // No alignment. Raw data is returned. Not valid if cross-time
    // 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 metric type. This alignment is valid
    // for cumulative metrics and delta metrics. Aligning an existing
    // delta metric to a delta metric requires that the alignment
    // period be increased. The value type of the result is the same
    // as the value type of the input.
    //
    // One can think of this aligner as a rate but without time units; that
    // is, the output is conceptually (second_point - first_point).
    Aggregation_ALIGN_DELTA Aggregation_Aligner = 1
    // Align and convert to a rate. This alignment is valid for
    // cumulative metrics and delta metrics with numeric values. The output is a
    // gauge metric with value type
    // [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE].
    //
    // One can think of this aligner as conceptually providing the slope of
    // the line that passes through the value at the start and end of the
    // window. In other words, this is conceptually ((y1 - y0)/(t1 - t0)),
    // and the output unit is one that has a "/time" dimension.
    //
    // If, by rate, you are looking for percentage change, see the
    // `ALIGN_PERCENT_CHANGE` aligner option.
    Aggregation_ALIGN_RATE Aggregation_Aligner = 2
    // Align by interpolating between adjacent points around the
    // period boundary. This alignment is valid for gauge
    // metrics with numeric values. The value type of the result is the same
    // as the value type of the input.
    Aggregation_ALIGN_INTERPOLATE Aggregation_Aligner = 3
    // Align by shifting the oldest data point before the period
    // boundary to the boundary. This alignment is valid for gauge
    // metrics. The value type of the result is the same as the
    // value type of the input.
    Aggregation_ALIGN_NEXT_OLDER Aggregation_Aligner = 4
    // Align time series via aggregation. The resulting data point in
    // the alignment period is the minimum of all data points in the
    // period. This alignment is valid for gauge and delta metrics with numeric
    // values. The value type of the result is the same as the value
    // type of the input.
    Aggregation_ALIGN_MIN Aggregation_Aligner = 10
    // Align time series via aggregation. The resulting data point in
    // the alignment period is the maximum of all data points in the
    // period. This alignment is valid for gauge and delta metrics with numeric
    // values. The value type of the result is the same as the value
    // type of the input.
    Aggregation_ALIGN_MAX Aggregation_Aligner = 11
    // Align time series via aggregation. The resulting data point in
    // the alignment period is the average or arithmetic mean of all
    // data points in the period. This alignment is valid for gauge and delta
    // metrics with numeric values. The value type of the output is
    // [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE].
    Aggregation_ALIGN_MEAN Aggregation_Aligner = 12
    // Align time series via aggregation. The resulting data point in
    // the alignment period is the count of all data points in the
    // period. This alignment is valid for gauge and delta metrics with numeric
    // or Boolean values. The value type of the output is
    // [INT64][google.api.MetricDescriptor.ValueType.INT64].
    Aggregation_ALIGN_COUNT Aggregation_Aligner = 13
    // Align time series via aggregation. The resulting data point in
    // the alignment period is the sum of all data points in the
    // period. This alignment is valid for gauge and delta metrics with numeric
    // and distribution values. The value type of the output is the
    // same as the value type of the input.
    Aggregation_ALIGN_SUM Aggregation_Aligner = 14
    // Align time series via aggregation. The resulting data point in
    // the alignment period is the standard deviation of all data
    // points in the period. This alignment is valid for gauge and delta metrics
    // with numeric values. The value type of the output is
    // [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE].
    Aggregation_ALIGN_STDDEV Aggregation_Aligner = 15
    // Align time series via aggregation. The resulting data point in
    // the alignment period is the count of True-valued data points in the
    // period. This alignment is valid for gauge metrics with
    // Boolean values. The value type of the output is
    // [INT64][google.api.MetricDescriptor.ValueType.INT64].
    Aggregation_ALIGN_COUNT_TRUE Aggregation_Aligner = 16
    // Align time series via aggregation. The resulting data point in
    // the alignment period is the count of False-valued data points in the
    // period. This alignment is valid for gauge metrics with
    // Boolean values. The value type of the output is
    // [INT64][google.api.MetricDescriptor.ValueType.INT64].
    Aggregation_ALIGN_COUNT_FALSE Aggregation_Aligner = 24
    // Align time series via aggregation. The resulting data point in
    // the alignment period is the fraction of True-valued data points in the
    // period. This alignment is valid for gauge metrics with Boolean values.
    // The output value is in the range [0, 1] and has value type
    // [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE].
    Aggregation_ALIGN_FRACTION_TRUE Aggregation_Aligner = 17
    // Align time series via aggregation. The resulting data point in
    // the alignment period is the 99th percentile of all data
    // points in the period. This alignment is valid for gauge and delta metrics
    // with distribution values. The output is a gauge metric with value type
    // [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE].
    Aggregation_ALIGN_PERCENTILE_99 Aggregation_Aligner = 18
    // Align time series via aggregation. The resulting data point in
    // the alignment period is the 95th percentile of all data
    // points in the period. This alignment is valid for gauge and delta metrics
    // with distribution values. The output is a gauge metric with value type
    // [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE].
    Aggregation_ALIGN_PERCENTILE_95 Aggregation_Aligner = 19
    // Align time series via aggregation. The resulting data point in
    // the alignment period is the 50th percentile of all data
    // points in the period. This alignment is valid for gauge and delta metrics
    // with distribution values. The output is a gauge metric with value type
    // [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE].
    Aggregation_ALIGN_PERCENTILE_50 Aggregation_Aligner = 20
    // Align time series via aggregation. The resulting data point in
    // the alignment period is the 5th percentile of all data
    // points in the period. This alignment is valid for gauge and delta metrics
    // with distribution values. The output is a gauge metric with value type
    // [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE].
    Aggregation_ALIGN_PERCENTILE_05 Aggregation_Aligner = 21
    // Align and convert to a percentage change. This alignment is valid for
    // gauge and delta metrics with numeric values. This alignment conceptually
    // computes the equivalent of "((current - previous)/previous)*100"
    // where previous value is determined based on the alignmentPeriod.
    // In the event that previous is 0 the calculated value is infinity with the
    // exception that if both (current - previous) and previous are 0 the
    // calculated value is 0.
    // A 10 minute moving mean is computed at each point of the time window
    // prior to the above calculation to smooth the metric and prevent false
    // positives from very short lived spikes.
    // Only applicable for data that is >= 0. Any values < 0 are treated as
    // no data. 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][google.api.MetricDescriptor.ValueType.DOUBLE].
    Aggregation_ALIGN_PERCENT_CHANGE Aggregation_Aligner = 23
)

func (Aggregation_Aligner) EnumDescriptor Uses

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

func (Aggregation_Aligner) String Uses

func (x Aggregation_Aligner) String() string

type Aggregation_Reducer Uses

type Aggregation_Reducer int32

A Reducer describes how to aggregate data points from multiple time series into a single 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 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][google.api.MetricDescriptor.ValueType.DOUBLE].
    Aggregation_REDUCE_MEAN Aggregation_Reducer = 1
    // Reduce by computing the minimum 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 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][google.api.MetricDescriptor.ValueType.DOUBLE].
    Aggregation_REDUCE_STDDEV Aggregation_Reducer = 5
    // Reduce by computing the count 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][google.api.MetricDescriptor.ValueType.INT64].
    Aggregation_REDUCE_COUNT Aggregation_Reducer = 6
    // Reduce by computing the count 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][google.api.MetricDescriptor.ValueType.INT64].
    Aggregation_REDUCE_COUNT_TRUE Aggregation_Reducer = 7
    // Reduce by computing the count 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][google.api.MetricDescriptor.ValueType.INT64].
    Aggregation_REDUCE_COUNT_FALSE Aggregation_Reducer = 15
    // Reduce by computing the fraction 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 output value is in the
    // range [0, 1] and has value type
    // [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE].
    Aggregation_REDUCE_FRACTION_TRUE Aggregation_Reducer = 8
    // Reduce by computing 99th 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][google.api.MetricDescriptor.ValueType.DOUBLE]
    Aggregation_REDUCE_PERCENTILE_99 Aggregation_Reducer = 9
    // Reduce by computing 95th 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][google.api.MetricDescriptor.ValueType.DOUBLE]
    Aggregation_REDUCE_PERCENTILE_95 Aggregation_Reducer = 10
    // Reduce by computing 50th 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][google.api.MetricDescriptor.ValueType.DOUBLE]
    Aggregation_REDUCE_PERCENTILE_50 Aggregation_Reducer = 11
    // Reduce by computing 5th 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][google.api.MetricDescriptor.ValueType.DOUBLE]
    Aggregation_REDUCE_PERCENTILE_05 Aggregation_Reducer = 12
)

func (Aggregation_Reducer) EnumDescriptor Uses

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

func (Aggregation_Reducer) String Uses

func (x Aggregation_Reducer) String() string

type AlertPolicy Uses

type AlertPolicy struct {
    // Required if the policy exists. The resource name for this policy. The
    // syntax is:
    //
    //     projects/[PROJECT_ID]/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.
    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.
    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"`
    // 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 syntax of the entries in this field is:
    //
    //     projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID]
    NotificationChannels []string `protobuf:"bytes,14,rep,name=notification_channels,json=notificationChannels,proto3" json:"notification_channels,omitempty"`
    // A read-only record of the creation of the alerting policy. If provided
    // in a call to create or update, this field will be ignored.
    CreationRecord *MutationRecord `protobuf:"bytes,10,opt,name=creation_record,json=creationRecord,proto3" json:"creation_record,omitempty"`
    // A read-only record of the most recent change to the alerting policy. If
    // provided in a call to create or update, this field will be ignored.
    MutationRecord       *MutationRecord `protobuf:"bytes,11,opt,name=mutation_record,json=mutationRecord,proto3" json:"mutation_record,omitempty"`
    XXX_NoUnkeyedLiteral struct{}        `json:"-"`
    XXX_unrecognized     []byte          `json:"-"`
    XXX_sizecache        int32           `json:"-"`
}

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

func (*AlertPolicy) Descriptor Uses

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

func (*AlertPolicy) GetCombiner Uses

func (m *AlertPolicy) GetCombiner() AlertPolicy_ConditionCombinerType

func (*AlertPolicy) GetConditions Uses

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

func (*AlertPolicy) GetCreationRecord Uses

func (m *AlertPolicy) GetCreationRecord() *MutationRecord

func (*AlertPolicy) GetDisplayName Uses

func (m *AlertPolicy) GetDisplayName() string

func (*AlertPolicy) GetDocumentation Uses

func (m *AlertPolicy) GetDocumentation() *AlertPolicy_Documentation

func (*AlertPolicy) GetEnabled Uses

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

func (*AlertPolicy) GetMutationRecord Uses

func (m *AlertPolicy) GetMutationRecord() *MutationRecord

func (*AlertPolicy) GetName Uses

func (m *AlertPolicy) GetName() string

func (*AlertPolicy) GetNotificationChannels Uses

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

func (*AlertPolicy) GetUserLabels Uses

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

func (*AlertPolicy) ProtoMessage Uses

func (*AlertPolicy) ProtoMessage()

func (*AlertPolicy) Reset Uses

func (m *AlertPolicy) Reset()

func (*AlertPolicy) String Uses

func (m *AlertPolicy) String() string

func (*AlertPolicy) XXX_DiscardUnknown Uses

func (m *AlertPolicy) XXX_DiscardUnknown()

func (*AlertPolicy) XXX_Marshal Uses

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

func (*AlertPolicy) XXX_Merge Uses

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

func (*AlertPolicy) XXX_Size Uses

func (m *AlertPolicy) XXX_Size() int

func (*AlertPolicy) XXX_Unmarshal Uses

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

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

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

func (*AlertPolicy_Condition) Descriptor Uses

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

func (*AlertPolicy_Condition) GetCondition Uses

func (m *AlertPolicy_Condition) GetCondition() isAlertPolicy_Condition_Condition

func (*AlertPolicy_Condition) GetConditionAbsent Uses

func (m *AlertPolicy_Condition) GetConditionAbsent() *AlertPolicy_Condition_MetricAbsence

func (*AlertPolicy_Condition) GetConditionThreshold Uses

func (m *AlertPolicy_Condition) GetConditionThreshold() *AlertPolicy_Condition_MetricThreshold

func (*AlertPolicy_Condition) GetDisplayName Uses

func (m *AlertPolicy_Condition) GetDisplayName() string

func (*AlertPolicy_Condition) GetName Uses

func (m *AlertPolicy_Condition) GetName() string

func (*AlertPolicy_Condition) ProtoMessage Uses

func (*AlertPolicy_Condition) ProtoMessage()

func (*AlertPolicy_Condition) Reset Uses

func (m *AlertPolicy_Condition) Reset()

func (*AlertPolicy_Condition) String Uses

func (m *AlertPolicy_Condition) String() string

func (*AlertPolicy_Condition) XXX_DiscardUnknown Uses

func (m *AlertPolicy_Condition) XXX_DiscardUnknown()

func (*AlertPolicy_Condition) XXX_Marshal Uses

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

func (*AlertPolicy_Condition) XXX_Merge Uses

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

func (*AlertPolicy_Condition) XXX_OneofWrappers Uses

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*AlertPolicy_Condition) XXX_Size Uses

func (m *AlertPolicy_Condition) XXX_Size() int

func (*AlertPolicy_Condition) XXX_Unmarshal Uses

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

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

func (AlertPolicy_ConditionCombinerType) EnumDescriptor Uses

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

func (AlertPolicy_ConditionCombinerType) String Uses

func (x AlertPolicy_ConditionCombinerType) String() string

type AlertPolicy_Condition_ConditionAbsent Uses

type AlertPolicy_Condition_ConditionAbsent struct {
    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 {
    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](/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
    // [`MetricService.ListTimeSeries`
    // request](/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 [`MetricService.ListTimeSeries`
    // request](/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list). It
    // is advisable to use the `ListTimeSeries` method when debugging this
    // field.
    Aggregations []*Aggregation `protobuf:"bytes,5,rep,name=aggregations,proto3" json:"aggregations,omitempty"`
    // The amount of time that a time series must fail to report new
    // data to be considered failing. Currently, only values that
    // are a multiple of a minute--e.g.  60, 120, or 300
    // seconds--are supported. If an invalid value is given, an
    // error will be returned. The `Duration.nanos` field is
    // ignored.
    Duration *duration.Duration `protobuf:"bytes,2,opt,name=duration,proto3" json:"duration,omitempty"`
    // The number/percent of time series for which the comparison must hold
    // in order for the condition to trigger. If unspecified, then the
    // condition will trigger if the comparison is true for any of the
    // time series that have been identified by `filter` and `aggregations`.
    Trigger              *AlertPolicy_Condition_Trigger `protobuf:"bytes,3,opt,name=trigger,proto3" json:"trigger,omitempty"`
    XXX_NoUnkeyedLiteral struct{}                       `json:"-"`
    XXX_unrecognized     []byte                         `json:"-"`
    XXX_sizecache        int32                          `json:"-"`
}

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

func (*AlertPolicy_Condition_MetricAbsence) Descriptor Uses

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

func (*AlertPolicy_Condition_MetricAbsence) GetAggregations Uses

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

func (*AlertPolicy_Condition_MetricAbsence) GetDuration Uses

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

func (*AlertPolicy_Condition_MetricAbsence) GetFilter Uses

func (m *AlertPolicy_Condition_MetricAbsence) GetFilter() string

func (*AlertPolicy_Condition_MetricAbsence) GetTrigger Uses

func (m *AlertPolicy_Condition_MetricAbsence) GetTrigger() *AlertPolicy_Condition_Trigger

func (*AlertPolicy_Condition_MetricAbsence) ProtoMessage Uses

func (*AlertPolicy_Condition_MetricAbsence) ProtoMessage()

func (*AlertPolicy_Condition_MetricAbsence) Reset Uses

func (m *AlertPolicy_Condition_MetricAbsence) Reset()

func (*AlertPolicy_Condition_MetricAbsence) String Uses

func (m *AlertPolicy_Condition_MetricAbsence) String() string

func (*AlertPolicy_Condition_MetricAbsence) XXX_DiscardUnknown Uses

func (m *AlertPolicy_Condition_MetricAbsence) XXX_DiscardUnknown()

func (*AlertPolicy_Condition_MetricAbsence) XXX_Marshal Uses

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

func (*AlertPolicy_Condition_MetricAbsence) XXX_Merge Uses

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

func (*AlertPolicy_Condition_MetricAbsence) XXX_Size Uses

func (m *AlertPolicy_Condition_MetricAbsence) XXX_Size() int

func (*AlertPolicy_Condition_MetricAbsence) XXX_Unmarshal Uses

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

type AlertPolicy_Condition_MetricThreshold Uses

type AlertPolicy_Condition_MetricThreshold struct {
    // A [filter](/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
    // [`MetricService.ListTimeSeries`
    // request](/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
    // [`MetricService.ListTimeSeries`
    // request](/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](/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 is similar to the one that is specified in the
    // [`MetricService.ListTimeSeries`
    // request](/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.
    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.
    //
    // This field is similar to the one in the
    // [`MetricService.ListTimeSeries`
    // request](/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list). It
    // is advisable to use the `ListTimeSeries` method when debugging this
    // field.
    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"`
    XXX_NoUnkeyedLiteral struct{}                       `json:"-"`
    XXX_unrecognized     []byte                         `json:"-"`
    XXX_sizecache        int32                          `json:"-"`
}

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

func (*AlertPolicy_Condition_MetricThreshold) Descriptor Uses

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

func (*AlertPolicy_Condition_MetricThreshold) GetAggregations Uses

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

func (*AlertPolicy_Condition_MetricThreshold) GetComparison Uses

func (m *AlertPolicy_Condition_MetricThreshold) GetComparison() ComparisonType

func (*AlertPolicy_Condition_MetricThreshold) GetDenominatorAggregations Uses

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

func (*AlertPolicy_Condition_MetricThreshold) GetDenominatorFilter Uses

func (m *AlertPolicy_Condition_MetricThreshold) GetDenominatorFilter() string

func (*AlertPolicy_Condition_MetricThreshold) GetDuration Uses

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

func (*AlertPolicy_Condition_MetricThreshold) GetFilter Uses

func (m *AlertPolicy_Condition_MetricThreshold) GetFilter() string

func (*AlertPolicy_Condition_MetricThreshold) GetThresholdValue Uses

func (m *AlertPolicy_Condition_MetricThreshold) GetThresholdValue() float64

func (*AlertPolicy_Condition_MetricThreshold) GetTrigger Uses

func (m *AlertPolicy_Condition_MetricThreshold) GetTrigger() *AlertPolicy_Condition_Trigger

func (*AlertPolicy_Condition_MetricThreshold) ProtoMessage Uses

func (*AlertPolicy_Condition_MetricThreshold) ProtoMessage()

func (*AlertPolicy_Condition_MetricThreshold) Reset Uses

func (m *AlertPolicy_Condition_MetricThreshold) Reset()

func (*AlertPolicy_Condition_MetricThreshold) String Uses

func (m *AlertPolicy_Condition_MetricThreshold) String() string

func (*AlertPolicy_Condition_MetricThreshold) XXX_DiscardUnknown Uses

func (m *AlertPolicy_Condition_MetricThreshold) XXX_DiscardUnknown()

func (*AlertPolicy_Condition_MetricThreshold) XXX_Marshal Uses

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

func (*AlertPolicy_Condition_MetricThreshold) XXX_Merge Uses

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

func (*AlertPolicy_Condition_MetricThreshold) XXX_Size Uses

func (m *AlertPolicy_Condition_MetricThreshold) XXX_Size() int

func (*AlertPolicy_Condition_MetricThreshold) XXX_Unmarshal Uses

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

type AlertPolicy_Condition_Trigger Uses

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

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

func (*AlertPolicy_Condition_Trigger) Descriptor Uses

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

func (*AlertPolicy_Condition_Trigger) GetCount Uses

func (m *AlertPolicy_Condition_Trigger) GetCount() int32

func (*AlertPolicy_Condition_Trigger) GetPercent Uses

func (m *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) Reset Uses

func (m *AlertPolicy_Condition_Trigger) Reset()

func (*AlertPolicy_Condition_Trigger) String Uses

func (m *AlertPolicy_Condition_Trigger) String() string

func (*AlertPolicy_Condition_Trigger) XXX_DiscardUnknown Uses

func (m *AlertPolicy_Condition_Trigger) XXX_DiscardUnknown()

func (*AlertPolicy_Condition_Trigger) XXX_Marshal Uses

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

func (*AlertPolicy_Condition_Trigger) XXX_Merge Uses

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

func (*AlertPolicy_Condition_Trigger) XXX_OneofWrappers Uses

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*AlertPolicy_Condition_Trigger) XXX_Size Uses

func (m *AlertPolicy_Condition_Trigger) XXX_Size() int

func (*AlertPolicy_Condition_Trigger) XXX_Unmarshal Uses

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

type AlertPolicy_Condition_Trigger_Count Uses

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

type AlertPolicy_Condition_Trigger_Percent Uses

type AlertPolicy_Condition_Trigger_Percent struct {
    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"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

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

func (*AlertPolicy_Documentation) Descriptor Uses

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

func (*AlertPolicy_Documentation) GetContent Uses

func (m *AlertPolicy_Documentation) GetContent() string

func (*AlertPolicy_Documentation) GetMimeType Uses

func (m *AlertPolicy_Documentation) GetMimeType() string

func (*AlertPolicy_Documentation) ProtoMessage Uses

func (*AlertPolicy_Documentation) ProtoMessage()

func (*AlertPolicy_Documentation) Reset Uses

func (m *AlertPolicy_Documentation) Reset()

func (*AlertPolicy_Documentation) String Uses

func (m *AlertPolicy_Documentation) String() string

func (*AlertPolicy_Documentation) XXX_DiscardUnknown Uses

func (m *AlertPolicy_Documentation) XXX_DiscardUnknown()

func (*AlertPolicy_Documentation) XXX_Marshal Uses

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

func (*AlertPolicy_Documentation) XXX_Merge Uses

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

func (*AlertPolicy_Documentation) XXX_Size Uses

func (m *AlertPolicy_Documentation) XXX_Size() int

func (*AlertPolicy_Documentation) XXX_Unmarshal Uses

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

type ComparisonType Uses

type ComparisonType int32

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

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

func (ComparisonType) EnumDescriptor Uses

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

func (ComparisonType) String Uses

func (x ComparisonType) String() string

type CreateAlertPolicyRequest Uses

type CreateAlertPolicyRequest struct {
    // The project in which to create the alerting policy. The format is
    // `projects/[PROJECT_ID]`.
    //
    // 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/[POLICY_ID]`, identifying the policy in the container.
    Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
    // The requested alerting policy. You should omit the `name` field in this
    // policy. The name will be returned in the new policy, including
    // a new [ALERT_POLICY_ID] value.
    AlertPolicy          *AlertPolicy `protobuf:"bytes,2,opt,name=alert_policy,json=alertPolicy,proto3" json:"alert_policy,omitempty"`
    XXX_NoUnkeyedLiteral struct{}     `json:"-"`
    XXX_unrecognized     []byte       `json:"-"`
    XXX_sizecache        int32        `json:"-"`
}

The protocol for the `CreateAlertPolicy` request.

func (*CreateAlertPolicyRequest) Descriptor Uses

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

func (*CreateAlertPolicyRequest) GetAlertPolicy Uses

func (m *CreateAlertPolicyRequest) GetAlertPolicy() *AlertPolicy

func (*CreateAlertPolicyRequest) GetName Uses

func (m *CreateAlertPolicyRequest) GetName() string

func (*CreateAlertPolicyRequest) ProtoMessage Uses

func (*CreateAlertPolicyRequest) ProtoMessage()

func (*CreateAlertPolicyRequest) Reset Uses

func (m *CreateAlertPolicyRequest) Reset()

func (*CreateAlertPolicyRequest) String Uses

func (m *CreateAlertPolicyRequest) String() string

func (*CreateAlertPolicyRequest) XXX_DiscardUnknown Uses

func (m *CreateAlertPolicyRequest) XXX_DiscardUnknown()

func (*CreateAlertPolicyRequest) XXX_Marshal Uses

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

func (*CreateAlertPolicyRequest) XXX_Merge Uses

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

func (*CreateAlertPolicyRequest) XXX_Size Uses

func (m *CreateAlertPolicyRequest) XXX_Size() int

func (*CreateAlertPolicyRequest) XXX_Unmarshal Uses

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

type CreateGroupRequest Uses

type CreateGroupRequest struct {
    // 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"`
    // A group definition. It is an error to define the `name` field because
    // the system assigns the name.
    Group *Group `protobuf:"bytes,2,opt,name=group,proto3" json:"group,omitempty"`
    // If true, validate this request but do not create the group.
    ValidateOnly         bool     `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

The `CreateGroup` request.

func (*CreateGroupRequest) Descriptor Uses

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

func (*CreateGroupRequest) GetGroup Uses

func (m *CreateGroupRequest) GetGroup() *Group

func (*CreateGroupRequest) GetName Uses

func (m *CreateGroupRequest) GetName() string

func (*CreateGroupRequest) GetValidateOnly Uses

func (m *CreateGroupRequest) GetValidateOnly() bool

func (*CreateGroupRequest) ProtoMessage Uses

func (*CreateGroupRequest) ProtoMessage()

func (*CreateGroupRequest) Reset Uses

func (m *CreateGroupRequest) Reset()

func (*CreateGroupRequest) String Uses

func (m *CreateGroupRequest) String() string

func (*CreateGroupRequest) XXX_DiscardUnknown Uses

func (m *CreateGroupRequest) XXX_DiscardUnknown()

func (*CreateGroupRequest) XXX_Marshal Uses

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

func (*CreateGroupRequest) XXX_Merge Uses

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

func (*CreateGroupRequest) XXX_Size Uses

func (m *CreateGroupRequest) XXX_Size() int

func (*CreateGroupRequest) XXX_Unmarshal Uses

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

type CreateMetricDescriptorRequest Uses

type CreateMetricDescriptorRequest struct {
    // 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"`
    // The new [custom metric](/monitoring/custom-metrics)
    // descriptor.
    MetricDescriptor     *metric.MetricDescriptor `protobuf:"bytes,2,opt,name=metric_descriptor,json=metricDescriptor,proto3" json:"metric_descriptor,omitempty"`
    XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
    XXX_unrecognized     []byte                   `json:"-"`
    XXX_sizecache        int32                    `json:"-"`
}

The `CreateMetricDescriptor` request.

func (*CreateMetricDescriptorRequest) Descriptor Uses

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

func (*CreateMetricDescriptorRequest) GetMetricDescriptor Uses

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

func (*CreateMetricDescriptorRequest) GetName Uses

func (m *CreateMetricDescriptorRequest) GetName() string

func (*CreateMetricDescriptorRequest) ProtoMessage Uses

func (*CreateMetricDescriptorRequest) ProtoMessage()

func (*CreateMetricDescriptorRequest) Reset Uses

func (m *CreateMetricDescriptorRequest) Reset()

func (*CreateMetricDescriptorRequest) String Uses

func (m *CreateMetricDescriptorRequest) String() string

func (*CreateMetricDescriptorRequest) XXX_DiscardUnknown Uses

func (m *CreateMetricDescriptorRequest) XXX_DiscardUnknown()

func (*CreateMetricDescriptorRequest) XXX_Marshal Uses

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

func (*CreateMetricDescriptorRequest) XXX_Merge Uses

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

func (*CreateMetricDescriptorRequest) XXX_Size Uses

func (m *CreateMetricDescriptorRequest) XXX_Size() int

func (*CreateMetricDescriptorRequest) XXX_Unmarshal Uses

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

type CreateNotificationChannelRequest Uses

type CreateNotificationChannelRequest struct {
    // The project on which to execute the request. The format is:
    //
    //     projects/[PROJECT_ID]
    //
    // Note that 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"`
    // The definition of the `NotificationChannel` to create.
    NotificationChannel  *NotificationChannel `protobuf:"bytes,2,opt,name=notification_channel,json=notificationChannel,proto3" json:"notification_channel,omitempty"`
    XXX_NoUnkeyedLiteral struct{}             `json:"-"`
    XXX_unrecognized     []byte               `json:"-"`
    XXX_sizecache        int32                `json:"-"`
}

The `CreateNotificationChannel` request.

func (*CreateNotificationChannelRequest) Descriptor Uses

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

func (*CreateNotificationChannelRequest) GetName Uses

func (m *CreateNotificationChannelRequest) GetName() string

func (*CreateNotificationChannelRequest) GetNotificationChannel Uses

func (m *CreateNotificationChannelRequest) GetNotificationChannel() *NotificationChannel

func (*CreateNotificationChannelRequest) ProtoMessage Uses

func (*CreateNotificationChannelRequest) ProtoMessage()

func (*CreateNotificationChannelRequest) Reset Uses

func (m *CreateNotificationChannelRequest) Reset()

func (*CreateNotificationChannelRequest) String Uses

func (m *CreateNotificationChannelRequest) String() string

func (*CreateNotificationChannelRequest) XXX_DiscardUnknown Uses

func (m *CreateNotificationChannelRequest) XXX_DiscardUnknown()

func (*CreateNotificationChannelRequest) XXX_Marshal Uses

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

func (*CreateNotificationChannelRequest) XXX_Merge Uses

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

func (*CreateNotificationChannelRequest) XXX_Size Uses

func (m *CreateNotificationChannelRequest) XXX_Size() int

func (*CreateNotificationChannelRequest) XXX_Unmarshal Uses

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

type CreateTimeSeriesError Uses

type CreateTimeSeriesError struct {
    // The time series, including the `Metric`, `MonitoredResource`,
    // and `Point`s (including timestamp and value) that resulted
    // in the error. This field provides all of the context that
    // would be needed to retry the operation.
    TimeSeries *TimeSeries `protobuf:"bytes,1,opt,name=time_series,json=timeSeries,proto3" json:"time_series,omitempty"`
    // The status of the requested write operation.
    Status               *status.Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
    XXX_NoUnkeyedLiteral struct{}       `json:"-"`
    XXX_unrecognized     []byte         `json:"-"`
    XXX_sizecache        int32          `json:"-"`
}

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

func (*CreateTimeSeriesError) Descriptor Uses

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

func (*CreateTimeSeriesError) GetStatus Uses

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

func (*CreateTimeSeriesError) GetTimeSeries Uses

func (m *CreateTimeSeriesError) GetTimeSeries() *TimeSeries

func (*CreateTimeSeriesError) ProtoMessage Uses

func (*CreateTimeSeriesError) ProtoMessage()

func (*CreateTimeSeriesError) Reset Uses

func (m *CreateTimeSeriesError) Reset()

func (*CreateTimeSeriesError) String Uses

func (m *CreateTimeSeriesError) String() string

func (*CreateTimeSeriesError) XXX_DiscardUnknown Uses

func (m *CreateTimeSeriesError) XXX_DiscardUnknown()

func (*CreateTimeSeriesError) XXX_Marshal Uses

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

func (*CreateTimeSeriesError) XXX_Merge Uses

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

func (*CreateTimeSeriesError) XXX_Size Uses

func (m *CreateTimeSeriesError) XXX_Size() int

func (*CreateTimeSeriesError) XXX_Unmarshal Uses

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

type CreateTimeSeriesRequest Uses

type CreateTimeSeriesRequest struct {
    // 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"`
    // 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.
    TimeSeries           []*TimeSeries `protobuf:"bytes,2,rep,name=time_series,json=timeSeries,proto3" json:"time_series,omitempty"`
    XXX_NoUnkeyedLiteral struct{}      `json:"-"`
    XXX_unrecognized     []byte        `json:"-"`
    XXX_sizecache        int32         `json:"-"`
}

The `CreateTimeSeries` request.

func (*CreateTimeSeriesRequest) Descriptor Uses

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

func (*CreateTimeSeriesRequest) GetName Uses

func (m *CreateTimeSeriesRequest) GetName() string

func (*CreateTimeSeriesRequest) GetTimeSeries Uses

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

func (*CreateTimeSeriesRequest) ProtoMessage Uses

func (*CreateTimeSeriesRequest) ProtoMessage()

func (*CreateTimeSeriesRequest) Reset Uses

func (m *CreateTimeSeriesRequest) Reset()

func (*CreateTimeSeriesRequest) String Uses

func (m *CreateTimeSeriesRequest) String() string

func (*CreateTimeSeriesRequest) XXX_DiscardUnknown Uses

func (m *CreateTimeSeriesRequest) XXX_DiscardUnknown()

func (*CreateTimeSeriesRequest) XXX_Marshal Uses

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

func (*CreateTimeSeriesRequest) XXX_Merge Uses

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

func (*CreateTimeSeriesRequest) XXX_Size Uses

func (m *CreateTimeSeriesRequest) XXX_Size() int

func (*CreateTimeSeriesRequest) XXX_Unmarshal Uses

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

type CreateUptimeCheckConfigRequest Uses

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

The protocol for the `CreateUptimeCheckConfig` request.

func (*CreateUptimeCheckConfigRequest) Descriptor Uses

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

func (*CreateUptimeCheckConfigRequest) GetParent Uses

func (m *CreateUptimeCheckConfigRequest) GetParent() string

func (*CreateUptimeCheckConfigRequest) GetUptimeCheckConfig Uses

func (m *CreateUptimeCheckConfigRequest) GetUptimeCheckConfig() *UptimeCheckConfig

func (*CreateUptimeCheckConfigRequest) ProtoMessage Uses

func (*CreateUptimeCheckConfigRequest) ProtoMessage()

func (*CreateUptimeCheckConfigRequest) Reset Uses

func (m *CreateUptimeCheckConfigRequest) Reset()

func (*CreateUptimeCheckConfigRequest) String Uses

func (m *CreateUptimeCheckConfigRequest) String() string

func (*CreateUptimeCheckConfigRequest) XXX_DiscardUnknown Uses

func (m *CreateUptimeCheckConfigRequest) XXX_DiscardUnknown()

func (*CreateUptimeCheckConfigRequest) XXX_Marshal Uses

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

func (*CreateUptimeCheckConfigRequest) XXX_Merge Uses

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

func (*CreateUptimeCheckConfigRequest) XXX_Size Uses

func (m *CreateUptimeCheckConfigRequest) XXX_Size() int

func (*CreateUptimeCheckConfigRequest) XXX_Unmarshal Uses

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

type DeleteAlertPolicyRequest Uses

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

The protocol for the `DeleteAlertPolicy` request.

func (*DeleteAlertPolicyRequest) Descriptor Uses

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

func (*DeleteAlertPolicyRequest) GetName Uses

func (m *DeleteAlertPolicyRequest) GetName() string

func (*DeleteAlertPolicyRequest) ProtoMessage Uses

func (*DeleteAlertPolicyRequest) ProtoMessage()

func (*DeleteAlertPolicyRequest) Reset Uses

func (m *DeleteAlertPolicyRequest) Reset()

func (*DeleteAlertPolicyRequest) String Uses

func (m *DeleteAlertPolicyRequest) String() string

func (*DeleteAlertPolicyRequest) XXX_DiscardUnknown Uses

func (m *DeleteAlertPolicyRequest) XXX_DiscardUnknown()

func (*DeleteAlertPolicyRequest) XXX_Marshal Uses

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

func (*DeleteAlertPolicyRequest) XXX_Merge Uses

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

func (*DeleteAlertPolicyRequest) XXX_Size Uses

func (m *DeleteAlertPolicyRequest) XXX_Size() int

func (*DeleteAlertPolicyRequest) XXX_Unmarshal Uses

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

type DeleteGroupRequest Uses

type DeleteGroupRequest struct {
    // 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"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

The `DeleteGroup` request. You can only delete a group if it has no children.

func (*DeleteGroupRequest) Descriptor Uses

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

func (*DeleteGroupRequest) GetName Uses

func (m *DeleteGroupRequest) GetName() string

func (*DeleteGroupRequest) ProtoMessage Uses

func (*DeleteGroupRequest) ProtoMessage()

func (*DeleteGroupRequest) Reset Uses

func (m *DeleteGroupRequest) Reset()

func (*DeleteGroupRequest) String Uses

func (m *DeleteGroupRequest) String() string

func (*DeleteGroupRequest) XXX_DiscardUnknown Uses

func (m *DeleteGroupRequest) XXX_DiscardUnknown()

func (*DeleteGroupRequest) XXX_Marshal Uses

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

func (*DeleteGroupRequest) XXX_Merge Uses

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

func (*DeleteGroupRequest) XXX_Size Uses

func (m *DeleteGroupRequest) XXX_Size() int

func (*DeleteGroupRequest) XXX_Unmarshal Uses

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

type DeleteMetricDescriptorRequest Uses

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

The `DeleteMetricDescriptor` request.

func (*DeleteMetricDescriptorRequest) Descriptor Uses

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

func (*DeleteMetricDescriptorRequest) GetName Uses

func (m *DeleteMetricDescriptorRequest) GetName() string

func (*DeleteMetricDescriptorRequest) ProtoMessage Uses

func (*DeleteMetricDescriptorRequest) ProtoMessage()

func (*DeleteMetricDescriptorRequest) Reset Uses

func (m *DeleteMetricDescriptorRequest) Reset()

func (*DeleteMetricDescriptorRequest) String Uses

func (m *DeleteMetricDescriptorRequest) String() string

func (*DeleteMetricDescriptorRequest) XXX_DiscardUnknown Uses

func (m *DeleteMetricDescriptorRequest) XXX_DiscardUnknown()

func (*DeleteMetricDescriptorRequest) XXX_Marshal Uses

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

func (*DeleteMetricDescriptorRequest) XXX_Merge Uses

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

func (*DeleteMetricDescriptorRequest) XXX_Size Uses

func (m *DeleteMetricDescriptorRequest) XXX_Size() int

func (*DeleteMetricDescriptorRequest) XXX_Unmarshal Uses

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

type DeleteNotificationChannelRequest Uses

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

The `DeleteNotificationChannel` request.

func (*DeleteNotificationChannelRequest) Descriptor Uses

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

func (*DeleteNotificationChannelRequest) GetForce Uses

func (m *DeleteNotificationChannelRequest) GetForce() bool

func (*DeleteNotificationChannelRequest) GetName Uses

func (m *DeleteNotificationChannelRequest) GetName() string

func (*DeleteNotificationChannelRequest) ProtoMessage Uses

func (*DeleteNotificationChannelRequest) ProtoMessage()

func (*DeleteNotificationChannelRequest) Reset Uses

func (m *DeleteNotificationChannelRequest) Reset()

func (*DeleteNotificationChannelRequest) String Uses

func (m *DeleteNotificationChannelRequest) String() string

func (*DeleteNotificationChannelRequest) XXX_DiscardUnknown Uses

func (m *DeleteNotificationChannelRequest) XXX_DiscardUnknown()

func (*DeleteNotificationChannelRequest) XXX_Marshal Uses

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

func (*DeleteNotificationChannelRequest) XXX_Merge Uses

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

func (*DeleteNotificationChannelRequest) XXX_Size Uses

func (m *DeleteNotificationChannelRequest) XXX_Size() int

func (*DeleteNotificationChannelRequest) XXX_Unmarshal Uses

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

type DeleteUptimeCheckConfigRequest Uses

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

The protocol for the `DeleteUptimeCheckConfig` request.

func (*DeleteUptimeCheckConfigRequest) Descriptor Uses

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

func (*DeleteUptimeCheckConfigRequest) GetName Uses

func (m *DeleteUptimeCheckConfigRequest) GetName() string

func (*DeleteUptimeCheckConfigRequest) ProtoMessage Uses

func (*DeleteUptimeCheckConfigRequest) ProtoMessage()

func (*DeleteUptimeCheckConfigRequest) Reset Uses

func (m *DeleteUptimeCheckConfigRequest) Reset()

func (*DeleteUptimeCheckConfigRequest) String Uses

func (m *DeleteUptimeCheckConfigRequest) String() string

func (*DeleteUptimeCheckConfigRequest) XXX_DiscardUnknown Uses

func (m *DeleteUptimeCheckConfigRequest) XXX_DiscardUnknown()

func (*DeleteUptimeCheckConfigRequest) XXX_Marshal Uses

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

func (*DeleteUptimeCheckConfigRequest) XXX_Merge Uses

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

func (*DeleteUptimeCheckConfigRequest) XXX_Size Uses

func (m *DeleteUptimeCheckConfigRequest) XXX_Size() int

func (*DeleteUptimeCheckConfigRequest) XXX_Unmarshal Uses

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

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"`
    XXX_NoUnkeyedLiteral struct{}          `json:"-"`
    XXX_unrecognized     []byte            `json:"-"`
    XXX_sizecache        int32             `json:"-"`
}

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

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

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

func (*DroppedLabels) Descriptor Uses

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

func (*DroppedLabels) GetLabel Uses

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

func (*DroppedLabels) ProtoMessage Uses

func (*DroppedLabels) ProtoMessage()

func (*DroppedLabels) Reset Uses

func (m *DroppedLabels) Reset()

func (*DroppedLabels) String Uses

func (m *DroppedLabels) String() string

func (*DroppedLabels) XXX_DiscardUnknown Uses

func (m *DroppedLabels) XXX_DiscardUnknown()

func (*DroppedLabels) XXX_Marshal Uses

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

func (*DroppedLabels) XXX_Merge Uses

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

func (*DroppedLabels) XXX_Size Uses

func (m *DroppedLabels) XXX_Size() int

func (*DroppedLabels) XXX_Unmarshal Uses

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

type GetAlertPolicyRequest Uses

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

The protocol for the `GetAlertPolicy` request.

func (*GetAlertPolicyRequest) Descriptor Uses

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

func (*GetAlertPolicyRequest) GetName Uses

func (m *GetAlertPolicyRequest) GetName() string

func (*GetAlertPolicyRequest) ProtoMessage Uses

func (*GetAlertPolicyRequest) ProtoMessage()

func (*GetAlertPolicyRequest) Reset Uses

func (m *GetAlertPolicyRequest) Reset()

func (*GetAlertPolicyRequest) String Uses

func (m *GetAlertPolicyRequest) String() string

func (*GetAlertPolicyRequest) XXX_DiscardUnknown Uses

func (m *GetAlertPolicyRequest) XXX_DiscardUnknown()

func (*GetAlertPolicyRequest) XXX_Marshal Uses

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

func (*GetAlertPolicyRequest) XXX_Merge Uses

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

func (*GetAlertPolicyRequest) XXX_Size Uses

func (m *GetAlertPolicyRequest) XXX_Size() int

func (*GetAlertPolicyRequest) XXX_Unmarshal Uses

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

type GetGroupRequest Uses

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

The `GetGroup` request.

func (*GetGroupRequest) Descriptor Uses

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

func (*GetGroupRequest) GetName Uses

func (m *GetGroupRequest) GetName() string

func (*GetGroupRequest) ProtoMessage Uses

func (*GetGroupRequest) ProtoMessage()

func (*GetGroupRequest) Reset Uses

func (m *GetGroupRequest) Reset()

func (*GetGroupRequest) String Uses

func (m *GetGroupRequest) String() string

func (*GetGroupRequest) XXX_DiscardUnknown Uses

func (m *GetGroupRequest) XXX_DiscardUnknown()

func (*GetGroupRequest) XXX_Marshal Uses

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

func (*GetGroupRequest) XXX_Merge Uses

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

func (*GetGroupRequest) XXX_Size Uses

func (m *GetGroupRequest) XXX_Size() int

func (*GetGroupRequest) XXX_Unmarshal Uses

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

type GetMetricDescriptorRequest Uses

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

The `GetMetricDescriptor` request.

func (*GetMetricDescriptorRequest) Descriptor Uses

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

func (*GetMetricDescriptorRequest) GetName Uses

func (m *GetMetricDescriptorRequest) GetName() string

func (*GetMetricDescriptorRequest) ProtoMessage Uses

func (*GetMetricDescriptorRequest) ProtoMessage()

func (*GetMetricDescriptorRequest) Reset Uses

func (m *GetMetricDescriptorRequest) Reset()

func (*GetMetricDescriptorRequest) String Uses

func (m *GetMetricDescriptorRequest) String() string

func (*GetMetricDescriptorRequest) XXX_DiscardUnknown Uses

func (m *GetMetricDescriptorRequest) XXX_DiscardUnknown()

func (*GetMetricDescriptorRequest) XXX_Marshal Uses

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

func (*GetMetricDescriptorRequest) XXX_Merge Uses

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

func (*GetMetricDescriptorRequest) XXX_Size Uses

func (m *GetMetricDescriptorRequest) XXX_Size() int

func (*GetMetricDescriptorRequest) XXX_Unmarshal Uses

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

type GetMonitoredResourceDescriptorRequest Uses

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

The `GetMonitoredResourceDescriptor` request.

func (*GetMonitoredResourceDescriptorRequest) Descriptor Uses

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

func (*GetMonitoredResourceDescriptorRequest) GetName Uses

func (m *GetMonitoredResourceDescriptorRequest) GetName() string

func (*GetMonitoredResourceDescriptorRequest) ProtoMessage Uses

func (*GetMonitoredResourceDescriptorRequest) ProtoMessage()

func (*GetMonitoredResourceDescriptorRequest) Reset Uses

func (m *GetMonitoredResourceDescriptorRequest) Reset()

func (*GetMonitoredResourceDescriptorRequest) String Uses

func (m *GetMonitoredResourceDescriptorRequest) String() string

func (*GetMonitoredResourceDescriptorRequest) XXX_DiscardUnknown Uses

func (m *GetMonitoredResourceDescriptorRequest) XXX_DiscardUnknown()

func (*GetMonitoredResourceDescriptorRequest) XXX_Marshal Uses

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

func (*GetMonitoredResourceDescriptorRequest) XXX_Merge Uses

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

func (*GetMonitoredResourceDescriptorRequest) XXX_Size Uses

func (m *GetMonitoredResourceDescriptorRequest) XXX_Size() int

func (*GetMonitoredResourceDescriptorRequest) XXX_Unmarshal Uses

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

type GetNotificationChannelDescriptorRequest Uses

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

The `GetNotificationChannelDescriptor` response.

func (*GetNotificationChannelDescriptorRequest) Descriptor Uses

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

func (*GetNotificationChannelDescriptorRequest) GetName Uses

func (m *GetNotificationChannelDescriptorRequest) GetName() string

func (*GetNotificationChannelDescriptorRequest) ProtoMessage Uses

func (*GetNotificationChannelDescriptorRequest) ProtoMessage()

func (*GetNotificationChannelDescriptorRequest) Reset Uses

func (m *GetNotificationChannelDescriptorRequest) Reset()

func (*GetNotificationChannelDescriptorRequest) String Uses

func (m *GetNotificationChannelDescriptorRequest) String() string

func (*GetNotificationChannelDescriptorRequest) XXX_DiscardUnknown Uses

func (m *GetNotificationChannelDescriptorRequest) XXX_DiscardUnknown()

func (*GetNotificationChannelDescriptorRequest) XXX_Marshal Uses

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

func (*GetNotificationChannelDescriptorRequest) XXX_Merge Uses

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

func (*GetNotificationChannelDescriptorRequest) XXX_Size Uses

func (m *GetNotificationChannelDescriptorRequest) XXX_Size() int

func (*GetNotificationChannelDescriptorRequest) XXX_Unmarshal Uses

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

type GetNotificationChannelRequest Uses

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

The `GetNotificationChannel` request.

func (*GetNotificationChannelRequest) Descriptor Uses

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

func (*GetNotificationChannelRequest) GetName Uses

func (m *GetNotificationChannelRequest) GetName() string

func (*GetNotificationChannelRequest) ProtoMessage Uses

func (*GetNotificationChannelRequest) ProtoMessage()

func (*GetNotificationChannelRequest) Reset Uses

func (m *GetNotificationChannelRequest) Reset()

func (*GetNotificationChannelRequest) String Uses

func (m *GetNotificationChannelRequest) String() string

func (*GetNotificationChannelRequest) XXX_DiscardUnknown Uses

func (m *GetNotificationChannelRequest) XXX_DiscardUnknown()

func (*GetNotificationChannelRequest) XXX_Marshal Uses

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

func (*GetNotificationChannelRequest) XXX_Merge Uses

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

func (*GetNotificationChannelRequest) XXX_Size Uses

func (m *GetNotificationChannelRequest) XXX_Size() int

func (*GetNotificationChannelRequest) XXX_Unmarshal Uses

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

type GetNotificationChannelVerificationCodeRequest Uses

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

The `GetNotificationChannelVerificationCode` request.

func (*GetNotificationChannelVerificationCodeRequest) Descriptor Uses

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

func (*GetNotificationChannelVerificationCodeRequest) GetExpireTime Uses

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

func (*GetNotificationChannelVerificationCodeRequest) GetName Uses

func (m *GetNotificationChannelVerificationCodeRequest) GetName() string

func (*GetNotificationChannelVerificationCodeRequest) ProtoMessage Uses

func (*GetNotificationChannelVerificationCodeRequest) ProtoMessage()

func (*GetNotificationChannelVerificationCodeRequest) Reset Uses

func (m *GetNotificationChannelVerificationCodeRequest) Reset()

func (*GetNotificationChannelVerificationCodeRequest) String Uses

func (m *GetNotificationChannelVerificationCodeRequest) String() string

func (*GetNotificationChannelVerificationCodeRequest) XXX_DiscardUnknown Uses

func (m *GetNotificationChannelVerificationCodeRequest) XXX_DiscardUnknown()

func (*GetNotificationChannelVerificationCodeRequest) XXX_Marshal Uses

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

func (*GetNotificationChannelVerificationCodeRequest) XXX_Merge Uses

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

func (*GetNotificationChannelVerificationCodeRequest) XXX_Size Uses

func (m *GetNotificationChannelVerificationCodeRequest) XXX_Size() int

func (*GetNotificationChannelVerificationCodeRequest) XXX_Unmarshal Uses

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

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"`
    XXX_NoUnkeyedLiteral struct{}             `json:"-"`
    XXX_unrecognized     []byte               `json:"-"`
    XXX_sizecache        int32                `json:"-"`
}

The `GetNotificationChannelVerificationCode` request.

func (*GetNotificationChannelVerificationCodeResponse) Descriptor Uses

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

func (*GetNotificationChannelVerificationCodeResponse) GetCode Uses

func (m *GetNotificationChannelVerificationCodeResponse) GetCode() string

func (*GetNotificationChannelVerificationCodeResponse) GetExpireTime Uses

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

func (*GetNotificationChannelVerificationCodeResponse) ProtoMessage Uses

func (*GetNotificationChannelVerificationCodeResponse) ProtoMessage()

func (*GetNotificationChannelVerificationCodeResponse) Reset Uses

func (m *GetNotificationChannelVerificationCodeResponse) Reset()

func (*GetNotificationChannelVerificationCodeResponse) String Uses

func (m *GetNotificationChannelVerificationCodeResponse) String() string

func (*GetNotificationChannelVerificationCodeResponse) XXX_DiscardUnknown Uses

func (m *GetNotificationChannelVerificationCodeResponse) XXX_DiscardUnknown()

func (*GetNotificationChannelVerificationCodeResponse) XXX_Marshal Uses

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

func (*GetNotificationChannelVerificationCodeResponse) XXX_Merge Uses

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

func (*GetNotificationChannelVerificationCodeResponse) XXX_Size Uses

func (m *GetNotificationChannelVerificationCodeResponse) XXX_Size() int

func (*GetNotificationChannelVerificationCodeResponse) XXX_Unmarshal Uses

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

type GetUptimeCheckConfigRequest Uses

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

The protocol for the `GetUptimeCheckConfig` request.

func (*GetUptimeCheckConfigRequest) Descriptor Uses

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

func (*GetUptimeCheckConfigRequest) GetName Uses

func (m *GetUptimeCheckConfigRequest) GetName() string

func (*GetUptimeCheckConfigRequest) ProtoMessage Uses

func (*GetUptimeCheckConfigRequest) ProtoMessage()

func (*GetUptimeCheckConfigRequest) Reset Uses

func (m *GetUptimeCheckConfigRequest) Reset()

func (*GetUptimeCheckConfigRequest) String Uses

func (m *GetUptimeCheckConfigRequest) String() string

func (*GetUptimeCheckConfigRequest) XXX_DiscardUnknown Uses

func (m *GetUptimeCheckConfigRequest) XXX_DiscardUnknown()

func (*GetUptimeCheckConfigRequest) XXX_Marshal Uses

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

func (*GetUptimeCheckConfigRequest) XXX_Merge Uses

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

func (*GetUptimeCheckConfigRequest) XXX_Size Uses

func (m *GetUptimeCheckConfigRequest) XXX_Size() int

func (*GetUptimeCheckConfigRequest) XXX_Unmarshal Uses

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

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, `parentName` is the empty string, `""`.
    ParentName string `protobuf:"bytes,3,opt,name=parent_name,json=parentName,proto3" json:"parent_name,omitempty"`
    // The filter used to determine which monitored resources belong to this
    // group.
    Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"`
    // If true, the members of this group are considered to be a cluster.
    // The system can perform additional analysis on groups that are clusters.
    IsCluster            bool     `protobuf:"varint,6,opt,name=is_cluster,json=isCluster,proto3" json:"is_cluster,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

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

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

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

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

func (*Group) Descriptor Uses

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

func (*Group) GetDisplayName Uses

func (m *Group) GetDisplayName() string

func (*Group) GetFilter Uses

func (m *Group) GetFilter() string

func (*Group) GetIsCluster Uses

func (m *Group) GetIsCluster() bool

func (*Group) GetName Uses

func (m *Group) GetName() string

func (*Group) GetParentName Uses

func (m *Group) GetParentName() string

func (*Group) ProtoMessage Uses

func (*Group) ProtoMessage()

func (*Group) Reset Uses

func (m *Group) Reset()

func (*Group) String Uses

func (m *Group) String() string

func (*Group) XXX_DiscardUnknown Uses

func (m *Group) XXX_DiscardUnknown()

func (*Group) XXX_Marshal Uses

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

func (*Group) XXX_Merge Uses

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

func (*Group) XXX_Size Uses

func (m *Group) XXX_Size() int

func (*Group) XXX_Unmarshal Uses

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

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

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

func (GroupResourceType) String Uses

func (x GroupResourceType) String() string

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.ClientConn) 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]/internalCheckers/[INTERNAL_CHECKER_ID]`.
    //
    // PROJECT_ID 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"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

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

func (*InternalChecker) Descriptor Uses

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

func (*InternalChecker) GetDisplayName Uses

func (m *InternalChecker) GetDisplayName() string

func (*InternalChecker) GetGcpZone Uses

func (m *InternalChecker) GetGcpZone() string

func (*InternalChecker) GetName Uses

func (m *InternalChecker) GetName() string

func (*InternalChecker) GetNetwork Uses

func (m *InternalChecker) GetNetwork() string

func (*InternalChecker) GetPeerProjectId Uses

func (m *InternalChecker) GetPeerProjectId() string

func (*InternalChecker) ProtoMessage Uses

func (*InternalChecker) ProtoMessage()

func (*InternalChecker) Reset Uses

func (m *InternalChecker) Reset()

func (*InternalChecker) String Uses

func (m *InternalChecker) String() string

func (*InternalChecker) XXX_DiscardUnknown Uses

func (m *InternalChecker) XXX_DiscardUnknown()

func (*InternalChecker) XXX_Marshal Uses

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

func (*InternalChecker) XXX_Merge Uses

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

func (*InternalChecker) XXX_Size Uses

func (m *InternalChecker) XXX_Size() int

func (*InternalChecker) XXX_Unmarshal Uses

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

type ListAlertPoliciesRequest Uses

type ListAlertPoliciesRequest struct {
    // The project whose alert policies are to be listed. The format is
    //
    //     projects/[PROJECT_ID]
    //
    // 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](/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](/monitoring/api/v3/sorting-and-filtering).
    OrderBy string `protobuf:"bytes,6,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
    // The maximum number of results to return in a single response.
    PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
    // If this field is not empty then it must contain the `nextPageToken` value
    // returned by a previous call to this method.  Using this field causes the
    // method to return more results from the previous method call.
    PageToken            string   `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

The protocol for the `ListAlertPolicies` request.

func (*ListAlertPoliciesRequest) Descriptor Uses

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

func (*ListAlertPoliciesRequest) GetFilter Uses

func (m *ListAlertPoliciesRequest) GetFilter() string

func (*ListAlertPoliciesRequest) GetName Uses

func (m *ListAlertPoliciesRequest) GetName() string

func (*ListAlertPoliciesRequest) GetOrderBy Uses

func (m *ListAlertPoliciesRequest) GetOrderBy() string

func (*ListAlertPoliciesRequest) GetPageSize Uses

func (m *ListAlertPoliciesRequest) GetPageSize() int32

func (*ListAlertPoliciesRequest) GetPageToken Uses

func (m *ListAlertPoliciesRequest) GetPageToken() string

func (*ListAlertPoliciesRequest) ProtoMessage Uses

func (*ListAlertPoliciesRequest) ProtoMessage()

func (*ListAlertPoliciesRequest) Reset Uses

func (m *ListAlertPoliciesRequest) Reset()

func (*ListAlertPoliciesRequest) String Uses

func (m *ListAlertPoliciesRequest) String() string

func (*ListAlertPoliciesRequest) XXX_DiscardUnknown Uses

func (m *ListAlertPoliciesRequest) XXX_DiscardUnknown()

func (*ListAlertPoliciesRequest) XXX_Marshal Uses

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

func (*ListAlertPoliciesRequest) XXX_Merge Uses

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

func (*ListAlertPoliciesRequest) XXX_Size Uses

func (m *ListAlertPoliciesRequest) XXX_Size() int

func (*ListAlertPoliciesRequest) XXX_Unmarshal Uses

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

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 `pageToken` in the next call to this method.
    NextPageToken        string   `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

The protocol for the `ListAlertPolicies` response.

func (*ListAlertPoliciesResponse) Descriptor Uses

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

func (*ListAlertPoliciesResponse) GetAlertPolicies Uses

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

func (*ListAlertPoliciesResponse) GetNextPageToken Uses

func (m *ListAlertPoliciesResponse) GetNextPageToken() string

func (*ListAlertPoliciesResponse) ProtoMessage Uses

func (*ListAlertPoliciesResponse) ProtoMessage()

func (*ListAlertPoliciesResponse) Reset Uses

func (m *ListAlertPoliciesResponse) Reset()

func (*ListAlertPoliciesResponse) String Uses

func (m *ListAlertPoliciesResponse) String() string

func (*ListAlertPoliciesResponse) XXX_DiscardUnknown Uses

func (m *ListAlertPoliciesResponse) XXX_DiscardUnknown()

func (*ListAlertPoliciesResponse) XXX_Marshal Uses

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

func (*ListAlertPoliciesResponse) XXX_Merge Uses

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

func (*ListAlertPoliciesResponse) XXX_Size Uses

func (m *ListAlertPoliciesResponse) XXX_Size() int

func (*ListAlertPoliciesResponse) XXX_Unmarshal Uses

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

type ListGroupMembersRequest Uses

type ListGroupMembersRequest struct {
    // 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 `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"`
    // An optional [list filter](/monitoring/api/learn_more#filtering) describing
    // the members to be returned.  The filter may reference the type, labels, and
    // metadata of monitored resources that comprise the group.
    // For example, to return only resources representing Compute Engine VM
    // instances, use this filter:
    //
    //     resource.type = "gce_instance"
    Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"`
    // An optional time interval for which results should be returned. Only
    // members that were part of the group during the specified interval are
    // included in the response.  If no interval is provided then the group
    // membership over the last minute is returned.
    Interval             *TimeInterval `protobuf:"bytes,6,opt,name=interval,proto3" json:"interval,omitempty"`
    XXX_NoUnkeyedLiteral struct{}      `json:"-"`
    XXX_unrecognized     []byte        `json:"-"`
    XXX_sizecache        int32         `json:"-"`
}

The `ListGroupMembers` request.

func (*ListGroupMembersRequest) Descriptor Uses

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

func (*ListGroupMembersRequest) GetFilter Uses

func (m *ListGroupMembersRequest) GetFilter() string

func (*ListGroupMembersRequest) GetInterval Uses

func (m *ListGroupMembersRequest) GetInterval() *TimeInterval

func (*ListGroupMembersRequest) GetName Uses

func (m *ListGroupMembersRequest) GetName() string

func (*ListGroupMembersRequest) GetPageSize Uses

func (m *ListGroupMembersRequest) GetPageSize() int32

func (*ListGroupMembersRequest) GetPageToken Uses

func (m *ListGroupMembersRequest) GetPageToken() string

func (*ListGroupMembersRequest) ProtoMessage Uses

func (*ListGroupMembersRequest) ProtoMessage()

func (*ListGroupMembersRequest) Reset Uses

func (m *ListGroupMembersRequest) Reset()

func (*ListGroupMembersRequest) String Uses

func (m *ListGroupMembersRequest) String() string

func (*ListGroupMembersRequest) XXX_DiscardUnknown Uses

func (m *ListGroupMembersRequest) XXX_DiscardUnknown()

func (*ListGroupMembersRequest) XXX_Marshal Uses

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

func (*ListGroupMembersRequest) XXX_Merge Uses

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

func (*ListGroupMembersRequest) XXX_Size Uses

func (m *ListGroupMembersRequest) XXX_Size() int

func (*ListGroupMembersRequest) XXX_Unmarshal Uses

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

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
    // `pageToken` in the next call to this method.
    NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
    // The total number of elements matching this request.
    TotalSize            int32    `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

The `ListGroupMembers` response.

func (*ListGroupMembersResponse) Descriptor Uses

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

func (*ListGroupMembersResponse) GetMembers Uses

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

func (*ListGroupMembersResponse) GetNextPageToken Uses

func (m *ListGroupMembersResponse) GetNextPageToken() string

func (*ListGroupMembersResponse) GetTotalSize Uses

func (m *ListGroupMembersResponse) GetTotalSize() int32

func (*ListGroupMembersResponse) ProtoMessage Uses

func (*ListGroupMembersResponse) ProtoMessage()

func (*ListGroupMembersResponse) Reset Uses

func (m *ListGroupMembersResponse) Reset()

func (*ListGroupMembersResponse) String Uses

func (m *ListGroupMembersResponse) String() string

func (*ListGroupMembersResponse) XXX_DiscardUnknown Uses

func (m *ListGroupMembersResponse) XXX_DiscardUnknown()

func (*ListGroupMembersResponse) XXX_Marshal Uses

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

func (*ListGroupMembersResponse) XXX_Merge Uses

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

func (*ListGroupMembersResponse) XXX_Size Uses

func (m *ListGroupMembersResponse) XXX_Size() int

func (*ListGroupMembersResponse) XXX_Unmarshal Uses

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

type ListGroupsRequest Uses

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

The `ListGroup` request.

func (*ListGroupsRequest) Descriptor Uses

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

func (*ListGroupsRequest) GetAncestorsOfGroup Uses

func (m *ListGroupsRequest) GetAncestorsOfGroup() string

func (*ListGroupsRequest) GetChildrenOfGroup Uses

func (m *ListGroupsRequest) GetChildrenOfGroup() string

func (*ListGroupsRequest) GetDescendantsOfGroup Uses

func (m *ListGroupsRequest) GetDescendantsOfGroup() string

func (*ListGroupsRequest) GetFilter Uses

func (m *ListGroupsRequest) GetFilter() isListGroupsRequest_Filter

func (*ListGroupsRequest) GetName Uses

func (m *ListGroupsRequest) GetName() string

func (*ListGroupsRequest) GetPageSize Uses

func (m *ListGroupsRequest) GetPageSize() int32

func (*ListGroupsRequest) GetPageToken Uses

func (m *ListGroupsRequest) GetPageToken() string

func (*ListGroupsRequest) ProtoMessage Uses

func (*ListGroupsRequest) ProtoMessage()

func (*ListGroupsRequest) Reset Uses

func (m *ListGroupsRequest) Reset()

func (*ListGroupsRequest) String Uses

func (m *ListGroupsRequest) String() string

func (*ListGroupsRequest) XXX_DiscardUnknown Uses

func (m *ListGroupsRequest) XXX_DiscardUnknown()

func (*ListGroupsRequest) XXX_Marshal Uses

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

func (*ListGroupsRequest) XXX_Merge Uses

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

func (*ListGroupsRequest) XXX_OneofWrappers Uses

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*ListGroupsRequest) XXX_Size Uses

func (m *ListGroupsRequest) XXX_Size() int

func (*ListGroupsRequest) XXX_Unmarshal Uses

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

type ListGroupsRequest_AncestorsOfGroup Uses

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

type ListGroupsRequest_ChildrenOfGroup Uses

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

type ListGroupsRequest_DescendantsOfGroup Uses

type ListGroupsRequest_DescendantsOfGroup struct {
    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 `pageToken` in the next call to this method.
    NextPageToken        string   `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

The `ListGroups` response.

func (*ListGroupsResponse) Descriptor Uses

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

func (*ListGroupsResponse) GetGroup Uses

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

func (*ListGroupsResponse) GetNextPageToken Uses

func (m *ListGroupsResponse) GetNextPageToken() string

func (*ListGroupsResponse) ProtoMessage Uses

func (*ListGroupsResponse) ProtoMessage()

func (*ListGroupsResponse) Reset Uses

func (m *ListGroupsResponse) Reset()

func (*ListGroupsResponse) String Uses

func (m *ListGroupsResponse) String() string

func (*ListGroupsResponse) XXX_DiscardUnknown Uses

func (m *ListGroupsResponse) XXX_DiscardUnknown()

func (*ListGroupsResponse) XXX_Marshal Uses

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

func (*ListGroupsResponse) XXX_Merge Uses

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

func (*ListGroupsResponse) XXX_Size Uses

func (m *ListGroupsResponse) XXX_Size() int

func (*ListGroupsResponse) XXX_Unmarshal Uses

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

type ListMetricDescriptorsRequest Uses

type ListMetricDescriptorsRequest struct {
    // 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](/monitoring/api/v3/filters)
    // specifies which metric descriptors are to be
    // returned. For example, the following filter matches all
    // [custom metrics](/monitoring/custom-metrics):
    //
    //     metric.type = starts_with("custom.googleapis.com/")
    Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
    // A positive number that is the maximum number of results to return.
    PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
    // If this field is not empty then it must contain the `nextPageToken` value
    // returned by a previous call to this method.  Using this field causes the
    // method to return additional results from the previous method call.
    PageToken            string   `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

The `ListMetricDescriptors` request.

func (*ListMetricDescriptorsRequest) Descriptor Uses

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

func (*ListMetricDescriptorsRequest) GetFilter Uses

func (m *ListMetricDescriptorsRequest) GetFilter() string

func (*ListMetricDescriptorsRequest) GetName Uses

func (m *ListMetricDescriptorsRequest) GetName() string

func (*ListMetricDescriptorsRequest) GetPageSize Uses

func (m *ListMetricDescriptorsRequest) GetPageSize() int32

func (*ListMetricDescriptorsRequest) GetPageToken Uses

func (m *ListMetricDescriptorsRequest) GetPageToken() string

func (*ListMetricDescriptorsRequest) ProtoMessage Uses

func (*ListMetricDescriptorsRequest) ProtoMessage()

func (*ListMetricDescriptorsRequest) Reset Uses

func (m *ListMetricDescriptorsRequest) Reset()

func (*ListMetricDescriptorsRequest) String Uses

func (m *ListMetricDescriptorsRequest) String() string

func (*ListMetricDescriptorsRequest) XXX_DiscardUnknown Uses

func (m *ListMetricDescriptorsRequest) XXX_DiscardUnknown()

func (*ListMetricDescriptorsRequest) XXX_Marshal Uses

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

func (*ListMetricDescriptorsRequest) XXX_Merge Uses

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

func (*ListMetricDescriptorsRequest) XXX_Size Uses

func (m *ListMetricDescriptorsRequest) XXX_Size() int

func (*ListMetricDescriptorsRequest) XXX_Unmarshal Uses

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

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 `pageToken` in the next call to this method.
    NextPageToken        string   `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

The `ListMetricDescriptors` response.

func (*ListMetricDescriptorsResponse) Descriptor Uses

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

func (*ListMetricDescriptorsResponse) GetMetricDescriptors Uses

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

func (*ListMetricDescriptorsResponse) GetNextPageToken Uses

func (m *ListMetricDescriptorsResponse) GetNextPageToken() string

func (*ListMetricDescriptorsResponse) ProtoMessage Uses

func (*ListMetricDescriptorsResponse) ProtoMessage()

func (*ListMetricDescriptorsResponse) Reset Uses

func (m *ListMetricDescriptorsResponse) Reset()

func (*ListMetricDescriptorsResponse) String Uses

func (m *ListMetricDescriptorsResponse) String() string

func (*ListMetricDescriptorsResponse) XXX_DiscardUnknown Uses

func (m *ListMetricDescriptorsResponse) XXX_DiscardUnknown()

func (*ListMetricDescriptorsResponse) XXX_Marshal Uses

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

func (*ListMetricDescriptorsResponse) XXX_Merge Uses

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

func (*ListMetricDescriptorsResponse) XXX_Size Uses

func (m *ListMetricDescriptorsResponse) XXX_Size() int

func (*ListMetricDescriptorsResponse) XXX_Unmarshal Uses

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

type ListMonitoredResourceDescriptorsRequest Uses

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

The `ListMonitoredResourceDescriptors` request.

func (*ListMonitoredResourceDescriptorsRequest) Descriptor Uses

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

func (*ListMonitoredResourceDescriptorsRequest) GetFilter Uses

func (m *ListMonitoredResourceDescriptorsRequest) GetFilter() string

func (*ListMonitoredResourceDescriptorsRequest) GetName Uses

func (m *ListMonitoredResourceDescriptorsRequest) GetName() string

func (*ListMonitoredResourceDescriptorsRequest) GetPageSize Uses

func (m *ListMonitoredResourceDescriptorsRequest) GetPageSize() int32

func (*ListMonitoredResourceDescriptorsRequest) GetPageToken Uses

func (m *ListMonitoredResourceDescriptorsRequest) GetPageToken() string

func (*ListMonitoredResourceDescriptorsRequest) ProtoMessage Uses

func (*ListMonitoredResourceDescriptorsRequest) ProtoMessage()

func (*ListMonitoredResourceDescriptorsRequest) Reset Uses

func (m *ListMonitoredResourceDescriptorsRequest) Reset()

func (*ListMonitoredResourceDescriptorsRequest) String Uses

func (m *ListMonitoredResourceDescriptorsRequest) String() string

func (*ListMonitoredResourceDescriptorsRequest) XXX_DiscardUnknown Uses

func (m *ListMonitoredResourceDescriptorsRequest) XXX_DiscardUnknown()

func (*ListMonitoredResourceDescriptorsRequest) XXX_Marshal Uses

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

func (*ListMonitoredResourceDescriptorsRequest) XXX_Merge Uses

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

func (*ListMonitoredResourceDescriptorsRequest) XXX_Size Uses

func (m *ListMonitoredResourceDescriptorsRequest) XXX_Size() int

func (*ListMonitoredResourceDescriptorsRequest) XXX_Unmarshal Uses

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

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 `pageToken` in the next call to this method.
    NextPageToken        string   `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

The `ListMonitoredResourceDescriptors` response.

func (*ListMonitoredResourceDescriptorsResponse) Descriptor Uses

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

func (*ListMonitoredResourceDescriptorsResponse) GetNextPageToken Uses

func (m *ListMonitoredResourceDescriptorsResponse) GetNextPageToken() string

func (*ListMonitoredResourceDescriptorsResponse) GetResourceDescriptors Uses

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

func (*ListMonitoredResourceDescriptorsResponse) ProtoMessage Uses

func (*ListMonitoredResourceDescriptorsResponse) ProtoMessage()

func (*ListMonitoredResourceDescriptorsResponse) Reset Uses

func (m *ListMonitoredResourceDescriptorsResponse) Reset()

func (*ListMonitoredResourceDescriptorsResponse) String Uses

func (m *ListMonitoredResourceDescriptorsResponse) String() string

func (*ListMonitoredResourceDescriptorsResponse) XXX_DiscardUnknown Uses

func (m *ListMonitoredResourceDescriptorsResponse) XXX_DiscardUnknown()

func (*ListMonitoredResourceDescriptorsResponse) XXX_Marshal Uses

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

func (*ListMonitoredResourceDescriptorsResponse) XXX_Merge Uses

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

func (*ListMonitoredResourceDescriptorsResponse) XXX_Size Uses

func (m *ListMonitoredResourceDescriptorsResponse) XXX_Size() int

func (*ListMonitoredResourceDescriptorsResponse) XXX_Unmarshal Uses

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

type ListNotificationChannelDescriptorsRequest Uses

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

The `ListNotificationChannelDescriptors` request.

func (*ListNotificationChannelDescriptorsRequest) Descriptor Uses

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

func (*ListNotificationChannelDescriptorsRequest) GetName Uses

func (m *ListNotificationChannelDescriptorsRequest) GetName() string

func (*ListNotificationChannelDescriptorsRequest) GetPageSize Uses

func (m *ListNotificationChannelDescriptorsRequest) GetPageSize() int32

func (*ListNotificationChannelDescriptorsRequest) GetPageToken Uses

func (m *ListNotificationChannelDescriptorsRequest) GetPageToken() string

func (*ListNotificationChannelDescriptorsRequest) ProtoMessage Uses

func (*ListNotificationChannelDescriptorsRequest) ProtoMessage()

func (*ListNotificationChannelDescriptorsRequest) Reset Uses

func (m *ListNotificationChannelDescriptorsRequest) Reset()

func (*ListNotificationChannelDescriptorsRequest) String Uses

func (m *ListNotificationChannelDescriptorsRequest) String() string

func (*ListNotificationChannelDescriptorsRequest) XXX_DiscardUnknown Uses

func (m *ListNotificationChannelDescriptorsRequest) XXX_DiscardUnknown()

func (*ListNotificationChannelDescriptorsRequest) XXX_Marshal Uses

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

func (*ListNotificationChannelDescriptorsRequest) XXX_Merge Uses

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

func (*ListNotificationChannelDescriptorsRequest) XXX_Size Uses

func (m *ListNotificationChannelDescriptorsRequest) XXX_Size() int

func (*ListNotificationChannelDescriptorsRequest) XXX_Unmarshal Uses

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

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"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

The `ListNotificationChannelDescriptors` response.

func (*ListNotificationChannelDescriptorsResponse) Descriptor Uses

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

func (*ListNotificationChannelDescriptorsResponse) GetChannelDescriptors Uses

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

func (*ListNotificationChannelDescriptorsResponse) GetNextPageToken Uses

func (m *ListNotificationChannelDescriptorsResponse) GetNextPageToken() string

func (*ListNotificationChannelDescriptorsResponse) ProtoMessage Uses

func (*ListNotificationChannelDescriptorsResponse) ProtoMessage()

func (*ListNotificationChannelDescriptorsResponse) Reset Uses

func (m *ListNotificationChannelDescriptorsResponse) Reset()

func (*ListNotificationChannelDescriptorsResponse) String Uses

func (m *ListNotificationChannelDescriptorsResponse) String() string

func (*ListNotificationChannelDescriptorsResponse) XXX_DiscardUnknown Uses

func (m *ListNotificationChannelDescriptorsResponse) XXX_DiscardUnknown()

func (*ListNotificationChannelDescriptorsResponse) XXX_Marshal Uses

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

func (*ListNotificationChannelDescriptorsResponse) XXX_Merge Uses

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

func (*ListNotificationChannelDescriptorsResponse) XXX_Size Uses

func (m *ListNotificationChannelDescriptorsResponse) XXX_Size() int

func (*ListNotificationChannelDescriptorsResponse) XXX_Unmarshal Uses

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

type ListNotificationChannelsRequest Uses

type ListNotificationChannelsRequest struct {
    // The project on which to execute the request. The format is
    // `projects/[PROJECT_ID]`. That is, 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](/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](/monitoring/api/v3/sorting-and-filtering).
    OrderBy string `protobuf:"bytes,7,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
    // The maximum number of results to return in a single response. If
    // not set to a positive number, a reasonable value will be chosen by the
    // service.
    PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
    // If non-empty, `page_token` must contain a value returned as the
    // `next_page_token` in a previous response to request the next set
    // of results.
    PageToken            string   `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

The `ListNotificationChannels` request.

func (*ListNotificationChannelsRequest) Descriptor Uses

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

func (*ListNotificationChannelsRequest) GetFilter Uses

func (m *ListNotificationChannelsRequest) GetFilter() string

func (*ListNotificationChannelsRequest) GetName Uses

func (m *ListNotificationChannelsRequest) GetName() string

func (*ListNotificationChannelsRequest) GetOrderBy Uses

func (m *ListNotificationChannelsRequest) GetOrderBy() string

func (*ListNotificationChannelsRequest) GetPageSize Uses

func (m *ListNotificationChannelsRequest) GetPageSize() int32

func (*ListNotificationChannelsRequest) GetPageToken Uses

func (m *ListNotificationChannelsRequest) GetPageToken() string

func (*ListNotificationChannelsRequest) ProtoMessage Uses

func (*ListNotificationChannelsRequest) ProtoMessage()

func (*ListNotificationChannelsRequest) Reset Uses

func (m *ListNotificationChannelsRequest) Reset()

func (*ListNotificationChannelsRequest) String Uses

func (m *ListNotificationChannelsRequest) String() string

func (*ListNotificationChannelsRequest) XXX_DiscardUnknown Uses

func (m *ListNotificationChannelsRequest) XXX_DiscardUnknown()

func (*ListNotificationChannelsRequest) XXX_Marshal Uses

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

func (*ListNotificationChannelsRequest) XXX_Merge Uses

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

func (*ListNotificationChannelsRequest) XXX_Size Uses

func (m *ListNotificationChannelsRequest) XXX_Size() int

func (*ListNotificationChannelsRequest) XXX_Unmarshal Uses

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

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"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

The `ListNotificationChannels` response.

func (*ListNotificationChannelsResponse) Descriptor Uses

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

func (*ListNotificationChannelsResponse) GetNextPageToken Uses

func (m *ListNotificationChannelsResponse) GetNextPageToken() string

func (*ListNotificationChannelsResponse) GetNotificationChannels Uses

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

func (*ListNotificationChannelsResponse) ProtoMessage Uses

func (*ListNotificationChannelsResponse) ProtoMessage()

func (*ListNotificationChannelsResponse) Reset Uses

func (m *ListNotificationChannelsResponse) Reset()

func (*ListNotificationChannelsResponse) String Uses

func (m *ListNotificationChannelsResponse) String() string

func (*ListNotificationChannelsResponse) XXX_DiscardUnknown Uses

func (m *ListNotificationChannelsResponse) XXX_DiscardUnknown()

func (*ListNotificationChannelsResponse) XXX_Marshal Uses

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

func (*ListNotificationChannelsResponse) XXX_Merge Uses

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

func (*ListNotificationChannelsResponse) XXX_Size Uses

func (m *ListNotificationChannelsResponse) XXX_Size() int

func (*ListNotificationChannelsResponse) XXX_Unmarshal Uses

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

type ListTimeSeriesRequest Uses

type ListTimeSeriesRequest struct {
    // 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"`
    // A [monitoring filter](/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.label.instance_name = "my-instance-name"
    Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
    // 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"`
    // By default, the raw time series data is returned.
    // Use this field to combine multiple time series for different
    // views of the data.
    Aggregation *Aggregation `protobuf:"bytes,5,opt,name=aggregation,proto3" json:"aggregation,omitempty"`
    // Unsupported: must be left blank. The points in each time series are
    // returned in reverse time order.
    OrderBy string `protobuf:"bytes,6,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
    // Specifies which information is returned about the time series.
    View ListTimeSeriesRequest_TimeSeriesView `protobuf:"varint,7,opt,name=view,proto3,enum=google.monitoring.v3.ListTimeSeriesRequest_TimeSeriesView" json:"view,omitempty"`
    // A positive number that is the maximum number of results to return. If
    // `page_size` is empty or more than 100,000 results, the effective
    // `page_size` is 100,000 results. If `view` is set to `FULL`, this is the
    // maximum number of `Points` returned. If `view` is set to `HEADERS`, this is
    // the maximum number of `TimeSeries` returned.
    PageSize int32 `protobuf:"varint,8,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
    // If this field is not empty then it must contain the `nextPageToken` value
    // returned by a previous call to this method.  Using this field causes the
    // method to return additional results from the previous method call.
    PageToken            string   `protobuf:"bytes,9,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

The `ListTimeSeries` request.

func (*ListTimeSeriesRequest) Descriptor Uses

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

func (*ListTimeSeriesRequest) GetAggregation Uses

func (m *ListTimeSeriesRequest) GetAggregation() *Aggregation

func (*ListTimeSeriesRequest) GetFilter Uses

func (m *ListTimeSeriesRequest) GetFilter() string

func (*ListTimeSeriesRequest) GetInterval Uses

func (m *ListTimeSeriesRequest) GetInterval() *TimeInterval

func (*ListTimeSeriesRequest) GetName Uses

func (m *ListTimeSeriesRequest) GetName() string

func (*ListTimeSeriesRequest) GetOrderBy Uses

func (m *ListTimeSeriesRequest) GetOrderBy() string

func (*ListTimeSeriesRequest) GetPageSize Uses

func (m *ListTimeSeriesRequest) GetPageSize() int32

func (*ListTimeSeriesRequest) GetPageToken Uses

func (m *ListTimeSeriesRequest) GetPageToken() string

func (*ListTimeSeriesRequest) GetView Uses

func (m *ListTimeSeriesRequest) GetView() ListTimeSeriesRequest_TimeSeriesView

func (*ListTimeSeriesRequest) ProtoMessage Uses

func (*ListTimeSeriesRequest) ProtoMessage()

func (*ListTimeSeriesRequest) Reset Uses

func (m *ListTimeSeriesRequest) Reset()

func (*ListTimeSeriesRequest) String Uses

func (m *ListTimeSeriesRequest) String() string

func (*ListTimeSeriesRequest) XXX_DiscardUnknown Uses

func (m *ListTimeSeriesRequest) XXX_DiscardUnknown()

func (*ListTimeSeriesRequest) XXX_Marshal Uses

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

func (*ListTimeSeriesRequest) XXX_Merge Uses

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

func (*ListTimeSeriesRequest) XXX_Size Uses

func (m *ListTimeSeriesRequest) XXX_Size() int

func (*ListTimeSeriesRequest) XXX_Unmarshal Uses

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

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

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

func (ListTimeSeriesRequest_TimeSeriesView) String Uses

func (x ListTimeSeriesRequest_TimeSeriesView) String() string

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 `pageToken` in the next call to this method.
    NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
    // Query execution errors that may have caused the time series data returned
    // to be incomplete.
    ExecutionErrors      []*status.Status `protobuf:"bytes,3,rep,name=execution_errors,json=executionErrors,proto3" json:"execution_errors,omitempty"`
    XXX_NoUnkeyedLiteral struct{}         `json:"-"`
    XXX_unrecognized     []byte           `json:"-"`
    XXX_sizecache        int32            `json:"-"`
}

The `ListTimeSeries` response.

func (*ListTimeSeriesResponse) Descriptor Uses

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

func (*ListTimeSeriesResponse) GetExecutionErrors Uses

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

func (*ListTimeSeriesResponse) GetNextPageToken Uses

func (m *ListTimeSeriesResponse) GetNextPageToken() string

func (*ListTimeSeriesResponse) GetTimeSeries Uses

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

func (*ListTimeSeriesResponse) ProtoMessage Uses

func (*ListTimeSeriesResponse) ProtoMessage()

func (*ListTimeSeriesResponse) Reset Uses

func (m *ListTimeSeriesResponse) Reset()

func (*ListTimeSeriesResponse) String Uses

func (m *ListTimeSeriesResponse) String() string

func (*ListTimeSeriesResponse) XXX_DiscardUnknown Uses

func (m *ListTimeSeriesResponse) XXX_DiscardUnknown()

func (*ListTimeSeriesResponse) XXX_Marshal Uses

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

func (*ListTimeSeriesResponse) XXX_Merge Uses

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

func (*ListTimeSeriesResponse) XXX_Size Uses

func (m *ListTimeSeriesResponse) XXX_Size() int

func (*ListTimeSeriesResponse) XXX_Unmarshal Uses

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

type ListUptimeCheckConfigsRequest Uses

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

The protocol for the `ListUptimeCheckConfigs` request.

func (*ListUptimeCheckConfigsRequest) Descriptor Uses

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

func (*ListUptimeCheckConfigsRequest) GetPageSize Uses

func (m *ListUptimeCheckConfigsRequest) GetPageSize() int32

func (*ListUptimeCheckConfigsRequest) GetPageToken Uses

func (m *ListUptimeCheckConfigsRequest) GetPageToken() string

func (*ListUptimeCheckConfigsRequest) GetParent Uses

func (m *ListUptimeCheckConfigsRequest) GetParent() string

func (*ListUptimeCheckConfigsRequest) ProtoMessage Uses

func (*ListUptimeCheckConfigsRequest) ProtoMessage()

func (*ListUptimeCheckConfigsRequest) Reset Uses

func (m *ListUptimeCheckConfigsRequest) Reset()

func (*ListUptimeCheckConfigsRequest) String Uses

func (m *ListUptimeCheckConfigsRequest) String() string

func (*ListUptimeCheckConfigsRequest) XXX_DiscardUnknown Uses

func (m *ListUptimeCheckConfigsRequest) XXX_DiscardUnknown()

func (*ListUptimeCheckConfigsRequest) XXX_Marshal Uses

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

func (*ListUptimeCheckConfigsRequest) XXX_Merge Uses

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

func (*ListUptimeCheckConfigsRequest) XXX_Size Uses

func (m *ListUptimeCheckConfigsRequest) XXX_Size() int

func (*ListUptimeCheckConfigsRequest) XXX_Unmarshal Uses

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

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"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

The protocol for the `ListUptimeCheckConfigs` response.

func (*ListUptimeCheckConfigsResponse) Descriptor Uses

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

func (*ListUptimeCheckConfigsResponse) GetNextPageToken Uses

func (m *ListUptimeCheckConfigsResponse) GetNextPageToken() string

func (*ListUptimeCheckConfigsResponse) GetTotalSize Uses

func (m *ListUptimeCheckConfigsResponse) GetTotalSize() int32

func (*ListUptimeCheckConfigsResponse) GetUptimeCheckConfigs Uses

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

func (*ListUptimeCheckConfigsResponse) ProtoMessage Uses

func (*ListUptimeCheckConfigsResponse) ProtoMessage()

func (*ListUptimeCheckConfigsResponse) Reset Uses

func (m *ListUptimeCheckConfigsResponse) Reset()

func (*ListUptimeCheckConfigsResponse) String Uses

func (m *ListUptimeCheckConfigsResponse) String() string

func (*ListUptimeCheckConfigsResponse) XXX_DiscardUnknown Uses

func (m *ListUptimeCheckConfigsResponse) XXX_DiscardUnknown()

func (*ListUptimeCheckConfigsResponse) XXX_Marshal Uses

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

func (*ListUptimeCheckConfigsResponse) XXX_Merge Uses

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

func (*ListUptimeCheckConfigsResponse) XXX_Size Uses

func (m *ListUptimeCheckConfigsResponse) XXX_Size() int

func (*ListUptimeCheckConfigsResponse) XXX_Unmarshal Uses

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

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"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

The protocol for the `ListUptimeCheckIps` request.

func (*ListUptimeCheckIpsRequest) Descriptor Uses

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

func (*ListUptimeCheckIpsRequest) GetPageSize Uses

func (m *ListUptimeCheckIpsRequest) GetPageSize() int32

func (*ListUptimeCheckIpsRequest) GetPageToken Uses

func (m *ListUptimeCheckIpsRequest) GetPageToken() string

func (*ListUptimeCheckIpsRequest) ProtoMessage Uses

func (*ListUptimeCheckIpsRequest) ProtoMessage()

func (*ListUptimeCheckIpsRequest) Reset Uses

func (m *ListUptimeCheckIpsRequest) Reset()

func (*ListUptimeCheckIpsRequest) String Uses

func (m *ListUptimeCheckIpsRequest) String() string

func (*ListUptimeCheckIpsRequest) XXX_DiscardUnknown Uses

func (m *ListUptimeCheckIpsRequest) XXX_DiscardUnknown()

func (*ListUptimeCheckIpsRequest) XXX_Marshal Uses

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

func (*ListUptimeCheckIpsRequest) XXX_Merge Uses

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

func (*ListUptimeCheckIpsRequest) XXX_Size Uses

func (m *ListUptimeCheckIpsRequest) XXX_Size() int

func (*ListUptimeCheckIpsRequest) XXX_Unmarshal Uses

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

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"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

The protocol for the `ListUptimeCheckIps` response.

func (*ListUptimeCheckIpsResponse) Descriptor Uses

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

func (*ListUptimeCheckIpsResponse) GetNextPageToken Uses

func (m *ListUptimeCheckIpsResponse) GetNextPageToken() string

func (*ListUptimeCheckIpsResponse) GetUptimeCheckIps Uses

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

func (*ListUptimeCheckIpsResponse) ProtoMessage Uses

func (*ListUptimeCheckIpsResponse) ProtoMessage()

func (*ListUptimeCheckIpsResponse) Reset Uses

func (m *ListUptimeCheckIpsResponse) Reset()

func (*ListUptimeCheckIpsResponse) String Uses

func (m *ListUptimeCheckIpsResponse) String() string

func (*ListUptimeCheckIpsResponse) XXX_DiscardUnknown Uses

func (m *ListUptimeCheckIpsResponse) XXX_DiscardUnknown()

func (*ListUptimeCheckIpsResponse) XXX_Marshal Uses

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

func (*ListUptimeCheckIpsResponse) XXX_Merge Uses

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

func (*ListUptimeCheckIpsResponse) XXX_Size Uses

func (m *ListUptimeCheckIpsResponse) XXX_Size() int

func (*ListUptimeCheckIpsResponse) XXX_Unmarshal Uses

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

type MetricServiceClient Uses

type MetricServiceClient interface {
    // Lists monitored resource descriptors that match a filter. This method does
    // not require a Stackdriver account.
    ListMonitoredResourceDescriptors(ctx context.Context, in *ListMonitoredResourceDescriptorsRequest, opts ...grpc.CallOption) (*ListMonitoredResourceDescriptorsResponse, error)
    // Gets a single monitored resource descriptor. This method does not require a
    // Stackdriver account.
    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 Stackdriver account.
    ListMetricDescriptors(ctx context.Context, in *ListMetricDescriptorsRequest, opts ...grpc.CallOption) (*ListMetricDescriptorsResponse, error)
    // Gets a single metric descriptor. This method does not require a Stackdriver
    // account.
    GetMetricDescriptor(ctx context.Context, in *GetMetricDescriptorRequest, opts ...grpc.CallOption) (*metric.MetricDescriptor, error)
    // Creates a new metric descriptor.
    // User-created metric descriptors define
    // [custom metrics](/monitoring/custom-metrics).
    CreateMetricDescriptor(ctx context.Context, in *CreateMetricDescriptorRequest, opts ...grpc.CallOption) (*metric.MetricDescriptor, error)
    // Deletes a metric descriptor. Only user-created
    // [custom metrics](/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
    // Stackdriver account.
    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.ClientConn) MetricServiceClient

type MetricServiceServer Uses

type MetricServiceServer interface {
    // Lists monitored resource descriptors that match a filter. This method does
    // not require a Stackdriver account.
    ListMonitoredResourceDescriptors(context.Context, *ListMonitoredResourceDescriptorsRequest) (*ListMonitoredResourceDescriptorsResponse, error)
    // Gets a single monitored resource descriptor. This method does not require a
    // Stackdriver account.
    GetMonitoredResourceDescriptor(context.Context, *GetMonitoredResourceDescriptorRequest) (*monitoredres.MonitoredResourceDescriptor, error)
    // Lists metric descriptors that match a filter. This method does not require
    // a Stackdriver account.
    ListMetricDescriptors(context.Context, *ListMetricDescriptorsRequest) (*ListMetricDescriptorsResponse, error)
    // Gets a single metric descriptor. This method does not require a Stackdriver
    // account.
    GetMetricDescriptor(context.Context, *GetMetricDescriptorRequest) (*metric.MetricDescriptor, error)
    // Creates a new metric descriptor.
    // User-created metric descriptors define
    // [custom metrics](/monitoring/custom-metrics).
    CreateMetricDescriptor(context.Context, *CreateMetricDescriptorRequest) (*metric.MetricDescriptor, error)
    // Deletes a metric descriptor. Only user-created
    // [custom metrics](/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
    // Stackdriver account.
    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"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Describes a change made to a configuration.

func (*MutationRecord) Descriptor Uses

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

func (*MutationRecord) GetMutateTime Uses

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

func (*MutationRecord) GetMutatedBy Uses

func (m *MutationRecord) GetMutatedBy() string

func (*MutationRecord) ProtoMessage Uses

func (*MutationRecord) ProtoMessage()

func (*MutationRecord) Reset Uses

func (m *MutationRecord) Reset()

func (*MutationRecord) String Uses

func (m *MutationRecord) String() string

func (*MutationRecord) XXX_DiscardUnknown Uses

func (m *MutationRecord) XXX_DiscardUnknown()

func (*MutationRecord) XXX_Marshal Uses

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

func (*MutationRecord) XXX_Merge Uses

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

func (*MutationRecord) XXX_Size Uses

func (m *MutationRecord) XXX_Size() int

func (*MutationRecord) XXX_Unmarshal Uses

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

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 syntax is:
    //
    //     projects/[PROJECT_ID]/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 exceeed 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"`
    XXX_NoUnkeyedLiteral struct{}            `json:"-"`
    XXX_unrecognized     []byte              `json:"-"`
    XXX_sizecache        int32               `json:"-"`
}

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

func (*NotificationChannel) Descriptor Uses

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

func (*NotificationChannel) GetDescription Uses

func (m *NotificationChannel) GetDescription() string

func (*NotificationChannel) GetDisplayName Uses

func (m *NotificationChannel) GetDisplayName() string

func (*NotificationChannel) GetEnabled Uses

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

func (*NotificationChannel) GetLabels Uses

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

func (*NotificationChannel) GetName Uses

func (m *NotificationChannel) GetName() string

func (*NotificationChannel) GetType Uses

func (m *NotificationChannel) GetType() string

func (*NotificationChannel) GetUserLabels Uses

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

func (*NotificationChannel) GetVerificationStatus Uses

func (m *NotificationChannel) GetVerificationStatus() NotificationChannel_VerificationStatus

func (*NotificationChannel) ProtoMessage Uses

func (*NotificationChannel) ProtoMessage()

func (*NotificationChannel) Reset Uses

func (m *NotificationChannel) Reset()

func (*NotificationChannel) String Uses

func (m *NotificationChannel) String() string

func (*NotificationChannel) XXX_DiscardUnknown Uses

func (m *NotificationChannel) XXX_DiscardUnknown()

func (*NotificationChannel) XXX_Marshal Uses

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

func (*NotificationChannel) XXX_Merge Uses

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

func (*NotificationChannel) XXX_Size Uses

func (m *NotificationChannel) XXX_Size() int

func (*NotificationChannel) XXX_Unmarshal Uses

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

type NotificationChannelDescriptor Uses

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

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

func (*NotificationChannelDescriptor) Descriptor Uses

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

func (*NotificationChannelDescriptor) GetDescription Uses

func (m *NotificationChannelDescriptor) GetDescription() string

func (*NotificationChannelDescriptor) GetDisplayName Uses

func (m *NotificationChannelDescriptor) GetDisplayName() string

func (*NotificationChannelDescriptor) GetLabels Uses

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

func (*NotificationChannelDescriptor) GetName Uses

func (m *NotificationChannelDescriptor) GetName() string

func (*NotificationChannelDescriptor) GetSupportedTiers Uses

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

Deprecated: Do not use.

func (*NotificationChannelDescriptor) GetType Uses

func (m *NotificationChannelDescriptor) GetType() string

func (*NotificationChannelDescriptor) ProtoMessage Uses

func (*NotificationChannelDescriptor) ProtoMessage()

func (*NotificationChannelDescriptor) Reset Uses

func (m *NotificationChannelDescriptor) Reset()

func (*NotificationChannelDescriptor) String Uses

func (m *NotificationChannelDescriptor) String() string

func (*NotificationChannelDescriptor) XXX_DiscardUnknown Uses

func (m *NotificationChannelDescriptor) XXX_DiscardUnknown()

func (*NotificationChannelDescriptor) XXX_Marshal Uses

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

func (*NotificationChannelDescriptor) XXX_Merge Uses

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

func (*NotificationChannelDescriptor) XXX_Size Uses

func (m *NotificationChannelDescriptor) XXX_Size() int

func (*NotificationChannelDescriptor) XXX_Unmarshal Uses

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

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.ClientConn) 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).
    NotificationChannel_VERIFICATION_STATUS_UNSPECIFIED NotificationChannel_VerificationStatus = 0
    // The channel has yet to be verified and requires verification to function.
    // Note that this state also applies to the case where the verification
    // process has been initiated by sending a verification code but where
    // the verification code has not been submitted to complete the process.
    NotificationChannel_UNVERIFIED NotificationChannel_VerificationStatus = 1
    // It has been proven that notifications can be received on this
    // notification channel and that someone on the project has access
    // to messages that are delivered to that channel.
    NotificationChannel_VERIFIED NotificationChannel_VerificationStatus = 2
)

func (NotificationChannel_VerificationStatus) EnumDescriptor Uses

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

func (NotificationChannel_VerificationStatus) String Uses

func (x NotificationChannel_VerificationStatus) String() string

type Point Uses

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

A single data point in a time series.

func (*Point) Descriptor Uses

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

func (*Point) GetInterval Uses

func (m *Point) GetInterval() *TimeInterval

func (*Point) GetValue Uses

func (m *Point) GetValue() *TypedValue

func (*Point) ProtoMessage Uses

func (*Point) ProtoMessage()

func (*Point) Reset Uses

func (m *Point) Reset()

func (*Point) String Uses

func (m *Point) String() string

func (*Point) XXX_DiscardUnknown Uses

func (m *Point) XXX_DiscardUnknown()

func (*Point) XXX_Marshal Uses

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

func (*Point) XXX_Merge Uses

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

func (*Point) XXX_Size Uses

func (m *Point) XXX_Size() int

func (*Point) XXX_Unmarshal Uses

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

type SendNotificationChannelVerificationCodeRequest Uses

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

The `SendNotificationChannelVerificationCode` request.

func (*SendNotificationChannelVerificationCodeRequest) Descriptor Uses

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

func (*SendNotificationChannelVerificationCodeRequest) GetName Uses

func (m *SendNotificationChannelVerificationCodeRequest) GetName() string

func (*SendNotificationChannelVerificationCodeRequest) ProtoMessage Uses

func (*SendNotificationChannelVerificationCodeRequest) ProtoMessage()

func (*SendNotificationChannelVerificationCodeRequest) Reset Uses

func (m *SendNotificationChannelVerificationCodeRequest) Reset()

func (*SendNotificationChannelVerificationCodeRequest) String Uses

func (m *SendNotificationChannelVerificationCodeRequest) String() string

func (*SendNotificationChannelVerificationCodeRequest) XXX_DiscardUnknown Uses

func (m *SendNotificationChannelVerificationCodeRequest) XXX_DiscardUnknown()

func (*SendNotificationChannelVerificationCodeRequest) XXX_Marshal Uses

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

func (*SendNotificationChannelVerificationCodeRequest) XXX_Merge Uses

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

func (*SendNotificationChannelVerificationCodeRequest) XXX_Size Uses

func (m *SendNotificationChannelVerificationCodeRequest) XXX_Size() int

func (*SendNotificationChannelVerificationCodeRequest) XXX_Unmarshal Uses

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

type ServiceTier Uses