| Package | Description |
|---|---|
| com.google.api.services.monitoring.v3.model |
| Modifier and Type | Method and Description |
|---|---|
PolicySnapshot |
PolicySnapshot.clone() |
PolicySnapshot |
Alert.getPolicy()
The snapshot of the alert policy that generated this alert.
|
PolicySnapshot |
PolicySnapshot.set(String fieldName,
Object value) |
PolicySnapshot |
PolicySnapshot.setDisplayName(String displayName)
The display name of the alert policy.
|
PolicySnapshot |
PolicySnapshot.setName(String name)
The name of the alert policy resource.
|
PolicySnapshot |
PolicySnapshot.setSeverity(String severity)
The severity of the alert policy.
|
PolicySnapshot |
PolicySnapshot.setUserLabels(Map<String,String> userLabels)
The user labels for the alert policy.
|
| Modifier and Type | Method and Description |
|---|---|
Alert |
Alert.setPolicy(PolicySnapshot policy)
The snapshot of the alert policy that generated this alert.
|
Copyright © 2011–2025 Google. All rights reserved.