Iot/src/V1/HttpConfig.php
public function setHttpEnabledState($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Iot\V1\HttpState::class);
        $this->http_enabled_state = $var;

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

        return $this;
    }
public function setHttpEnabledState ( $ var ) { GPBUtil :: checkEnum ( $ var , \ Google \ Cloud \ Iot \ V1 \ HttpState :: class ) ; $ this -> http_enabled_state = $ var ; return $ this ; }
If enabled, allows devices to use DeviceService via the HTTP protocol.
Otherwise, any requests to DeviceService will fail for this registry.

Generated from protobuf field <code>.google.cloud.iot.v1.HttpState http_enabled_state = 1;</code>
@param int $var
@return $this
If enabled allows devices to use DeviceService via the HTTP protocol . Otherwise any requests to DeviceService will fail for this registry .