Stay organized with collections
Save and categorize content based on your preferences.
This page describes the query and filter syntax that
Cloud Location Finder uses to return cloud locations based on
territory, proximity, and
carbon free energy (CFE%) usage. For more
information, see the REST API reference.
Field
Supported operators
Description
Example
carbon_free_energy_percentage
>, <
Matches the carbon free energy percentage as defined by Google. CFE% only supported for Google Cloud locations.
carbon_free_energy_percentage > 75
cloud_location_type
=, !=
Matches a Cloud location type using an enum.
cloud_location_type = CLOUD_LOCATION_TYPE_REGION
cloud_provider
=, !=
Matches a Cloud provider using an enum.
cloud_provider = CLOUD_PROVIDER_GCP
containing_cloud_location
=, !=
Matches containing CloudLocation by full resource name.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Query and filter syntax for Cloud Location Finder\n\nThis page describes the query and filter syntax that\nCloud Location Finder uses to return cloud locations based on\nterritory, proximity, and\n[carbon free energy (CFE%)](/sustainability/region-carbon) usage. For more\ninformation, see the [REST API reference](/location-finder/docs/reference/rest).\n| **Note:** Field names in filters require snake case.\n\nExample filter\n--------------\n\nThis example filter illustrates the format to use when including a filter in\nCloud Location Finder HTTP or Google Cloud CLI queries. \n\n### HTTP\n\n```\nfilter=cloud_provider=CLOUD_PROVIDER_GCP%20AND%20cloud_location_type=CLOUD_LOCATION_TYPE_ZONE\n```\n\n### gcloud\n\n```\n--filter=\"cloud_provider=CLOUD_PROVIDER_GCP AND cloud_location_type=CLOUD_LOCATION_TYPE_ZONE\"\n```"]]