public sealed class Rotation : IMessage<Rotation>, IEquatable<Rotation>, IDeepCloneable<Rotation>, IBufferMessage, IMessageReference 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.
Namespace
Google.Cloud.SecretManager.V1Assembly
Google.Cloud.SecretManager.V1.dll
Constructors
Rotation()
public Rotation()Rotation(Rotation)
public Rotation(Rotation other)| Parameter | |
|---|---|
| Name | Description |
other |
Rotation |
Properties
ManagedRotationStatus
public Rotation.Types.ManagedRotationStatus ManagedRotationStatus { get; set; }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.
| Property Value | |
|---|---|
| Type | Description |
RotationTypesManagedRotationStatus |
|
NextRotationTime
public Timestamp NextRotationTime { get; set; }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.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|
RotationPeriod
public Duration RotationPeriod { get; 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.
| Property Value | |
|---|---|
| Type | Description |
Duration |
|