Reference documentation and code samples for the Google Cloud Api Hub V1 Client class HttpElementLocation.
Enum of location an HTTP element can be.
Protobuf type google.cloud.apihub.v1.AuthConfig.ApiKeyConfig.HttpElementLocation
Namespace
Google \ Cloud \ ApiHub \ V1 \ AuthConfig \ ApiKeyConfigMethods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
HTTP_ELEMENT_LOCATION_UNSPECIFIED
Value: 0
HTTP element location not specified.
Generated from protobuf enum HTTP_ELEMENT_LOCATION_UNSPECIFIED = 0;
QUERY
Value: 1
Element is in the HTTP request query.
Generated from protobuf enum QUERY = 1;
HEADER
Value: 2
Element is in the HTTP request header.
Generated from protobuf enum HEADER = 2;
PATH
Value: 3
Element is in the HTTP request path.
Generated from protobuf enum PATH = 3;
BODY
Value: 4
Element is in the HTTP request body.
Generated from protobuf enum BODY = 4;
COOKIE
Value: 5
Element is in the HTTP request cookie.
Generated from protobuf enum COOKIE = 5;