Google Cloud Build V2 Client - Class GetConnectionRequest (0.9.0)

Reference documentation and code samples for the Google Cloud Build V2 Client class GetConnectionRequest.

Message for getting the details of a Connection.

Generated from protobuf message google.devtools.cloudbuild.v2.GetConnectionRequest

Namespace

Google \ Cloud \ Build \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the Connection to retrieve. Format: projects/*/locations/*/connections/*.

getName

Required. The name of the Connection to retrieve.

Format: projects/*/locations/*/connections/*.

Returns
TypeDescription
string

setName

Required. The name of the Connection to retrieve.

Format: projects/*/locations/*/connections/*.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
name string

Required. The name of the Connection to retrieve. Format: projects/*/locations/*/connections/*. Please see Google\Cloud\Build\V2\RepositoryManagerClient::connectionName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\Build\V2\GetConnectionRequest