Google Artifact Registry: what's the alternative to artifacts.project-name.appspot.com?

Viewed 591

With Google Container Registry, one could use gsutil to list Docker layers stored within the registry. For example, this command would calculate total size (I'm assuming that's the billable size) of stored layers:

gsutil du -hs gs://us.artifacts.project-name.appspot.com/containers/images

What's the alternative for this for Artifact Registry and pkg.dev?

I tried the python API and while I can retrieve image sizes with ListDockerImagesRequest, there's no information of how layers are used/shared. Is there a way to find total billable repository size for Artifact Registry?

1 Answers
Related