Interface AlertPolicy.Condition.SqlCondition.DailyOrBuilder (3.57.0)

public static interface AlertPolicy.Condition.SqlCondition.DailyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getExecutionTime()

public abstract TimeOfDay getExecutionTime()

Optional. The time of day (in UTC) at which the query should run. If left unspecified, the server picks an arbitrary time of day and runs the query at the same time each day.

.google.type.TimeOfDay execution_time = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
com.google.type.TimeOfDay

The executionTime.

getExecutionTimeOrBuilder()

public abstract TimeOfDayOrBuilder getExecutionTimeOrBuilder()

Optional. The time of day (in UTC) at which the query should run. If left unspecified, the server picks an arbitrary time of day and runs the query at the same time each day.

.google.type.TimeOfDay execution_time = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
com.google.type.TimeOfDayOrBuilder

getPeriodicity()

public abstract int getPeriodicity()

Required. The number of days between runs. Must be greater than or equal to 1 day and less than or equal to 31 days.

int32 periodicity = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The periodicity.

hasExecutionTime()

public abstract boolean hasExecutionTime()

Optional. The time of day (in UTC) at which the query should run. If left unspecified, the server picks an arbitrary time of day and runs the query at the same time each day.

.google.type.TimeOfDay execution_time = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the executionTime field is set.