Google Kubernetes Engine v1 API - Class UpdateMasterRequest (3.17.0)

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

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

UpdateMasterRequest updates the master of the cluster.

Inheritance

object > UpdateMasterRequest

Namespace

Google.Cloud.Container.V1

Assembly

Google.Cloud.Container.V1.dll

Constructors

UpdateMasterRequest()

public UpdateMasterRequest()

UpdateMasterRequest(UpdateMasterRequest)

public UpdateMasterRequest(UpdateMasterRequest other)
Parameter
NameDescription
otherUpdateMasterRequest

Properties

ClusterId

[Obsolete]
public string ClusterId { get; set; }

Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.

Property Value
TypeDescription
string

MasterVersion

public string MasterVersion { get; set; }

Required. The Kubernetes version to change the master to.

Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior:

  • "latest": picks the highest valid Kubernetes version
  • "1.X": picks the highest valid patch+gke.N patch in the 1.X version
  • "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
  • "1.X.Y-gke.N": picks an explicit Kubernetes version
  • "-": picks the default Kubernetes version
Property Value
TypeDescription
string

Name

public string Name { get; set; }

The name (project, location, cluster) of the cluster to update. Specified in the format projects/*/locations/*/clusters/*.

Property Value
TypeDescription
string

ProjectId

[Obsolete]
public string ProjectId { get; set; }

Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.

Property Value
TypeDescription
string

Zone

[Obsolete]
public string Zone { get; set; }

Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.

Property Value
TypeDescription
string