public sealed class UpdateServiceRequest : IMessage<UpdateServiceRequest>, IEquatable<UpdateServiceRequest>, IDeepCloneable<UpdateServiceRequest>, IBufferMessage, IMessage
Set to true to gradually shift traffic to one or more versions that you
specify. By default, traffic is shifted immediately.
For gradual traffic migration, the target versions
must be located within instances that are configured for both
warmup requests
and
automatic scaling.
You must specify the
shardBy
field in the Service resource. Gradual traffic migration is not
supported in the App Engine flexible environment. For examples, see
Migrating and Splitting Traffic.
[[["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 latest version of the \u003ccode\u003eUpdateServiceRequest\u003c/code\u003e class is 2.4.0, while version 2.0.0 is documented here, with older versions going back to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eUpdateServiceRequest\u003c/code\u003e is a request message used for updating services via \u003ccode\u003eServices.UpdateService\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eObject\u003c/code\u003e and implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey properties within \u003ccode\u003eUpdateServiceRequest\u003c/code\u003e include \u003ccode\u003eMigrateTraffic\u003c/code\u003e to control traffic shifting, \u003ccode\u003eName\u003c/code\u003e to identify the resource being updated, \u003ccode\u003eService\u003c/code\u003e to provide updated service details, and \u003ccode\u003eUpdateMask\u003c/code\u003e to specify which fields to update.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes two constructors: one default and one that accepts another \u003ccode\u003eUpdateServiceRequest\u003c/code\u003e object as a parameter for cloning.\u003c/p\u003e\n"]]],[],null,[]]