Reference documentation and code samples for the Google Cloud Build V2 Client class CreateConnectionRequest.
Message for creating a Connection
Generated from protobuf message google.devtools.cloudbuild.v2.CreateConnectionRequest
Namespace
Google \ Cloud \ Build \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. Project and location where the connection will be created. Format: projects/*/locations/*
.
↳ connection
↳ connection_id
string
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 -._~%!$&'()*+,;=@.
getParent
Required. Project and location where the connection will be created.
Format: projects/*/locations/*
.
string
setParent
Required. Project and location where the connection will be created.
Format: projects/*/locations/*
.
var
string
$this
getConnection
Required. The Connection to create.
hasConnection
clearConnection
setConnection
Required. The Connection to create.
$this
getConnectionId
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 -._~%!$&'()*+,;=@.
string
setConnectionId
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 -._~%!$&'()*+,;=@.
var
string
$this
static::build
parent
string
Required. Project and location where the connection will be created.
Format: projects/*/locations/*
. Please see Google\Cloud\Build\V2\RepositoryManagerClient::locationName()
for help formatting this field.
connection
connectionId
string
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 -._~%!$&'()*+,;=@.