Reference documentation and code samples for the Cloud Monitoring V3 API module Google::Cloud::Monitoring::V3::UptimeCheckConfig::HttpCheck::ContentType.
Header options corresponding to the content type of a HTTP request body.
Constants
TYPE_UNSPECIFIED
value: 0 No content type specified.
URL_ENCODED
value: 1 body is in URL-encoded form. Equivalent to setting the Content-Type
to application/x-www-form-urlencoded in the HTTP request.
USER_PROVIDED
value: 2 body is in custom_content_type form. Equivalent to setting the
Content-Type to the contents of custom_content_type in the HTTP
request.
[[["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,["# Cloud Monitoring V3 API - Module Google::Cloud::Monitoring::V3::UptimeCheckConfig::HttpCheck::ContentType (v1.6.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.6.1 (latest)](/ruby/docs/reference/google-cloud-monitoring-v3/latest/Google-Cloud-Monitoring-V3-UptimeCheckConfig-HttpCheck-ContentType)\n- [1.6.0](/ruby/docs/reference/google-cloud-monitoring-v3/1.6.0/Google-Cloud-Monitoring-V3-UptimeCheckConfig-HttpCheck-ContentType)\n- [1.5.1](/ruby/docs/reference/google-cloud-monitoring-v3/1.5.1/Google-Cloud-Monitoring-V3-UptimeCheckConfig-HttpCheck-ContentType)\n- [1.4.0](/ruby/docs/reference/google-cloud-monitoring-v3/1.4.0/Google-Cloud-Monitoring-V3-UptimeCheckConfig-HttpCheck-ContentType)\n- [1.3.0](/ruby/docs/reference/google-cloud-monitoring-v3/1.3.0/Google-Cloud-Monitoring-V3-UptimeCheckConfig-HttpCheck-ContentType)\n- [1.2.0](/ruby/docs/reference/google-cloud-monitoring-v3/1.2.0/Google-Cloud-Monitoring-V3-UptimeCheckConfig-HttpCheck-ContentType)\n- [1.1.0](/ruby/docs/reference/google-cloud-monitoring-v3/1.1.0/Google-Cloud-Monitoring-V3-UptimeCheckConfig-HttpCheck-ContentType)\n- [1.0.1](/ruby/docs/reference/google-cloud-monitoring-v3/1.0.1/Google-Cloud-Monitoring-V3-UptimeCheckConfig-HttpCheck-ContentType)\n- [0.18.0](/ruby/docs/reference/google-cloud-monitoring-v3/0.18.0/Google-Cloud-Monitoring-V3-UptimeCheckConfig-HttpCheck-ContentType)\n- [0.17.0](/ruby/docs/reference/google-cloud-monitoring-v3/0.17.0/Google-Cloud-Monitoring-V3-UptimeCheckConfig-HttpCheck-ContentType)\n- [0.16.0](/ruby/docs/reference/google-cloud-monitoring-v3/0.16.0/Google-Cloud-Monitoring-V3-UptimeCheckConfig-HttpCheck-ContentType)\n- [0.15.2](/ruby/docs/reference/google-cloud-monitoring-v3/0.15.2/Google-Cloud-Monitoring-V3-UptimeCheckConfig-HttpCheck-ContentType)\n- [0.14.0](/ruby/docs/reference/google-cloud-monitoring-v3/0.14.0/Google-Cloud-Monitoring-V3-UptimeCheckConfig-HttpCheck-ContentType)\n- [0.13.0](/ruby/docs/reference/google-cloud-monitoring-v3/0.13.0/Google-Cloud-Monitoring-V3-UptimeCheckConfig-HttpCheck-ContentType)\n- [0.12.1](/ruby/docs/reference/google-cloud-monitoring-v3/0.12.1/Google-Cloud-Monitoring-V3-UptimeCheckConfig-HttpCheck-ContentType)\n- [0.11.0](/ruby/docs/reference/google-cloud-monitoring-v3/0.11.0/Google-Cloud-Monitoring-V3-UptimeCheckConfig-HttpCheck-ContentType)\n- [0.10.0](/ruby/docs/reference/google-cloud-monitoring-v3/0.10.0/Google-Cloud-Monitoring-V3-UptimeCheckConfig-HttpCheck-ContentType)\n- [0.9.0](/ruby/docs/reference/google-cloud-monitoring-v3/0.9.0/Google-Cloud-Monitoring-V3-UptimeCheckConfig-HttpCheck-ContentType)\n- [0.8.0](/ruby/docs/reference/google-cloud-monitoring-v3/0.8.0/Google-Cloud-Monitoring-V3-UptimeCheckConfig-HttpCheck-ContentType)\n- [0.7.1](/ruby/docs/reference/google-cloud-monitoring-v3/0.7.1/Google-Cloud-Monitoring-V3-UptimeCheckConfig-HttpCheck-ContentType) \nReference documentation and code samples for the Cloud Monitoring V3 API module Google::Cloud::Monitoring::V3::UptimeCheckConfig::HttpCheck::ContentType.\n\nHeader options corresponding to the content type of a HTTP request body.\n\nConstants\n---------\n\n### TYPE_UNSPECIFIED\n\n**value:** 0 \nNo content type specified.\n\n### URL_ENCODED\n\n**value:** 1 \n`body` is in URL-encoded form. Equivalent to setting the `Content-Type`\nto `application/x-www-form-urlencoded` in the HTTP request.\n\n### USER_PROVIDED\n\n**value:** 2 \n`body` is in `custom_content_type` form. Equivalent to setting the\n`Content-Type` to the contents of `custom_content_type` in the HTTP\nrequest."]]