Class 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.
Implements
Inherited Members
Namespace: Google.Apis.SecretManager.v1beta2.Data
Assembly: Google.Apis.SecretManager.v1beta2.dll
Syntax
public class Rotation : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
NextRotationTime
object representation of NextRotationTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use NextRotationTimeDateTimeOffset instead.")]
public virtual object NextRotationTime { get; set; }
Property Value
Type | Description |
---|---|
object |
NextRotationTimeDateTimeOffset
DateTimeOffset representation of NextRotationTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? NextRotationTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
NextRotationTimeRaw
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.
Declaration
[JsonProperty("nextRotationTime")]
public virtual string NextRotationTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
RotationPeriod
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.
Declaration
[JsonProperty("rotationPeriod")]
public virtual object RotationPeriod { get; set; }
Property Value
Type | Description |
---|---|
object |