Cloud Build v2 API - Class CreateConnectionRequest (1.0.0)

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.

Message for creating a Connection

Inheritance

object > CreateConnectionRequest

Namespace

Google.Cloud.CloudBuild.V2

Assembly

Google.Cloud.CloudBuild.V2.dll

Constructors

CreateConnectionRequest()

public CreateConnectionRequest()

CreateConnectionRequest(CreateConnectionRequest)

public CreateConnectionRequest(CreateConnectionRequest other)
Parameter
NameDescription
otherCreateConnectionRequest

Properties

Connection

public Connection Connection { get; set; }

Required. The Connection to create.

Property Value
TypeDescription
Connection

ConnectionId

public string ConnectionId { get; set; }

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 -._~%!$&amp;'()*+,;=@.

Property Value
TypeDescription
string

Parent

public string Parent { get; set; }

Required. Project and location where the connection will be created. Format: projects/*/locations/*.

Property Value
TypeDescription
string

ParentAsLocationName

public LocationName ParentAsLocationName { get; set; }

LocationName-typed view over the Parent resource name property.

Property Value
TypeDescription
LocationName