|
2714 | 2714 | }
|
2715 | 2715 | }
|
2716 | 2716 | },
|
2717 |
| - "revision": "20230731", |
| 2717 | + "revision": "20230806", |
2718 | 2718 | "rootUrl": "https://monitoring.googleapis.com/",
|
2719 | 2719 | "schemas": {
|
2720 | 2720 | "Aggregation": {
|
|
2884 | 2884 | "additionalProperties": {
|
2885 | 2885 | "type": "string"
|
2886 | 2886 | },
|
2887 |
| - "description": "User-supplied key/value data to be used for organizing and identifying the AlertPolicy objects.The field can contain up to 64 entries. Each key and value is limited to 63 Unicode characters or 128 bytes, whichever is smaller. Labels and values can contain only lowercase letters, numerals, underscores, and dashes. Keys must begin with a letter.Note that Prometheus {rule group name} and {alert name} are valid Prometheus label names (https://prometheus.io/docs/concepts/data_model/#metric-names-and-labels). This means that they cannot be stored as-is in user labels, because Prometheus labels may contain upper-case letters.", |
| 2887 | + "description": "User-supplied key/value data to be used for organizing and identifying the AlertPolicy objects.The field can contain up to 64 entries. Each key and value is limited to 63 Unicode characters or 128 bytes, whichever is smaller. Labels and values can contain only lowercase letters, numerals, underscores, and dashes. Keys must begin with a letter.Note that Prometheus {alert name} is a valid Prometheus label names (https://prometheus.io/docs/concepts/data_model/#metric-names-and-labels), whereas Prometheus {rule group} is an unrestricted UTF-8 string. This means that they cannot be stored as-is in user labels, because they may contain characters that are not allowed in user-label values.", |
2888 | 2888 | "type": "object"
|
2889 | 2889 | },
|
2890 | 2890 | "validity": {
|
|
5121 | 5121 | "id": "PrometheusQueryLanguageCondition",
|
5122 | 5122 | "properties": {
|
5123 | 5123 | "alertRule": {
|
5124 |
| - "description": "Optional. 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 (https://prometheus.io/docs/concepts/data_model/#metric-names-and-labels).", |
| 5124 | + "description": "Optional. 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 (https://prometheus.io/docs/concepts/data_model/#metric-names-and-labels). This field may not exceed 2048 Unicode characters in length.", |
5125 | 5125 | "type": "string"
|
5126 | 5126 | },
|
5127 | 5127 | "duration": {
|
5128 |
| - "description": "Optional. Alerts are considered firing once their PromQL expression was 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.", |
| 5128 | + "description": "Optional. Alerts are considered firing once their PromQL expression was evaluated to be \"true\" for this long. Alerts whose PromQL expression was not evaluated to be \"true\" for long enough are considered pending. Must be a non-negative duration or missing. This field is optional. Its default value is zero.", |
5129 | 5129 | "format": "google-duration",
|
5130 | 5130 | "type": "string"
|
5131 | 5131 | },
|
5132 | 5132 | "evaluationInterval": {
|
5133 |
| - "description": "Required. 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.", |
| 5133 | + "description": "Optional. How often this rule should be evaluated. Must be a positive multiple of 30 seconds or missing. This field is optional. Its 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.", |
5134 | 5134 | "format": "google-duration",
|
5135 | 5135 | "type": "string"
|
5136 | 5136 | },
|
|
5146 | 5146 | "type": "string"
|
5147 | 5147 | },
|
5148 | 5148 | "ruleGroup": {
|
5149 |
| - "description": "Optional. 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 (https://prometheus.io/docs/concepts/data_model/#metric-names-and-labels).", |
| 5149 | + "description": "Optional. 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 contain a valid UTF-8 string. This field may not exceed 2048 Unicode characters in length.", |
5150 | 5150 | "type": "string"
|
5151 | 5151 | }
|
5152 | 5152 | },
|
|
0 commit comments