Google Cloud Build V2 Client - Class GetConnectionRequest (1.0.1)

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
Name Description
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
Type Description
string

setName

Required. The name of the Connection to retrieve.

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

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

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

Returns
Type Description
GetConnectionRequest