action = $action; } /** * @return BucketLifecycleRuleAction */ public function getAction() { return $this->action; } /** * @param BucketLifecycleRuleCondition */ public function setCondition(BucketLifecycleRuleCondition $condition) { $this->condition = $condition; } /** * @return BucketLifecycleRuleCondition */ public function getCondition() { return $this->condition; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(BucketLifecycleRule::class, 'Google_Service_Storage_BucketLifecycleRule');