public sealed class UpdateConnectionRequest : IMessage<UpdateConnectionRequest>, IEquatable<UpdateConnectionRequest>, IDeepCloneable<UpdateConnectionRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Build v2 API class UpdateConnectionRequest.
If set to true, and the connection is not found a new connection
will be created. In this situation update_mask is ignored.
The creation will succeed only if the input connection has all the
necessary information (e.g a github_config with both user_oauth_token and
installation_id properties).
The current etag of the connection.
If an etag is provided and does not match the current etag of the
connection, update will be blocked and an ABORTED error will be returned.
[[["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\u003eThis document provides reference information for the \u003ccode\u003eUpdateConnectionRequest\u003c/code\u003e class within the Google Cloud Build v2 API, specifically version 1.2.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdateConnectionRequest\u003c/code\u003e class is used for updating a connection and it inherits from \u003ccode\u003eobject\u003c/code\u003e and implements several interfaces, including \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\u003eIt includes properties such as \u003ccode\u003eAllowMissing\u003c/code\u003e, \u003ccode\u003eConnection\u003c/code\u003e, \u003ccode\u003eEtag\u003c/code\u003e, and \u003ccode\u003eUpdateMask\u003c/code\u003e, which control aspects of the update process, such as allowing creation if missing and specifying which fields to update.\u003c/p\u003e\n"],["\u003cp\u003eThere are also two constructors provided, one default constructor and another allowing for a copy to be constructed.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdateConnectionRequest\u003c/code\u003e class is located in the \u003ccode\u003eGoogle.Cloud.CloudBuild.V2\u003c/code\u003e namespace and is part of the \u003ccode\u003eGoogle.Cloud.CloudBuild.V2.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]