Monitoring/src/V3/UptimeCheckConfig/HttpCheck.php
public function setAuthInfo($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Monitoring\V3\UptimeCheckConfig_HttpCheck_BasicAuthentication::class);
        $this->auth_info = $var;

        return $this;
    }
public function setAuthInfo($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Monitoring\V3\UptimeCheckConfig_HttpCheck_BasicAuthentication::class);
        $this->auth_info = $var;

        return $this;
    }
public function setAuthInfo ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ Monitoring \ V3 \ UptimeCheckConfig_HttpCheck_BasicAuthentication :: class ) ; $ this -> auth_info = $ var ; return $ this ; }
The authentication information. Optional when creating an HTTP check;
defaults to empty.

Generated from protobuf field <code>.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4;</code>
@param \Google\Cloud\Monitoring\V3\UptimeCheckConfig\HttpCheck\BasicAuthentication $var
@return $this
The authentication information . Optional when creating an HTTP check ; defaults to empty .