public sealed class MaintenancePolicy : IMessage<MaintenancePolicy>, IEquatable<MaintenancePolicy>, IDeepCloneable<MaintenancePolicy>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Memorystore for Memcache v1beta2 API class MaintenancePolicy.
Maintenance policy per instance.
Implements
IMessage<MaintenancePolicy>, IEquatable<MaintenancePolicy>, IDeepCloneable<MaintenancePolicy>, IBufferMessage, IMessageNamespace
Google.Cloud.Memcache.V1Beta2Assembly
Google.Cloud.Memcache.V1Beta2.dll
Constructors
MaintenancePolicy()
public MaintenancePolicy()
MaintenancePolicy(MaintenancePolicy)
public MaintenancePolicy(MaintenancePolicy other)
Parameter | |
---|---|
Name | Description |
other | MaintenancePolicy |
Properties
CreateTime
public Timestamp CreateTime { get; set; }
Output only. The time when the policy was created.
Property Value | |
---|---|
Type | Description |
Timestamp |
Description
public string Description { get; set; }
Description of what this policy is for. Create/Update methods return INVALID_ARGUMENT if the length is greater than 512.
Property Value | |
---|---|
Type | Description |
String |
UpdateTime
public Timestamp UpdateTime { get; set; }
Output only. The time when the policy was updated.
Property Value | |
---|---|
Type | Description |
Timestamp |
WeeklyMaintenanceWindow
public RepeatedField<WeeklyMaintenanceWindow> WeeklyMaintenanceWindow { get; }
Required. Maintenance window that is applied to resources covered by this policy. Minimum 1. For the current version, the maximum number of weekly_maintenance_windows is expected to be one.
Property Value | |
---|---|
Type | Description |
RepeatedField<WeeklyMaintenanceWindow> |