Iot/src/V1/GatewayConfig.php
public function setGatewayType($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Iot\V1\GatewayType::class);
        $this->gateway_type = $var;

        return $this;
    }
public function setGatewayType($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Iot\V1\GatewayType::class);
        $this->gateway_type = $var;

        return $this;
    }
public function setGatewayType ( $ var ) { GPBUtil :: checkEnum ( $ var , \ Google \ Cloud \ Iot \ V1 \ GatewayType :: class ) ; $ this -> gateway_type = $ var ; return $ this ; }
Indicates whether the device is a gateway.

Generated from protobuf field <code>.google.cloud.iot.v1.GatewayType gateway_type = 1;</code>
@param int $var
@return $this
Indicates whether the device is a gateway .