Monitoring/src/V3/CreateNotificationChannelRequest.php
public function setNotificationChannel($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Monitoring\V3\NotificationChannel::class);
        $this->notification_channel = $var;

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

        return $this;
    }
public function setNotificationChannel ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ Monitoring \ V3 \ NotificationChannel :: class ) ; $ this -> notification_channel = $ var ; return $ this ; }
The definition of the `NotificationChannel` to create.

Generated from protobuf field <code>.google.monitoring.v3.NotificationChannel notification_channel = 2;</code>
@param \Google\Cloud\Monitoring\V3\NotificationChannel $var
@return $this
The definition of the NotificationChannel to create .