GetRegionFromSchema("region", "zone", d, config) is equivalent to GetRegion(d, config).
In this PR I'm trying to reduce direct usage of GetRegionFromSchema in resources so it's only used by resources who have non-standard location-type fields (for example google_redis_instance's use of location_id).
Release Note Template for Downstream PRs (will be copied)
GetRegionFromSchema("region", "zone", d, config) is equivalent to GetRegion(d, config).
In this PR I'm trying to reduce direct usage of GetRegionFromSchema in resources so it's only used by resources who have non-standard location-type fields (for example google_redis_instance's use of location_id).
Release Note Template for Downstream PRs (will be copied)
See Write release notes for guidance.
Derived from https://github.com/GoogleCloudPlatform/magic-modules/pull/12371