public sealed class SetMaintenancePolicyRequest : IMessage<SetMaintenancePolicyRequest>, IEquatable<SetMaintenancePolicyRequest>, IDeepCloneable<SetMaintenancePolicyRequest>, IBufferMessage, IMessage
SetMaintenancePolicyRequest sets the maintenance policy for a cluster.
Implements
IMessage<SetMaintenancePolicyRequest>, IEquatable<SetMaintenancePolicyRequest>, IDeepCloneable<SetMaintenancePolicyRequest>, IBufferMessage, IMessageNamespace
Google.Cloud.Container.V1Assembly
Google.Cloud.Container.V1.dll
Constructors
SetMaintenancePolicyRequest()
public SetMaintenancePolicyRequest()
SetMaintenancePolicyRequest(SetMaintenancePolicyRequest)
public SetMaintenancePolicyRequest(SetMaintenancePolicyRequest other)
Parameter | |
---|---|
Name | Description |
other | SetMaintenancePolicyRequest |
Properties
ClusterId
public string ClusterId { get; set; }
Required. The name of the cluster to update.
Property Value | |
---|---|
Type | Description |
String |
MaintenancePolicy
public MaintenancePolicy MaintenancePolicy { get; set; }
Required. The maintenance policy to be set for the cluster. An empty field clears the existing maintenance policy.
Property Value | |
---|---|
Type | Description |
MaintenancePolicy |
Name
public string Name { get; set; }
The name (project, location, cluster id) of the cluster to set maintenance
policy.
Specified in the format projects/*/locations/*/clusters/*
.
Property Value | |
---|---|
Type | Description |
String |
ProjectId
public string ProjectId { get; set; }
Required. The Google Developers Console project ID or project number.
Property Value | |
---|---|
Type | Description |
String |
Zone
public string Zone { get; set; }
Required. The name of the Google Compute Engine zone in which the cluster resides.
Property Value | |
---|---|
Type | Description |
String |