gcp get-buckets
Get or list buckets
Description
get or list buckets
Synopsis
Arguments
site
- (string)
Site where this command will be executed
Example: --site "site-1"
Default: input.site
Attributes: optional
name
- (string)
Bucket name to fetch bucket details
Example: "bucket1"
Default: _None_
Attributes: optional
project
- (string)
Project name to fetch bucket
Example: --project "project-1"
Default: _None_
Attributes: optional
Examples
gcp get-buckets "bucket1" --project "project-1"
Access Control
To use this command, you need access to the following:
Field | Value |
---|---|
Action | "read" |
Service Type | "gcp" |
Service Instance | |
Namespace | |
Object Type | "bucket" |
Object ID | name |
Please see Access Control for details.