Skip to content

Commit 347b0e4

Browse files
Google APIscopybara-github
authored andcommitted
feat: add Fingerprint to Artifact Registry Version resource
docs: update the description of ExportArtifact PiperOrigin-RevId: 846851972
1 parent affadb6 commit 347b0e4

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

google/devtools/artifactregistry/v1/service.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,7 @@ service ArtifactRegistry {
543543
};
544544
}
545545

546-
// Exports an artifact.
546+
// Exports an artifact to a Cloud Storage bucket.
547547
rpc ExportArtifact(ExportArtifactRequest)
548548
returns (google.longrunning.Operation) {
549549
option (google.api.http) = {

google/devtools/artifactregistry/v1/version.proto

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ package google.devtools.artifactregistry.v1;
1818

1919
import "google/api/field_behavior.proto";
2020
import "google/api/resource.proto";
21+
import "google/devtools/artifactregistry/v1/file.proto";
2122
import "google/devtools/artifactregistry/v1/tag.proto";
2223
import "google/protobuf/field_mask.proto";
2324
import "google/protobuf/struct.proto";
@@ -83,6 +84,11 @@ message Version {
8384

8485
// Optional. Client specified annotations.
8586
map<string, string> annotations = 9 [(google.api.field_behavior) = OPTIONAL];
87+
88+
// Output only. Immutable reference for the version, calculated based on the
89+
// version's content. Currently we only support dirsum_sha256 hash algorithm.
90+
// Additional hash algorithms may be added in the future.
91+
repeated Hash fingerprints = 10 [(google.api.field_behavior) = OUTPUT_ONLY];
8692
}
8793

8894
// The request to list versions.

0 commit comments

Comments
 (0)