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\u003eThe \u003ccode\u003eCreateConnectionRequest\u003c/code\u003e class is part of the Cloud Build v2 API, used for creating a Connection, and is available in version 1.4.0 (latest) and earlier versions.\u003c/p\u003e\n"],["\u003cp\u003eThis class 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, and inherits from the \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateConnectionRequest\u003c/code\u003e class requires parameters such as \u003ccode\u003eConnection\u003c/code\u003e, \u003ccode\u003eConnectionId\u003c/code\u003e, and \u003ccode\u003eParent\u003c/code\u003e to define the connection to be created, along with a specified project and location.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available: a parameterless constructor and one that takes another \u003ccode\u003eCreateConnectionRequest\u003c/code\u003e object for initialization.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eParentAsLocationName\u003c/code\u003e property provides a \u003ccode\u003eLocationName\u003c/code\u003e-typed view of the \u003ccode\u003eParent\u003c/code\u003e resource name property, offering an alternative way to handle the location information.\u003c/p\u003e\n"]]],[],null,[]]