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.
Implements
IMessage<SetLocationsRequest>, IEquatable<SetLocationsRequest>, IDeepCloneable<SetLocationsRequest>, IBufferMessage, IMessageNamespace
Google.Cloud.Container.V1Assembly
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 |
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 | |
---|---|
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 |