Google Cloud Tasks V2beta2 Client - Class AppEngineHttpTarget (1.14.6)

Reference documentation and code samples for the Google Cloud Tasks V2beta2 Client class AppEngineHttpTarget.

App Engine HTTP target.

The task will be delivered to the App Engine application hostname specified by its AppEngineHttpTarget and AppEngineHttpRequest. The documentation for AppEngineHttpRequest explains how the task's host URL is constructed. Using AppEngineHttpTarget requires appengine.applications.get Google IAM permission for the project and the following scope: https://www.googleapis.com/auth/cloud-platform

Generated from protobuf message google.cloud.tasks.v2beta2.AppEngineHttpTarget

Namespace

Google \ Cloud \ Tasks \ V2beta2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ app_engine_routing_override Google\Cloud\Tasks\V2beta2\AppEngineRouting

Overrides for the task-level app_engine_routing. If set, app_engine_routing_override is used for all tasks in the queue, no matter what the setting is for the task-level app_engine_routing.

getAppEngineRoutingOverride

Overrides for the task-level app_engine_routing.

If set, app_engine_routing_override is used for all tasks in the queue, no matter what the setting is for the task-level app_engine_routing.

Returns
Type Description
Google\Cloud\Tasks\V2beta2\AppEngineRouting|null

hasAppEngineRoutingOverride

clearAppEngineRoutingOverride

setAppEngineRoutingOverride

Overrides for the task-level app_engine_routing.

If set, app_engine_routing_override is used for all tasks in the queue, no matter what the setting is for the task-level app_engine_routing.

Parameter
Name Description
var Google\Cloud\Tasks\V2beta2\AppEngineRouting
Returns
Type Description
$this