v1beta1

package
v1.120.0 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Generate deepcopy object for monitoring/v1beta1 API group

Package v1beta1 contains API Schema definitions for the monitoring v1beta1 API group. +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/pkg/apis/monitoring +k8s:defaulter-gen=TypeMeta +groupName=monitoring.cnrm.cloud.google.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeGroupVersion is the group version used to register these objects.
	SchemeGroupVersion = schema.GroupVersion{Group: "monitoring.cnrm.cloud.google.com", Version: "v1beta1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme.
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}

	// AddToScheme is a global function that registers this API group & version to a scheme
	AddToScheme = SchemeBuilder.AddToScheme

	MonitoringAlertPolicyGVK = schema.GroupVersionKind{
		Group:   SchemeGroupVersion.Group,
		Version: SchemeGroupVersion.Version,
		Kind:    reflect.TypeOf(MonitoringAlertPolicy{}).Name(),
	}

	MonitoringDashboardGVK = schema.GroupVersionKind{
		Group:   SchemeGroupVersion.Group,
		Version: SchemeGroupVersion.Version,
		Kind:    reflect.TypeOf(MonitoringDashboard{}).Name(),
	}

	MonitoringGroupGVK = schema.GroupVersionKind{
		Group:   SchemeGroupVersion.Group,
		Version: SchemeGroupVersion.Version,
		Kind:    reflect.TypeOf(MonitoringGroup{}).Name(),
	}

	MonitoringMetricDescriptorGVK = schema.GroupVersionKind{
		Group:   SchemeGroupVersion.Group,
		Version: SchemeGroupVersion.Version,
		Kind:    reflect.TypeOf(MonitoringMetricDescriptor{}).Name(),
	}

	MonitoringMonitoredProjectGVK = schema.GroupVersionKind{
		Group:   SchemeGroupVersion.Group,
		Version: SchemeGroupVersion.Version,
		Kind:    reflect.TypeOf(MonitoringMonitoredProject{}).Name(),
	}

	MonitoringNotificationChannelGVK = schema.GroupVersionKind{
		Group:   SchemeGroupVersion.Group,
		Version: SchemeGroupVersion.Version,
		Kind:    reflect.TypeOf(MonitoringNotificationChannel{}).Name(),
	}

	MonitoringServiceGVK = schema.GroupVersionKind{
		Group:   SchemeGroupVersion.Group,
		Version: SchemeGroupVersion.Version,
		Kind:    reflect.TypeOf(MonitoringService{}).Name(),
	}

	MonitoringServiceLevelObjectiveGVK = schema.GroupVersionKind{
		Group:   SchemeGroupVersion.Group,
		Version: SchemeGroupVersion.Version,
		Kind:    reflect.TypeOf(MonitoringServiceLevelObjective{}).Name(),
	}

	MonitoringUptimeCheckConfigGVK = schema.GroupVersionKind{
		Group:   SchemeGroupVersion.Group,
		Version: SchemeGroupVersion.Version,
		Kind:    reflect.TypeOf(MonitoringUptimeCheckConfig{}).Name(),
	}
)

Functions

This section is empty.

Types

type AlertpolicyAggregations

type AlertpolicyAggregations struct {
	/* The alignment period for per-time
	series 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. */
	// +optional
	AlignmentPeriod *string `json:"alignmentPeriod,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. Possible values: ["REDUCE_NONE", "REDUCE_MEAN", "REDUCE_MIN", "REDUCE_MAX", "REDUCE_SUM", "REDUCE_STDDEV", "REDUCE_COUNT", "REDUCE_COUNT_TRUE", "REDUCE_COUNT_FALSE", "REDUCE_FRACTION_TRUE", "REDUCE_PERCENTILE_99", "REDUCE_PERCENTILE_95", "REDUCE_PERCENTILE_50", "REDUCE_PERCENTILE_05"]. */
	// +optional
	CrossSeriesReducer *string `json:"crossSeriesReducer,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. */
	// +optional
	GroupByFields []string `json:"groupByFields,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. Possible values: ["ALIGN_NONE", "ALIGN_DELTA", "ALIGN_RATE", "ALIGN_INTERPOLATE", "ALIGN_NEXT_OLDER", "ALIGN_MIN", "ALIGN_MAX", "ALIGN_MEAN", "ALIGN_COUNT", "ALIGN_SUM", "ALIGN_STDDEV", "ALIGN_COUNT_TRUE", "ALIGN_COUNT_FALSE", "ALIGN_FRACTION_TRUE", "ALIGN_PERCENTILE_99", "ALIGN_PERCENTILE_95", "ALIGN_PERCENTILE_50", "ALIGN_PERCENTILE_05", "ALIGN_PERCENT_CHANGE"]. */
	// +optional
	PerSeriesAligner *string `json:"perSeriesAligner,omitempty"`
}

func (*AlertpolicyAggregations) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertpolicyAggregations.

func (*AlertpolicyAggregations) DeepCopyInto

func (in *AlertpolicyAggregations) DeepCopyInto(out *AlertpolicyAggregations)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AlertpolicyAlertStrategy

type AlertpolicyAlertStrategy struct {
	/* If an alert policy that was active has no data for this long, any open incidents will close. */
	// +optional
	AutoClose *string `json:"autoClose,omitempty"`

	/* Control over how the notification channels in 'notification_channels'
	are notified when this alert fires, on a per-channel basis. */
	// +optional
	NotificationChannelStrategy []AlertpolicyNotificationChannelStrategy `json:"notificationChannelStrategy,omitempty"`

	/* Required for alert policies with a LogMatch condition.
	This limit is not implemented for alert policies that are not log-based. */
	// +optional
	NotificationRateLimit *AlertpolicyNotificationRateLimit `json:"notificationRateLimit,omitempty"`
}

func (*AlertpolicyAlertStrategy) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertpolicyAlertStrategy.

func (*AlertpolicyAlertStrategy) DeepCopyInto

func (in *AlertpolicyAlertStrategy) DeepCopyInto(out *AlertpolicyAlertStrategy)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AlertpolicyConditionAbsent

type AlertpolicyConditionAbsent struct {
	/* 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 resources).
	Multiple aggregations are applied in the
	order specified. */
	// +optional
	Aggregations []AlertpolicyAggregations `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. 60s, 120s, or 300s
	--are supported. */
	Duration string `json:"duration"`

	/* A filter 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 (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. */
	// +optional
	Filter *string `json:"filter,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. */
	// +optional
	Trigger *AlertpolicyTrigger `json:"trigger,omitempty"`
}

func (*AlertpolicyConditionAbsent) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertpolicyConditionAbsent.

func (*AlertpolicyConditionAbsent) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AlertpolicyConditionMatchedLog

type AlertpolicyConditionMatchedLog struct {
	/* A logs-based filter. */
	Filter string `json:"filter"`

	/* A map from a label key to an extractor expression, which is used to
	extract the value for this label key. Each entry in this map is
	a specification for how data should be extracted from log entries that
	match filter. Each combination of extracted values is treated as
	a separate rule for the purposes of triggering notifications.
	Label keys and corresponding values can be used in notifications
	generated by this condition. */
	// +optional
	LabelExtractors map[string]string `json:"labelExtractors,omitempty"`
}

func (*AlertpolicyConditionMatchedLog) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertpolicyConditionMatchedLog.

func (*AlertpolicyConditionMatchedLog) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AlertpolicyConditionMonitoringQueryLanguage

type AlertpolicyConditionMonitoringQueryLanguage struct {
	/* 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 string `json:"duration"`

	/* A condition control that determines how
	metric-threshold conditions are evaluated when
	data stops arriving. Possible values: ["EVALUATION_MISSING_DATA_INACTIVE", "EVALUATION_MISSING_DATA_ACTIVE", "EVALUATION_MISSING_DATA_NO_OP"]. */
	// +optional
	EvaluationMissingData *string `json:"evaluationMissingData,omitempty"`

	/* Monitoring Query Language query that outputs a boolean stream. */
	Query string `json:"query"`

	/* 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. */
	// +optional
	Trigger *AlertpolicyTrigger `json:"trigger,omitempty"`
}

func (*AlertpolicyConditionMonitoringQueryLanguage) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertpolicyConditionMonitoringQueryLanguage.

func (*AlertpolicyConditionMonitoringQueryLanguage) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AlertpolicyConditionPrometheusQueryLanguage added in v1.109.0

type AlertpolicyConditionPrometheusQueryLanguage struct {
	/* The alerting rule name of this alert in the corresponding Prometheus
	configuration file.

	Some external tools may require this field to be populated correctly
	in order to refer to the original Prometheus configuration file.
	The rule group name and the alert name are necessary to update the
	relevant AlertPolicies in case the definition of the rule group changes
	in the future.

	This field is optional. If this field is not empty, then it must be a
	valid Prometheus label name. */
	// +optional
	AlertRule *string `json:"alertRule,omitempty"`

	/* Alerts are considered firing once their PromQL expression evaluated
	to be "true" for this long. Alerts whose PromQL expression was not
	evaluated to be "true" for long enough are considered pending. The
	default value is zero. Must be zero or positive. */
	// +optional
	Duration *string `json:"duration,omitempty"`

	/* How often this rule should be evaluated. Must be a positive multiple
	of 30 seconds or missing. The default value is 30 seconds. If this
	PrometheusQueryLanguageCondition was generated from a Prometheus
	alerting rule, then this value should be taken from the enclosing
	rule group. */
	// +optional
	EvaluationInterval *string `json:"evaluationInterval,omitempty"`

	/* Labels to add to or overwrite in the PromQL query result. Label names
	must be valid.

	Label values can be templatized by using variables. The only available
	variable names are the names of the labels in the PromQL result, including
	"__name__" and "value". "labels" may be empty. This field is intended to be
	used for organizing and identifying the AlertPolicy. */
	// +optional
	Labels map[string]string `json:"labels,omitempty"`

	/* The PromQL expression to evaluate. Every evaluation cycle this
	expression is evaluated at the current time, and all resultant time
	series become pending/firing alerts. This field must not be empty. */
	Query string `json:"query"`

	/* The rule group name of this alert in the corresponding Prometheus
	configuration file.

	Some external tools may require this field to be populated correctly
	in order to refer to the original Prometheus configuration file.
	The rule group name and the alert name are necessary to update the
	relevant AlertPolicies in case the definition of the rule group changes
	in the future.

	This field is optional. If this field is not empty, then it must be a
	valid Prometheus label name. */
	// +optional
	RuleGroup *string `json:"ruleGroup,omitempty"`
}

func (*AlertpolicyConditionPrometheusQueryLanguage) DeepCopy added in v1.109.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertpolicyConditionPrometheusQueryLanguage.

func (*AlertpolicyConditionPrometheusQueryLanguage) DeepCopyInto added in v1.109.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AlertpolicyConditionThreshold

type AlertpolicyConditionThreshold struct {
	/* 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 resources).
	Multiple aggregations are applied in the
	order specified.This field is similar to the
	one in the MetricService.ListTimeSeries
	request. It is advisable to use the
	ListTimeSeries method when debugging this
	field. */
	// +optional
	Aggregations []AlertpolicyAggregations `json:"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. Possible values: ["COMPARISON_GT", "COMPARISON_GE", "COMPARISON_LT", "COMPARISON_LE", "COMPARISON_EQ", "COMPARISON_NE"]. */
	Comparison string `json:"comparison"`

	/* 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. It
	is advisable to use the ListTimeSeries
	method when debugging this field. */
	// +optional
	DenominatorAggregations []AlertpolicyDenominatorAggregations `json:"denominatorAggregations,omitempty"`

	/* A filter 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 (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. */
	// +optional
	DenominatorFilter *string `json:"denominatorFilter,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 string `json:"duration"`

	/* A condition control that determines how
	metric-threshold conditions are evaluated when
	data stops arriving. Possible values: ["EVALUATION_MISSING_DATA_INACTIVE", "EVALUATION_MISSING_DATA_ACTIVE", "EVALUATION_MISSING_DATA_NO_OP"]. */
	// +optional
	EvaluationMissingData *string `json:"evaluationMissingData,omitempty"`

	/* A filter 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 (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. */
	// +optional
	Filter *string `json:"filter,omitempty"`

	/* When this field is present, the 'MetricThreshold'
	condition forecasts whether the time series is
	predicted to violate the threshold within the
	'forecastHorizon'. When this field is not set, the
	'MetricThreshold' tests the current value of the
	timeseries against the threshold. */
	// +optional
	ForecastOptions *AlertpolicyForecastOptions `json:"forecastOptions,omitempty"`

	/* A value against which to compare the time
	series. */
	// +optional
	ThresholdValue *float64 `json:"thresholdValue,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. */
	// +optional
	Trigger *AlertpolicyTrigger `json:"trigger,omitempty"`
}

func (*AlertpolicyConditionThreshold) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertpolicyConditionThreshold.

func (*AlertpolicyConditionThreshold) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AlertpolicyConditions

type AlertpolicyConditions struct {
	/* A condition that checks that a time series
	continues to receive new data points. */
	// +optional
	ConditionAbsent *AlertpolicyConditionAbsent `json:"conditionAbsent,omitempty"`

	/* A condition that checks for log messages matching given constraints.
	If set, no other conditions can be present. */
	// +optional
	ConditionMatchedLog *AlertpolicyConditionMatchedLog `json:"conditionMatchedLog,omitempty"`

	/* A Monitoring Query Language query that outputs a boolean stream. */
	// +optional
	ConditionMonitoringQueryLanguage *AlertpolicyConditionMonitoringQueryLanguage `json:"conditionMonitoringQueryLanguage,omitempty"`

	/* A Monitoring Query Language query that outputs a boolean stream

	A condition type that allows alert policies to be defined using
	Prometheus Query Language (PromQL).

	The PrometheusQueryLanguageCondition message contains information
	from a Prometheus alerting rule and its associated rule group. */
	// +optional
	ConditionPrometheusQueryLanguage *AlertpolicyConditionPrometheusQueryLanguage `json:"conditionPrometheusQueryLanguage,omitempty"`

	/* A condition that compares a time series against a
	threshold. */
	// +optional
	ConditionThreshold *AlertpolicyConditionThreshold `json:"conditionThreshold,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 `json:"displayName"`

	/* 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. */
	// +optional
	Name *string `json:"name,omitempty"`
}

func (*AlertpolicyConditions) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertpolicyConditions.

func (*AlertpolicyConditions) DeepCopyInto

func (in *AlertpolicyConditions) DeepCopyInto(out *AlertpolicyConditions)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AlertpolicyCreationRecordStatus

type AlertpolicyCreationRecordStatus struct {
	/* When the change occurred. */
	// +optional
	MutateTime *string `json:"mutateTime,omitempty"`

	/* The email address of the user making the change. */
	// +optional
	MutatedBy *string `json:"mutatedBy,omitempty"`
}

func (*AlertpolicyCreationRecordStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertpolicyCreationRecordStatus.

func (*AlertpolicyCreationRecordStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AlertpolicyDenominatorAggregations

type AlertpolicyDenominatorAggregations struct {
	/* The alignment period for per-time
	series 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. */
	// +optional
	AlignmentPeriod *string `json:"alignmentPeriod,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. Possible values: ["REDUCE_NONE", "REDUCE_MEAN", "REDUCE_MIN", "REDUCE_MAX", "REDUCE_SUM", "REDUCE_STDDEV", "REDUCE_COUNT", "REDUCE_COUNT_TRUE", "REDUCE_COUNT_FALSE", "REDUCE_FRACTION_TRUE", "REDUCE_PERCENTILE_99", "REDUCE_PERCENTILE_95", "REDUCE_PERCENTILE_50", "REDUCE_PERCENTILE_05"]. */
	// +optional
	CrossSeriesReducer *string `json:"crossSeriesReducer,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. */
	// +optional
	GroupByFields []string `json:"groupByFields,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. Possible values: ["ALIGN_NONE", "ALIGN_DELTA", "ALIGN_RATE", "ALIGN_INTERPOLATE", "ALIGN_NEXT_OLDER", "ALIGN_MIN", "ALIGN_MAX", "ALIGN_MEAN", "ALIGN_COUNT", "ALIGN_SUM", "ALIGN_STDDEV", "ALIGN_COUNT_TRUE", "ALIGN_COUNT_FALSE", "ALIGN_FRACTION_TRUE", "ALIGN_PERCENTILE_99", "ALIGN_PERCENTILE_95", "ALIGN_PERCENTILE_50", "ALIGN_PERCENTILE_05", "ALIGN_PERCENT_CHANGE"]. */
	// +optional
	PerSeriesAligner *string `json:"perSeriesAligner,omitempty"`
}

func (*AlertpolicyDenominatorAggregations) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertpolicyDenominatorAggregations.

func (*AlertpolicyDenominatorAggregations) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AlertpolicyDocumentation

type AlertpolicyDocumentation struct {
	/* The text of the documentation, interpreted according to mimeType.
	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. */
	// +optional
	Content *string `json:"content,omitempty"`

	/* The format of the content field. Presently, only the value
	"text/markdown" is supported. */
	// +optional
	MimeType *string `json:"mimeType,omitempty"`
}

func (*AlertpolicyDocumentation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertpolicyDocumentation.

func (*AlertpolicyDocumentation) DeepCopyInto

func (in *AlertpolicyDocumentation) DeepCopyInto(out *AlertpolicyDocumentation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AlertpolicyForecastOptions added in v1.106.0

type AlertpolicyForecastOptions struct {
	/* The length of time into the future to forecast
	whether a timeseries will violate the threshold.
	If the predicted value is found to violate the
	threshold, and the violation is observed in all
	forecasts made for the Configured 'duration',
	then the timeseries is considered to be failing. */
	ForecastHorizon string `json:"forecastHorizon"`
}

func (*AlertpolicyForecastOptions) DeepCopy added in v1.106.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertpolicyForecastOptions.

func (*AlertpolicyForecastOptions) DeepCopyInto added in v1.106.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AlertpolicyNotificationChannelStrategy added in v1.106.0

type AlertpolicyNotificationChannelStrategy struct {
	/* The notification channels that these settings apply to. Each of these
	correspond to the name field in one of the NotificationChannel objects
	referenced in the notification_channels field of this AlertPolicy. The format is
	'projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]'. */
	// +optional
	NotificationChannelNames []string `json:"notificationChannelNames,omitempty"`

	/* The frequency at which to send reminder notifications for open incidents. */
	// +optional
	RenotifyInterval *string `json:"renotifyInterval,omitempty"`
}

func (*AlertpolicyNotificationChannelStrategy) DeepCopy added in v1.106.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertpolicyNotificationChannelStrategy.

func (*AlertpolicyNotificationChannelStrategy) DeepCopyInto added in v1.106.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AlertpolicyNotificationRateLimit

type AlertpolicyNotificationRateLimit struct {
	/* Not more than one notification per period. */
	// +optional
	Period *string `json:"period,omitempty"`
}

func (*AlertpolicyNotificationRateLimit) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertpolicyNotificationRateLimit.

func (*AlertpolicyNotificationRateLimit) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AlertpolicyTrigger

type AlertpolicyTrigger struct {
	/* The absolute number of time series
	that must fail the predicate for the
	condition to be triggered. */
	// +optional
	Count *int64 `json:"count,omitempty"`

	/* The percentage of time series that
	must fail the predicate for the
	condition to be triggered. */
	// +optional
	Percent *float64 `json:"percent,omitempty"`
}

func (*AlertpolicyTrigger) DeepCopy

func (in *AlertpolicyTrigger) DeepCopy() *AlertpolicyTrigger

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertpolicyTrigger.

func (*AlertpolicyTrigger) DeepCopyInto

func (in *AlertpolicyTrigger) DeepCopyInto(out *AlertpolicyTrigger)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DashboardAggregation

type DashboardAggregation struct {
	/* The `alignment_period` specifies a time interval, in seconds, that is used
	to divide the data in all the
	[time series][google.monitoring.v3.TimeSeries] into consistent blocks of
	time. This will be done before the per-series aligner can be applied to
	the data.

	The value must be at least 60 seconds. If a per-series aligner other than
	`ALIGN_NONE` is specified, this field is required or an error is returned.
	If no per-series aligner is specified, or the aligner `ALIGN_NONE` is
	specified, then this field is ignored.

	The maximum value of the `alignment_period` is 2 years, or 104 weeks. */
	// +optional
	AlignmentPeriod *string `json:"alignmentPeriod,omitempty"`

	/* The reduction operation to be used to combine time series into a single
	time series, where the value of each data point in the resulting series is
	a function of all the already aligned values in the input time series.

	Not all reducer operations can be applied to all time series. The valid
	choices depend on the `metric_kind` and the `value_type` of the original
	time series. Reduction can yield a time series with a different
	`metric_kind` or `value_type` than the input time series.

	Time series data must first be aligned (see `per_series_aligner`) in order
	to perform cross-time series reduction. If `cross_series_reducer` is
	specified, then `per_series_aligner` must be specified, and must not be
	`ALIGN_NONE`. An `alignment_period` must also be specified; otherwise, an
	error is returned. */
	// +optional
	CrossSeriesReducer *string `json:"crossSeriesReducer,omitempty"`

	/* The set of fields to preserve when `cross_series_reducer` is specified. The `group_by_fields` determine how the time series are partitioned into subsets prior to applying the aggregation operation. Each subset contains time series that have the same value for each of the grouping fields. Each individual time series is a member of exactly one subset. The `cross_series_reducer` is applied to each subset of time series. It is not possible to reduce across different resource types, so this field implicitly contains `resource.type`.  Fields not specified in `group_by_fields` are aggregated away.  If `group_by_fields` is not specified and all the time series have the same resource type, then the time series are aggregated into a single output time series. If `cross_series_reducer` is not defined, this field is ignored. */
	// +optional
	GroupByFields []string `json:"groupByFields,omitempty"`

	/* An `Aligner` describes how to bring the data points in a single
	time series into temporal alignment. Except for `ALIGN_NONE`, all
	alignments cause all the data points in an `alignment_period` to be
	mathematically grouped together, resulting in a single data point for
	each `alignment_period` with end timestamp at the end of the period.

	Not all alignment operations may be applied to all time series. The valid
	choices depend on the `metric_kind` and `value_type` of the original time
	series. Alignment can change the `metric_kind` or the `value_type` of
	the time series.

	Time series data must be aligned in order to perform cross-time
	series reduction. If `cross_series_reducer` is specified, then
	`per_series_aligner` must be specified and not equal to `ALIGN_NONE`
	and `alignment_period` must be specified; otherwise, an error is
	returned. */
	// +optional
	PerSeriesAligner *string `json:"perSeriesAligner,omitempty"`
}

func (*DashboardAggregation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardAggregation.

func (*DashboardAggregation) DeepCopyInto

func (in *DashboardAggregation) DeepCopyInto(out *DashboardAggregation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DashboardAlertChart added in v1.120.0

type DashboardAlertChart struct {
	/* Required. A reference to the MonitoringAlertPolicy. */
	AlertPolicyRef v1alpha1.ResourceRef `json:"alertPolicyRef"`
}

func (*DashboardAlertChart) DeepCopy added in v1.120.0

func (in *DashboardAlertChart) DeepCopy() *DashboardAlertChart

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardAlertChart.

func (*DashboardAlertChart) DeepCopyInto added in v1.120.0

func (in *DashboardAlertChart) DeepCopyInto(out *DashboardAlertChart)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DashboardBlank

type DashboardBlank struct {
}

func (*DashboardBlank) DeepCopy

func (in *DashboardBlank) DeepCopy() *DashboardBlank

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardBlank.

func (*DashboardBlank) DeepCopyInto

func (in *DashboardBlank) DeepCopyInto(out *DashboardBlank)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DashboardBlankView added in v1.120.0

type DashboardBlankView struct {
}

func (*DashboardBlankView) DeepCopy added in v1.120.0

func (in *DashboardBlankView) DeepCopy() *DashboardBlankView

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardBlankView.

func (*DashboardBlankView) DeepCopyInto added in v1.120.0

func (in *DashboardBlankView) DeepCopyInto(out *DashboardBlankView)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DashboardChartOptions

type DashboardChartOptions struct {
	/* The chart mode. */
	// +optional
	Mode *string `json:"mode,omitempty"`
}

func (*DashboardChartOptions) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardChartOptions.

func (*DashboardChartOptions) DeepCopyInto

func (in *DashboardChartOptions) DeepCopyInto(out *DashboardChartOptions)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DashboardCollapsibleGroup added in v1.120.0

type DashboardCollapsibleGroup struct {
	/* The collapsed state of the widget on first page load. */
	// +optional
	Collapsed *bool `json:"collapsed,omitempty"`
}

func (*DashboardCollapsibleGroup) DeepCopy added in v1.120.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardCollapsibleGroup.

func (*DashboardCollapsibleGroup) DeepCopyInto added in v1.120.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DashboardColumnLayout

type DashboardColumnLayout struct {
	/* The columns of content to display. */
	// +optional
	Columns []DashboardColumns `json:"columns,omitempty"`
}

func (*DashboardColumnLayout) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardColumnLayout.

func (*DashboardColumnLayout) DeepCopyInto

func (in *DashboardColumnLayout) DeepCopyInto(out *DashboardColumnLayout)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DashboardColumnSettings added in v1.120.0

type DashboardColumnSettings struct {
	/* Required. The id of the column. */
	Column string `json:"column"`

	/* Required. Whether the column should be visible on page load. */
	Visible bool `json:"visible"`
}

func (*DashboardColumnSettings) DeepCopy added in v1.120.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardColumnSettings.

func (*DashboardColumnSettings) DeepCopyInto added in v1.120.0

func (in *DashboardColumnSettings) DeepCopyInto(out *DashboardColumnSettings)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DashboardColumns

type DashboardColumns struct {
	/* The relative weight of this column. The column weight is used to adjust the width of columns on the screen (relative to peers). Greater the weight, greater the width of the column on the screen. If omitted, a value of 1 is used while rendering. */
	// +optional
	Weight *int64 `json:"weight,omitempty"`

	/* The display widgets arranged vertically in this column. */
	// +optional
	Widgets []DashboardWidgets `json:"widgets,omitempty"`
}

func (*DashboardColumns) DeepCopy

func (in *DashboardColumns) DeepCopy() *DashboardColumns

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardColumns.

func (*DashboardColumns) DeepCopyInto

func (in *DashboardColumns) DeepCopyInto(out *DashboardColumns)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DashboardDashboardFilters added in v1.120.0

type DashboardDashboardFilters struct {
	/* The specified filter type */
	// +optional
	FilterType *string `json:"filterType,omitempty"`

	/* Required. The key for the label */
	LabelKey string `json:"labelKey"`

	/* A variable-length string value. */
	// +optional
	StringValue *string `json:"stringValue,omitempty"`

	/* The placeholder text that can be referenced in a filter string or MQL query. If omitted, the dashboard filter will be applied to all relevant widgets in the dashboard. */
	// +optional
	TemplateVariable *string `json:"templateVariable,omitempty"`
}

func (*DashboardDashboardFilters) DeepCopy added in v1.120.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardDashboardFilters.

func (*DashboardDashboardFilters) DeepCopyInto added in v1.120.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DashboardDataSets

type DashboardDataSets struct {
	/* A template string for naming `TimeSeries` in the resulting data set. This should be a string with interpolations of the form `${label_name}`, which will resolve to the label's value. */
	// +optional
	LegendTemplate *string `json:"legendTemplate,omitempty"`

	/* Optional. The lower bound on data point frequency for this data set, implemented by specifying the minimum alignment period to use in a time series query For example, if the data is published once every 10 minutes, the `min_alignment_period` should be at least 10 minutes. It would not make sense to fetch and align data at one minute intervals. */
	// +optional
	MinAlignmentPeriod *string `json:"minAlignmentPeriod,omitempty"`

	/* How this data should be plotted on the chart. */
	// +optional
	PlotType *string `json:"plotType,omitempty"`

	/* Optional. The target axis to use for plotting the metric. */
	// +optional
	TargetAxis *string `json:"targetAxis,omitempty"`

	/* Required. Fields for querying time series data from the Stackdriver metrics API. */
	TimeSeriesQuery DashboardTimeSeriesQuery `json:"timeSeriesQuery"`
}

func (*DashboardDataSets) DeepCopy

func (in *DashboardDataSets) DeepCopy() *DashboardDataSets

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardDataSets.

func (*DashboardDataSets) DeepCopyInto

func (in *DashboardDataSets) DeepCopyInto(out *DashboardDataSets)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DashboardDenominator

type DashboardDenominator struct {
	/* By default, the raw time series data is returned. Use this field to combine multiple time series for different views of the data. */
	// +optional
	Aggregation *DashboardAggregation `json:"aggregation,omitempty"`

	/* Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) that identifies the metric types, resources, and projects to query. */
	Filter string `json:"filter"`
}

func (*DashboardDenominator) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardDenominator.

func (*DashboardDenominator) DeepCopyInto

func (in *DashboardDenominator) DeepCopyInto(out *DashboardDenominator)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DashboardErrorReportingPanel added in v1.120.0

type DashboardErrorReportingPanel struct {
	/* The projects from which to gather errors. */
	// +optional
	ProjectRefs []DashboardProjectRefs `json:"projectRefs,omitempty"`

	/* An identifier of the service, such as the name of the
	executable, job, or Google App Engine service name. This field is expected
	to have a low number of values that are relatively stable over time, as
	opposed to `version`, which can be changed whenever new code is deployed.

	Contains the service name for error reports extracted from Google
	App Engine logs or `default` if the App Engine default service is used. */
	// +optional
	Services []string `json:"services,omitempty"`

	/* Represents the source code version that the developer provided, which could represent a version label or a Git SHA-1 hash, for example. For App Engine standard environment, the version is set to the version of the app. */
	// +optional
	Versions []string `json:"versions,omitempty"`
}

func (*DashboardErrorReportingPanel) DeepCopy added in v1.120.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardErrorReportingPanel.

func (*DashboardErrorReportingPanel) DeepCopyInto added in v1.120.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DashboardGaugeView

type DashboardGaugeView struct {
	/* The lower bound for this gauge chart. The value of the chart should always be greater than or equal to this. */
	// +optional
	LowerBound *float64 `json:"lowerBound,omitempty"`

	/* The upper bound for this gauge chart. The value of the chart should always be less than or equal to this. */
	// +optional
	UpperBound *float64 `json:"upperBound,omitempty"`
}

func (*DashboardGaugeView) DeepCopy

func (in *DashboardGaugeView) DeepCopy() *DashboardGaugeView

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardGaugeView.

func (*DashboardGaugeView) DeepCopyInto

func (in *DashboardGaugeView) DeepCopyInto(out *DashboardGaugeView)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DashboardGridLayout

type DashboardGridLayout struct {
	/* The number of columns into which the view's width is divided. If omitted or set to zero, a system default will be used while rendering. */
	// +optional
	Columns *DashboardColumns `json:"columns,omitempty"`

	/* The informational elements that are arranged into the columns row-first. */
	// +optional
	Widgets []DashboardWidgets `json:"widgets,omitempty"`
}

func (*DashboardGridLayout) DeepCopy

func (in *DashboardGridLayout) DeepCopy() *DashboardGridLayout

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardGridLayout.

func (*DashboardGridLayout) DeepCopyInto

func (in *DashboardGridLayout) DeepCopyInto(out *DashboardGridLayout)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DashboardIncidentList added in v1.120.0

type DashboardIncidentList struct {
	/* Optional. The monitored resource for which incidents are listed. The resource doesn't need to be fully specified. That is, you can specify the resource type but not the values of the resource labels. The resource type and labels are used for filtering. */
	// +optional
	MonitoredResources []DashboardMonitoredResources `json:"monitoredResources,omitempty"`

	/* Optional. A list of alert policies to filter the incident list by. */
	// +optional
	PolicyRefs []v1alpha1.ResourceRef `json:"policyRefs,omitempty"`
}

func (*DashboardIncidentList) DeepCopy added in v1.120.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardIncidentList.

func (*DashboardIncidentList) DeepCopyInto added in v1.120.0

func (in *DashboardIncidentList) DeepCopyInto(out *DashboardIncidentList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DashboardLogsPanel added in v1.84.0

type DashboardLogsPanel struct {
	/* A filter that chooses which log entries to return.  See [Advanced Logs Queries](https://cloud.google.com/logging/docs/view/advanced-queries). Only log entries that match the filter are returned.  An empty filter matches all log entries. */
	// +optional
	Filter *string `json:"filter,omitempty"`

	/* The names of logging resources to collect logs for. Currently only projects are supported. If empty, the widget will default to the host project. */
	// +optional
	ResourceNames []DashboardResourceNames `json:"resourceNames,omitempty"`
}

func (*DashboardLogsPanel) DeepCopy added in v1.84.0

func (in *DashboardLogsPanel) DeepCopy() *DashboardLogsPanel

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardLogsPanel.

func (*DashboardLogsPanel) DeepCopyInto added in v1.84.0

func (in *DashboardLogsPanel) DeepCopyInto(out *DashboardLogsPanel)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DashboardMonitoredResources added in v1.120.0

type DashboardMonitoredResources struct {
	/* Required. Values for all of the labels listed in the associated monitored resource descriptor. For example, Compute Engine VM instances use the labels `"project_id"`, `"instance_id"`, and `"zone"`. */
	// +optional
	Labels map[string]string `json:"labels,omitempty"`

	/* Required. The monitored resource type. This field must match the `type` field of a [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor] object. For example, the type of a Compute Engine VM instance is `gce_instance`. Some descriptors include the service name in the type; for example, the type of a Datastream stream is `datastream.googleapis.com/Stream`. */
	// +optional
	Type *string `json:"type,omitempty"`
}

func (*DashboardMonitoredResources) DeepCopy added in v1.120.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardMonitoredResources.

func (*DashboardMonitoredResources) DeepCopyInto added in v1.120.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DashboardMosaicLayout

type DashboardMosaicLayout struct {
	/* The number of columns in the mosaic grid. The number of columns must be between 1 and 12, inclusive. */
	// +optional
	Columns *DashboardColumns `json:"columns,omitempty"`

	/* The tiles to display. */
	// +optional
	Tiles []DashboardTiles `json:"tiles,omitempty"`
}

func (*DashboardMosaicLayout) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardMosaicLayout.

func (*DashboardMosaicLayout) DeepCopyInto

func (in *DashboardMosaicLayout) DeepCopyInto(out *DashboardMosaicLayout)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DashboardNumerator

type DashboardNumerator struct {
	/* By default, the raw time series data is returned. Use this field to combine multiple time series for different views of the data. */
	// +optional
	Aggregation *DashboardAggregation `json:"aggregation,omitempty"`

	/* Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) that identifies the metric types, resources, and projects to query. */
	Filter string `json:"filter"`
}

func (*DashboardNumerator) DeepCopy

func (in *DashboardNumerator) DeepCopy() *DashboardNumerator

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardNumerator.

func (*DashboardNumerator) DeepCopyInto

func (in *DashboardNumerator) DeepCopyInto(out *DashboardNumerator)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DashboardPickTimeSeriesFilter

type DashboardPickTimeSeriesFilter struct {
	/* How to use the ranking to select time series that pass through the filter. */
	// +optional
	Direction *string `json:"direction,omitempty"`

	/* How many time series to allow to pass through the filter. */
	// +optional
	NumTimeSeries *int32 `json:"numTimeSeries,omitempty"`

	/* `ranking_method` is applied to each time series independently to produce the value which will be used to compare the time series to other time series. */
	// +optional
	RankingMethod *string `json:"rankingMethod,omitempty"`
}

func (*DashboardPickTimeSeriesFilter) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardPickTimeSeriesFilter.

func (*DashboardPickTimeSeriesFilter) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DashboardPieChart added in v1.120.0

type DashboardPieChart struct {
	/* Required. Indicates the visualization type for the PieChart. */
	ChartType string `json:"chartType"`

	/* Required. The queries for the chart's data. */
	DataSets []DashboardDataSets `json:"dataSets"`

	/* Optional. Indicates whether or not the pie chart should show slices' labels */
	// +optional
	ShowLabels *bool `json:"showLabels,omitempty"`
}

func (*DashboardPieChart) DeepCopy added in v1.120.0

func (in *DashboardPieChart) DeepCopy() *DashboardPieChart

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardPieChart.

func (*DashboardPieChart) DeepCopyInto added in v1.120.0

func (in *DashboardPieChart) DeepCopyInto(out *DashboardPieChart)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DashboardProjectRefs added in v1.120.0

type DashboardProjectRefs struct {
	/* The `projectID` field of a project, when not managed by KCC. */
	// +optional
	External *string `json:"external,omitempty"`

	/* The kind of the Project resource; optional but must be `Project` if provided. */
	// +optional
	Kind *string `json:"kind,omitempty"`

	/* The `name` field of a `Project` resource. */
	// +optional
	Name *string `json:"name,omitempty"`

	/* The `namespace` field of a `Project` resource. */
	// +optional
	Namespace *string `json:"namespace,omitempty"`
}

func (*DashboardProjectRefs) DeepCopy added in v1.120.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardProjectRefs.

func (*DashboardProjectRefs) DeepCopyInto added in v1.120.0

func (in *DashboardProjectRefs) DeepCopyInto(out *DashboardProjectRefs)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DashboardResourceNames added in v1.118.2

type DashboardResourceNames struct {
	/* The external name of the referenced resource */
	// +optional
	External *string `json:"external,omitempty"`

	/* Kind of the referent. */
	// +optional
	Kind *string `json:"kind,omitempty"`

	/* Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names */
	// +optional
	Name *string `json:"name,omitempty"`

	/* Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ */
	// +optional
	Namespace *string `json:"namespace,omitempty"`
}

func (*DashboardResourceNames) DeepCopy added in v1.118.2

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardResourceNames.

func (*DashboardResourceNames) DeepCopyInto added in v1.118.2

func (in *DashboardResourceNames) DeepCopyInto(out *DashboardResourceNames)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DashboardRowLayout

type DashboardRowLayout struct {
	/* The rows of content to display. */
	// +optional
	Rows []DashboardRows `json:"rows,omitempty"`
}

func (*DashboardRowLayout) DeepCopy

func (in *DashboardRowLayout) DeepCopy() *DashboardRowLayout

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardRowLayout.

func (*DashboardRowLayout) DeepCopyInto

func (in *DashboardRowLayout) DeepCopyInto(out *DashboardRowLayout)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DashboardRows

type DashboardRows struct {
	/* The relative weight of this row. The row weight is used to adjust the height of rows on the screen (relative to peers). Greater the weight, greater the height of the row on the screen. If omitted, a value of 1 is used while rendering. */
	// +optional
	Weight *int64 `json:"weight,omitempty"`

	/* The display widgets arranged horizontally in this row. */
	// +optional
	Widgets []DashboardWidgets `json:"widgets,omitempty"`
}

func (*DashboardRows) DeepCopy

func (in *DashboardRows) DeepCopy() *DashboardRows

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardRows.

func (*DashboardRows) DeepCopyInto

func (in *DashboardRows) DeepCopyInto(out *DashboardRows)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DashboardScorecard

type DashboardScorecard struct {
	/* Will cause the `Scorecard` to show only the value, with no indicator to its value relative to its thresholds. */
	// +optional
	BlankView *DashboardBlankView `json:"blankView,omitempty"`

	/* Will cause the scorecard to show a gauge chart. */
	// +optional
	GaugeView *DashboardGaugeView `json:"gaugeView,omitempty"`

	/* Will cause the scorecard to show a spark chart. */
	// +optional
	SparkChartView *DashboardSparkChartView `json:"sparkChartView,omitempty"`

	/* The thresholds used to determine the state of the scorecard given the
	time series' current value. For an actual value x, the scorecard is in a
	danger state if x is less than or equal to a danger threshold that triggers
	below, or greater than or equal to a danger threshold that triggers above.
	Similarly, if x is above/below a warning threshold that triggers
	above/below, then the scorecard is in a warning state - unless x also puts
	it in a danger state. (Danger trumps warning.)

	As an example, consider a scorecard with the following four thresholds:

	“`
	{
	value: 90,
	category: 'DANGER',
	trigger: 'ABOVE',
	},
	{
	value: 70,
	category: 'WARNING',
	trigger: 'ABOVE',
	},
	{
	value: 10,
	category: 'DANGER',
	trigger: 'BELOW',
	},
	{
	value: 20,
	category: 'WARNING',
	trigger: 'BELOW',
	}
	“`

	Then: values less than or equal to 10 would put the scorecard in a DANGER
	state, values greater than 10 but less than or equal to 20 a WARNING state,
	values strictly between 20 and 70 an OK state, values greater than or equal
	to 70 but less than 90 a WARNING state, and values greater than or equal to
	90 a DANGER state. */
	// +optional
	Thresholds []DashboardThresholds `json:"thresholds,omitempty"`

	/* Required. Fields for querying time series data from the Stackdriver metrics API. */
	TimeSeriesQuery DashboardTimeSeriesQuery `json:"timeSeriesQuery"`
}

func (*DashboardScorecard) DeepCopy

func (in *DashboardScorecard) DeepCopy() *DashboardScorecard

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardScorecard.

func (*DashboardScorecard) DeepCopyInto

func (in *DashboardScorecard) DeepCopyInto(out *DashboardScorecard)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DashboardSecondaryAggregation

type DashboardSecondaryAggregation struct {
	/* The `alignment_period` specifies a time interval, in seconds, that is used
	to divide the data in all the
	[time series][google.monitoring.v3.TimeSeries] into consistent blocks of
	time. This will be done before the per-series aligner can be applied to
	the data.

	The value must be at least 60 seconds. If a per-series aligner other than
	`ALIGN_NONE` is specified, this field is required or an error is returned.
	If no per-series aligner is specified, or the aligner `ALIGN_NONE` is
	specified, then this field is ignored.

	The maximum value of the `alignment_period` is 2 years, or 104 weeks. */
	// +optional
	AlignmentPeriod *string `json:"alignmentPeriod,omitempty"`

	/* The reduction operation to be used to combine time series into a single
	time series, where the value of each data point in the resulting series is
	a function of all the already aligned values in the input time series.

	Not all reducer operations can be applied to all time series. The valid
	choices depend on the `metric_kind` and the `value_type` of the original
	time series. Reduction can yield a time series with a different
	`metric_kind` or `value_type` than the input time series.

	Time series data must first be aligned (see `per_series_aligner`) in order
	to perform cross-time series reduction. If `cross_series_reducer` is
	specified, then `per_series_aligner` must be specified, and must not be
	`ALIGN_NONE`. An `alignment_period` must also be specified; otherwise, an
	error is returned. */
	// +optional
	CrossSeriesReducer *string `json:"crossSeriesReducer,omitempty"`

	/* The set of fields to preserve when `cross_series_reducer` is specified. The `group_by_fields` determine how the time series are partitioned into subsets prior to applying the aggregation operation. Each subset contains time series that have the same value for each of the grouping fields. Each individual time series is a member of exactly one subset. The `cross_series_reducer` is applied to each subset of time series. It is not possible to reduce across different resource types, so this field implicitly contains `resource.type`.  Fields not specified in `group_by_fields` are aggregated away.  If `group_by_fields` is not specified and all the time series have the same resource type, then the time series are aggregated into a single output time series. If `cross_series_reducer` is not defined, this field is ignored. */
	// +optional
	GroupByFields []string `json:"groupByFields,omitempty"`

	/* An `Aligner` describes how to bring the data points in a single
	time series into temporal alignment. Except for `ALIGN_NONE`, all
	alignments cause all the data points in an `alignment_period` to be
	mathematically grouped together, resulting in a single data point for
	each `alignment_period` with end timestamp at the end of the period.

	Not all alignment operations may be applied to all time series. The valid
	choices depend on the `metric_kind` and `value_type` of the original time
	series. Alignment can change the `metric_kind` or the `value_type` of
	the time series.

	Time series data must be aligned in order to perform cross-time
	series reduction. If `cross_series_reducer` is specified, then
	`per_series_aligner` must be specified and not equal to `ALIGN_NONE`
	and `alignment_period` must be specified; otherwise, an error is
	returned. */
	// +optional
	PerSeriesAligner *string `json:"perSeriesAligner,omitempty"`
}

func (*DashboardSecondaryAggregation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardSecondaryAggregation.

func (*DashboardSecondaryAggregation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DashboardSectionHeader added in v1.120.0

type DashboardSectionHeader struct {
	/* Whether to insert a divider below the section in the table of contents */
	// +optional
	DividerBelow *bool `json:"dividerBelow,omitempty"`

	/* The subtitle of the section */
	// +optional
	Subtitle *string `json:"subtitle,omitempty"`
}

func (*DashboardSectionHeader) DeepCopy added in v1.120.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardSectionHeader.

func (*DashboardSectionHeader) DeepCopyInto added in v1.120.0

func (in *DashboardSectionHeader) DeepCopyInto(out *DashboardSectionHeader)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DashboardSingleViewGroup added in v1.120.0

type DashboardSingleViewGroup struct {
}

func (*DashboardSingleViewGroup) DeepCopy added in v1.120.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardSingleViewGroup.

func (*DashboardSingleViewGroup) DeepCopyInto added in v1.120.0

func (in *DashboardSingleViewGroup) DeepCopyInto(out *DashboardSingleViewGroup)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DashboardSparkChartView

type DashboardSparkChartView struct {
	/* The lower bound on data point frequency in the chart implemented by specifying the minimum alignment period to use in a time series query. For example, if the data is published once every 10 minutes it would not make sense to fetch and align data at one minute intervals. This field is optional and exists only as a hint. */
	// +optional
	MinAlignmentPeriod *string `json:"minAlignmentPeriod,omitempty"`

	/* Required. The type of sparkchart to show in this chartView. */
	SparkChartType string `json:"sparkChartType"`
}

func (*DashboardSparkChartView) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardSparkChartView.

func (*DashboardSparkChartView) DeepCopyInto

func (in *DashboardSparkChartView) DeepCopyInto(out *DashboardSparkChartView)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DashboardStyle added in v1.120.0

type DashboardStyle struct {
	/* The background color as a hex string. "#RRGGBB" or "#RGB" */
	// +optional
	BackgroundColor *string `json:"backgroundColor,omitempty"`

	/* Font sizes for both the title and content. The title will still be larger relative to the content. */
	// +optional
	FontSize *string `json:"fontSize,omitempty"`

	/* The horizontal alignment of both the title and content */
	// +optional
	HorizontalAlignment *string `json:"horizontalAlignment,omitempty"`

	/* The amount of padding around the widget */
	// +optional
	Padding *string `json:"padding,omitempty"`

	/* The pointer location for this widget (also sometimes called a "tail") */
	// +optional
	PointerLocation *string `json:"pointerLocation,omitempty"`

	/* The text color as a hex string. "#RRGGBB" or "#RGB" */
	// +optional
	TextColor *string `json:"textColor,omitempty"`

	/* The vertical alignment of both the title and content */
	// +optional
	VerticalAlignment *string `json:"verticalAlignment,omitempty"`
}

func (*DashboardStyle) DeepCopy added in v1.120.0

func (in *DashboardStyle) DeepCopy() *DashboardStyle

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardStyle.

func (*DashboardStyle) DeepCopyInto added in v1.120.0

func (in *DashboardStyle) DeepCopyInto(out *DashboardStyle)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DashboardTableDisplayOptions added in v1.120.0

type DashboardTableDisplayOptions struct {
	/* Optional. This field is unused and has been replaced by TimeSeriesTable.column_settings */
	// +optional
	ShownColumns []string `json:"shownColumns,omitempty"`
}

func (*DashboardTableDisplayOptions) DeepCopy added in v1.120.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardTableDisplayOptions.

func (*DashboardTableDisplayOptions) DeepCopyInto added in v1.120.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DashboardText

type DashboardText struct {
	/* The text content to be displayed. */
	// +optional
	Content *string `json:"content,omitempty"`

	/* How the text content is formatted. */
	// +optional
	Format *string `json:"format,omitempty"`

	/* How the text is styled */
	// +optional
	Style *DashboardStyle `json:"style,omitempty"`
}

func (*DashboardText) DeepCopy

func (in *DashboardText) DeepCopy() *DashboardText

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardText.

func (*DashboardText) DeepCopyInto

func (in *DashboardText) DeepCopyInto(out *DashboardText)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DashboardThresholds

type DashboardThresholds struct {
	/* The state color for this threshold. Color is not allowed in a XyChart. */
	// +optional
	Color *string `json:"color,omitempty"`

	/* The direction for the current threshold. Direction is not allowed in a XyChart. */
	// +optional
	Direction *string `json:"direction,omitempty"`

	/* A label for the threshold. */
	// +optional
	Label *string `json:"label,omitempty"`

	/* The target axis to use for plotting the threshold. Target axis is not allowed in a Scorecard. */
	// +optional
	TargetAxis *string `json:"targetAxis,omitempty"`

	/* The value of the threshold. The value should be defined in the native scale of the metric. */
	// +optional
	Value *float64 `json:"value,omitempty"`
}

func (*DashboardThresholds) DeepCopy

func (in *DashboardThresholds) DeepCopy() *DashboardThresholds

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardThresholds.

func (*DashboardThresholds) DeepCopyInto

func (in *DashboardThresholds) DeepCopyInto(out *DashboardThresholds)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DashboardTiles

type DashboardTiles struct {
	/* The height of the tile, measured in grid blocks. Tiles must have a minimum height of 1. */
	// +optional
	Height *int32 `json:"height,omitempty"`

	/* The informational widget contained in the tile. For example an `XyChart`. */
	// +optional
	Widget *DashboardWidget `json:"widget,omitempty"`

	/* The width of the tile, measured in grid blocks. Tiles must have a minimum width of 1. */
	// +optional
	Width *int32 `json:"width,omitempty"`

	/* The zero-indexed position of the tile in grid blocks relative to the left edge of the grid. Tiles must be contained within the specified number of columns. `x_pos` cannot be negative. */
	// +optional
	XPos *int32 `json:"xPos,omitempty"`

	/* The zero-indexed position of the tile in grid blocks relative to the top edge of the grid. `y_pos` cannot be negative. */
	// +optional
	YPos *int32 `json:"yPos,omitempty"`
}

func (*DashboardTiles) DeepCopy

func (in *DashboardTiles) DeepCopy() *DashboardTiles

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardTiles.

func (*DashboardTiles) DeepCopyInto

func (in *DashboardTiles) DeepCopyInto(out *DashboardTiles)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DashboardTimeSeriesFilter

type DashboardTimeSeriesFilter struct {
	/* By default, the raw time series data is returned. Use this field to combine multiple time series for different views of the data. */
	// +optional
	Aggregation *DashboardAggregation `json:"aggregation,omitempty"`

	/* Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) that identifies the metric types, resources, and projects to query. */
	Filter string `json:"filter"`

	/* Ranking based time series filter. */
	// +optional
	PickTimeSeriesFilter *DashboardPickTimeSeriesFilter `json:"pickTimeSeriesFilter,omitempty"`

	/* Apply a second aggregation after `aggregation` is applied. */
	// +optional
	SecondaryAggregation *DashboardSecondaryAggregation `json:"secondaryAggregation,omitempty"`
}

func (*DashboardTimeSeriesFilter) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardTimeSeriesFilter.

func (*DashboardTimeSeriesFilter) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DashboardTimeSeriesFilterRatio

type DashboardTimeSeriesFilterRatio struct {
	/* The denominator of the ratio. */
	// +optional
	Denominator *DashboardDenominator `json:"denominator,omitempty"`

	/* The numerator of the ratio. */
	// +optional
	Numerator *DashboardNumerator `json:"numerator,omitempty"`

	/* Ranking based time series filter. */
	// +optional
	PickTimeSeriesFilter *DashboardPickTimeSeriesFilter `json:"pickTimeSeriesFilter,omitempty"`

	/* Apply a second aggregation after the ratio is computed. */
	// +optional
	SecondaryAggregation *DashboardSecondaryAggregation `json:"secondaryAggregation,omitempty"`
}

func (*DashboardTimeSeriesFilterRatio) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardTimeSeriesFilterRatio.

func (*DashboardTimeSeriesFilterRatio) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DashboardTimeSeriesQuery

type DashboardTimeSeriesQuery struct {
	/* Optional. If set, Cloud Monitoring will treat the full query duration as
	the alignment period so that there will be only 1 output value.

	*Note: This could override the configured alignment period except for
	the cases where a series of data points are expected, like
	- XyChart
	- Scorecard's spark chart */
	// +optional
	OutputFullDuration *bool `json:"outputFullDuration,omitempty"`

	/* A query used to fetch time series with PromQL. */
	// +optional
	PrometheusQuery *string `json:"prometheusQuery,omitempty"`

	/* Filter parameters to fetch time series. */
	// +optional
	TimeSeriesFilter *DashboardTimeSeriesFilter `json:"timeSeriesFilter,omitempty"`

	/* Parameters to fetch a ratio between two time series filters. */
	// +optional
	TimeSeriesFilterRatio *DashboardTimeSeriesFilterRatio `json:"timeSeriesFilterRatio,omitempty"`

	/* A query used to fetch time series with MQL. */
	// +optional
	TimeSeriesQueryLanguage *string `json:"timeSeriesQueryLanguage,omitempty"`

	/* The unit of data contained in fetched time series. If non-empty, this unit will override any unit that accompanies fetched data. The format is the same as the [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors) field in `MetricDescriptor`. */
	// +optional
	UnitOverride *string `json:"unitOverride,omitempty"`
}

func (*DashboardTimeSeriesQuery) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardTimeSeriesQuery.

func (*DashboardTimeSeriesQuery) DeepCopyInto

func (in *DashboardTimeSeriesQuery) DeepCopyInto(out *DashboardTimeSeriesQuery)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DashboardTimeSeriesTable added in v1.120.0

type DashboardTimeSeriesTable struct {
	/* Optional. The list of the persistent column settings for the table. */
	// +optional
	ColumnSettings []DashboardColumnSettings `json:"columnSettings,omitempty"`

	/* Required. The data displayed in this table. */
	DataSets []DashboardDataSets `json:"dataSets"`

	/* Optional. Store rendering strategy */
	// +optional
	MetricVisualization *string `json:"metricVisualization,omitempty"`
}

func (*DashboardTimeSeriesTable) DeepCopy added in v1.120.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardTimeSeriesTable.

func (*DashboardTimeSeriesTable) DeepCopyInto added in v1.120.0

func (in *DashboardTimeSeriesTable) DeepCopyInto(out *DashboardTimeSeriesTable)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DashboardWidget

type DashboardWidget struct {
	/* A chart of alert policy data. */
	// +optional
	AlertChart *DashboardAlertChart `json:"alertChart,omitempty"`

	/* A blank space. */
	// +optional
	Blank *DashboardBlank `json:"blank,omitempty"`

	/* A widget that groups the other widgets. All widgets that are within the area spanned by the grouping widget are considered member widgets. */
	// +optional
	CollapsibleGroup *DashboardCollapsibleGroup `json:"collapsibleGroup,omitempty"`

	/* A widget that displays a list of error groups. */
	// +optional
	ErrorReportingPanel *DashboardErrorReportingPanel `json:"errorReportingPanel,omitempty"`

	/* Optional. The widget id. Ids may be made up of alphanumerics, dashes and underscores. Widget ids are optional. */
	// +optional
	Id *string `json:"id,omitempty"`

	/* A widget that shows list of incidents. */
	// +optional
	IncidentList *DashboardIncidentList `json:"incidentList,omitempty"`

	/* A widget that shows a stream of logs. */
	// +optional
	LogsPanel *DashboardLogsPanel `json:"logsPanel,omitempty"`

	/* A widget that displays timeseries data as a pie chart. */
	// +optional
	PieChart *DashboardPieChart `json:"pieChart,omitempty"`

	/* A scorecard summarizing time series data. */
	// +optional
	Scorecard *DashboardScorecard `json:"scorecard,omitempty"`

	/* A widget that defines a section header for easier navigation of the dashboard. */
	// +optional
	SectionHeader *DashboardSectionHeader `json:"sectionHeader,omitempty"`

	/* A widget that groups the other widgets by using a dropdown menu. */
	// +optional
	SingleViewGroup *DashboardSingleViewGroup `json:"singleViewGroup,omitempty"`

	/* A raw string or markdown displaying textual content. */
	// +optional
	Text *DashboardText `json:"text,omitempty"`

	/* A widget that displays time series data in a tabular format. */
	// +optional
	TimeSeriesTable *DashboardTimeSeriesTable `json:"timeSeriesTable,omitempty"`

	/* Optional. The title of the widget. */
	// +optional
	Title *string `json:"title,omitempty"`

	/* A chart of time series data. */
	// +optional
	XyChart *DashboardXyChart `json:"xyChart,omitempty"`
}

func (*DashboardWidget) DeepCopy

func (in *DashboardWidget) DeepCopy() *DashboardWidget

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardWidget.

func (*DashboardWidget) DeepCopyInto

func (in *DashboardWidget) DeepCopyInto(out *DashboardWidget)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DashboardWidgets

type DashboardWidgets struct {
	/* A chart of alert policy data. */
	// +optional
	AlertChart *DashboardAlertChart `json:"alertChart,omitempty"`

	/* A blank space. */
	// +optional
	Blank *DashboardBlank `json:"blank,omitempty"`

	/* A widget that groups the other widgets. All widgets that are within the area spanned by the grouping widget are considered member widgets. */
	// +optional
	CollapsibleGroup *DashboardCollapsibleGroup `json:"collapsibleGroup,omitempty"`

	/* A widget that displays a list of error groups. */
	// +optional
	ErrorReportingPanel *DashboardErrorReportingPanel `json:"errorReportingPanel,omitempty"`

	/* Optional. The widget id. Ids may be made up of alphanumerics, dashes and underscores. Widget ids are optional. */
	// +optional
	Id *string `json:"id,omitempty"`

	/* A widget that shows list of incidents. */
	// +optional
	IncidentList *DashboardIncidentList `json:"incidentList,omitempty"`

	/* A widget that shows a stream of logs. */
	// +optional
	LogsPanel *DashboardLogsPanel `json:"logsPanel,omitempty"`

	/* A widget that displays timeseries data as a pie chart. */
	// +optional
	PieChart *DashboardPieChart `json:"pieChart,omitempty"`

	/* A scorecard summarizing time series data. */
	// +optional
	Scorecard *DashboardScorecard `json:"scorecard,omitempty"`

	/* A widget that defines a section header for easier navigation of the dashboard. */
	// +optional
	SectionHeader *DashboardSectionHeader `json:"sectionHeader,omitempty"`

	/* A widget that groups the other widgets by using a dropdown menu. */
	// +optional
	SingleViewGroup *DashboardSingleViewGroup `json:"singleViewGroup,omitempty"`

	/* A raw string or markdown displaying textual content. */
	// +optional
	Text *DashboardText `json:"text,omitempty"`

	/* A widget that displays time series data in a tabular format. */
	// +optional
	TimeSeriesTable *DashboardTimeSeriesTable `json:"timeSeriesTable,omitempty"`

	/* Optional. The title of the widget. */
	// +optional
	Title *string `json:"title,omitempty"`

	/* A chart of time series data. */
	// +optional
	XyChart *DashboardXyChart `json:"xyChart,omitempty"`
}

func (*DashboardWidgets) DeepCopy

func (in *DashboardWidgets) DeepCopy() *DashboardWidgets

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardWidgets.

func (*DashboardWidgets) DeepCopyInto

func (in *DashboardWidgets) DeepCopyInto(out *DashboardWidgets)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DashboardXAxis

type DashboardXAxis struct {
	/* The label of the axis. */
	// +optional
	Label *string `json:"label,omitempty"`

	/* The axis scale. By default, a linear scale is used. */
	// +optional
	Scale *string `json:"scale,omitempty"`
}

func (*DashboardXAxis) DeepCopy

func (in *DashboardXAxis) DeepCopy() *DashboardXAxis

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardXAxis.

func (*DashboardXAxis) DeepCopyInto

func (in *DashboardXAxis) DeepCopyInto(out *DashboardXAxis)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DashboardXyChart

type DashboardXyChart struct {
	/* Display options for the chart. */
	// +optional
	ChartOptions *DashboardChartOptions `json:"chartOptions,omitempty"`

	/* Required. The data displayed in this chart. */
	DataSets []DashboardDataSets `json:"dataSets"`

	/* Threshold lines drawn horizontally across the chart. */
	// +optional
	Thresholds []DashboardThresholds `json:"thresholds,omitempty"`

	/* The duration used to display a comparison chart. A comparison chart simultaneously shows values from two similar-length time periods (e.g., week-over-week metrics). The duration must be positive, and it can only be applied to charts with data sets of LINE plot type. */
	// +optional
	TimeshiftDuration *string `json:"timeshiftDuration,omitempty"`

	/* The properties applied to the x-axis. */
	// +optional
	XAxis *DashboardXAxis `json:"xAxis,omitempty"`

	/* The properties applied to the y2-axis. */
	// +optional
	Y2Axis *DashboardY2Axis `json:"y2Axis,omitempty"`

	/* The properties applied to the y-axis. */
	// +optional
	YAxis *DashboardYAxis `json:"yAxis,omitempty"`
}

func (*DashboardXyChart) DeepCopy

func (in *DashboardXyChart) DeepCopy() *DashboardXyChart

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardXyChart.

func (*DashboardXyChart) DeepCopyInto

func (in *DashboardXyChart) DeepCopyInto(out *DashboardXyChart)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DashboardY2Axis added in v1.120.0

type DashboardY2Axis struct {
	/* The label of the axis. */
	// +optional
	Label *string `json:"label,omitempty"`

	/* The axis scale. By default, a linear scale is used. */
	// +optional
	Scale *string `json:"scale,omitempty"`
}

func (*DashboardY2Axis) DeepCopy added in v1.120.0

func (in *DashboardY2Axis) DeepCopy() *DashboardY2Axis

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardY2Axis.

func (*DashboardY2Axis) DeepCopyInto added in v1.120.0

func (in *DashboardY2Axis) DeepCopyInto(out *DashboardY2Axis)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DashboardYAxis

type DashboardYAxis struct {
	/* The label of the axis. */
	// +optional
	Label *string `json:"label,omitempty"`

	/* The axis scale. By default, a linear scale is used. */
	// +optional
	Scale *string `json:"scale,omitempty"`
}

func (*DashboardYAxis) DeepCopy

func (in *DashboardYAxis) DeepCopy() *DashboardYAxis

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardYAxis.

func (*DashboardYAxis) DeepCopyInto

func (in *DashboardYAxis) DeepCopyInto(out *DashboardYAxis)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MetricdescriptorLabels

type MetricdescriptorLabels struct {
	/* Immutable. A human-readable description for the label. */
	// +optional
	Description *string `json:"description,omitempty"`

	/* Immutable. The key for this label. The key must meet the following criteria: * Does not exceed 100 characters. * Matches the following regular expression: `a-zA-Z*` * The first character must be an upper- or lower-case letter. * The remaining characters must be letters, digits, or underscores. */
	// +optional
	Key *string `json:"key,omitempty"`

	/* Immutable. The type of data that can be assigned to the label. Possible values: STRING, BOOL, INT64 */
	// +optional
	ValueType *string `json:"valueType,omitempty"`
}

func (*MetricdescriptorLabels) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricdescriptorLabels.

func (*MetricdescriptorLabels) DeepCopyInto

func (in *MetricdescriptorLabels) DeepCopyInto(out *MetricdescriptorLabels)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MetricdescriptorMetadata

type MetricdescriptorMetadata struct {
	/* Immutable. The delay of data points caused by ingestion. Data points older than this age are guaranteed to be ingested and available to be read, excluding data loss due to errors. */
	// +optional
	IngestDelay *string `json:"ingestDelay,omitempty"`

	/* Immutable. Deprecated. Must use the MetricDescriptor.launch_stage instead. Possible values: LAUNCH_STAGE_UNSPECIFIED, UNIMPLEMENTED, PRELAUNCH, EARLY_ACCESS, ALPHA, BETA, GA, DEPRECATED */
	// +optional
	LaunchStage *string `json:"launchStage,omitempty"`

	/* Immutable. The sampling period of metric data points. For metrics which are written periodically, consecutive data points are stored at this time interval, excluding data loss due to errors. Metrics with a higher granularity have a smaller sampling period. */
	// +optional
	SamplePeriod *string `json:"samplePeriod,omitempty"`
}

func (*MetricdescriptorMetadata) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricdescriptorMetadata.

func (*MetricdescriptorMetadata) DeepCopyInto

func (in *MetricdescriptorMetadata) DeepCopyInto(out *MetricdescriptorMetadata)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MonitoringAlertPolicy

type MonitoringAlertPolicy struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   MonitoringAlertPolicySpec   `json:"spec,omitempty"`
	Status MonitoringAlertPolicyStatus `json:"status,omitempty"`
}

MonitoringAlertPolicy is the Schema for the monitoring API +k8s:openapi-gen=true

func (*MonitoringAlertPolicy) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringAlertPolicy.

func (*MonitoringAlertPolicy) DeepCopyInto

func (in *MonitoringAlertPolicy) DeepCopyInto(out *MonitoringAlertPolicy)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MonitoringAlertPolicy) DeepCopyObject

func (in *MonitoringAlertPolicy) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MonitoringAlertPolicyList

type MonitoringAlertPolicyList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []MonitoringAlertPolicy `json:"items"`
}

MonitoringAlertPolicyList contains a list of MonitoringAlertPolicy

func (*MonitoringAlertPolicyList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringAlertPolicyList.

func (*MonitoringAlertPolicyList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MonitoringAlertPolicyList) DeepCopyObject

func (in *MonitoringAlertPolicyList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MonitoringAlertPolicySpec

type MonitoringAlertPolicySpec struct {
	/* Control over how this alert policy's notification channels are notified. */
	// +optional
	AlertStrategy *AlertpolicyAlertStrategy `json:"alertStrategy,omitempty"`

	/* How to combine the results of multiple conditions to
	determine if an incident should be opened. Possible values: ["AND", "OR", "AND_WITH_MATCHING_RESOURCE"]. */
	Combiner string `json:"combiner"`

	/* 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 []AlertpolicyConditions `json:"conditions"`

	/* 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 `json:"displayName"`

	/* 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. */
	// +optional
	Documentation *AlertpolicyDocumentation `json:"documentation,omitempty"`

	/* Whether or not the policy is enabled. The default is true. */
	// +optional
	Enabled *bool `json:"enabled,omitempty"`

	// +optional
	NotificationChannels []v1alpha1.ResourceRef `json:"notificationChannels,omitempty"`

	/* Immutable. Optional. The service-generated name of the resource. Used for acquisition only. Leave unset to create a new resource. */
	// +optional
	ResourceID *string `json:"resourceID,omitempty"`

	/* The severity of an alert policy indicates how important
	incidents generated by that policy are. The severity level will be displayed on
	the Incident detail page and in notifications. Possible values: ["CRITICAL", "ERROR", "WARNING"]. */
	// +optional
	Severity *string `json:"severity,omitempty"`
}

func (*MonitoringAlertPolicySpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringAlertPolicySpec.

func (*MonitoringAlertPolicySpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MonitoringAlertPolicyStatus

type MonitoringAlertPolicyStatus struct {
	/* Conditions represent the latest available observations of the
	   MonitoringAlertPolicy's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,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. */
	// +optional
	CreationRecord []AlertpolicyCreationRecordStatus `json:"creationRecord,omitempty"`

	/* The unique resource name for this policy.
	Its syntax is: projects/[PROJECT_ID]/alertPolicies/[ALERT_POLICY_ID]. */
	// +optional
	Name *string `json:"name,omitempty"`

	/* ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. */
	// +optional
	ObservedGeneration *int64 `json:"observedGeneration,omitempty"`
}

func (*MonitoringAlertPolicyStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringAlertPolicyStatus.

func (*MonitoringAlertPolicyStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MonitoringDashboard

type MonitoringDashboard struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   MonitoringDashboardSpec   `json:"spec,omitempty"`
	Status MonitoringDashboardStatus `json:"status,omitempty"`
}

MonitoringDashboard is the Schema for the monitoring API +k8s:openapi-gen=true

func (*MonitoringDashboard) DeepCopy

func (in *MonitoringDashboard) DeepCopy() *MonitoringDashboard

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringDashboard.

func (*MonitoringDashboard) DeepCopyInto

func (in *MonitoringDashboard) DeepCopyInto(out *MonitoringDashboard)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MonitoringDashboard) DeepCopyObject

func (in *MonitoringDashboard) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MonitoringDashboardList

type MonitoringDashboardList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []MonitoringDashboard `json:"items"`
}

MonitoringDashboardList contains a list of MonitoringDashboard

func (*MonitoringDashboardList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringDashboardList.

func (*MonitoringDashboardList) DeepCopyInto

func (in *MonitoringDashboardList) DeepCopyInto(out *MonitoringDashboardList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MonitoringDashboardList) DeepCopyObject

func (in *MonitoringDashboardList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MonitoringDashboardSpec

type MonitoringDashboardSpec struct {
	/* The content is divided into equally spaced columns and the widgets are arranged vertically. */
	// +optional
	ColumnLayout *DashboardColumnLayout `json:"columnLayout,omitempty"`

	/* Filters to reduce the amount of data charted based on the filter criteria. */
	// +optional
	DashboardFilters []DashboardDashboardFilters `json:"dashboardFilters,omitempty"`

	/* Required. The mutable, human-readable name. */
	DisplayName string `json:"displayName"`

	/* Content is arranged with a basic layout that re-flows a simple list of informational elements like widgets or tiles. */
	// +optional
	GridLayout *DashboardGridLayout `json:"gridLayout,omitempty"`

	/* The content is arranged as a grid of tiles, with each content widget occupying one or more grid blocks. */
	// +optional
	MosaicLayout *DashboardMosaicLayout `json:"mosaicLayout,omitempty"`

	/* Immutable. The Project that this resource belongs to. */
	ProjectRef v1alpha1.ResourceRef `json:"projectRef"`

	/* Immutable. Optional. The name of the resource. Used for creation and acquisition. When unset, the value of `metadata.name` is used as the default. */
	// +optional
	ResourceID *string `json:"resourceID,omitempty"`

	/* The content is divided into equally spaced rows and the widgets are arranged horizontally. */
	// +optional
	RowLayout *DashboardRowLayout `json:"rowLayout,omitempty"`
}

func (*MonitoringDashboardSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringDashboardSpec.

func (*MonitoringDashboardSpec) DeepCopyInto

func (in *MonitoringDashboardSpec) DeepCopyInto(out *MonitoringDashboardSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MonitoringDashboardStatus

type MonitoringDashboardStatus struct {
	/* Conditions represent the latest available observations of the
	   MonitoringDashboard's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
	/* \`etag\` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. An \`etag\` is returned in the response to \`GetDashboard\`, and users are expected to put that etag in the request to \`UpdateDashboard\` to ensure that their change will be applied to the same version of the Dashboard configuration. The field should not be passed during dashboard creation. */
	// +optional
	Etag *string `json:"etag,omitempty"`

	/* ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. */
	// +optional
	ObservedGeneration *int64 `json:"observedGeneration,omitempty"`
}

func (*MonitoringDashboardStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringDashboardStatus.

func (*MonitoringDashboardStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MonitoringGroup

type MonitoringGroup struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   MonitoringGroupSpec   `json:"spec,omitempty"`
	Status MonitoringGroupStatus `json:"status,omitempty"`
}

MonitoringGroup is the Schema for the monitoring API +k8s:openapi-gen=true

func (*MonitoringGroup) DeepCopy

func (in *MonitoringGroup) DeepCopy() *MonitoringGroup

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringGroup.

func (*MonitoringGroup) DeepCopyInto

func (in *MonitoringGroup) DeepCopyInto(out *MonitoringGroup)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MonitoringGroup) DeepCopyObject

func (in *MonitoringGroup) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MonitoringGroupList

type MonitoringGroupList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []MonitoringGroup `json:"items"`
}

MonitoringGroupList contains a list of MonitoringGroup

func (*MonitoringGroupList) DeepCopy

func (in *MonitoringGroupList) DeepCopy() *MonitoringGroupList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringGroupList.

func (*MonitoringGroupList) DeepCopyInto

func (in *MonitoringGroupList) DeepCopyInto(out *MonitoringGroupList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MonitoringGroupList) DeepCopyObject

func (in *MonitoringGroupList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MonitoringGroupSpec

type MonitoringGroupSpec struct {
	/* A user-assigned name for this group, used only for display purposes. */
	DisplayName string `json:"displayName"`

	/* The filter used to determine which monitored resources belong to this group. */
	Filter string `json:"filter"`

	/* If true, the members of this group are considered to be a cluster. The system can perform additional analysis on groups that are clusters. */
	// +optional
	IsCluster *bool `json:"isCluster,omitempty"`

	// +optional
	ParentRef *v1alpha1.ResourceRef `json:"parentRef,omitempty"`

	/* Immutable. The Project that this resource belongs to. */
	// +optional
	ProjectRef *v1alpha1.ResourceRef `json:"projectRef,omitempty"`

	/* Immutable. Optional. The service-generated name of the resource. Used for acquisition only. Leave unset to create a new resource. */
	// +optional
	ResourceID *string `json:"resourceID,omitempty"`
}

func (*MonitoringGroupSpec) DeepCopy

func (in *MonitoringGroupSpec) DeepCopy() *MonitoringGroupSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringGroupSpec.

func (*MonitoringGroupSpec) DeepCopyInto

func (in *MonitoringGroupSpec) DeepCopyInto(out *MonitoringGroupSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MonitoringGroupStatus

type MonitoringGroupStatus struct {
	/* Conditions represent the latest available observations of the
	   MonitoringGroup's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
	/* ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. */
	// +optional
	ObservedGeneration *int64 `json:"observedGeneration,omitempty"`
}

func (*MonitoringGroupStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringGroupStatus.

func (*MonitoringGroupStatus) DeepCopyInto

func (in *MonitoringGroupStatus) DeepCopyInto(out *MonitoringGroupStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MonitoringMetricDescriptor

type MonitoringMetricDescriptor struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   MonitoringMetricDescriptorSpec   `json:"spec,omitempty"`
	Status MonitoringMetricDescriptorStatus `json:"status,omitempty"`
}

MonitoringMetricDescriptor is the Schema for the monitoring API +k8s:openapi-gen=true

func (*MonitoringMetricDescriptor) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringMetricDescriptor.

func (*MonitoringMetricDescriptor) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MonitoringMetricDescriptor) DeepCopyObject

func (in *MonitoringMetricDescriptor) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MonitoringMetricDescriptorList

type MonitoringMetricDescriptorList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []MonitoringMetricDescriptor `json:"items"`
}

MonitoringMetricDescriptorList contains a list of MonitoringMetricDescriptor

func (*MonitoringMetricDescriptorList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringMetricDescriptorList.

func (*MonitoringMetricDescriptorList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MonitoringMetricDescriptorList) DeepCopyObject

func (in *MonitoringMetricDescriptorList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MonitoringMetricDescriptorSpec

type MonitoringMetricDescriptorSpec struct {
	/* Immutable. A detailed description of the metric, which can be used in documentation. */
	// +optional
	Description *string `json:"description,omitempty"`

	/* Immutable. A concise name for the metric, which can be displayed in user interfaces. Use sentence case without an ending period, for example "Request count". This field is optional but it is recommended to be set for any metrics associated with user-visible concepts, such as Quota. */
	// +optional
	DisplayName *string `json:"displayName,omitempty"`

	/* Immutable. The set of labels that can be used to describe a specific instance of this metric type. For example, the `appengine.googleapis.com/http/server/response_latencies` metric type has a label for the HTTP response code, `response_code`, so you can look at latencies for successful responses or just for responses that failed. */
	// +optional
	Labels []MetricdescriptorLabels `json:"labels,omitempty"`

	/* Immutable. Optional. The launch stage of the metric definition. Possible values: LAUNCH_STAGE_UNSPECIFIED, UNIMPLEMENTED, PRELAUNCH, EARLY_ACCESS, ALPHA, BETA, GA, DEPRECATED */
	// +optional
	LaunchStage *string `json:"launchStage,omitempty"`

	/* Immutable. Optional. Metadata which can be used to guide usage of the metric. */
	// +optional
	Metadata *MetricdescriptorMetadata `json:"metadata,omitempty"`

	/* Immutable. Whether the metric records instantaneous values, changes to a value, etc. Some combinations of `metric_kind` and `value_type` might not be supported. Possible values: METRIC_KIND_UNSPECIFIED, GAUGE, DELTA, CUMULATIVE */
	MetricKind string `json:"metricKind"`

	/* Immutable. The Project that this resource belongs to. */
	ProjectRef v1alpha1.ResourceRef `json:"projectRef"`

	/* Immutable. The metric type, including its DNS name prefix. The type is not URL-encoded. All user-defined metric types have the DNS name `custom.googleapis.com` or `external.googleapis.com`. Metric types should use a natural hierarchical grouping. For example: "custom.googleapis.com/invoice/paid/amount" "external.googleapis.com/prometheus/up" "appengine.googleapis.com/http/server/response_latencies" */
	Type string `json:"type"`

	/* Immutable. The units in which the metric value is reported. It is only applicable if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit` defines the representation of the stored metric values. Different systems might scale the values to be more easily displayed (so a value of `0.02kBy` _might_ be displayed as `20By`, and a value of `3523kBy` _might_ be displayed as `3.5MBy`). However, if the `unit` is `kBy`, then the value of the metric is always in thousands of bytes, no matter how it might be displayed. If you want a custom metric to record the exact number of CPU-seconds used by a job, you can create an `INT64 CUMULATIVE` metric whose `unit` is `s{CPU}` (or equivalently `1s{CPU}` or just `s`). If the job uses 12,005 CPU-seconds, then the value is written as `12005`. Alternatively, if you want a custom metric to record data in a more granular way, you can create a `DOUBLE CUMULATIVE` metric whose `unit` is `ks{CPU}`, and then write the value `12.005` (which is `12005/1000`), or use `Kis{CPU}` and write `11.723` (which is `12005/1024`). The supported units are a subset of [The Unified Code for Units of Measure](https://unitsofmeasure.org/ucum.html) standard: **Basic units (UNIT)** * `bit` bit * `By` byte * `s` second * `min` minute * `h` hour * `d` day * `1` dimensionless **Prefixes (PREFIX)** * `k` kilo (10^3) * `M` mega (10^6) * `G` giga (10^9) * `T` tera (10^12) * `P` peta (10^15) * `E` exa (10^18) * `Z` zetta (10^21) * `Y` yotta (10^24) * `m` milli (10^-3) * `u` micro (10^-6) * `n` nano (10^-9) * `p` pico (10^-12) * `f` femto (10^-15) * `a` atto (10^-18) * `z` zepto (10^-21) * `y` yocto (10^-24) * `Ki` kibi (2^10) * `Mi` mebi (2^20) * `Gi` gibi (2^30) * `Ti` tebi (2^40) * `Pi` pebi (2^50) **Grammar** The grammar also includes these connectors: * `/` division or ratio (as an infix operator). For examples, `kBy/{email}` or `MiBy/10ms` (although you should almost never have `/s` in a metric `unit`; rates should always be computed at query time from the underlying cumulative or delta value). * `.` multiplication or composition (as an infix operator). For examples, `GBy.d` or `k{watt}.h`. The grammar for a unit is as follows: Expression = Component: { "." Component } { "/" Component } ; Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ] | Annotation | "1" ; Annotation = "{" NAME "}" ; Notes: * `Annotation` is just a comment if it follows a `UNIT`. If the annotation is used alone, then the unit is equivalent to `1`. For examples, `{request}/s == 1/s`, `By{transmitted}/s == By/s`. * `NAME` is a sequence of non-blank printable ASCII characters not containing `{` or `}`. * `1` represents a unitary [dimensionless unit](https://en.wikipedia.org/wiki/Dimensionless_quantity) of 1, such as in `1/s`. It is typically used when none of the basic units are appropriate. For example, "new users per day" can be represented as `1/d` or `{new-users}/d` (and a metric value `5` would mean "5 new users). Alternatively, "thousands of page views per day" would be represented as `1000/d` or `k1/d` or `k{page_views}/d` (and a metric value of `5.3` would mean "5300 page views per day"). * `%` represents dimensionless value of 1/100, and annotates values giving a percentage (so the metric values are typically in the range of 0..100, and a metric value `3` means "3 percent"). * `10^2.%` indicates a metric contains a ratio, typically in the range 0..1, that will be multiplied by 100 and displayed as a percentage (so a metric value `0.03` means "3 percent"). */
	// +optional
	Unit *string `json:"unit,omitempty"`

	/* Immutable. Whether the measurement is an integer, a floating-point number, etc. Some combinations of `metric_kind` and `value_type` might not be supported. Possible values: STRING, BOOL, INT64 */
	ValueType string `json:"valueType"`
}

func (*MonitoringMetricDescriptorSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringMetricDescriptorSpec.

func (*MonitoringMetricDescriptorSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MonitoringMetricDescriptorStatus

type MonitoringMetricDescriptorStatus struct {
	/* Conditions represent the latest available observations of the
	   MonitoringMetricDescriptor's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
	/* Read-only. If present, then a time series, which is identified partially by a metric type and a MonitoredResourceDescriptor, that is associated with this metric type can only be associated with one of the monitored resource types listed here. */
	// +optional
	MonitoredResourceTypes []string `json:"monitoredResourceTypes,omitempty"`

	/* ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. */
	// +optional
	ObservedGeneration *int64 `json:"observedGeneration,omitempty"`

	/* The resource name of the metric descriptor. */
	// +optional
	SelfLink *string `json:"selfLink,omitempty"`
}

func (*MonitoringMetricDescriptorStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringMetricDescriptorStatus.

func (*MonitoringMetricDescriptorStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MonitoringMonitoredProject added in v1.79.0

type MonitoringMonitoredProject struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   MonitoringMonitoredProjectSpec   `json:"spec,omitempty"`
	Status MonitoringMonitoredProjectStatus `json:"status,omitempty"`
}

MonitoringMonitoredProject is the Schema for the monitoring API +k8s:openapi-gen=true

func (*MonitoringMonitoredProject) DeepCopy added in v1.79.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringMonitoredProject.

func (*MonitoringMonitoredProject) DeepCopyInto added in v1.79.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MonitoringMonitoredProject) DeepCopyObject added in v1.79.0

func (in *MonitoringMonitoredProject) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MonitoringMonitoredProjectList added in v1.79.0

type MonitoringMonitoredProjectList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []MonitoringMonitoredProject `json:"items"`
}

MonitoringMonitoredProjectList contains a list of MonitoringMonitoredProject

func (*MonitoringMonitoredProjectList) DeepCopy added in v1.79.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringMonitoredProjectList.

func (*MonitoringMonitoredProjectList) DeepCopyInto added in v1.79.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MonitoringMonitoredProjectList) DeepCopyObject added in v1.79.0

func (in *MonitoringMonitoredProjectList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MonitoringMonitoredProjectSpec added in v1.79.0

type MonitoringMonitoredProjectSpec struct {
	/* Immutable. Required. The resource name of the existing Metrics Scope that will monitor this project. Example: locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER} */
	MetricsScope string `json:"metricsScope"`

	/* Immutable. Optional. The name of the resource. Used for creation and acquisition. When unset, the value of `metadata.name` is used as the default. */
	// +optional
	ResourceID *string `json:"resourceID,omitempty"`
}

func (*MonitoringMonitoredProjectSpec) DeepCopy added in v1.79.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringMonitoredProjectSpec.

func (*MonitoringMonitoredProjectSpec) DeepCopyInto added in v1.79.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MonitoringMonitoredProjectStatus added in v1.79.0

type MonitoringMonitoredProjectStatus struct {
	/* Conditions represent the latest available observations of the
	   MonitoringMonitoredProject's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
	/* Output only. The time when this `MonitoredProject` was created. */
	// +optional
	CreateTime *string `json:"createTime,omitempty"`

	/* ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. */
	// +optional
	ObservedGeneration *int64 `json:"observedGeneration,omitempty"`
}

func (*MonitoringMonitoredProjectStatus) DeepCopy added in v1.79.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringMonitoredProjectStatus.

func (*MonitoringMonitoredProjectStatus) DeepCopyInto added in v1.79.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MonitoringNotificationChannel

type MonitoringNotificationChannel struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   MonitoringNotificationChannelSpec   `json:"spec,omitempty"`
	Status MonitoringNotificationChannelStatus `json:"status,omitempty"`
}

MonitoringNotificationChannel is the Schema for the monitoring API +k8s:openapi-gen=true

func (*MonitoringNotificationChannel) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringNotificationChannel.

func (*MonitoringNotificationChannel) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MonitoringNotificationChannel) DeepCopyObject

func (in *MonitoringNotificationChannel) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MonitoringNotificationChannelList

type MonitoringNotificationChannelList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []MonitoringNotificationChannel `json:"items"`
}

MonitoringNotificationChannelList contains a list of MonitoringNotificationChannel

func (*MonitoringNotificationChannelList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringNotificationChannelList.

func (*MonitoringNotificationChannelList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MonitoringNotificationChannelList) DeepCopyObject

func (in *MonitoringNotificationChannelList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MonitoringNotificationChannelSpec

type MonitoringNotificationChannelSpec struct {
	/* An optional human-readable description of this notification channel. This description may provide additional details, beyond the display name, for the channel. This may not exceed 1024 Unicode characters. */
	// +optional
	Description *string `json:"description,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. */
	// +optional
	Enabled *bool `json:"enabled,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. */
	// +optional
	ForceDelete *bool `json:"forceDelete,omitempty"`

	// +optional
	Labels map[string]string `json:"labels,omitempty"`

	/* Immutable. Optional. The service-generated name of the resource. Used for acquisition only. Leave unset to create a new resource. */
	// +optional
	ResourceID *string `json:"resourceID,omitempty"`

	/* Different notification type behaviors are configured primarily using the the 'labels' field on this
	resource. This block contains the labels which contain secrets or passwords so that they can be marked
	sensitive and hidden from plan output. The name of the field, eg: password, will be the key
	in the 'labels' map in the api request.

	Credentials may not be specified in both locations and will cause an error. Changing from one location
	to a different credential configuration in the config will require an apply to update state. */
	// +optional
	SensitiveLabels *NotificationchannelSensitiveLabels `json:"sensitiveLabels,omitempty"`

	/* The type of the notification channel. This field matches the value of the NotificationChannelDescriptor.type field. See https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.notificationChannelDescriptors/list to get the list of valid values such as "email", "slack", etc... */
	Type string `json:"type"`
}

func (*MonitoringNotificationChannelSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringNotificationChannelSpec.

func (*MonitoringNotificationChannelSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MonitoringNotificationChannelStatus

type MonitoringNotificationChannelStatus struct {
	/* Conditions represent the latest available observations of the
	   MonitoringNotificationChannel's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,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. */
	// +optional
	Name *string `json:"name,omitempty"`

	/* ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. */
	// +optional
	ObservedGeneration *int64 `json:"observedGeneration,omitempty"`

	/* Indicates whether this channel has been verified or not. On a ListNotificationChannels or 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 operation. To change the value of this field, you must call VerifyNotificationChannel. */
	// +optional
	VerificationStatus *string `json:"verificationStatus,omitempty"`
}

func (*MonitoringNotificationChannelStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringNotificationChannelStatus.

func (*MonitoringNotificationChannelStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MonitoringService

type MonitoringService struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   MonitoringServiceSpec   `json:"spec,omitempty"`
	Status MonitoringServiceStatus `json:"status,omitempty"`
}

MonitoringService is the Schema for the monitoring API +k8s:openapi-gen=true

func (*MonitoringService) DeepCopy

func (in *MonitoringService) DeepCopy() *MonitoringService

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringService.

func (*MonitoringService) DeepCopyInto

func (in *MonitoringService) DeepCopyInto(out *MonitoringService)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MonitoringService) DeepCopyObject

func (in *MonitoringService) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MonitoringServiceLevelObjective

type MonitoringServiceLevelObjective struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   MonitoringServiceLevelObjectiveSpec   `json:"spec,omitempty"`
	Status MonitoringServiceLevelObjectiveStatus `json:"status,omitempty"`
}

MonitoringServiceLevelObjective is the Schema for the monitoring API +k8s:openapi-gen=true

func (*MonitoringServiceLevelObjective) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringServiceLevelObjective.

func (*MonitoringServiceLevelObjective) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MonitoringServiceLevelObjective) DeepCopyObject

func (in *MonitoringServiceLevelObjective) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MonitoringServiceLevelObjectiveList

type MonitoringServiceLevelObjectiveList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []MonitoringServiceLevelObjective `json:"items"`
}

MonitoringServiceLevelObjectiveList contains a list of MonitoringServiceLevelObjective

func (*MonitoringServiceLevelObjectiveList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringServiceLevelObjectiveList.

func (*MonitoringServiceLevelObjectiveList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MonitoringServiceLevelObjectiveList) DeepCopyObject

func (in *MonitoringServiceLevelObjectiveList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MonitoringServiceLevelObjectiveSpec

type MonitoringServiceLevelObjectiveSpec struct {
	/* A calendar period, semantically "since the start of the current “". At this time, only `DAY`, `WEEK`, `FORTNIGHT`, and `MONTH` are supported. Possible values: CALENDAR_PERIOD_UNSPECIFIED, DAY, WEEK, FORTNIGHT, MONTH, QUARTER, HALF, YEAR */
	// +optional
	CalendarPeriod *string `json:"calendarPeriod,omitempty"`

	/* Name used for UI elements listing this SLO. */
	// +optional
	DisplayName *string `json:"displayName,omitempty"`

	/* The fraction of service that must be good in order for this objective to be met. `0 < goal <= 0.999`. */
	Goal float64 `json:"goal"`

	/* Immutable. The Project that this resource belongs to. */
	ProjectRef v1alpha1.ResourceRef `json:"projectRef"`

	/* Immutable. Optional. The name of the resource. Used for creation and acquisition. When unset, the value of `metadata.name` is used as the default. */
	// +optional
	ResourceID *string `json:"resourceID,omitempty"`

	/* A rolling time period, semantically "in the past “". Must be an integer multiple of 1 day no larger than 30 days. */
	// +optional
	RollingPeriod *string `json:"rollingPeriod,omitempty"`

	/* The definition of good service, used to measure and calculate the quality of the `Service`'s performance with respect to a single aspect of service quality. */
	// +optional
	ServiceLevelIndicator *ServicelevelobjectiveServiceLevelIndicator `json:"serviceLevelIndicator,omitempty"`

	/* Immutable. */
	ServiceRef v1alpha1.ResourceRef `json:"serviceRef"`
}

func (*MonitoringServiceLevelObjectiveSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringServiceLevelObjectiveSpec.

func (*MonitoringServiceLevelObjectiveSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MonitoringServiceLevelObjectiveStatus

type MonitoringServiceLevelObjectiveStatus struct {
	/* Conditions represent the latest available observations of the
	   MonitoringServiceLevelObjective's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
	/* Time stamp of the `Create` or most recent `Update` command on this `Slo`. */
	// +optional
	CreateTime *string `json:"createTime,omitempty"`

	/* Time stamp of the `Update` or `Delete` command that made this no longer a current `Slo`. This field is not populated in `ServiceLevelObjective`s returned from calls to `GetServiceLevelObjective` and `ListServiceLevelObjectives`, because it is always empty in the current version. It is populated in `ServiceLevelObjective`s representing previous versions in the output of `ListServiceLevelObjectiveVersions`. Because all old configuration versions are stored, `Update` operations mark the obsoleted version as deleted. */
	// +optional
	DeleteTime *string `json:"deleteTime,omitempty"`

	/* ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. */
	// +optional
	ObservedGeneration *int64 `json:"observedGeneration,omitempty"`

	/* Output only. If set, this SLO is managed at the [Service Management](https://cloud.google.com/service-management/overview) level. Therefore the service yaml file is the source of truth for this SLO, and API `Update` and `Delete` operations are forbidden. */
	// +optional
	ServiceManagementOwned *bool `json:"serviceManagementOwned,omitempty"`
}

func (*MonitoringServiceLevelObjectiveStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringServiceLevelObjectiveStatus.

func (*MonitoringServiceLevelObjectiveStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MonitoringServiceList

type MonitoringServiceList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []MonitoringService `json:"items"`
}

MonitoringServiceList contains a list of MonitoringService

func (*MonitoringServiceList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringServiceList.

func (*MonitoringServiceList) DeepCopyInto

func (in *MonitoringServiceList) DeepCopyInto(out *MonitoringServiceList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MonitoringServiceList) DeepCopyObject

func (in *MonitoringServiceList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MonitoringServiceSpec

type MonitoringServiceSpec struct {
	/* Name used for UI elements listing this Service. */
	// +optional
	DisplayName *string `json:"displayName,omitempty"`

	/* Immutable. The Project that this resource belongs to. */
	ProjectRef v1alpha1.ResourceRef `json:"projectRef"`

	/* Immutable. Optional. The name of the resource. Used for creation and acquisition. When unset, the value of `metadata.name` is used as the default. */
	// +optional
	ResourceID *string `json:"resourceID,omitempty"`

	/* Configuration for how to query telemetry on a Service. */
	// +optional
	Telemetry *ServiceTelemetry `json:"telemetry,omitempty"`
}

func (*MonitoringServiceSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringServiceSpec.

func (*MonitoringServiceSpec) DeepCopyInto

func (in *MonitoringServiceSpec) DeepCopyInto(out *MonitoringServiceSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MonitoringServiceStatus

type MonitoringServiceStatus struct {
	/* Conditions represent the latest available observations of the
	   MonitoringService's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
	/* ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. */
	// +optional
	ObservedGeneration *int64 `json:"observedGeneration,omitempty"`
}

func (*MonitoringServiceStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringServiceStatus.

func (*MonitoringServiceStatus) DeepCopyInto

func (in *MonitoringServiceStatus) DeepCopyInto(out *MonitoringServiceStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MonitoringUptimeCheckConfig

type MonitoringUptimeCheckConfig struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   MonitoringUptimeCheckConfigSpec   `json:"spec,omitempty"`
	Status MonitoringUptimeCheckConfigStatus `json:"status,omitempty"`
}

MonitoringUptimeCheckConfig is the Schema for the monitoring API +k8s:openapi-gen=true

func (*MonitoringUptimeCheckConfig) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringUptimeCheckConfig.

func (*MonitoringUptimeCheckConfig) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MonitoringUptimeCheckConfig) DeepCopyObject

func (in *MonitoringUptimeCheckConfig) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MonitoringUptimeCheckConfigList

type MonitoringUptimeCheckConfigList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []MonitoringUptimeCheckConfig `json:"items"`
}

MonitoringUptimeCheckConfigList contains a list of MonitoringUptimeCheckConfig

func (*MonitoringUptimeCheckConfigList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringUptimeCheckConfigList.

func (*MonitoringUptimeCheckConfigList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MonitoringUptimeCheckConfigList) DeepCopyObject

func (in *MonitoringUptimeCheckConfigList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MonitoringUptimeCheckConfigSpec

type MonitoringUptimeCheckConfigSpec struct {
	/* The content that is expected to appear in the data returned by the target server against which the check is run.  Currently, only the first entry in the `content_matchers` list is supported, and additional entries will be ignored. This field is optional and should only be specified if a content match is required as part of the/ Uptime check. */
	// +optional
	ContentMatchers []UptimecheckconfigContentMatchers `json:"contentMatchers,omitempty"`

	/* A human-friendly name for the Uptime check configuration. The display name should be unique within a Stackdriver Workspace in order to make it easier to identify; however, uniqueness is not enforced. Required. */
	DisplayName string `json:"displayName"`

	/* Contains information needed to make an HTTP or HTTPS check. */
	// +optional
	HttpCheck *UptimecheckconfigHttpCheck `json:"httpCheck,omitempty"`

	/* Immutable. The [monitored resource](https://cloud.google.com/monitoring/api/resources) associated with the configuration. The following monitored resource types are supported for Uptime checks:   `uptime_url`,   `gce_instance`,   `gae_app`,   `aws_ec2_instance`,   `aws_elb_load_balancer` */
	// +optional
	MonitoredResource *UptimecheckconfigMonitoredResource `json:"monitoredResource,omitempty"`

	/* How often, in seconds, the Uptime check is performed. Currently, the only supported values are `60s` (1 minute), `300s` (5 minutes), `600s` (10 minutes), and `900s` (15 minutes). Optional, defaults to `60s`. */
	// +optional
	Period *string `json:"period,omitempty"`

	/* Immutable. The Project that this resource belongs to. */
	ProjectRef v1alpha1.ResourceRef `json:"projectRef"`

	/* Immutable. The group resource associated with the configuration. */
	// +optional
	ResourceGroup *UptimecheckconfigResourceGroup `json:"resourceGroup,omitempty"`

	/* Immutable. Optional. The service-generated name of the resource. Used for acquisition only. Leave unset to create a new resource. */
	// +optional
	ResourceID *string `json:"resourceID,omitempty"`

	/* The list of regions from which the check will be run. Some regions contain one location, and others contain more than one. If this field is specified, enough regions must be provided to include a minimum of 3 locations.  Not specifying this field will result in Uptime checks running from all available regions. */
	// +optional
	SelectedRegions []string `json:"selectedRegions,omitempty"`

	/* Contains information needed to make a TCP check. */
	// +optional
	TcpCheck *UptimecheckconfigTcpCheck `json:"tcpCheck,omitempty"`

	/* The maximum amount of time to wait for the request to complete (must be between 1 and 60 seconds). Required. */
	Timeout string `json:"timeout"`
}

func (*MonitoringUptimeCheckConfigSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringUptimeCheckConfigSpec.

func (*MonitoringUptimeCheckConfigSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MonitoringUptimeCheckConfigStatus

type MonitoringUptimeCheckConfigStatus struct {
	/* Conditions represent the latest available observations of the
	   MonitoringUptimeCheckConfig's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
	/* ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. */
	// +optional
	ObservedGeneration *int64 `json:"observedGeneration,omitempty"`
}

func (*MonitoringUptimeCheckConfigStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringUptimeCheckConfigStatus.

func (*MonitoringUptimeCheckConfigStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NotificationchannelAuthToken

type NotificationchannelAuthToken struct {
	/* Value of the field. Cannot be used if 'valueFrom' is specified. */
	// +optional
	Value *string `json:"value,omitempty"`

	/* Source for the field's value. Cannot be used if 'value' is specified. */
	// +optional
	ValueFrom *NotificationchannelValueFrom `json:"valueFrom,omitempty"`
}

func (*NotificationchannelAuthToken) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationchannelAuthToken.

func (*NotificationchannelAuthToken) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NotificationchannelPassword

type NotificationchannelPassword struct {
	/* Value of the field. Cannot be used if 'valueFrom' is specified. */
	// +optional
	Value *string `json:"value,omitempty"`

	/* Source for the field's value. Cannot be used if 'value' is specified. */
	// +optional
	ValueFrom *NotificationchannelValueFrom `json:"valueFrom,omitempty"`
}

func (*NotificationchannelPassword) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationchannelPassword.

func (*NotificationchannelPassword) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NotificationchannelSensitiveLabels

type NotificationchannelSensitiveLabels struct {
	/* An authorization token for a notification channel. Channel types that support this field include: slack. */
	// +optional
	AuthToken *NotificationchannelAuthToken `json:"authToken,omitempty"`

	/* An password for a notification channel. Channel types that support this field include: webhook_basicauth. */
	// +optional
	Password *NotificationchannelPassword `json:"password,omitempty"`

	/* An servicekey token for a notification channel. Channel types that support this field include: pagerduty. */
	// +optional
	ServiceKey *NotificationchannelServiceKey `json:"serviceKey,omitempty"`
}

func (*NotificationchannelSensitiveLabels) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationchannelSensitiveLabels.

func (*NotificationchannelSensitiveLabels) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NotificationchannelServiceKey

type NotificationchannelServiceKey struct {
	/* Value of the field. Cannot be used if 'valueFrom' is specified. */
	// +optional
	Value *string `json:"value,omitempty"`

	/* Source for the field's value. Cannot be used if 'value' is specified. */
	// +optional
	ValueFrom *NotificationchannelValueFrom `json:"valueFrom,omitempty"`
}

func (*NotificationchannelServiceKey) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationchannelServiceKey.

func (*NotificationchannelServiceKey) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NotificationchannelValueFrom

type NotificationchannelValueFrom struct {
	/* Reference to a value with the given key in the given Secret in the resource's namespace. */
	// +optional
	SecretKeyRef *v1alpha1.SecretKeyRef `json:"secretKeyRef,omitempty"`
}

func (*NotificationchannelValueFrom) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationchannelValueFrom.

func (*NotificationchannelValueFrom) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServiceTelemetry

type ServiceTelemetry struct {
	/* The full name of the resource that defines this service. Formatted as described in https://cloud.google.com/apis/design/resource_names. */
	// +optional
	ResourceName *string `json:"resourceName,omitempty"`
}

func (*ServiceTelemetry) DeepCopy

func (in *ServiceTelemetry) DeepCopy() *ServiceTelemetry

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceTelemetry.

func (*ServiceTelemetry) DeepCopyInto

func (in *ServiceTelemetry) DeepCopyInto(out *ServiceTelemetry)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServicelevelobjectiveAvailability

type ServicelevelobjectiveAvailability struct {
}

func (*ServicelevelobjectiveAvailability) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicelevelobjectiveAvailability.

func (*ServicelevelobjectiveAvailability) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServicelevelobjectiveBasicSli

type ServicelevelobjectiveBasicSli struct {
	/* Good service is defined to be the count of requests made to this service that return successfully. */
	// +optional
	Availability *ServicelevelobjectiveAvailability `json:"availability,omitempty"`

	/* Good service is defined to be the count of requests made to this service that are fast enough with respect to `latency.threshold`. */
	// +optional
	Latency *ServicelevelobjectiveLatency `json:"latency,omitempty"`

	/* OPTIONAL: The set of locations to which this SLI is relevant. Telemetry from other locations will not be used to calculate performance for this SLI. If omitted, this SLI applies to all locations in which the Service has activity. For service types that don't support breaking down by location, setting this field will result in an error. */
	// +optional
	Location []string `json:"location,omitempty"`

	/* OPTIONAL: The set of RPCs to which this SLI is relevant. Telemetry from other methods will not be used to calculate performance for this SLI. If omitted, this SLI applies to all the Service's methods. For service types that don't support breaking down by method, setting this field will result in an error. */
	// +optional
	Method []string `json:"method,omitempty"`

	/* Good service is defined to be the count of operations performed by this service that return successfully */
	// +optional
	OperationAvailability *ServicelevelobjectiveOperationAvailability `json:"operationAvailability,omitempty"`

	/* Good service is defined to be the count of operations performed by this service that are fast enough with respect to `operation_latency.threshold`. */
	// +optional
	OperationLatency *ServicelevelobjectiveOperationLatency `json:"operationLatency,omitempty"`

	/* OPTIONAL: The set of API versions to which this SLI is relevant. Telemetry from other API versions will not be used to calculate performance for this SLI. If omitted, this SLI applies to all API versions. For service types that don't support breaking down by version, setting this field will result in an error. */
	// +optional
	Version []string `json:"version,omitempty"`
}

func (*ServicelevelobjectiveBasicSli) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicelevelobjectiveBasicSli.

func (*ServicelevelobjectiveBasicSli) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServicelevelobjectiveBasicSliPerformance

type ServicelevelobjectiveBasicSliPerformance struct {
	/* Good service is defined to be the count of requests made to this service that return successfully. */
	// +optional
	Availability *ServicelevelobjectiveAvailability `json:"availability,omitempty"`

	/* Good service is defined to be the count of requests made to this service that are fast enough with respect to `latency.threshold`. */
	// +optional
	Latency *ServicelevelobjectiveLatency `json:"latency,omitempty"`

	/* OPTIONAL: The set of locations to which this SLI is relevant. Telemetry from other locations will not be used to calculate performance for this SLI. If omitted, this SLI applies to all locations in which the Service has activity. For service types that don't support breaking down by location, setting this field will result in an error. */
	// +optional
	Location []string `json:"location,omitempty"`

	/* OPTIONAL: The set of RPCs to which this SLI is relevant. Telemetry from other methods will not be used to calculate performance for this SLI. If omitted, this SLI applies to all the Service's methods. For service types that don't support breaking down by method, setting this field will result in an error. */
	// +optional
	Method []string `json:"method,omitempty"`

	/* Good service is defined to be the count of operations performed by this service that return successfully */
	// +optional
	OperationAvailability *ServicelevelobjectiveOperationAvailability `json:"operationAvailability,omitempty"`

	/* Good service is defined to be the count of operations performed by this service that are fast enough with respect to `operation_latency.threshold`. */
	// +optional
	OperationLatency *ServicelevelobjectiveOperationLatency `json:"operationLatency,omitempty"`

	/* OPTIONAL: The set of API versions to which this SLI is relevant. Telemetry from other API versions will not be used to calculate performance for this SLI. If omitted, this SLI applies to all API versions. For service types that don't support breaking down by version, setting this field will result in an error. */
	// +optional
	Version []string `json:"version,omitempty"`
}

func (*ServicelevelobjectiveBasicSliPerformance) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicelevelobjectiveBasicSliPerformance.

func (*ServicelevelobjectiveBasicSliPerformance) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServicelevelobjectiveDistributionCut

type ServicelevelobjectiveDistributionCut struct {
	/* A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) specifying a `TimeSeries` aggregating values. Must have `ValueType = DISTRIBUTION` and `MetricKind = DELTA` or `MetricKind = CUMULATIVE`. */
	// +optional
	DistributionFilter *string `json:"distributionFilter,omitempty"`

	/* Range of values considered "good." For a one-sided range, set one bound to an infinite value. */
	// +optional
	Range *ServicelevelobjectiveRange `json:"range,omitempty"`
}

func (*ServicelevelobjectiveDistributionCut) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicelevelobjectiveDistributionCut.

func (*ServicelevelobjectiveDistributionCut) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServicelevelobjectiveGoodTotalRatio

type ServicelevelobjectiveGoodTotalRatio struct {
	/* A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) specifying a `TimeSeries` quantifying bad service, either demanded service that was not provided or demanded service that was of inadequate quality. Must have `ValueType = DOUBLE` or `ValueType = INT64` and must have `MetricKind = DELTA` or `MetricKind = CUMULATIVE`. */
	// +optional
	BadServiceFilter *string `json:"badServiceFilter,omitempty"`

	/* A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) specifying a `TimeSeries` quantifying good service provided. Must have `ValueType = DOUBLE` or `ValueType = INT64` and must have `MetricKind = DELTA` or `MetricKind = CUMULATIVE`. */
	// +optional
	GoodServiceFilter *string `json:"goodServiceFilter,omitempty"`

	/* A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) specifying a `TimeSeries` quantifying total demanded service. Must have `ValueType = DOUBLE` or `ValueType = INT64` and must have `MetricKind = DELTA` or `MetricKind = CUMULATIVE`. */
	// +optional
	TotalServiceFilter *string `json:"totalServiceFilter,omitempty"`
}

func (*ServicelevelobjectiveGoodTotalRatio) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicelevelobjectiveGoodTotalRatio.

func (*ServicelevelobjectiveGoodTotalRatio) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServicelevelobjectiveGoodTotalRatioThreshold

type ServicelevelobjectiveGoodTotalRatioThreshold struct {
	/* `BasicSli` to evaluate to judge window quality. */
	// +optional
	BasicSliPerformance *ServicelevelobjectiveBasicSliPerformance `json:"basicSliPerformance,omitempty"`

	/* `RequestBasedSli` to evaluate to judge window quality. */
	// +optional
	Performance *ServicelevelobjectivePerformance `json:"performance,omitempty"`

	/* If window `performance >= threshold`, the window is counted as good. */
	// +optional
	Threshold *float64 `json:"threshold,omitempty"`
}

func (*ServicelevelobjectiveGoodTotalRatioThreshold) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicelevelobjectiveGoodTotalRatioThreshold.

func (*ServicelevelobjectiveGoodTotalRatioThreshold) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServicelevelobjectiveLatency

type ServicelevelobjectiveLatency struct {
	/* A description of the experience associated with failing requests. Possible values: LATENCY_EXPERIENCE_UNSPECIFIED, DELIGHTING, SATISFYING, ANNOYING */
	// +optional
	Experience *string `json:"experience,omitempty"`

	/* Good service is defined to be the count of requests made to this service that return in no more than `threshold`. */
	// +optional
	Threshold *string `json:"threshold,omitempty"`
}

func (*ServicelevelobjectiveLatency) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicelevelobjectiveLatency.

func (*ServicelevelobjectiveLatency) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServicelevelobjectiveMetricMeanInRange

type ServicelevelobjectiveMetricMeanInRange struct {
	/* Range of values considered "good." For a one-sided range, set one bound to an infinite value. */
	// +optional
	Range *ServicelevelobjectiveRange `json:"range,omitempty"`

	/* A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) specifying the `TimeSeries` to use for evaluating window quality. */
	// +optional
	TimeSeries *string `json:"timeSeries,omitempty"`
}

func (*ServicelevelobjectiveMetricMeanInRange) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicelevelobjectiveMetricMeanInRange.

func (*ServicelevelobjectiveMetricMeanInRange) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServicelevelobjectiveMetricSumInRange

type ServicelevelobjectiveMetricSumInRange struct {
	/* Range of values considered "good." For a one-sided range, set one bound to an infinite value. */
	// +optional
	Range *ServicelevelobjectiveRange `json:"range,omitempty"`

	/* A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) specifying the `TimeSeries` to use for evaluating window quality. */
	// +optional
	TimeSeries *string `json:"timeSeries,omitempty"`
}

func (*ServicelevelobjectiveMetricSumInRange) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicelevelobjectiveMetricSumInRange.

func (*ServicelevelobjectiveMetricSumInRange) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServicelevelobjectiveOperationAvailability

type ServicelevelobjectiveOperationAvailability struct {
}

func (*ServicelevelobjectiveOperationAvailability) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicelevelobjectiveOperationAvailability.

func (*ServicelevelobjectiveOperationAvailability) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServicelevelobjectiveOperationLatency

type ServicelevelobjectiveOperationLatency struct {
	/* A description of the experience associated with failing requests. Possible values: LATENCY_EXPERIENCE_UNSPECIFIED, DELIGHTING, SATISFYING, ANNOYING */
	// +optional
	Experience *string `json:"experience,omitempty"`

	/* Good service is defined to be the count of operations that are completed in no more than `threshold`. */
	// +optional
	Threshold *string `json:"threshold,omitempty"`
}

func (*ServicelevelobjectiveOperationLatency) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicelevelobjectiveOperationLatency.

func (*ServicelevelobjectiveOperationLatency) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServicelevelobjectivePerformance

type ServicelevelobjectivePerformance struct {
	/* `distribution_cut` is used when `good_service` is a count of values aggregated in a `Distribution` that fall into a good range. The `total_service` is the total count of all values aggregated in the `Distribution`. */
	// +optional
	DistributionCut *ServicelevelobjectiveDistributionCut `json:"distributionCut,omitempty"`

	/* `good_total_ratio` is used when the ratio of `good_service` to `total_service` is computed from two `TimeSeries`. */
	// +optional
	GoodTotalRatio *ServicelevelobjectiveGoodTotalRatio `json:"goodTotalRatio,omitempty"`
}

func (*ServicelevelobjectivePerformance) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicelevelobjectivePerformance.

func (*ServicelevelobjectivePerformance) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServicelevelobjectiveRange

type ServicelevelobjectiveRange struct {
	/* Range maximum. */
	// +optional
	Max *float64 `json:"max,omitempty"`

	/* Range minimum. */
	// +optional
	Min *float64 `json:"min,omitempty"`
}

func (*ServicelevelobjectiveRange) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicelevelobjectiveRange.

func (*ServicelevelobjectiveRange) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServicelevelobjectiveRequestBased

type ServicelevelobjectiveRequestBased struct {
	/* `distribution_cut` is used when `good_service` is a count of values aggregated in a `Distribution` that fall into a good range. The `total_service` is the total count of all values aggregated in the `Distribution`. */
	// +optional
	DistributionCut *ServicelevelobjectiveDistributionCut `json:"distributionCut,omitempty"`

	/* `good_total_ratio` is used when the ratio of `good_service` to `total_service` is computed from two `TimeSeries`. */
	// +optional
	GoodTotalRatio *ServicelevelobjectiveGoodTotalRatio `json:"goodTotalRatio,omitempty"`
}

func (*ServicelevelobjectiveRequestBased) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicelevelobjectiveRequestBased.

func (*ServicelevelobjectiveRequestBased) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServicelevelobjectiveServiceLevelIndicator

type ServicelevelobjectiveServiceLevelIndicator struct {
	/* Basic SLI on a well-known service type. */
	// +optional
	BasicSli *ServicelevelobjectiveBasicSli `json:"basicSli,omitempty"`

	/* Request-based SLIs */
	// +optional
	RequestBased *ServicelevelobjectiveRequestBased `json:"requestBased,omitempty"`

	/* Windows-based SLIs */
	// +optional
	WindowsBased *ServicelevelobjectiveWindowsBased `json:"windowsBased,omitempty"`
}

func (*ServicelevelobjectiveServiceLevelIndicator) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicelevelobjectiveServiceLevelIndicator.

func (*ServicelevelobjectiveServiceLevelIndicator) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServicelevelobjectiveWindowsBased

type ServicelevelobjectiveWindowsBased struct {
	/* A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) specifying a `TimeSeries` with `ValueType = BOOL`. The window is good if any `true` values appear in the window. */
	// +optional
	GoodBadMetricFilter *string `json:"goodBadMetricFilter,omitempty"`

	/* A window is good if its `performance` is high enough. */
	// +optional
	GoodTotalRatioThreshold *ServicelevelobjectiveGoodTotalRatioThreshold `json:"goodTotalRatioThreshold,omitempty"`

	/* A window is good if the metric's value is in a good range, averaged across returned streams. */
	// +optional
	MetricMeanInRange *ServicelevelobjectiveMetricMeanInRange `json:"metricMeanInRange,omitempty"`

	/* A window is good if the metric's value is in a good range, summed across returned streams. */
	// +optional
	MetricSumInRange *ServicelevelobjectiveMetricSumInRange `json:"metricSumInRange,omitempty"`

	/* Duration over which window quality is evaluated. Must be an integer fraction of a day and at least `60s`. */
	// +optional
	WindowPeriod *string `json:"windowPeriod,omitempty"`
}

func (*ServicelevelobjectiveWindowsBased) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicelevelobjectiveWindowsBased.

func (*ServicelevelobjectiveWindowsBased) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type UptimecheckconfigAuthInfo

type UptimecheckconfigAuthInfo struct {
	Password UptimecheckconfigPassword `json:"password"`

	Username string `json:"username"`
}

func (*UptimecheckconfigAuthInfo) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UptimecheckconfigAuthInfo.

func (*UptimecheckconfigAuthInfo) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type UptimecheckconfigContentMatchers

type UptimecheckconfigContentMatchers struct {
	Content string `json:"content"`

	/* Possible values: CONTENT_MATCHER_OPTION_UNSPECIFIED, CONTAINS_STRING, NOT_CONTAINS_STRING, MATCHES_REGEX, NOT_MATCHES_REGEX */
	// +optional
	Matcher *string `json:"matcher,omitempty"`
}

func (*UptimecheckconfigContentMatchers) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UptimecheckconfigContentMatchers.

func (*UptimecheckconfigContentMatchers) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type UptimecheckconfigHttpCheck

type UptimecheckconfigHttpCheck struct {
	/* The authentication information. Optional when creating an HTTP check; defaults to empty. */
	// +optional
	AuthInfo *UptimecheckconfigAuthInfo `json:"authInfo,omitempty"`

	/* The request body associated with the HTTP POST request. If `content_type` is `URL_ENCODED`, the body passed in must be URL-encoded. Users can provide a `Content-Length` header via the `headers` field or the API will do so. If the `request_method` is `GET` and `body` is not empty, the API will return an error. The maximum byte size is 1 megabyte. Note: As with all `bytes` fields JSON representations are base64 encoded. e.g.: "foo=bar" in URL-encoded form is "foo%3Dbar" and in base64 encoding is "Zm9vJTI1M0RiYXI=". */
	// +optional
	Body *string `json:"body,omitempty"`

	/* Immutable. The content type to use for the check.  Possible values: TYPE_UNSPECIFIED, URL_ENCODED */
	// +optional
	ContentType *string `json:"contentType,omitempty"`

	/* The list of headers to send as part of the Uptime check request. If two headers have the same key and different values, they should be entered as a single header, with the value being a comma-separated list of all the desired values as described at https://www.w3.org/Protocols/rfc2616/rfc2616.txt (page 31). Entering two separate headers with the same key in a Create call will cause the first to be overwritten by the second. The maximum number of headers allowed is 100. */
	// +optional
	Headers map[string]string `json:"headers,omitempty"`

	/* Immutable. Boolean specifying whether to encrypt the header information. Encryption should be specified for any headers related to authentication that you do not wish to be seen when retrieving the configuration. The server will be responsible for encrypting the headers. On Get/List calls, if `mask_headers` is set to `true` then the headers will be obscured with `******.` */
	// +optional
	MaskHeaders *bool `json:"maskHeaders,omitempty"`

	/* Optional (defaults to "/"). The path to the page against which to run the check. Will be combined with the `host` (specified within the `monitored_resource`) and `port` to construct the full URL. If the provided path does not begin with "/", a "/" will be prepended automatically. */
	// +optional
	Path *string `json:"path,omitempty"`

	/* Optional (defaults to 80 when `use_ssl` is `false`, and 443 when `use_ssl` is `true`). The TCP port on the HTTP server against which to run the check. Will be combined with host (specified within the `monitored_resource`) and `path` to construct the full URL. */
	// +optional
	Port *int64 `json:"port,omitempty"`

	/* Immutable. The HTTP request method to use for the check. If set to `METHOD_UNSPECIFIED` then `request_method` defaults to `GET`. */
	// +optional
	RequestMethod *string `json:"requestMethod,omitempty"`

	/* If `true`, use HTTPS instead of HTTP to run the check. */
	// +optional
	UseSsl *bool `json:"useSsl,omitempty"`

	/* Boolean specifying whether to include SSL certificate validation as a part of the Uptime check. Only applies to checks where `monitored_resource` is set to `uptime_url`. If `use_ssl` is `false`, setting `validate_ssl` to `true` has no effect. */
	// +optional
	ValidateSsl *bool `json:"validateSsl,omitempty"`
}

func (*UptimecheckconfigHttpCheck) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UptimecheckconfigHttpCheck.

func (*UptimecheckconfigHttpCheck) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type UptimecheckconfigMonitoredResource

type UptimecheckconfigMonitoredResource struct {
	/* Immutable. */
	FilterLabels map[string]string `json:"filterLabels"`

	/* Immutable. */
	Type string `json:"type"`
}

func (*UptimecheckconfigMonitoredResource) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UptimecheckconfigMonitoredResource.

func (*UptimecheckconfigMonitoredResource) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type UptimecheckconfigPassword

type UptimecheckconfigPassword struct {
	/* Value of the field. Cannot be used if 'valueFrom' is specified. */
	// +optional
	Value *string `json:"value,omitempty"`

	/* Source for the field's value. Cannot be used if 'value' is specified. */
	// +optional
	ValueFrom *UptimecheckconfigValueFrom `json:"valueFrom,omitempty"`
}

func (*UptimecheckconfigPassword) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UptimecheckconfigPassword.

func (*UptimecheckconfigPassword) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type UptimecheckconfigResourceGroup

type UptimecheckconfigResourceGroup struct {
	/* Immutable. */
	// +optional
	GroupRef *v1alpha1.ResourceRef `json:"groupRef,omitempty"`

	/* Immutable. The resource type of the group members. Possible values: RESOURCE_TYPE_UNSPECIFIED, INSTANCE, AWS_ELB_LOAD_BALANCER */
	// +optional
	ResourceType *string `json:"resourceType,omitempty"`
}

func (*UptimecheckconfigResourceGroup) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UptimecheckconfigResourceGroup.

func (*UptimecheckconfigResourceGroup) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type UptimecheckconfigTcpCheck

type UptimecheckconfigTcpCheck struct {
	/* The TCP port on the server against which to run the check. Will be combined with host (specified within the `monitored_resource`) to construct the full URL. Required. */
	Port int64 `json:"port"`
}

func (*UptimecheckconfigTcpCheck) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UptimecheckconfigTcpCheck.

func (*UptimecheckconfigTcpCheck) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type UptimecheckconfigValueFrom

type UptimecheckconfigValueFrom struct {
	/* Reference to a value with the given key in the given Secret in the resource's namespace. */
	// +optional
	SecretKeyRef *v1alpha1.SecretKeyRef `json:"secretKeyRef,omitempty"`
}

func (*UptimecheckconfigValueFrom) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UptimecheckconfigValueFrom.

func (*UptimecheckconfigValueFrom) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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