public interface CreateAlertPolicyRequestOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
AlertPolicy |
getAlertPolicy()
The requested alerting policy.
|
AlertPolicyOrBuilder |
getAlertPolicyOrBuilder()
The requested alerting policy.
|
java.lang.String |
getName()
The project in which to create the alerting policy.
|
ByteString |
getNameBytes()
The project in which to create the alerting policy.
|
boolean |
hasAlertPolicy()
The requested alerting policy.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
java.lang.String getName()
The project in which to create the alerting policy. The format is `projects/[PROJECT_ID]`. Note that this field names the parent container in which the alerting policy will be written, not the name of the created policy. The alerting policy that is returned will have a name that contains a normalized representation of this name as a prefix but adds a suffix of the form `/alertPolicies/[POLICY_ID]`, identifying the policy in the container.
string name = 3;
ByteString getNameBytes()
The project in which to create the alerting policy. The format is `projects/[PROJECT_ID]`. Note that this field names the parent container in which the alerting policy will be written, not the name of the created policy. The alerting policy that is returned will have a name that contains a normalized representation of this name as a prefix but adds a suffix of the form `/alertPolicies/[POLICY_ID]`, identifying the policy in the container.
string name = 3;
boolean hasAlertPolicy()
The requested alerting policy. You should omit the `name` field in this policy. The name will be returned in the new policy, including a new [ALERT_POLICY_ID] value.
.google.monitoring.v3.AlertPolicy alert_policy = 2;
AlertPolicy getAlertPolicy()
The requested alerting policy. You should omit the `name` field in this policy. The name will be returned in the new policy, including a new [ALERT_POLICY_ID] value.
.google.monitoring.v3.AlertPolicy alert_policy = 2;
AlertPolicyOrBuilder getAlertPolicyOrBuilder()
The requested alerting policy. You should omit the `name` field in this policy. The name will be returned in the new policy, including a new [ALERT_POLICY_ID] value.
.google.monitoring.v3.AlertPolicy alert_policy = 2;