# Google Cloud Network Services V1 Client - Class ResponseCode (0.8.2)

0.8.2 (latest) 0.8.1 0.7.1 0.6.1 0.5.0 0.4.0 0.3.0 0.2.3 0.1.1 Reference documentation and code samples for the Google Cloud Network Services V1 Client class ResponseCode.

Supported HTTP response code.

Protobuf type `google.cloud.networkservices.v1.HttpRoute.Redirect.ResponseCode`

## Namespace

Google \\ Cloud \\ NetworkServices \\ V1 \\ HttpRoute \\ Redirect

## Methods

### static::name

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

### static::value

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

## Constants

### RESPONSE_CODE_UNSPECIFIED

    Value: 0

Default value

Generated from protobuf enum `RESPONSE_CODE_UNSPECIFIED = 0;`

### MOVED_PERMANENTLY_DEFAULT

    Value: 1

Corresponds to 301.

Generated from protobuf enum `MOVED_PERMANENTLY_DEFAULT = 1;`

### FOUND

    Value: 2

Corresponds to 302.

Generated from protobuf enum `FOUND = 2;`

### SEE_OTHER

    Value: 3

Corresponds to 303.

Generated from protobuf enum `SEE_OTHER = 3;`

### TEMPORARY_REDIRECT

    Value: 4

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

Generated from protobuf enum `TEMPORARY_REDIRECT = 4;`

### PERMANENT_REDIRECT

    Value: 5

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

Generated from protobuf enum `PERMANENT_REDIRECT = 5;`