- 3.57.0 (latest)
- 3.56.0
- 3.55.0
- 3.54.0
- 3.53.0
- 3.52.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.6
- 3.3.6
- 3.2.10
public static interface AlertPolicy.Condition.SqlConditionOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getBooleanTest()
public abstract AlertPolicy.Condition.SqlCondition.BooleanTest getBooleanTest()
Test the boolean value in the indicated column.
.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.BooleanTest boolean_test = 6;
Returns | |
---|---|
Type | Description |
AlertPolicy.Condition.SqlCondition.BooleanTest |
The booleanTest. |
getBooleanTestOrBuilder()
public abstract AlertPolicy.Condition.SqlCondition.BooleanTestOrBuilder getBooleanTestOrBuilder()
Test the boolean value in the indicated column.
.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.BooleanTest boolean_test = 6;
Returns | |
---|---|
Type | Description |
AlertPolicy.Condition.SqlCondition.BooleanTestOrBuilder |
getDaily()
public abstract AlertPolicy.Condition.SqlCondition.Daily getDaily()
Schedule the query to execute every so many days.
.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.Daily daily = 4;
Returns | |
---|---|
Type | Description |
AlertPolicy.Condition.SqlCondition.Daily |
The daily. |
getDailyOrBuilder()
public abstract AlertPolicy.Condition.SqlCondition.DailyOrBuilder getDailyOrBuilder()
Schedule the query to execute every so many days.
.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.Daily daily = 4;
Returns | |
---|---|
Type | Description |
AlertPolicy.Condition.SqlCondition.DailyOrBuilder |
getEvaluateCase()
public abstract AlertPolicy.Condition.SqlCondition.EvaluateCase getEvaluateCase()
Returns | |
---|---|
Type | Description |
AlertPolicy.Condition.SqlCondition.EvaluateCase |
getHourly()
public abstract AlertPolicy.Condition.SqlCondition.Hourly getHourly()
Schedule the query to execute every so many hours.
.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.Hourly hourly = 3;
Returns | |
---|---|
Type | Description |
AlertPolicy.Condition.SqlCondition.Hourly |
The hourly. |
getHourlyOrBuilder()
public abstract AlertPolicy.Condition.SqlCondition.HourlyOrBuilder getHourlyOrBuilder()
Schedule the query to execute every so many hours.
.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.Hourly hourly = 3;
Returns | |
---|---|
Type | Description |
AlertPolicy.Condition.SqlCondition.HourlyOrBuilder |
getMinutes()
public abstract AlertPolicy.Condition.SqlCondition.Minutes getMinutes()
Schedule the query to execute every so many minutes.
.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.Minutes minutes = 2;
Returns | |
---|---|
Type | Description |
AlertPolicy.Condition.SqlCondition.Minutes |
The minutes. |
getMinutesOrBuilder()
public abstract AlertPolicy.Condition.SqlCondition.MinutesOrBuilder getMinutesOrBuilder()
Schedule the query to execute every so many minutes.
.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.Minutes minutes = 2;
Returns | |
---|---|
Type | Description |
AlertPolicy.Condition.SqlCondition.MinutesOrBuilder |
getQuery()
public abstract String 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];
Returns | |
---|---|
Type | Description |
String |
The query. |
getQueryBytes()
public abstract 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];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for query. |
getRowCountTest()
public abstract AlertPolicy.Condition.SqlCondition.RowCountTest getRowCountTest()
Test the row count against a threshold.
.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.RowCountTest row_count_test = 5;
Returns | |
---|---|
Type | Description |
AlertPolicy.Condition.SqlCondition.RowCountTest |
The rowCountTest. |
getRowCountTestOrBuilder()
public abstract AlertPolicy.Condition.SqlCondition.RowCountTestOrBuilder getRowCountTestOrBuilder()
Test the row count against a threshold.
.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.RowCountTest row_count_test = 5;
Returns | |
---|---|
Type | Description |
AlertPolicy.Condition.SqlCondition.RowCountTestOrBuilder |
getScheduleCase()
public abstract AlertPolicy.Condition.SqlCondition.ScheduleCase getScheduleCase()
Returns | |
---|---|
Type | Description |
AlertPolicy.Condition.SqlCondition.ScheduleCase |
hasBooleanTest()
public abstract boolean hasBooleanTest()
Test the boolean value in the indicated column.
.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.BooleanTest boolean_test = 6;
Returns | |
---|---|
Type | Description |
boolean |
Whether the booleanTest field is set. |
hasDaily()
public abstract boolean hasDaily()
Schedule the query to execute every so many days.
.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.Daily daily = 4;
Returns | |
---|---|
Type | Description |
boolean |
Whether the daily field is set. |
hasHourly()
public abstract boolean hasHourly()
Schedule the query to execute every so many hours.
.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.Hourly hourly = 3;
Returns | |
---|---|
Type | Description |
boolean |
Whether the hourly field is set. |
hasMinutes()
public abstract boolean hasMinutes()
Schedule the query to execute every so many minutes.
.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.Minutes minutes = 2;
Returns | |
---|---|
Type | Description |
boolean |
Whether the minutes field is set. |
hasRowCountTest()
public abstract boolean hasRowCountTest()
Test the row count against a threshold.
.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.RowCountTest row_count_test = 5;
Returns | |
---|---|
Type | Description |
boolean |
Whether the rowCountTest field is set. |