Skip to content

Commit 9bac62d

Browse files
Google APIscopybara-github
authored andcommitted
fix!: Fix the resource annotations for GetRepositoryRequest
BREAKING CHANGE: This will be a breaking change for languages that generate client libraries using resource annotations to provide overloads accepting resource names. Where previously such languages would have generated (in-pseudocode) GetRepository(LocationName) they will now (correctly) generate GetRepository(RepositoryName). Code using the older methods will be broken by this change, but would never have worked anyway. PiperOrigin-RevId: 403028264
1 parent 877d3d9 commit 9bac62d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

google/devtools/artifactregistry/v1/repository.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ message GetRepositoryRequest {
123123
string name = 1 [
124124
(google.api.field_behavior) = REQUIRED,
125125
(google.api.resource_reference) = {
126-
child_type: "artifactregistry.googleapis.com/Repository"
126+
type: "artifactregistry.googleapis.com/Repository"
127127
}
128128
];
129129
}

0 commit comments

Comments
 (0)