public interface RotationOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getManagedRotationStatus()
public abstract Rotation.ManagedRotationStatus getManagedRotationStatus()Output only. The current status of the managed rotation. This field is only applicable to Typed Secrets. This field is set by the service and cannot be set by the user.
.google.cloud.secretmanager.v1.Rotation.ManagedRotationStatus managed_rotation_status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Rotation.ManagedRotationStatus |
The managedRotationStatus. |
getManagedRotationStatusOrBuilder()
public abstract Rotation.ManagedRotationStatusOrBuilder getManagedRotationStatusOrBuilder()Output only. The current status of the managed rotation. This field is only applicable to Typed Secrets. This field is set by the service and cannot be set by the user.
.google.cloud.secretmanager.v1.Rotation.ManagedRotationStatus managed_rotation_status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Rotation.ManagedRotationStatusOrBuilder |
|
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
hasManagedRotationStatus()
public abstract boolean hasManagedRotationStatus()Output only. The current status of the managed rotation. This field is only applicable to Typed Secrets. This field is set by the service and cannot be set by the user.
.google.cloud.secretmanager.v1.Rotation.ManagedRotationStatus managed_rotation_status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the managedRotationStatus field is set. |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
boolean |
Whether the rotationPeriod field is set. |