feat: add Fingerprint to Artifact Registry Version resource · googleapis/googleapis@347b0e4

File tree

2 files changed

lines changed

  • google/devtools/artifactregistry/v1

2 files changed

lines changed

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) = {

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.