Interface RotationOrBuilder (2.29.0)

public interface RotationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getNextRotationTime()

public abstract Timestamp getNextRotationTime()

Optional. Timestamp in UTC at which the Secret is scheduled to rotate. Cannot be set to less than 300s (5 min) in the future and at most 3153600000s (100 years).

next_rotation_time MUST be set if rotation_period is set.

.google.protobuf.Timestamp next_rotation_time = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Timestamp

The nextRotationTime.

getNextRotationTimeOrBuilder()

public abstract TimestampOrBuilder getNextRotationTimeOrBuilder()

Optional. Timestamp in UTC at which the Secret is scheduled to rotate. Cannot be set to less than 300s (5 min) in the future and at most 3153600000s (100 years).

next_rotation_time MUST be set if rotation_period is set.

.google.protobuf.Timestamp next_rotation_time = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
TimestampOrBuilder

getRotationPeriod()

public abstract Duration getRotationPeriod()

Input only. The Duration between rotation notifications. Must be in seconds and at least 3600s (1h) and at most 3153600000s (100 years).

If rotation_period is set, next_rotation_time must be set. next_rotation_time will be advanced by this period when the service automatically sends rotation notifications.

.google.protobuf.Duration rotation_period = 2 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
TypeDescription
Duration

The rotationPeriod.

getRotationPeriodOrBuilder()

public abstract DurationOrBuilder getRotationPeriodOrBuilder()

Input only. The Duration between rotation notifications. Must be in seconds and at least 3600s (1h) and at most 3153600000s (100 years).

If rotation_period is set, next_rotation_time must be set. next_rotation_time will be advanced by this period when the service automatically sends rotation notifications.

.google.protobuf.Duration rotation_period = 2 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
TypeDescription
DurationOrBuilder

hasNextRotationTime()

public abstract boolean hasNextRotationTime()

Optional. Timestamp in UTC at which the Secret is scheduled to rotate. Cannot be set to less than 300s (5 min) in the future and at most 3153600000s (100 years).

next_rotation_time MUST be set if rotation_period is set.

.google.protobuf.Timestamp next_rotation_time = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the nextRotationTime field is set.

hasRotationPeriod()

public abstract boolean hasRotationPeriod()

Input only. The Duration between rotation notifications. Must be in seconds and at least 3600s (1h) and at most 3153600000s (100 years).

If rotation_period is set, next_rotation_time must be set. next_rotation_time will be advanced by this period when the service automatically sends rotation notifications.

.google.protobuf.Duration rotation_period = 2 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
TypeDescription
boolean

Whether the rotationPeriod field is set.