Dlp/src/V2/DatastoreOptions.php
public function setPartitionId($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dlp\V2\PartitionId::class);
        $this->partition_id = $var;

        return $this;
    }
public function setPartitionId($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dlp\V2\PartitionId::class);
        $this->partition_id = $var;

        return $this;
    }
public function setPartitionId ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ Dlp \ V2 \ PartitionId :: class ) ; $ this -> partition_id = $ var ; return $ this ; }
A partition ID identifies a grouping of entities. The grouping is always
by project and namespace, however the namespace ID may be empty.

Generated from protobuf field <code>.google.privacy.dlp.v2.PartitionId partition_id = 1;</code>
@param \Google\Cloud\Dlp\V2\PartitionId $var
@return $this
A partition ID identifies a grouping of entities . The grouping is always by project and namespace however the namespace ID may be empty .