effectiveTime = $effectiveTime; } public function getEffectiveTime() { return $this->effectiveTime; } public function setIsLocked($isLocked) { $this->isLocked = $isLocked; } public function getIsLocked() { return $this->isLocked; } public function setRetentionPeriod($retentionPeriod) { $this->retentionPeriod = $retentionPeriod; } 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');