Interface RotationOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Rotation, Rotation.Builder

@Generated public interface RotationOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasNextRotationTime

      boolean hasNextRotationTime()
       Optional. Timestamp in UTC at which the
       [Secret][google.cloud.secretmanager.v1.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][google.cloud.secretmanager.v1.Rotation.next_rotation_time]
       MUST  be set if
       [rotation_period][google.cloud.secretmanager.v1.Rotation.rotation_period]
       is set.
       
      .google.protobuf.Timestamp next_rotation_time = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the nextRotationTime field is set.
    • getNextRotationTime

      com.google.protobuf.Timestamp getNextRotationTime()
       Optional. Timestamp in UTC at which the
       [Secret][google.cloud.secretmanager.v1.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][google.cloud.secretmanager.v1.Rotation.next_rotation_time]
       MUST  be set if
       [rotation_period][google.cloud.secretmanager.v1.Rotation.rotation_period]
       is set.
       
      .google.protobuf.Timestamp next_rotation_time = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The nextRotationTime.
    • getNextRotationTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getNextRotationTimeOrBuilder()
       Optional. Timestamp in UTC at which the
       [Secret][google.cloud.secretmanager.v1.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][google.cloud.secretmanager.v1.Rotation.next_rotation_time]
       MUST  be set if
       [rotation_period][google.cloud.secretmanager.v1.Rotation.rotation_period]
       is set.
       
      .google.protobuf.Timestamp next_rotation_time = 1 [(.google.api.field_behavior) = OPTIONAL];
    • hasRotationPeriod

      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][google.cloud.secretmanager.v1.Rotation.rotation_period]
       is set,
       [next_rotation_time][google.cloud.secretmanager.v1.Rotation.next_rotation_time]
       must be set.
       [next_rotation_time][google.cloud.secretmanager.v1.Rotation.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:
      Whether the rotationPeriod field is set.
    • getRotationPeriod

      com.google.protobuf.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][google.cloud.secretmanager.v1.Rotation.rotation_period]
       is set,
       [next_rotation_time][google.cloud.secretmanager.v1.Rotation.next_rotation_time]
       must be set.
       [next_rotation_time][google.cloud.secretmanager.v1.Rotation.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:
      The rotationPeriod.
    • getRotationPeriodOrBuilder

      com.google.protobuf.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][google.cloud.secretmanager.v1.Rotation.rotation_period]
       is set,
       [next_rotation_time][google.cloud.secretmanager.v1.Rotation.next_rotation_time]
       must be set.
       [next_rotation_time][google.cloud.secretmanager.v1.Rotation.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];
    • hasManagedRotationStatus

      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:
      Whether the managedRotationStatus field is set.
    • getManagedRotationStatus

      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:
      The managedRotationStatus.
    • getManagedRotationStatusOrBuilder

      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];