Google Cloud Tasks V2beta2 Client - Class HttpMethod (1.12.2)

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

The HTTP method used to execute the task.

Protobuf type google.cloud.tasks.v2beta2.HttpMethod

Namespace

Google \ Cloud \ Tasks \ V2beta2

Methods

static::name

Parameter
NameDescription
value mixed

static::value

Parameter
NameDescription
name mixed

Constants

HTTP_METHOD_UNSPECIFIED

Value: 0

HTTP method unspecified

Generated from protobuf enum HTTP_METHOD_UNSPECIFIED = 0;

POST

Value: 1

HTTP POST

Generated from protobuf enum POST = 1;

GET

Value: 2

HTTP GET

Generated from protobuf enum GET = 2;

HEAD

Value: 3

HTTP HEAD

Generated from protobuf enum HEAD = 3;

PUT

Value: 4

HTTP PUT

Generated from protobuf enum PUT = 4;

DELETE

Value: 5

HTTP DELETE

Generated from protobuf enum DELETE = 5;