gcp list-objects
List objects
Description
list all the objects' metadata info
Synopsis
Arguments
site
- (string)
Site where this command will be executed
Example: --site "site-1"
Default: input.site
Attributes: optional
name
- (string)
Object name to fetch info
Example: "logfile1"
Default: _None_
Attributes: optional
bucket
- (string)
Bucket name
Example: --bucket "bucket1"
Default: _None_
Attributes: required
prefix
- (string)
Prefix for the object name
Example: --prefix "logObject"
Default: _None_
Attributes: optional
Examples
gcp list-objects "logfile1" --bucket "bucket1" --prefix "logObject"
Access Control
To use this command, you need access to the following:
Field | Value |
---|---|
Action | "read" |
Service Type | "gcp" |
Service Instance | |
Namespace | |
Object Type | "object" |
Object ID | name |
Please see Access Control for details.