Difference between revisions of "Gcloud asset list"

From wikieduonline
Jump to navigation Jump to search
Line 2: Line 2:
  
 
  gcloud asset list [[--project]] your_project_id
 
  gcloud asset list [[--project]] your_project_id
 +
[[API]] [cloudasset.googleapis.com] not enabled on project [0987654321]. Would you like to enable and retry (this will take a few
 +
minutes)? (y/N)?
 +
  
 
<pre>
 
<pre>

Revision as of 12:12, 2 May 2022

gcloud asset list --project your_project_id
API [cloudasset.googleapis.com] not enabled on project [0987654321]. Would you like to enable and retry (this will take a few

minutes)? (y/N)?


gcloud asset list
ERROR: (gcloud.asset.list) Exactly one of (--folder | --organization | --project) must be specified.
Usage: gcloud asset list (--folder=FOLDER_ID | --organization=ORGANIZATION_ID | --project=PROJECT_ID) [optional flags]
  optional flags may be  --asset-types | --content-type | --filter | --folder |
                         --help | --limit | --organization | --page-size |
                         --project | --relationship-types | --snapshot-time |
                         --sort-by

For detailed information on this command and its flags, run:
  gcloud asset list --help

Related


See also

Advertising: