public sealed class CreateConnectionRequest : IMessage<CreateConnectionRequest>, IEquatable<CreateConnectionRequest>, IDeepCloneable<CreateConnectionRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Build v2 API class CreateConnectionRequest.
Required. The ID to use for the Connection, which will become the final
component of the Connection's resource name. Names must be unique
per-project per-location. Allows alphanumeric characters and any of
-._~%!$&'()*+,;=@.
[[["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 documentation details the \u003ccode\u003eCreateConnectionRequest\u003c/code\u003e class, which is part of the Cloud Build v2 API, specifically within the \u003ccode\u003eGoogle.Cloud.CloudBuild.V2\u003c/code\u003e namespace and version 1.3.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateConnectionRequest\u003c/code\u003e class is a message type used for creating a new connection in the Cloud Build service, and it implements several 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\u003eThe class has several properties including \u003ccode\u003eConnection\u003c/code\u003e (the Connection to create), \u003ccode\u003eConnectionId\u003c/code\u003e (the unique ID for the Connection), and \u003ccode\u003eParent\u003c/code\u003e (the project and location for the Connection), all of which are required fields for the message to be considered valid.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateConnectionRequest\u003c/code\u003e class has a constructor that takes no parameters, and another that accepts another \u003ccode\u003eCreateConnectionRequest\u003c/code\u003e object as a parameter, which can be used for cloning the instance.\u003c/p\u003e\n"],["\u003cp\u003eThere are older versions of the Cloud Build v2 API which are also mentioned here, including version 1.4.0 which is listed as the latest and versions 1.2.0, 1.1.0 and 1.0.0, providing a history for this class.\u003c/p\u003e\n"]]],[],null,[]]