Container/src/V1/MaintenancePolicy.php
public function setWindow($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Container\V1\MaintenanceWindow::class);
        $this->window = $var;

        return $this;
    }
public function setWindow($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Container\V1\MaintenanceWindow::class);
        $this->window = $var;

        return $this;
    }
public function setWindow ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ Container \ V1 \ MaintenanceWindow :: class ) ; $ this -> window = $ var ; return $ this ; }
Specifies the maintenance window in which maintenance may be performed.

Generated from protobuf field <code>.google.container.v1.MaintenanceWindow window = 1;</code>
@param \Google\Cloud\Container\V1\MaintenanceWindow $var
@return $this
Specifies the maintenance window in which maintenance may be performed .