Network Services V1 API - Module Google::Cloud::NetworkServices::V1::HttpRoute::Redirect::ResponseCode (v0.1.0)

Reference documentation and code samples for the Network Services V1 API module Google::Cloud::NetworkServices::V1::HttpRoute::Redirect::ResponseCode.

Supported HTTP response code.

Constants

RESPONSE_CODE_UNSPECIFIED

value: 0
Default value

MOVED_PERMANENTLY_DEFAULT

value: 1
Corresponds to 301.

FOUND

value: 2
Corresponds to 302.

SEE_OTHER

value: 3
Corresponds to 303.

TEMPORARY_REDIRECT

value: 4
Corresponds to 307. In this case, the request method will be retained.

PERMANENT_REDIRECT

value: 5
Corresponds to 308. In this case, the request method will be retained.