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
Methods
name
value
mixed
value
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;