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 \ V2beta2Methods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
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;
PATCH
Value: 6
HTTP PATCH
Generated from protobuf enum PATCH = 6;
OPTIONS
Value: 7
HTTP OPTIONS
Generated from protobuf enum OPTIONS = 7;