Skip to main content

Alert definitions service overview

View and manage your alerts using alert definitions - data structures that contain the configuration required to create an alert. Learn more about alerts in our documentation.

Authentication and permissions

To use the Alert definitions service API you need to create a personal or team API key. It’s recommended to use permission presets, as they are automatically updated with all relevant permissions. Alternatively, you can manually add the following individual permissions.
PresetsPermissionDescription
Alertsalerts:ReadConfigGrants access to read alerts
alerts:UpdateConfigRequired to create, update, or delete alerts

Common error response codes

Status CodeDescription
400 Bad RequestResponse code 400
401 UnauthorizedResponse code 401
500 Internal Server ErrorResponse code 500

Protocol documentation

AlertDef

Represents An Existing or Created Alert Definition
FieldTypeLabelDescription
alert_def_propertiesAlertDefProperties
idgoogle.protobuf.StringValueThis is the Alert Definition’s Persistent ID (does not change on replace) , AKA UniqueIDentifier
alert_version_idgoogle.protobuf.StringValuethe old alertID
created_timegoogle.protobuf.Timestamp
updated_timegoogle.protobuf.Timestamp

AlertDefProperties

Represents The non generated alert definition properties (the ones that are set by the user)
FieldTypeLabelDescription
namegoogle.protobuf.StringValue
descriptiongoogle.protobuf.StringValue
enabledgoogle.protobuf.BoolValue
priorityAlertDefPriority
active_onActivitySchedule
typeAlertDefType
logs_immediateLogsImmediateType
tracing_immediateTracingImmediateType
logs_thresholdLogsThresholdType
logs_ratio_thresholdLogsRatioThresholdType
logs_time_relative_thresholdLogsTimeRelativeThresholdType
metric_thresholdMetricThresholdType
tracing_thresholdTracingThresholdType
flowFlowType
logs_anomalyLogsAnomalyType
metric_anomalyMetricAnomalyType
logs_new_valueLogsNewValueType
logs_unique_countLogsUniqueCountType
group_by_keysgoogle.protobuf.StringValuerepeated
incidents_settingsAlertDefIncidentSettings
notification_groupAlertDefNotificationGroup
entity_labelsAlertDefProperties.EntityLabelsEntryrepeated
phantom_modegoogle.protobuf.BoolValue
deletedgoogle.protobuf.BoolValue

AlertDefProperties.EntityLabelsEntry

FieldTypeLabelDescription
keystring
valuestring

AlertDefIncidentSettings

FieldTypeLabelDescription
minutesgoogle.protobuf.UInt32Value
notify_onNotifyOn

AlertDefNotificationGroup

FieldTypeLabelDescription
group_by_keysgoogle.protobuf.StringValuerepeated
webhooksAlertDefWebhooksSettingsrepeated

AlertDefWebhooksSettings

FieldTypeLabelDescription
minutesgoogle.protobuf.UInt32Value
notify_onNotifyOnoptional
integrationIntegrationType

IntegrationType

FieldTypeLabelDescription
integration_idgoogle.protobuf.UInt32Value
recipientsRecipients

Recipients

FieldTypeLabelDescription
emailsgoogle.protobuf.StringValuerepeated

NotifyOn

NameNumberDescription
NOTIFY_ON_TRIGGERED_ONLY_UNSPECIFIED0
NOTIFY_ON_TRIGGERED_AND_RESOLVED1

AlertDefPriority

NameNumberDescription
ALERT_DEF_PRIORITY_P5_OR_UNSPECIFIED0
ALERT_DEF_PRIORITY_P41
ALERT_DEF_PRIORITY_P32
ALERT_DEF_PRIORITY_P23
ALERT_DEF_PRIORITY_P14

ActivitySchedule

FieldTypeLabelDescription
day_of_weekDayOfWeekrepeated
start_timeTimeOfDay
end_timeTimeOfDay

TimeOfDay

FieldTypeLabelDescription
hoursint32Hours of day in 24 hour format. Should be from 0 to 23.
minutesint32Minutes of hour of day. Must be from 0 to 59.

DayOfWeek

NameNumberDescription
DAY_OF_WEEK_MONDAY_OR_UNSPECIFIED0
DAY_OF_WEEK_TUESDAY1
DAY_OF_WEEK_WEDNESDAY2
DAY_OF_WEEK_THURSDAY3
DAY_OF_WEEK_FRIDAY4
DAY_OF_WEEK_SATURDAY5
DAY_OF_WEEK_SUNDAY6

AlertDefType

NameNumberDescription
ALERT_DEF_TYPE_LOGS_IMMEDIATE_OR_UNSPECIFIED0
ALERT_DEF_TYPE_LOGS_THRESHOLD1
ALERT_DEF_TYPE_LOGS_ANOMALY3
ALERT_DEF_TYPE_LOGS_RATIO_THRESHOLD4
ALERT_DEF_TYPE_LOGS_NEW_VALUE6
ALERT_DEF_TYPE_LOGS_UNIQUE_COUNT7
ALERT_DEF_TYPE_LOGS_TIME_RELATIVE_THRESHOLD8
ALERT_DEF_TYPE_METRIC_THRESHOLD10
ALERT_DEF_TYPE_METRIC_ANOMALY14
ALERT_DEF_TYPE_TRACING_IMMEDIATE15
ALERT_DEF_TYPE_TRACING_THRESHOLD16
ALERT_DEF_TYPE_FLOW17

ActivityAnalysis

FieldTypeLabelDescription
rulesstringrepeated
statusActivityAnalysisStatus

ActivityAnalysisStatus

NameNumberDescription
ACTIVITY_ANALYSIS_STATUS_ACTIVATE_OR_UNSPECIFIED0
ACTIVITY_ANALYSIS_STATUS_MUTE1

FlowStages

FieldTypeLabelDescription
flow_stages_groupsFlowStagesGroups
timeframe_msgoogle.protobuf.Int64Value
timeframe_typeTimeframeType

FlowStagesGroup

FieldTypeLabelDescription
alert_defsFlowStagesGroupsAlertDefsrepeated
next_opNextOp
alerts_opAlertsOp

FlowStagesGroups

FieldTypeLabelDescription
groupsFlowStagesGrouprepeated

FlowStagesGroupsAlertDefs

FieldTypeLabelDescription
idgoogle.protobuf.StringValue
notgoogle.protobuf.BoolValue

FlowType

FieldTypeLabelDescription
stagesFlowStagesrepeated
enforce_suppressiongoogle.protobuf.BoolValue

AlertsOp

NameNumberDescription
ALERTS_OP_AND_OR_UNSPECIFIED0
ALERTS_OP_OR1

NextOp

NameNumberDescription
NEXT_OP_AND_OR_UNSPECIFIED0
NEXT_OP_OR1

TimeframeType

NameNumberDescription
TIMEFRAME_TYPE_UNSPECIFIED0
TIMEFRAME_TYPE_UP_TO1

LogsAnomalyConditionType

NameNumberDescription
LOGS_ANOMALY_CONDITION_TYPE_MORE_THAN_USUAL_OR_UNSPECIFIED0

LabelFilterType

FieldTypeLabelDescription
valuegoogle.protobuf.StringValue
operationLogFilterOperationType

LabelFilters

FieldTypeLabelDescription
application_nameLabelFilterTyperepeated
subsystem_nameLabelFilterTyperepeated
severitiesLogSeverityrepeated

LogsFilter

FieldTypeLabelDescription
simple_filterLogsSimpleFilter

LogsSimpleFilter

FieldTypeLabelDescription
lucene_querygoogle.protobuf.StringValue
label_filtersLabelFilters

LogFilterOperationType

NameNumberDescription
LOG_FILTER_OPERATION_TYPE_IS_OR_UNSPECIFIED0
LOG_FILTER_OPERATION_TYPE_INCLUDES1
LOG_FILTER_OPERATION_TYPE_ENDS_WITH2
LOG_FILTER_OPERATION_TYPE_STARTS_WITH3

LogSeverity

NameNumberDescription
LOG_SEVERITY_VERBOSE_UNSPECIFIED0
LOG_SEVERITY_DEBUG1
LOG_SEVERITY_INFO2
LOG_SEVERITY_WARNING3
LOG_SEVERITY_ERROR4
LOG_SEVERITY_CRITICAL5

LogsTimeWindow

FieldTypeLabelDescription
logs_time_window_specific_valueLogsTimeWindowValue

LogsTimeWindowValue

NameNumberDescription
LOGS_TIME_WINDOW_VALUE_MINUTES_5_OR_UNSPECIFIED0
LOGS_TIME_WINDOW_VALUE_MINUTES_101
LOGS_TIME_WINDOW_VALUE_MINUTES_202
LOGS_TIME_WINDOW_VALUE_MINUTES_153
LOGS_TIME_WINDOW_VALUE_MINUTES_304
LOGS_TIME_WINDOW_VALUE_HOUR_15
LOGS_TIME_WINDOW_VALUE_HOURS_26
LOGS_TIME_WINDOW_VALUE_HOURS_47
LOGS_TIME_WINDOW_VALUE_HOURS_68
LOGS_TIME_WINDOW_VALUE_HOURS_129
LOGS_TIME_WINDOW_VALUE_HOURS_2410
LOGS_TIME_WINDOW_VALUE_HOURS_3611

LogsAnomalyCondition

FieldTypeLabelDescription
minimum_thresholdgoogle.protobuf.DoubleValue
time_windowLogsTimeWindow
condition_typeLogsAnomalyConditionType

LogsAnomalyRule

FieldTypeLabelDescription
conditionLogsAnomalyCondition

LogsAnomalyType

FieldTypeLabelDescription
logs_filterLogsFilter
rulesLogsAnomalyRulerepeated
notification_payload_filtergoogle.protobuf.StringValuerepeated

LogsImmediateType

FieldTypeLabelDescription
logs_filterLogsFilter
notification_payload_filtergoogle.protobuf.StringValuerepeated

LogsNewValueCondition

FieldTypeLabelDescription
keypath_to_trackgoogle.protobuf.StringValue
time_windowLogsNewValueTimeWindow

LogsNewValueRule

FieldTypeLabelDescription
conditionLogsNewValueCondition

LogsNewValueType

FieldTypeLabelDescription
logs_filterLogsFilter
rulesLogsNewValueRulerepeated
notification_payload_filtergoogle.protobuf.StringValuerepeated

LogsRatioCondition

FieldTypeLabelDescription
thresholdgoogle.protobuf.DoubleValue
time_windowLogsRatioTimeWindow
condition_typeLogsRatioConditionType

LogsRatioRules

FieldTypeLabelDescription
conditionLogsRatioCondition
overrideAlertDefOverride

LogsRatioThresholdType

FieldTypeLabelDescription
numeratorLogsFilter
numerator_aliasgoogle.protobuf.StringValue
denominatorLogsFilter
denominator_aliasgoogle.protobuf.StringValue
rulesLogsRatioRulesrepeated
ignore_infinitygoogle.protobuf.BoolValue
notification_payload_filtergoogle.protobuf.StringValuerepeated
group_by_forLogsRatioGroupByFor
undetected_values_managementUndetectedValuesManagement

LogsThresholdCondition

FieldTypeLabelDescription
thresholdgoogle.protobuf.DoubleValue
time_windowLogsTimeWindow
condition_typeLogsThresholdConditionType

LogsThresholdRule

FieldTypeLabelDescription
conditionLogsThresholdCondition
overrideAlertDefOverride

LogsThresholdType

FieldTypeLabelDescription
logs_filterLogsFilter
undetected_values_managementUndetectedValuesManagement
rulesLogsThresholdRulerepeated
notification_payload_filtergoogle.protobuf.StringValuerepeated

LogsTimeRelativeCondition

FieldTypeLabelDescription
thresholdgoogle.protobuf.DoubleValue
compared_toLogsTimeRelativeComparedTo
condition_typeLogsTimeRelativeConditionType

LogsTimeRelativeRule

FieldTypeLabelDescription
conditionLogsTimeRelativeCondition
overrideAlertDefOverride

LogsTimeRelativeThresholdType

FieldTypeLabelDescription
logs_filterLogsFilter
rulesLogsTimeRelativeRulerepeated
ignore_infinitygoogle.protobuf.BoolValue
notification_payload_filtergoogle.protobuf.StringValuerepeated
undetected_values_managementUndetectedValuesManagement

LogsUniqueCountCondition

FieldTypeLabelDescription
max_unique_countgoogle.protobuf.Int64Value
time_windowLogsUniqueValueTimeWindow

LogsUniqueCountRule

FieldTypeLabelDescription
conditionLogsUniqueCountCondition

LogsUniqueCountType

FieldTypeLabelDescription
logs_filterLogsFilter
rulesLogsUniqueCountRulerepeated
notification_payload_filtergoogle.protobuf.StringValuerepeated
max_unique_count_per_group_by_keygoogle.protobuf.Int64Value
unique_count_keypathgoogle.protobuf.StringValue

LogsNewValueTimeWindow

FieldTypeLabelDescription
logs_new_value_time_window_specific_valueLogsNewValueTimeWindowValue

LogsNewValueTimeWindowValue

NameNumberDescription
LOGS_NEW_VALUE_TIME_WINDOW_VALUE_HOURS_12_OR_UNSPECIFIED0
LOGS_NEW_VALUE_TIME_WINDOW_VALUE_HOURS_241
LOGS_NEW_VALUE_TIME_WINDOW_VALUE_HOURS_482
LOGS_NEW_VALUE_TIME_WINDOW_VALUE_HOURS_723
LOGS_NEW_VALUE_TIME_WINDOW_VALUE_WEEK_14
LOGS_NEW_VALUE_TIME_WINDOW_VALUE_MONTH_15
LOGS_NEW_VALUE_TIME_WINDOW_VALUE_MONTHS_26
LOGS_NEW_VALUE_TIME_WINDOW_VALUE_MONTHS_37

LogsRatioConditionType

NameNumberDescription
LOGS_RATIO_CONDITION_TYPE_MORE_THAN_OR_UNSPECIFIED0
LOGS_RATIO_CONDITION_TYPE_LESS_THAN1

LogsRatioGroupByFor

NameNumberDescription
LOGS_RATIO_GROUP_BY_FOR_BOTH_OR_UNSPECIFIED0
LOGS_RATIO_GROUP_BY_FOR_NUMERATOR_ONLY1
LOGS_RATIO_GROUP_BY_FOR_DENUMERATOR_ONLY2

LogsRatioTimeWindow

FieldTypeLabelDescription
logs_ratio_time_window_specific_valueLogsRatioTimeWindowValue

LogsRatioTimeWindowValue

NameNumberDescription
LOGS_RATIO_TIME_WINDOW_VALUE_MINUTES_5_OR_UNSPECIFIED0
LOGS_RATIO_TIME_WINDOW_VALUE_MINUTES_101
LOGS_RATIO_TIME_WINDOW_VALUE_MINUTES_152
LOGS_RATIO_TIME_WINDOW_VALUE_MINUTES_303
LOGS_RATIO_TIME_WINDOW_VALUE_HOUR_14
LOGS_RATIO_TIME_WINDOW_VALUE_HOURS_25
LOGS_RATIO_TIME_WINDOW_VALUE_HOURS_46
LOGS_RATIO_TIME_WINDOW_VALUE_HOURS_67
LOGS_RATIO_TIME_WINDOW_VALUE_HOURS_128
LOGS_RATIO_TIME_WINDOW_VALUE_HOURS_249
LOGS_RATIO_TIME_WINDOW_VALUE_HOURS_3610

LogsThresholdConditionType

NameNumberDescription
LOGS_THRESHOLD_CONDITION_TYPE_MORE_THAN_OR_UNSPECIFIED0
LOGS_THRESHOLD_CONDITION_TYPE_LESS_THAN1

LogsTimeRelativeComparedTo

NameNumberDescription
LOGS_TIME_RELATIVE_COMPARED_TO_PREVIOUS_HOUR_OR_UNSPECIFIED0
LOGS_TIME_RELATIVE_COMPARED_TO_SAME_HOUR_YESTERDAY1
LOGS_TIME_RELATIVE_COMPARED_TO_SAME_HOUR_LAST_WEEK2
LOGS_TIME_RELATIVE_COMPARED_TO_YESTERDAY3
LOGS_TIME_RELATIVE_COMPARED_TO_SAME_DAY_LAST_WEEK4
LOGS_TIME_RELATIVE_COMPARED_TO_SAME_DAY_LAST_MONTH5

LogsTimeRelativeConditionType

NameNumberDescription
LOGS_TIME_RELATIVE_CONDITION_TYPE_MORE_THAN_OR_UNSPECIFIED0
LOGS_TIME_RELATIVE_CONDITION_TYPE_LESS_THAN1

LogsUniqueValueTimeWindow

FieldTypeLabelDescription
logs_unique_value_time_window_specific_valueLogsUniqueValueTimeWindowValue

LogsUniqueValueTimeWindowValue

NameNumberDescription
LOGS_UNIQUE_VALUE_TIME_WINDOW_VALUE_MINUTE_1_OR_UNSPECIFIED0
LOGS_UNIQUE_VALUE_TIME_WINDOW_VALUE_MINUTES_151
LOGS_UNIQUE_VALUE_TIME_WINDOW_VALUE_MINUTES_202
LOGS_UNIQUE_VALUE_TIME_WINDOW_VALUE_MINUTES_303
LOGS_UNIQUE_VALUE_TIME_WINDOW_VALUE_HOURS_14
LOGS_UNIQUE_VALUE_TIME_WINDOW_VALUE_HOURS_25
LOGS_UNIQUE_VALUE_TIME_WINDOW_VALUE_HOURS_46
LOGS_UNIQUE_VALUE_TIME_WINDOW_VALUE_HOURS_67
LOGS_UNIQUE_VALUE_TIME_WINDOW_VALUE_HOURS_128
LOGS_UNIQUE_VALUE_TIME_WINDOW_VALUE_HOURS_249

MetricAnomalyConditionType

NameNumberDescription
METRIC_ANOMALY_CONDITION_TYPE_MORE_THAN_USUAL_OR_UNSPECIFIED0
METRIC_ANOMALY_CONDITION_TYPE_LESS_THAN_USUAL1

MetricTimeWindow

FieldTypeLabelDescription
metric_time_window_specific_valueMetricTimeWindowValue

MetricTimeWindowValue

NameNumberDescription
METRIC_TIME_WINDOW_VALUE_MINUTES_1_OR_UNSPECIFIED0
METRIC_TIME_WINDOW_VALUE_MINUTES_51
METRIC_TIME_WINDOW_VALUE_MINUTES_102
METRIC_TIME_WINDOW_VALUE_MINUTES_153
METRIC_TIME_WINDOW_VALUE_MINUTES_304
METRIC_TIME_WINDOW_VALUE_HOUR_15
METRIC_TIME_WINDOW_VALUE_HOURS_26
METRIC_TIME_WINDOW_VALUE_HOURS_47
METRIC_TIME_WINDOW_VALUE_HOURS_68
METRIC_TIME_WINDOW_VALUE_HOURS_129
METRIC_TIME_WINDOW_VALUE_HOURS_2410

MetricFilter

FieldTypeLabelDescription
promqlgoogle.protobuf.StringValue

MetricAnomalyCondition

FieldTypeLabelDescription
thresholdgoogle.protobuf.DoubleValue
for_over_pctgoogle.protobuf.UInt32Value
of_the_lastMetricTimeWindow
min_non_null_values_pctgoogle.protobuf.UInt32Value
condition_typeMetricAnomalyConditionType

MetricAnomalyRule

FieldTypeLabelDescription
conditionMetricAnomalyCondition

MetricAnomalyType

FieldTypeLabelDescription
metric_filterMetricFilter
rulesMetricAnomalyRulerepeated

MetricThresholdCondition

FieldTypeLabelDescription
thresholdgoogle.protobuf.DoubleValue
for_over_pctgoogle.protobuf.UInt32Value
of_the_lastMetricTimeWindow
condition_typeMetricThresholdConditionType

MetricThresholdRule

FieldTypeLabelDescription
conditionMetricThresholdCondition
overrideAlertDefOverride

MetricThresholdType

FieldTypeLabelDescription
metric_filterMetricFilter
rulesMetricThresholdRulerepeated
missing_valuesMetricMissingValues
undetected_values_managementUndetectedValuesManagement

MetricThresholdConditionType

NameNumberDescription
METRIC_THRESHOLD_CONDITION_TYPE_MORE_THAN_OR_UNSPECIFIED0
METRIC_THRESHOLD_CONDITION_TYPE_LESS_THAN1
METRIC_THRESHOLD_CONDITION_TYPE_MORE_THAN_OR_EQUALS2
METRIC_THRESHOLD_CONDITION_TYPE_LESS_THAN_OR_EQUALS3

MetricMissingValues

FieldTypeLabelDescription
replace_with_zerogoogle.protobuf.BoolValue
min_non_null_values_pctgoogle.protobuf.UInt32Value

AlertDefOverride

FieldTypeLabelDescription
priorityAlertDefPriority

TracingFilter

FieldTypeLabelDescription
simple_filterTracingSimpleFilter

TracingFilterType

FieldTypeLabelDescription
valuesgoogle.protobuf.StringValuerepeated
operationTracingFilterOperationType

TracingLabelFilters

FieldTypeLabelDescription
application_nameTracingFilterTyperepeated
subsystem_nameTracingFilterTyperepeated
service_nameTracingFilterTyperepeated
operation_nameTracingFilterTyperepeated
span_fieldsTracingSpanFieldsFilterTyperepeated

TracingSimpleFilter

FieldTypeLabelDescription
tracing_label_filtersTracingLabelFilters
latency_threshold_msgoogle.protobuf.UInt32Value

TracingSpanFieldsFilterType

FieldTypeLabelDescription
keygoogle.protobuf.StringValue
filter_typeTracingFilterType

TracingFilterOperationType

NameNumberDescription
TRACING_FILTER_OPERATION_TYPE_IS_OR_UNSPECIFIED0
TRACING_FILTER_OPERATION_TYPE_INCLUDES1
TRACING_FILTER_OPERATION_TYPE_ENDS_WITH2
TRACING_FILTER_OPERATION_TYPE_STARTS_WITH3
TRACING_FILTER_OPERATION_TYPE_IS_NOT4

TracingThresholdConditionType

NameNumberDescription
TRACING_THRESHOLD_CONDITION_TYPE_MORE_THAN_OR_UNSPECIFIED0

TracingTimeWindow

FieldTypeLabelDescription
tracing_time_window_valueTracingTimeWindowValue

TracingTimeWindowValue

NameNumberDescription
TRACING_TIME_WINDOW_VALUE_MINUTES_5_OR_UNSPECIFIED0
TRACING_TIME_WINDOW_VALUE_MINUTES_101
TRACING_TIME_WINDOW_VALUE_MINUTES_152
TRACING_TIME_WINDOW_VALUE_MINUTES_303
TRACING_TIME_WINDOW_VALUE_HOUR_14
TRACING_TIME_WINDOW_VALUE_HOURS_25
TRACING_TIME_WINDOW_VALUE_HOURS_46
TRACING_TIME_WINDOW_VALUE_HOURS_67
TRACING_TIME_WINDOW_VALUE_HOURS_128
TRACING_TIME_WINDOW_VALUE_HOURS_249
TRACING_TIME_WINDOW_VALUE_HOURS_3610

TracingImmediateType

FieldTypeLabelDescription
tracing_filterTracingFilter
notification_payload_filtergoogle.protobuf.StringValuerepeated

TracingThresholdCondition

FieldTypeLabelDescription
span_amountgoogle.protobuf.DoubleValue
time_windowTracingTimeWindow
condition_typeTracingThresholdConditionType

TracingThresholdRule

FieldTypeLabelDescription
conditionTracingThresholdCondition

TracingThresholdType

FieldTypeLabelDescription
tracing_filterTracingFilter
rulesTracingThresholdRulerepeated
notification_payload_filtergoogle.protobuf.StringValuerepeated

UndetectedValuesManagement

FieldTypeLabelDescription
trigger_undetected_valuesgoogle.protobuf.BoolValue
auto_retire_timeframeAutoRetireTimeframeoptional

AutoRetireTimeframe

NameNumberDescription
AUTO_RETIRE_TIMEFRAME_NEVER_OR_UNSPECIFIED0
AUTO_RETIRE_TIMEFRAME_MINUTES_51
AUTO_RETIRE_TIMEFRAME_MINUTES_102
AUTO_RETIRE_TIMEFRAME_HOUR_13
AUTO_RETIRE_TIMEFRAME_HOURS_24
AUTO_RETIRE_TIMEFRAME_HOURS_65
AUTO_RETIRE_TIMEFRAME_HOURS_126
AUTO_RETIRE_TIMEFRAME_HOURS_247

AuditLogDescription

FieldTypeLabelDescription
descriptionstringoptional

BatchGetAlertDefRequest

FieldTypeLabelDescription
idsgoogle.protobuf.StringValuerepeated

BatchGetAlertDefResponse

FieldTypeLabelDescription
alert_defsBatchGetAlertDefResponse.AlertDefsEntryrepeated
not_found_idsgoogle.protobuf.StringValuerepeated

BatchGetAlertDefResponse.AlertDefsEntry

FieldTypeLabelDescription
keystring
valueAlertDef

CreateAlertDefRequest

FieldTypeLabelDescription
alert_def_propertiesAlertDefProperties

CreateAlertDefResponse

FieldTypeLabelDescription
alert_defAlertDef

DeleteAlertDefRequest

FieldTypeLabelDescription
idgoogle.protobuf.StringValue

DeleteAlertDefResponse

DownloadAlertsRequest

DownloadAlertsResponse

FieldTypeLabelDescription
contentbytes

GetAlertDefRequest

FieldTypeLabelDescription
idgoogle.protobuf.StringValueThe Alert’s non changing ID

GetAlertDefResponse

FieldTypeLabelDescription
alert_defAlertDef

ListAlertDefsRequest

ListAlertDefsResponse

FieldTypeLabelDescription
alert_defsAlertDefrepeated

OrderBy

FieldTypeLabelDescription
field_nameOrderByFields
directionOrderByDirection

ReplaceAlertDefRequest

FieldTypeLabelDescription
alert_def_propertiesAlertDefProperties
idgoogle.protobuf.StringValueThe AlertDef’s ID to be replaced

ReplaceAlertDefResponse

FieldTypeLabelDescription
alert_defAlertDef

SetActiveRequest

message AlertExecutionRequest {
  oneof request {
    CreateAlertDefRequest create = 1;
    ReplaceAlertDefRequest replace = 2;
    DeleteAlertDefRequest delete = 3;
  }
}

message AlertExecutionResponse {
  oneof response {
    CreateAlertDefResponse create = 1;
    ReplaceAlertDefResponse replace = 2;
    DeleteAlertDefResponse delete = 3;
  }
}

message GetLimitsRequest {}

message GetLimitsResponse {
  google.protobuf.StringValue company_id = 1;
  google.protobuf.Int32Value limit = 2;
  google.protobuf.Int32Value used = 3;
}

message ValidateAlertRequest {
  Alert alert = 1;
}

message ValidateAlertResponse {
  google.protobuf.BoolValue valid = 1;
}
FieldTypeLabelDescription
idgoogle.protobuf.StringValue
activegoogle.protobuf.BoolValue

SetActiveResponse

OrderByDirection

NameNumberDescription
ORDER_BY_DIRECTION_ASC_OR_UNSPECIFIED0
ORDER_BY_DIRECTION_DESC1

OrderByFields

NameNumberDescription
ORDER_BY_FIELDS_UNSPECIFIED0
ORDER_BY_FIELDS_NAME1
ORDER_BY_FIELDS_ID2
ORDER_BY_FIELDS_SEVERITY3
ORDER_BY_FIELDS_CREATED_TIME4
ORDER_BY_FIELDS_UPDATED_TIME5
ORDER_BY_FIELDS_LAST_TRIGGERED6

File-level Extensions

ExtensionTypeBaseNumberDescription
audit_log_descriptionAuditLogDescription.google.protobuf.MethodOptions5000
I