Class MaintenancePolicy (3.0.0-beta01)

public sealed class MaintenancePolicy : IMessage<MaintenancePolicy>, IEquatable<MaintenancePolicy>, IDeepCloneable<MaintenancePolicy>, IBufferMessage, IMessage

Maintenance policy for an instance.

Inheritance

Object > MaintenancePolicy

Namespace

Google.Cloud.Redis.V1Beta1

Assembly

Google.Cloud.Redis.V1Beta1.dll

Constructors

MaintenancePolicy()

public MaintenancePolicy()

MaintenancePolicy(MaintenancePolicy)

public MaintenancePolicy(MaintenancePolicy other)
Parameter
NameDescription
otherMaintenancePolicy

Properties

CreateTime

public Timestamp CreateTime { get; set; }

Output only. The time when the policy was created.

Property Value
TypeDescription
Timestamp

Description

public string Description { get; set; }

Optional. Description of what this policy is for. Create/Update methods return INVALID_ARGUMENT if the length is greater than 512.

Property Value
TypeDescription
String

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. The time when the policy was last updated.

Property Value
TypeDescription
Timestamp

WeeklyMaintenanceWindow

public RepeatedField<WeeklyMaintenanceWindow> WeeklyMaintenanceWindow { get; }

Optional. Maintenance window that is applied to resources covered by this policy. Minimum 1. For the current version, the maximum number of weekly_window is expected to be one.

Property Value
TypeDescription
RepeatedField<WeeklyMaintenanceWindow>