in opentelemetry-resourcedetector-gcp/src/opentelemetry/resourcedetector/gcp_resource_detector/_gae.py [0:0]
def flex_availability_zone_and_region() -> _gce.ZoneAndRegion:
"""The zone and region in which this program is running.
Check that ``on_app_engine()`` is true before calling this, or it may throw exceptions.
"""
return _gce.availability_zone_and_region()