Grafeas V1 Client - Class RepoId (0.4.4)

Reference documentation and code samples for the Grafeas V1 Client class RepoId.

A unique identifier for a Cloud Repo.

Generated from protobuf message grafeas.v1.RepoId

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ project_repo_id Grafeas\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
TypeDescription
Grafeas\V1\ProjectRepoId|null

hasProjectRepoId

setProjectRepoId

A combination of a project ID and a repo name.

Parameter
NameDescription
var Grafeas\V1\ProjectRepoId
Returns
TypeDescription
$this

getUid

A server-assigned, globally unique identifier.

Returns
TypeDescription
string

hasUid

setUid

A server-assigned, globally unique identifier.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getId

Returns
TypeDescription
string