Reference documentation and code samples for the Google Cloud Tasks V2 Client class HttpMethod.
The HTTP method used to deliver the task.
Protobuf type google.cloud.tasks.v2.HttpMethod
Namespace
Google \ Cloud \ Tasks \ V2Methods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
HTTP_METHOD_UNSPECIFIED
Value: 0HTTP method unspecified
Generated from protobuf enum HTTP_METHOD_UNSPECIFIED = 0;
POST
Value: 1HTTP POST
Generated from protobuf enum POST = 1;
GET
Value: 2HTTP GET
Generated from protobuf enum GET = 2;
HEAD
Value: 3HTTP HEAD
Generated from protobuf enum HEAD = 3;
PUT
Value: 4HTTP PUT
Generated from protobuf enum PUT = 4;
DELETE
Value: 5HTTP DELETE
Generated from protobuf enum DELETE = 5;
PATCH
Value: 6HTTP PATCH
Generated from protobuf enum PATCH = 6;
OPTIONS
Value: 7HTTP OPTIONS
Generated from protobuf enum OPTIONS = 7;