The following command lists all objects in bucket my-bucket:
gdcloud storage objects list s3://my-bucket
The following command lists all objects in bucket beginning with "o":
gdcloud storage objects list s3://my-bucket/o*
The following command lists all objects in bucket with JSON formatting, only returning the
value of the name metadata field:
gdcloud storage objects list s3://my-bucket --format="json(name)"
OPTIONAL FLAGS
--log-http Log all HTTP server requests and responses to stderr.
--verbosity string Override the default verbosity for this command. VERBOSITY must be one of:
debug, info, warning, error, critical, none. (default "warning")
GDCLOUD WIDE FLAGS
These flags are available to all commands: --configuration, --format, --help, --project, --quiet.
[[["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-07 UTC."],[[["\u003cp\u003eThis command, \u003ccode\u003egdcloud storage objects list\u003c/code\u003e, is used to list storage objects.\u003c/p\u003e\n"],["\u003cp\u003eYou can specify URLs to list objects from specific locations, like \u003ccode\u003es3://my-bucket\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe command supports wildcard characters (e.g., \u003ccode\u003eo*\u003c/code\u003e) to filter object names.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003e--format\u003c/code\u003e flag allows output customization, such as returning a specific JSON metadata field.\u003c/p\u003e\n"],["\u003cp\u003eOptional flags like \u003ccode\u003e--log-http\u003c/code\u003e and \u003ccode\u003e--verbosity\u003c/code\u003e provide additional control over the command's operation.\u003c/p\u003e\n"]]],[],null,[]]