JobAppEngineHttpTarget

data class JobAppEngineHttpTarget(val appEngineRouting: JobAppEngineHttpTargetAppEngineRouting? = null, val body: String? = null, val headers: Map<String, String>? = null, val httpMethod: String? = null, val relativeUri: String)

Constructors

Link copied to clipboard
constructor(appEngineRouting: JobAppEngineHttpTargetAppEngineRouting? = null, body: String? = null, headers: Map<String, String>? = null, httpMethod: String? = null, relativeUri: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

App Engine Routing setting for the job. Structure is documented below.

Link copied to clipboard
val body: String? = null

HTTP request body. A request body is allowed only if the HTTP method is POST or PUT. It will result in invalid argument error to set a body on a job with an incompatible HttpMethod. A base64-encoded string.

Link copied to clipboard
val headers: Map<String, String>? = null

HTTP request headers. This map contains the header field names and values. Headers can be set when the job is created.

Link copied to clipboard
val httpMethod: String? = null

Which HTTP method to use for the request.

Link copied to clipboard

The relative URI. The relative URL must begin with "/" and must be a valid HTTP relative URL. It can contain a path, query string arguments, and \# fragments. If the relative URL is empty, then the root path "/" will be used. No spaces are allowed, and the maximum length allowed is 2083 characters