Common Protos for Google Cloud APIs V1 Client - Class RepoId (0.5.2)

Reference documentation and code samples for the Common Protos for Google Cloud APIs V1 Client class RepoId.

A unique identifier for a cloud repo.

Generated from protobuf message google.devtools.source.v1.RepoId

Namespace

Google \ Cloud \ DevTools \ Source \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ project_repo_id Google\Cloud\DevTools\Source\V1\ProjectRepoId

A combination of a project ID and a repo name.

↳ uid string

A server-assigned, globally unique identifier.

getProjectRepoId

A combination of a project ID and a repo name.

Returns
Type Description
Google\Cloud\DevTools\Source\V1\ProjectRepoId|null

hasProjectRepoId

setProjectRepoId

A combination of a project ID and a repo name.

Parameter
Name Description
var Google\Cloud\DevTools\Source\V1\ProjectRepoId
Returns
Type Description
$this

getUid

A server-assigned, globally unique identifier.

Returns
Type Description
string

hasUid

setUid

A server-assigned, globally unique identifier.

Parameter
Name Description
var string
Returns
Type Description
$this

getId

Returns
Type Description
string