Google Kubernetes Engine v1 API - Class SetLocationsRequest (3.18.0)

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

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

SetLocationsRequest sets the locations of the cluster.

Inheritance

object > SetLocationsRequest

Namespace

Google.Cloud.Container.V1

Assembly

Google.Cloud.Container.V1.dll

Constructors

SetLocationsRequest()

public SetLocationsRequest()

SetLocationsRequest(SetLocationsRequest)

public SetLocationsRequest(SetLocationsRequest other)
Parameter
NameDescription
otherSetLocationsRequest

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

Locations

public RepeatedField<string> Locations { get; }

Required. The desired list of Google Compute Engine zones in which the cluster's nodes should be located. Changing the locations a cluster is in will result in nodes being either created or removed from the cluster, depending on whether locations are being added or removed.

This list must always include the cluster's primary zone.

Property Value
TypeDescription
RepeatedFieldstring

Name

public string Name { get; set; }

The name (project, location, cluster) of the cluster to set locations. 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