Difference between revisions of "Gcloud asset list"

From wikieduonline
Jump to navigation Jump to search
 
Line 5: Line 5:
  
  
<pre>
+
 
gcloud asset list
+
gcloud asset list
ERROR: (gcloud.asset.list) Exactly one of (--folder | --organization | --project) must be specified.
+
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]
+
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 |
 
   optional flags may be  --asset-types | --content-type | --filter | --folder |
 
                         --help | --limit | --organization | --page-size |
 
                         --help | --limit | --organization | --page-size |
 
                         --project | --relationship-types | --snapshot-time |
 
                         --project | --relationship-types | --snapshot-time |
 
                         --sort-by
 
                         --sort-by
 
+
For detailed information on this command and its flags, run:
+
For detailed information on this command and its flags, run:
  gcloud asset list --help
+
  [[gcloud asset list --help]]
</pre>
 
  
 
== Related ==  
 
== Related ==  

Latest revision as of 19:53, 26 July 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[edit]

See also[edit]

Advertising: