@@ -38,10 +38,10 @@ public final class Criteria extends com.google.api.client.json.GenericJson {
3838 * the incident would have key-value pairs (labels) that match those specified by the filter in
3939 * the snooze.Snooze filters support resource, metric, and metadata labels. If multiple labels are
4040 * 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
4545 * metric.labels.instance_name=\"test_group\" AND metadata.user_labels.foo=\"bar\" AND
4646 * metadata.system_labels.region=\"us-central1\""
4747 * The value may be {@code null}.
@@ -67,10 +67,10 @@ public final class Criteria extends com.google.api.client.json.GenericJson {
6767 * the incident would have key-value pairs (labels) that match those specified by the filter in
6868 * the snooze.Snooze filters support resource, metric, and metadata labels. If multiple labels are
6969 * 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
7474 * metric.labels.instance_name=\"test_group\" AND metadata.user_labels.foo=\"bar\" AND
7575 * metadata.system_labels.region=\"us-central1\""
7676 * @return value or {@code null} for none
@@ -87,10 +87,10 @@ public java.lang.String getFilter() {
8787 * the incident would have key-value pairs (labels) that match those specified by the filter in
8888 * the snooze.Snooze filters support resource, metric, and metadata labels. If multiple labels are
8989 * 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
9494 * metric.labels.instance_name=\"test_group\" AND metadata.user_labels.foo=\"bar\" AND
9595 * metadata.system_labels.region=\"us-central1\""
9696 * @param filter filter or {@code null} for none
0 commit comments