Google Cloud Build V2 Client - Class GetRepositoryRequest (0.16.3)

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

Message for getting the details of a Repository.

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

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 Repository to retrieve. Format: projects/*/locations/*/connections/*/repositories/*.

getName

Required. The name of the Repository to retrieve.

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

Returns
Type Description
string

setName

Required. The name of the Repository to retrieve.

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

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

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

Returns
Type Description
Google\Cloud\Build\V2\GetRepositoryRequest