@@ -38,10 +38,10 @@ public final class Criteria extends com.google.api.client.json.GenericJson {
38
38
* the incident would have key-value pairs (labels) that match those specified by the filter in
39
39
* the snooze.Snooze filters support resource, metric, and metadata labels. If multiple labels are
40
40
* used, then they must be connected with an AND operator. For example, the following filter
41
- * applies the snooze to incidents that have a resource label with an instance ID of " 1234567890",
42
- * a metric label with an instance name of "group" , a metadata user label with a key of " foo" and
43
- * a value of " bar" , and a metadata system label with a key of " region" and a value of " us-
44
- * central1": "filter": "resource.labels.instance_id=\"1234567890\" AND
41
+ * applies the snooze to incidents that have a resource label with an instance ID of 1234567890, a
42
+ * metric label with an instance name of test_group , a metadata user label with a key of foo and a
43
+ * value of bar, and a metadata system label with a key of region and a value of us-central1:
44
+ * "filter": "resource.labels.instance_id=\"1234567890\" AND
45
45
* metric.labels.instance_name=\"test_group\" AND metadata.user_labels.foo=\"bar\" AND
46
46
* metadata.system_labels.region=\"us-central1\""
47
47
* The value may be {@code null}.
@@ -67,10 +67,10 @@ public final class Criteria extends com.google.api.client.json.GenericJson {
67
67
* the incident would have key-value pairs (labels) that match those specified by the filter in
68
68
* the snooze.Snooze filters support resource, metric, and metadata labels. If multiple labels are
69
69
* used, then they must be connected with an AND operator. For example, the following filter
70
- * applies the snooze to incidents that have a resource label with an instance ID of " 1234567890",
71
- * a metric label with an instance name of "group" , a metadata user label with a key of " foo" and
72
- * a value of " bar" , and a metadata system label with a key of " region" and a value of " us-
73
- * central1": "filter": "resource.labels.instance_id=\"1234567890\" AND
70
+ * applies the snooze to incidents that have a resource label with an instance ID of 1234567890, a
71
+ * metric label with an instance name of test_group , a metadata user label with a key of foo and a
72
+ * value of bar, and a metadata system label with a key of region and a value of us-central1:
73
+ * "filter": "resource.labels.instance_id=\"1234567890\" AND
74
74
* metric.labels.instance_name=\"test_group\" AND metadata.user_labels.foo=\"bar\" AND
75
75
* metadata.system_labels.region=\"us-central1\""
76
76
* @return value or {@code null} for none
@@ -87,10 +87,10 @@ public java.lang.String getFilter() {
87
87
* the incident would have key-value pairs (labels) that match those specified by the filter in
88
88
* the snooze.Snooze filters support resource, metric, and metadata labels. If multiple labels are
89
89
* used, then they must be connected with an AND operator. For example, the following filter
90
- * applies the snooze to incidents that have a resource label with an instance ID of " 1234567890",
91
- * a metric label with an instance name of "group" , a metadata user label with a key of " foo" and
92
- * a value of " bar" , and a metadata system label with a key of " region" and a value of " us-
93
- * central1": "filter": "resource.labels.instance_id=\"1234567890\" AND
90
+ * applies the snooze to incidents that have a resource label with an instance ID of 1234567890, a
91
+ * metric label with an instance name of test_group , a metadata user label with a key of foo and a
92
+ * value of bar, and a metadata system label with a key of region and a value of us-central1:
93
+ * "filter": "resource.labels.instance_id=\"1234567890\" AND
94
94
* metric.labels.instance_name=\"test_group\" AND metadata.user_labels.foo=\"bar\" AND
95
95
* metadata.system_labels.region=\"us-central1\""
96
96
* @param filter filter or {@code null} for none
0 commit comments