Container Registry API, gRPC: RepositoryService.GetByName
Written by
Updated at January 29, 2026
Returns the specified Repository resource.
To get the list of available Repository resources, make a List request.
gRPC request
rpc GetByName (GetRepositoryByNameRequest) returns (Repository)
GetRepositoryByNameRequest
{
"repository_name": "string"
}
|
Field |
Description |
|
repository_name |
string Required field. Name of the Repository resource to return. To get the repository name use a RepositoryService.List request. Value must match the regular expression |
Repository
{
"name": "string",
"id": "string"
}
A Repository resource. For more information, see Repository.
|
Field |
Description |
|
name |
string Name of the repository. |
|
id |
string Output only. ID of the repository. |