Google Cloud Build V2 Client - Class GetRepositoryRequest (0.15.0)

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
NameDescription
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
TypeDescription
string

setName

Required. The name of the Repository to retrieve.

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
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
TypeDescription
Google\Cloud\Build\V2\GetRepositoryRequest