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

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

        return $this;
    }
public function setMaintenancePolicy ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ Container \ V1 \ MaintenancePolicy :: class ) ; $ this -> maintenance_policy = $ var ; return $ this ; }
The maintenance policy to be set for the cluster. An empty field
clears the existing maintenance policy.

Generated from protobuf field <code>.google.container.v1.MaintenancePolicy maintenance_policy = 4;</code>
@param \Google\Cloud\Container\V1\MaintenancePolicy $var
@return $this
The maintenance policy to be set for the cluster . An empty field clears the existing maintenance policy .