gcloud topic resource-keys

NAME
gcloud topic resource-keys - resource keys supplementary help
DESCRIPTION
Aresource is a JSON-serializable object organized as a tree. Eachnode is a scalar, indexed array, or dictionary. Structs and classes arerepresented by dictionaries indexed by member name.

Each node is reachable by a unique path of names from the root. A nodekey is the path names separated by '.'.[number] represents an array index. For example:

foofoo.barabc.def[3].ghi

The resource keys and data values for anygcloudlist command can be printed by runninggcloudlist--format=flattened. See the command specific documentation fordetails on specific resource keys.

EXAMPLES
This command lists the keys and values for theregions resource:
gcloudcomputeregionslist--format=flattened

and here is sample output for the command:

---creationTimestamp:2013-05-23T07:02:09.522-07:00description:us-central1id:22115839677829654kind:compute#regionname:us-central1quotas[0].limit:24.0quotas[0].metric:CPUSquotas[0].usage:15.0quotas[1].limit:5120.0quotas[1].metric:DISKS_TOTAL_GBquotas[1].usage:1416.0quotas[2].limit:7.0quotas[2].metric:STATIC_ADDRESSESquotas[2].usage:1.0quotas[3].limit:23.0quotas[3].metric:IN_USE_ADDRESSESquotas[3].usage:16.0quotas[4].limit:1024.0quotas[4].metric:SSD_TOTAL_GBquotas[4].usage:0.0quotas[5].limit:1500.0quotas[5].metric:LOCAL_SSD_TOTAL_GBquotas[5].usage:750.0selfLink:https://www.googleapis.com/…/us-central1status:UPzones[0]:us-central1-azones[1]:us-central1-bzones[2]:us-central1-f

Thelist command produces a resource list. The keys are to the leftof ':' and the values are to the right.

NOTES
These variants are also available:
gcloudalphatopicresource-keys
gcloudbetatopicresource-keys

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-07-22 UTC.