Skip to content

Commit 50f45da

Browse files
Google APIscopybara-github
authored andcommitted
fix: make repository and repository_id in CreateRepository required
PiperOrigin-RevId: 567370871
1 parent a32df25 commit 50f45da

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

google/devtools/artifactregistry/v1/repository.proto

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,8 @@ message Repository {
125125

126126
// The request to list repositories.
127127
message ListRepositoriesRequest {
128-
// Required. The name of the parent resource whose repositories will be listed.
128+
// Required. The name of the parent resource whose repositories will be
129+
// listed.
129130
string parent = 1 [
130131
(google.api.field_behavior) = REQUIRED,
131132
(google.api.resource_reference) = {
@@ -163,7 +164,8 @@ message GetRepositoryRequest {
163164

164165
// The request to create a new repository.
165166
message CreateRepositoryRequest {
166-
// Required. The name of the parent resource where the repository will be created.
167+
// Required. The name of the parent resource where the repository will be
168+
// created.
167169
string parent = 1 [
168170
(google.api.field_behavior) = REQUIRED,
169171
(google.api.resource_reference) = {
@@ -172,10 +174,10 @@ message CreateRepositoryRequest {
172174
];
173175

174176
// The repository id to use for this repository.
175-
string repository_id = 2;
177+
string repository_id = 2 [(google.api.field_behavior) = REQUIRED];
176178

177179
// The repository to be created.
178-
Repository repository = 3;
180+
Repository repository = 3 [(google.api.field_behavior) = REQUIRED];
179181
}
180182

181183
// The request to update a repository.

0 commit comments

Comments
 (0)