public static interface AlertPolicy.Condition.SqlConditionOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
AlertPolicy.Condition.SqlCondition.BooleanTest |
getBooleanTest()
Test the boolean value in the indicated column.
|
AlertPolicy.Condition.SqlCondition.BooleanTestOrBuilder |
getBooleanTestOrBuilder()
Test the boolean value in the indicated column.
|
AlertPolicy.Condition.SqlCondition.Daily |
getDaily()
Schedule the query to execute every so many days.
|
AlertPolicy.Condition.SqlCondition.DailyOrBuilder |
getDailyOrBuilder()
Schedule the query to execute every so many days.
|
AlertPolicy.Condition.SqlCondition.EvaluateCase |
getEvaluateCase() |
AlertPolicy.Condition.SqlCondition.Hourly |
getHourly()
Schedule the query to execute every so many hours.
|
AlertPolicy.Condition.SqlCondition.HourlyOrBuilder |
getHourlyOrBuilder()
Schedule the query to execute every so many hours.
|
AlertPolicy.Condition.SqlCondition.Minutes |
getMinutes()
Schedule the query to execute every so many minutes.
|
AlertPolicy.Condition.SqlCondition.MinutesOrBuilder |
getMinutesOrBuilder()
Schedule the query to execute every so many minutes.
|
String |
getQuery()
Required.
|
com.google.protobuf.ByteString |
getQueryBytes()
Required.
|
AlertPolicy.Condition.SqlCondition.RowCountTest |
getRowCountTest()
Test the row count against a threshold.
|
AlertPolicy.Condition.SqlCondition.RowCountTestOrBuilder |
getRowCountTestOrBuilder()
Test the row count against a threshold.
|
AlertPolicy.Condition.SqlCondition.ScheduleCase |
getScheduleCase() |
boolean |
hasBooleanTest()
Test the boolean value in the indicated column.
|
boolean |
hasDaily()
Schedule the query to execute every so many days.
|
boolean |
hasHourly()
Schedule the query to execute every so many hours.
|
boolean |
hasMinutes()
Schedule the query to execute every so many minutes.
|
boolean |
hasRowCountTest()
Test the row count against a threshold.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getQuery()
Required. The Log Analytics SQL query to run, as a string. The query
must conform to the required shape. Specifically, the query must not
try to filter the input by time. A filter will automatically be
applied to filter the input so that the query receives all rows
received since the last time the query was run.
For example, the following query extracts all log entries containing an
HTTP request:
SELECT
timestamp, log_name, severity, http_request, resource, labels
FROM
my-project.global._Default._AllLogs
WHERE
http_request IS NOT NULL
string query = 1 [(.google.api.field_behavior) = REQUIRED];com.google.protobuf.ByteString getQueryBytes()
Required. The Log Analytics SQL query to run, as a string. The query
must conform to the required shape. Specifically, the query must not
try to filter the input by time. A filter will automatically be
applied to filter the input so that the query receives all rows
received since the last time the query was run.
For example, the following query extracts all log entries containing an
HTTP request:
SELECT
timestamp, log_name, severity, http_request, resource, labels
FROM
my-project.global._Default._AllLogs
WHERE
http_request IS NOT NULL
string query = 1 [(.google.api.field_behavior) = REQUIRED];boolean hasMinutes()
Schedule the query to execute every so many minutes.
.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.Minutes minutes = 2;AlertPolicy.Condition.SqlCondition.Minutes getMinutes()
Schedule the query to execute every so many minutes.
.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.Minutes minutes = 2;AlertPolicy.Condition.SqlCondition.MinutesOrBuilder getMinutesOrBuilder()
Schedule the query to execute every so many minutes.
.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.Minutes minutes = 2;boolean hasHourly()
Schedule the query to execute every so many hours.
.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.Hourly hourly = 3;AlertPolicy.Condition.SqlCondition.Hourly getHourly()
Schedule the query to execute every so many hours.
.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.Hourly hourly = 3;AlertPolicy.Condition.SqlCondition.HourlyOrBuilder getHourlyOrBuilder()
Schedule the query to execute every so many hours.
.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.Hourly hourly = 3;boolean hasDaily()
Schedule the query to execute every so many days.
.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.Daily daily = 4;AlertPolicy.Condition.SqlCondition.Daily getDaily()
Schedule the query to execute every so many days.
.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.Daily daily = 4;AlertPolicy.Condition.SqlCondition.DailyOrBuilder getDailyOrBuilder()
Schedule the query to execute every so many days.
.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.Daily daily = 4;boolean hasRowCountTest()
Test the row count against a threshold.
.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.RowCountTest row_count_test = 5;
AlertPolicy.Condition.SqlCondition.RowCountTest getRowCountTest()
Test the row count against a threshold.
.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.RowCountTest row_count_test = 5;
AlertPolicy.Condition.SqlCondition.RowCountTestOrBuilder getRowCountTestOrBuilder()
Test the row count against a threshold.
.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.RowCountTest row_count_test = 5;
boolean hasBooleanTest()
Test the boolean value in the indicated column.
.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.BooleanTest boolean_test = 6;
AlertPolicy.Condition.SqlCondition.BooleanTest getBooleanTest()
Test the boolean value in the indicated column.
.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.BooleanTest boolean_test = 6;
AlertPolicy.Condition.SqlCondition.BooleanTestOrBuilder getBooleanTestOrBuilder()
Test the boolean value in the indicated column.
.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.BooleanTest boolean_test = 6;
AlertPolicy.Condition.SqlCondition.ScheduleCase getScheduleCase()
AlertPolicy.Condition.SqlCondition.EvaluateCase getEvaluateCase()
Copyright © 2025 Google LLC. All rights reserved.