Difference between revisions of "Gcloud asset list"
Jump to navigation
Jump to search
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
− | 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)? | ||
− | + | ||
− | 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: | + | For detailed information on this command and its flags, run: |
− | + | [[gcloud asset list --help]] | |
− | |||
== Related == | == Related == | ||
* <code>[[gcloud projects list]]</code> | * <code>[[gcloud projects list]]</code> | ||
− | + | * <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]
gcloud projects list
gcloud services list --available
See also[edit]
Advertising: