public sealed class Rotation : IMessage<Rotation>, IEquatable<Rotation>, IDeepCloneable<Rotation>, IBufferMessage, IMessage
Reference documentation and code samples for the Secret Manager v1 API class Rotation.
The rotation time and period for a
[Secret][google.cloud.secretmanager.v1.Secret]. At next_rotation_time, Secret
Manager will send a Pub/Sub notification to the topics configured on the
Secret. [Secret.topics][google.cloud.secretmanager.v1.Secret.topics] must be
set to configure rotation.
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis webpage provides reference documentation for the \u003ccode\u003eRotation\u003c/code\u003e class within the Google Cloud Secret Manager v1 API for .NET.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRotation\u003c/code\u003e class manages the scheduled rotation of a Secret, including setting the \u003ccode\u003enext_rotation_time\u003c/code\u003e and \u003ccode\u003erotation_period\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple versions of the \u003ccode\u003eRotation\u003c/code\u003e documentation available, from version 1.3.0 up to the latest, 2.5.0, accessible via links to their specific pages.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRotation\u003c/code\u003e class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from \u003ccode\u003eObject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRotation\u003c/code\u003e class contains properties for \u003ccode\u003eNextRotationTime\u003c/code\u003e, a Timestamp indicating the next scheduled rotation, and \u003ccode\u003eRotationPeriod\u003c/code\u003e, a Duration that defines the interval between rotations.\u003c/p\u003e\n"]]],[],null,[]]