Reference documentation and code samples for the Secret Manager V1BETA2 API class Google::Cloud::SecretManager::V1beta2::Rotation.
The rotation time and period for a Secret. At next_rotation_time, Secret Manager will send a Pub/Sub notification to the topics configured on the Secret. Secret.topics must be set to configure rotation.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#next_rotation_time
def next_rotation_time() -> ::Google::Protobuf::Timestamp
-
(::Google::Protobuf::Timestamp) — 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.
#next_rotation_time=
def next_rotation_time=(value) -> ::Google::Protobuf::Timestamp
-
value (::Google::Protobuf::Timestamp) — 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) — 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.
#rotation_period
def rotation_period() -> ::Google::Protobuf::Duration
-
(::Google::Protobuf::Duration) — 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.
#rotation_period=
def rotation_period=(value) -> ::Google::Protobuf::Duration
-
value (::Google::Protobuf::Duration) — 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) — 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.