Interface AlertPolicy.Condition.SqlCondition.HourlyOrBuilder (3.57.0)

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

Implements

MessageOrBuilder

Methods

getMinuteOffset()

public abstract int getMinuteOffset()

Optional. The number of minutes after the hour (in UTC) to run the query. Must be greater than or equal to 0 minutes and less than or equal to 59 minutes. If left unspecified, then an arbitrary offset is used.

optional int32 minute_offset = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The minuteOffset.

getPeriodicity()

public abstract int getPeriodicity()

Required. The number of hours between runs. Must be greater than or equal to 1 hour and less than or equal to 48 hours.

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

Returns
Type Description
int

The periodicity.

hasMinuteOffset()

public abstract boolean hasMinuteOffset()

Optional. The number of minutes after the hour (in UTC) to run the query. Must be greater than or equal to 0 minutes and less than or equal to 59 minutes. If left unspecified, then an arbitrary offset is used.

optional int32 minute_offset = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the minuteOffset field is set.