Dlp/src/V2/StorageConfig.php
public function setDatastoreOptions($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dlp\V2\DatastoreOptions::class);
        $this->writeOneof(2, $var);

        return $this;
    }
public function setDatastoreOptions($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dlp\V2\DatastoreOptions::class);
        $this->writeOneof(2, $var);

        return $this;
    }
public function setDatastoreOptions ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ Dlp \ V2 \ DatastoreOptions :: class ) ; $ this -> writeOneof ( 2 , $ var ) ; return $ this ; }
Google Cloud Datastore options specification.

Generated from protobuf field <code>.google.privacy.dlp.v2.DatastoreOptions datastore_options = 2;</code>
@param \Google\Cloud\Dlp\V2\DatastoreOptions $var
@return $this
Google Cloud Datastore options specification .