Skip to content

Commit 5655c23

Browse files
feat: [artifactregistry] add Fingerprint to Artifact Registry Version resource (#6960)
* feat: add Fingerprint to Artifact Registry Version resource docs: update the description of ExportArtifact PiperOrigin-RevId: 846851972 Source-Link: googleapis/googleapis@347b0e4 Source-Link: googleapis/googleapis-gen@a4b09b2 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWRldnRvb2xzLWFydGlmYWN0cmVnaXN0cnkvLk93bEJvdC55YW1sIiwiaCI6ImE0YjA5YjJiOTUyYjliYmVkZDhjYjFjOThhYjY4Mjk5OTEwZTExMGMifQ== * 🦉 Updates from OwlBot post-processor 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 168fe86 commit 5655c23

File tree

7 files changed

+69
-4
lines changed

7 files changed

+69
-4
lines changed

packages/google-devtools-artifactregistry/protos/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) = {

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

packages/google-devtools-artifactregistry/protos/protos.d.ts

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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

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

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

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/google-devtools-artifactregistry/samples/generated/v1/snippet_metadata_google.devtools.artifactregistry.v1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2215,7 +2215,7 @@
22152215
"regionTag": "artifactregistry_v1_generated_ArtifactRegistry_ExportArtifact_async",
22162216
"title": "ArtifactRegistry exportArtifact Sample",
22172217
"origin": "API_DEFINITION",
2218-
"description": " Exports an artifact.",
2218+
"description": " Exports an artifact to a Cloud Storage bucket.",
22192219
"canonical": true,
22202220
"file": "artifact_registry.export_artifact.js",
22212221
"language": "JAVASCRIPT",

packages/google-devtools-artifactregistry/src/v1/artifact_registry_client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4337,7 +4337,7 @@ export class ArtifactRegistryClient {
43374337
return decodeOperation as LROperation<protos.google.protobuf.Empty, protos.google.devtools.artifactregistry.v1.OperationMetadata>;
43384338
}
43394339
/**
4340-
* Exports an artifact.
4340+
* Exports an artifact to a Cloud Storage bucket.
43414341
*
43424342
* @param {Object} request
43434343
* The request object that will be sent.

0 commit comments

Comments
 (0)