Google Kubernetes Engine v1 API - Class SetLocationsRequest (3.29.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
Name Description
other SetLocationsRequest

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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
string