public sealed class SetLocationsRequest : IMessage<SetLocationsRequest>, IEquatable<SetLocationsRequest>, IDeepCloneable<SetLocationsRequest>, IBufferMessage, IMessage
SetLocationsRequest sets the locations of the cluster.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe document outlines various versions of the \u003ccode\u003eSetLocationsRequest\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Container.V1\u003c/code\u003e namespace, spanning from version 3.33.0 down to 2.3.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSetLocationsRequest\u003c/code\u003e is designed to set the physical locations of a cluster's nodes within specified Google Compute Engine zones, and it's implemented through multiple interfaces and inherits from the \u003ccode\u003eObject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLocations\u003c/code\u003e property within \u003ccode\u003eSetLocationsRequest\u003c/code\u003e is required and dictates where the cluster's nodes should reside, including the cluster's primary zone, and altering this list can cause nodes to be added or removed.\u003c/p\u003e\n"],["\u003cp\u003eSeveral properties like \u003ccode\u003eClusterId\u003c/code\u003e, \u003ccode\u003eProjectId\u003c/code\u003e, and \u003ccode\u003eZone\u003c/code\u003e are marked as obsolete, replaced by a unified \u003ccode\u003eName\u003c/code\u003e property, which specifies the cluster's identity in the format \u003ccode\u003eprojects/*/locations/*/clusters/*\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe most current version is 3.33.0, while the page documents the methods and properties related to the object across several versions including the current version and many previous iterations.\u003c/p\u003e\n"]]],[],null,[]]