Google Kubernetes Engine v1 API - Class SetMaintenancePolicyRequest (3.25.0)

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

Reference documentation and code samples for the Google Kubernetes Engine v1 API class SetMaintenancePolicyRequest.

SetMaintenancePolicyRequest sets the maintenance policy for a cluster.

Inheritance

object > SetMaintenancePolicyRequest

Namespace

Google.Cloud.Container.V1

Assembly

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 name) 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