Difference between revisions of "Gcloud asset list"

From wikieduonline
Jump to navigation Jump to search
(Created page with " <pre> gcloud asset list ERROR: (gcloud.asset.list) Exactly one of (--folder | --organization | --project) must be specified. Usage: gcloud asset list (--folder=FOLDER_ID | -...")
 
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{lc}}
  
 +
[[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>
+
 
gcloud asset list
+
 
ERROR: (gcloud.asset.list) Exactly one of (--folder | --organization | --project) must be specified.
+
gcloud asset list
Usage: gcloud asset list (--folder=FOLDER_ID | --organization=ORGANIZATION_ID | --project=PROJECT_ID) [optional flags]
+
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 |
 
   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:
 +
  [[gcloud asset list --help]]
  
For detailed information on this command and its flags, run:
+
== Related ==
  gcloud asset list --help
+
* <code>[[gcloud projects list]]</code>
</pre>
+
* <code>[[gcloud services list]] --available</code>
 
 
  
 
== See also ==
 
== See also ==
* {{gcloud}}
+
* {{gcloud asset}}
  
 
[[Category:GCP]]
 
[[Category:GCP]]

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: