Compute Engine v1 API - Enum HttpRedirectAction.Types.RedirectResponseCode (2.13.0)

public enum HttpRedirectAction.Types.RedirectResponseCode

Reference documentation and code samples for the Compute Engine v1 API enum HttpRedirectAction.Types.RedirectResponseCode.

The HTTP Status code to use for this RedirectAction. Supported values are: - MOVED_PERMANENTLY_DEFAULT, which is the default value and corresponds to 301. - FOUND, which corresponds to 302. - SEE_OTHER which corresponds to 303. - TEMPORARY_REDIRECT, which corresponds to 307. In this case, the request method is retained. - PERMANENT_REDIRECT, which corresponds to 308. In this case, the request method is retained.

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Fields

NameDescription
Found

Http Status Code 302 - Found.

MovedPermanentlyDefault

Http Status Code 301 - Moved Permanently.

PermanentRedirect

Http Status Code 308 - Permanent Redirect maintaining HTTP method.

SeeOther

Http Status Code 303 - See Other.

TemporaryRedirect

Http Status Code 307 - Temporary Redirect maintaining HTTP method.

UndefinedRedirectResponseCode

A value indicating that the enum field is not set.