public sealed class UpdateServiceRequest : IMessage<UpdateServiceRequest>, IEquatable<UpdateServiceRequest>, IDeepCloneable<UpdateServiceRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Run Admin v2 API class UpdateServiceRequest.
Optional. If set to true, and if the Service does not exist, it will create
a new one. The caller must have 'run.services.create' permissions if this
is set to true and the Service does not exist.
[[["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-08 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eUpdateServiceRequest\u003c/code\u003e class is used for updating a service within the Cloud Run Admin v2 API.\u003c/p\u003e\n"],["\u003cp\u003eThis class is part of the \u003ccode\u003eGoogle.Cloud.Run.V2\u003c/code\u003e namespace and implemented several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, for use in different contexts.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available for the class is 2.13.0, and this documentation page is for version 2.10.0, with older versions from 2.0.0 up to 2.12.0 and a beta 1.0.0-beta02 listed.\u003c/p\u003e\n"],["\u003cp\u003eKey properties within the \u003ccode\u003eUpdateServiceRequest\u003c/code\u003e class include \u003ccode\u003eAllowMissing\u003c/code\u003e, \u003ccode\u003eService\u003c/code\u003e, \u003ccode\u003eUpdateMask\u003c/code\u003e, and \u003ccode\u003eValidateOnly\u003c/code\u003e, which control aspects of the update operation like service creation if missing, the service data to update, what specifically to update, and validation.\u003c/p\u003e\n"],["\u003cp\u003eThe class supports two constructors to initialize a new \u003ccode\u003eUpdateServiceRequest\u003c/code\u003e object, one that is empty and one that takes an existing object of the same type.\u003c/p\u003e\n"]]],[],null,[]]