# Google Cloud IoT Core V1 Client - Class GatewayType (1.7.5)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [1.7.5 (latest)](https://docs.cloud.google.com/php/docs/reference/cloud-iot/latest/V1.GatewayType)
- [1.7.4](https://docs.cloud.google.com/php/docs/reference/cloud-iot/1.7.4/V1.GatewayType)
- [1.6.4](https://docs.cloud.google.com/php/docs/reference/cloud-iot/1.6.4/V1.GatewayType)
- [1.5.12](https://docs.cloud.google.com/php/docs/reference/cloud-iot/1.5.12/V1.GatewayType)
Reference documentation and code samples for the Google Cloud IoT Core V1 Client class GatewayType.

Gateway type.

Protobuf type `google.cloud.iot.v1.GatewayType`

## Namespace

Google \\ Cloud \\ Iot \\ V1

## Methods

### static::name

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

### static::value

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

## Constants

### GATEWAY_TYPE_UNSPECIFIED

    Value: 0

If unspecified, the device is considered a non-gateway device.

Generated from protobuf enum `GATEWAY_TYPE_UNSPECIFIED = 0;`

### GATEWAY

    Value: 1

The device is a gateway.

Generated from protobuf enum `GATEWAY = 1;`

### NON_GATEWAY

    Value: 2

The device is not a gateway.

Generated from protobuf enum `NON_GATEWAY = 2;`