Class SetLocationsRequest (2.3.0)

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

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
RepeatedField<String>

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