Skip to content

Commit 9f7e9f2

Browse files
fix!: Fix the resource annotations for GetRepositoryRequest (#88)
* 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 Source-Link: googleapis/googleapis@9bac62d Source-Link: googleapis/googleapis-gen@4f54454 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNGY1NDQ1NGI2NDliY2VkZWExNGJiMDE5NTVhNjU4NTBjZTkwNmQ5YiJ9 * 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent dd8e65d commit 9f7e9f2

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

packages/google-devtools-artifactregistry/protos/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
}

packages/google-devtools-artifactregistry/protos/protos.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)