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.
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 latest version available for the \u003ccode\u003eUpdateServiceRequest\u003c/code\u003e class is 2.13.0, and the documentation provides access to versions from 2.0.0 up to the latest, including a beta release at 1.0.0-beta02.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eUpdateServiceRequest\u003c/code\u003e is a class within the Cloud Run Admin v2 API, designed for sending requests to update a service, and it implements several interfaces such as \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\u003eThis class has properties such as \u003ccode\u003eAllowMissing\u003c/code\u003e, which allows for creating a service if it doesn't exist, \u003ccode\u003eService\u003c/code\u003e, which represents the service to be updated, and \u003ccode\u003eValidateOnly\u003c/code\u003e, which lets you validate a request without persisting changes.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdateServiceRequest\u003c/code\u003e class has two constructors: a default constructor, \u003ccode\u003eUpdateServiceRequest()\u003c/code\u003e, and an overloaded one that accepts another \u003ccode\u003eUpdateServiceRequest\u003c/code\u003e object as an argument for copying purposes.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdateServiceRequest\u003c/code\u003e class inherits from \u003ccode\u003eobject\u003c/code\u003e and provides several inherited methods such as \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e and \u003ccode\u003eToString()\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]