Container/src/V1/NetworkPolicy.php
public function setProvider($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Container\V1\NetworkPolicy_Provider::class);
        $this->provider = $var;

        return $this;
    }
public function setProvider($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Container\V1\NetworkPolicy_Provider::class);
        $this->provider = $var;

        return $this;
    }
public function setProvider ( $ var ) { GPBUtil :: checkEnum ( $ var , \ Google \ Cloud \ Container \ V1 \ NetworkPolicy_Provider :: class ) ; $ this -> provider = $ var ; return $ this ; }
The selected network policy provider.

Generated from protobuf field <code>.google.container.v1.NetworkPolicy.Provider provider = 1;</code>
@param int $var
@return $this
The selected network policy provider .