| Package | Description |
|---|---|
| com.google.api.services.monitoring.v3.model |
| Modifier and Type | Method and Description |
|---|---|
Alert |
Alert.clone() |
Alert |
Alert.set(String fieldName,
Object value) |
Alert |
Alert.setCloseTime(String closeTime)
The time when the alert was closed.
|
Alert |
Alert.setLog(LogMetadata log)
The log information associated with the alert.
|
Alert |
Alert.setMetadata(MonitoredResourceMetadata metadata)
The metadata of the monitored resource.
|
Alert |
Alert.setMetric(Metric metric)
The metric type and any metric labels preserved from the incident's generating condition.
|
Alert |
Alert.setName(String name)
Identifier.
|
Alert |
Alert.setOpenTime(String openTime)
The time when the alert was opened.
|
Alert |
Alert.setPolicy(PolicySnapshot policy)
The snapshot of the alert policy that generated this alert.
|
Alert |
Alert.setResource(MonitoredResource resource)
The monitored resource type and any monitored resource labels preserved from the incident's
generating condition.
|
Alert |
Alert.setState(String state)
Output only.
|
| Modifier and Type | Method and Description |
|---|---|
List<Alert> |
ListAlertsResponse.getAlerts()
The list of alerts.
|
| Modifier and Type | Method and Description |
|---|---|
ListAlertsResponse |
ListAlertsResponse.setAlerts(List<Alert> alerts)
The list of alerts.
|
Copyright © 2011–2025 Google. All rights reserved.