{
  "display_name": "Preferences",
  "monitored_resource": {
    "type": "uptime_url",
    "labels": {
      "host": "preferences.${domain_name}",
      "project_id": "${project_id}"
    }
  },
  "http_check": {
    "path": "/preferences/carla",
    "port": 80,
    "auth_info": {},
    "headers": {}
  },
  "period": {
    "seconds": 60
  },
  "timeout": {
    "seconds": 10
  },
  "content_matchers": [
    {}
  ],
  "selected_regions": [],
  "internal_checkers": []
}

{
  "display_name": "Preferences",
  "monitored_resource": {
    "type": "uptime_url",
    "labels": {
      "host": "preferences.${domain_name}",
      "project_id": "${project_id}"
    }
  },
  "http_check": {
    "path": "/preferences/carla",
    "use_ssl": ${env == "dev" ? "false" : "true"},
    "port": ${env == "dev" ? "80" : "443"},
    "auth_info": {},
    "headers": {}
  },
  "period": {
    "seconds": 60
  },
  "timeout": {
    "seconds": 10
  },
  "content_matchers": [
    {}
  ],
  "selected_regions": [],
  "internal_checkers": []
}

Use https check for stg, prd
Use https check for stg, prd
