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 page provides documentation for the \u003ccode\u003eUpdateConnectionRequest\u003c/code\u003e class within the Google Cloud Build v2 API, version 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdateConnectionRequest\u003c/code\u003e class is used to update an existing connection and implements multiple 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\u003eThe class features constructors for default initialization and for creating a copy from another \u003ccode\u003eUpdateConnectionRequest\u003c/code\u003e instance, and it inherits basic members from the object class.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eUpdateConnectionRequest\u003c/code\u003e include \u003ccode\u003eAllowMissing\u003c/code\u003e (to create a new connection if one isn't found), \u003ccode\u003eConnection\u003c/code\u003e (the connection to update), \u003ccode\u003eEtag\u003c/code\u003e (for optimistic locking), and \u003ccode\u003eUpdateMask\u003c/code\u003e (to specify the fields to update).\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the API is 1.4.0, while this documentation is specifically for version 1.0.0, with other versions also being available at the top of the page.\u003c/p\u003e\n"]]],[],null,[]]