Stackdriver Monitoring V3 Client - Class ContentType (1.11.0)

Reference documentation and code samples for the Stackdriver Monitoring V3 Client class ContentType.

Header options corresponding to the content type of a HTTP request body.

Protobuf type google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType

Namespace

Google \ Cloud \ Monitoring \ V3 \ UptimeCheckConfig \ HttpCheck

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

TYPE_UNSPECIFIED

Value: 0

No content type specified.

Generated from protobuf enum TYPE_UNSPECIFIED = 0;

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.

Generated from protobuf enum URL_ENCODED = 1;

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.

Generated from protobuf enum USER_PROVIDED = 2;