Iot/src/V1/Device.php
public function setGatewayConfig($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Iot\V1\GatewayConfig::class);
        $this->gateway_config = $var;

        return $this;
    }
public function setGatewayConfig($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Iot\V1\GatewayConfig::class);
        $this->gateway_config = $var;

        return $this;
    }
public function setGatewayConfig ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ Iot \ V1 \ GatewayConfig :: class ) ; $ this -> gateway_config = $ var ; return $ this ; }
Gateway-related configuration and state.

Generated from protobuf field <code>.google.cloud.iot.v1.GatewayConfig gateway_config = 24;</code>
@param \Google\Cloud\Iot\V1\GatewayConfig $var
@return $this
Gateway - related configuration and state .