Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

Commit

Permalink
fix(artifactregistry): fix resource pattern ID segment name (#193)
Browse files Browse the repository at this point in the history
- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 416140747

Source-Link: googleapis/googleapis@429d35c

Source-Link: https://github.com/googleapis/googleapis-gen/commit/9fea20edc60413248646c49c2e5d986633edb193
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOWZlYTIwZWRjNjA0MTMyNDg2NDZjNDljMmU1ZDk4NjYzM2VkYjE5MyJ9
  • Loading branch information
gcf-owl-bot[bot] authored Dec 28, 2021
1 parent 8464a4f commit a3edf3d
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,28 +64,28 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "pe\030\001 \001(\01627.google.devtools.artifactregis"
+ "try.v1beta2.Hash.HashType\022\r\n\005value\030\002 \001(\014"
+ "\"1\n\010HashType\022\031\n\025HASH_TYPE_UNSPECIFIED\020\000\022"
+ "\n\n\006SHA256\020\001\"\316\002\n\004File\022\014\n\004name\030\001 \001(\t\022\022\n\nsi"
+ "\n\n\006SHA256\020\001\"\324\002\n\004File\022\014\n\004name\030\001 \001(\t\022\022\n\nsi"
+ "ze_bytes\030\003 \001(\003\022>\n\006hashes\030\004 \003(\0132..google."
+ "devtools.artifactregistry.v1beta2.Hash\022/"
+ "\n\013create_time\030\005 \001(\0132\032.google.protobuf.Ti"
+ "mestamp\022/\n\013update_time\030\006 \001(\0132\032.google.pr"
+ "otobuf.Timestamp\022\r\n\005owner\030\007 \001(\t:s\352Ap\n$ar"
+ "tifactregistry.googleapis.com/File\022Hproj"
+ "otobuf.Timestamp\022\r\n\005owner\030\007 \001(\t:y\352Av\n$ar"
+ "tifactregistry.googleapis.com/File\022Nproj"
+ "ects/{project}/locations/{location}/repo"
+ "sitories/{repo}/files/{file}\"Y\n\020ListFile"
+ "sRequest\022\016\n\006parent\030\001 \001(\t\022\016\n\006filter\030\004 \001(\t"
+ "\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\""
+ "k\n\021ListFilesResponse\022=\n\005files\030\001 \003(\0132..go"
+ "ogle.devtools.artifactregistry.v1beta2.F"
+ "ile\022\027\n\017next_page_token\030\002 \001(\t\"\036\n\016GetFileR"
+ "equest\022\014\n\004name\030\001 \001(\tB\220\002\n,com.google.devt"
+ "ools.artifactregistry.v1beta2B\tFileProto"
+ "P\001ZXgoogle.golang.org/genproto/googleapi"
+ "s/devtools/artifactregistry/v1beta2;arti"
+ "factregistry\252\002%Google.Cloud.ArtifactRegi"
+ "stry.V1Beta2\312\002%Google\\Cloud\\ArtifactRegi"
+ "stry\\V1beta2\352\002(Google::Cloud::ArtifactRe"
+ "gistry::V1beta2b\006proto3"
+ "sitories/{repository}/files/{file}\"Y\n\020Li"
+ "stFilesRequest\022\016\n\006parent\030\001 \001(\t\022\016\n\006filter"
+ "\030\004 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030"
+ "\003 \001(\t\"k\n\021ListFilesResponse\022=\n\005files\030\001 \003("
+ "\0132..google.devtools.artifactregistry.v1b"
+ "eta2.File\022\027\n\017next_page_token\030\002 \001(\t\"\036\n\016Ge"
+ "tFileRequest\022\014\n\004name\030\001 \001(\tB\220\002\n,com.googl"
+ "e.devtools.artifactregistry.v1beta2B\tFil"
+ "eProtoP\001ZXgoogle.golang.org/genproto/goo"
+ "gleapis/devtools/artifactregistry/v1beta"
+ "2;artifactregistry\252\002%Google.Cloud.Artifa"
+ "ctRegistry.V1Beta2\312\002%Google\\Cloud\\Artifa"
+ "ctRegistry\\V1beta2\352\002(Google::Cloud::Arti"
+ "factRegistry::V1beta2b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ message Hash {
message File {
option (google.api.resource) = {
type: "artifactregistry.googleapis.com/File"
pattern: "projects/{project}/locations/{location}/repositories/{repo}/files/{file}"
pattern: "projects/{project}/locations/{location}/repositories/{repository}/files/{file}"
};

// The name of the file, for example:
Expand Down

0 comments on commit a3edf3d

Please sign in to comment.