Send feedback
List storage objects
Stay organized with collections
Save and categorize content based on your preferences.
This page shows you how to list objects within Google Distributed Cloud (GDC) air-gapped appliance storage buckets.
Before you begin
A project namespace manages bucket resources in the Management API server. You
must have a project to work
with buckets and objects.
You must also have the appropriate bucket permissions to perform the following
operation. See Grant bucket access .
List objects in storage buckets
List the objects in the top level directory of a bucket:
gdcloud storage ls s3://FULLY_QUALIFIED_BUCKET_NAME
List all versions of objects in the top level directory of a bucket:
gdcloud storage ls --all-versions s3://FULLY_QUALIFIED_BUCKET_NAME
List the objects in a bucket with a prefix:
gdcloud storage ls s3://FULLY_QUALIFIED_BUCKET_NAME /<Prefix>/
List all versions of objects in a bucket with a prefix:
gdcloud storage ls --all-versions s3://FULLY_QUALIFIED_BUCKET_NAME /<Prefix>/
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-08 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-08 UTC."],[],[],null,[]]