# Cloud Scheduler V1 Client - Class HttpMethod (2.2.0)

2.2.0 (latest) 2.1.2 2.0.5 1.10.5 1.9.4 1.8.3 1.7.1 1.6.8 Reference documentation and code samples for the Cloud Scheduler V1 Client class HttpMethod.

The HTTP method used to execute the job.

Protobuf type `google.cloud.scheduler.v1.HttpMethod`

## Namespace

Google \\ Cloud \\ Scheduler \\ V1

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### HTTP_METHOD_UNSPECIFIED

    Value: 0

HTTP method unspecified. Defaults to POST.

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;`