effectiveTime = $effectiveTime; } /** * @return string */ public function getEffectiveTime() { return $this->effectiveTime; } /** * @param bool */ public function setIsLocked($isLocked) { $this->isLocked = $isLocked; } /** * @return bool */ public function getIsLocked() { return $this->isLocked; } /** * @param string */ public function setRetentionPeriod($retentionPeriod) { $this->retentionPeriod = $retentionPeriod; } /** * @return string */ public function getRetentionPeriod() { return $this->retentionPeriod; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(BucketRetentionPolicy::class, 'Google_Service_Storage_BucketRetentionPolicy');