allowOverwrite = $allowOverwrite; } /** * @return bool */ public function getAllowOverwrite() { return $this->allowOverwrite; } /** * If true, copies the source object's ACL; otherwise, uses the bucket's * default object ACL. The default is false. * * @param bool $copySourceAcl */ public function setCopySourceAcl($copySourceAcl) { $this->copySourceAcl = $copySourceAcl; } /** * @return bool */ public function getCopySourceAcl() { return $this->copySourceAcl; } /** * Restores only the objects that were created after this time. * * @param string $createdAfterTime */ public function setCreatedAfterTime($createdAfterTime) { $this->createdAfterTime = $createdAfterTime; } /** * @return string */ public function getCreatedAfterTime() { return $this->createdAfterTime; } /** * Restores only the objects that were created before this time. * * @param string $createdBeforeTime */ public function setCreatedBeforeTime($createdBeforeTime) { $this->createdBeforeTime = $createdBeforeTime; } /** * @return string */ public function getCreatedBeforeTime() { return $this->createdBeforeTime; } /** * Restores only the objects matching any of the specified glob(s). If this * parameter is not specified, all objects will be restored within the * specified time range. * * @param string[] $matchGlobs */ public function setMatchGlobs($matchGlobs) { $this->matchGlobs = $matchGlobs; } /** * @return string[] */ public function getMatchGlobs() { return $this->matchGlobs; } /** * Restores only the objects that were soft-deleted after this time. * * @param string $softDeletedAfterTime */ public function setSoftDeletedAfterTime($softDeletedAfterTime) { $this->softDeletedAfterTime = $softDeletedAfterTime; } /** * @return string */ public function getSoftDeletedAfterTime() { return $this->softDeletedAfterTime; } /** * Restores only the objects that were soft-deleted before this time. * * @param string $softDeletedBeforeTime */ public function setSoftDeletedBeforeTime($softDeletedBeforeTime) { $this->softDeletedBeforeTime = $softDeletedBeforeTime; } /** * @return string */ public function getSoftDeletedBeforeTime() { return $this->softDeletedBeforeTime; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(BulkRestoreObjectsRequest::class, 'Google_Service_Storage_BulkRestoreObjectsRequest');