gcloud beta topic resource-keys Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud beta topic resource-keys - resource keys supplementary help
- DESCRIPTION
(BETA)Aresourceis a JSON-serializable objectorganized as a tree. Each node is a scalar, indexed array, or dictionary.Structs and classes are represented by dictionaries indexed by member name.Each node is reachable by a unique path of names from the root. A node
keyis the path names separated by '.'.[number] represents an array index. For example:foofoo.barabc.def[3].ghi
The resource keys and data values for any
gcloudlistcommand can be printed by runninggcloud…list--format=flattened. See the command specific documentation fordetails on specific resource keys.- EXAMPLES
- This command lists the keys and values for the
regionsresource:gcloudcomputeregionslist--format=flattenedand 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
The
listcommand produces a resource list. The keys are to the leftof ':' and the values are to the right. - NOTES
- This command is currently in beta and might change without notice. Thesevariants are also available:
gcloudtopicresource-keysgcloudalphatopicresource-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.