Enum HttpMethod (2.43.0)

public enum HttpMethod extends Enum<HttpMethod> implements ProtocolMessageEnum

The HTTP method used to execute the job.

Protobuf enum google.cloud.scheduler.v1.HttpMethod

Implements

ProtocolMessageEnum

Static Fields

Name Description
DELETE

HTTP DELETE

DELETE = 5;

DELETE_VALUE

HTTP DELETE

DELETE = 5;

GET

HTTP GET

GET = 2;

GET_VALUE

HTTP GET

GET = 2;

HEAD

HTTP HEAD

HEAD = 3;

HEAD_VALUE

HTTP HEAD

HEAD = 3;

HTTP_METHOD_UNSPECIFIED

HTTP method unspecified. Defaults to POST.

HTTP_METHOD_UNSPECIFIED = 0;

HTTP_METHOD_UNSPECIFIED_VALUE

HTTP method unspecified. Defaults to POST.

HTTP_METHOD_UNSPECIFIED = 0;

OPTIONS

HTTP OPTIONS

OPTIONS = 7;

OPTIONS_VALUE

HTTP OPTIONS

OPTIONS = 7;

PATCH

HTTP PATCH

PATCH = 6;

PATCH_VALUE

HTTP PATCH

PATCH = 6;

POST

HTTP POST

POST = 1;

POST_VALUE

HTTP POST

POST = 1;

PUT

HTTP PUT

PUT = 4;

PUT_VALUE

HTTP PUT

PUT = 4;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()