action = $action; } /** * @return string */ public function getAction() { return $this->action; } /** * @param CleanupPolicyCondition */ public function setCondition(CleanupPolicyCondition $condition) { $this->condition = $condition; } /** * @return CleanupPolicyCondition */ public function getCondition() { return $this->condition; } /** * @param string */ public function setId($id) { $this->id = $id; } /** * @return string */ public function getId() { return $this->id; } /** * @param CleanupPolicyMostRecentVersions */ public function setMostRecentVersions(CleanupPolicyMostRecentVersions $mostRecentVersions) { $this->mostRecentVersions = $mostRecentVersions; } /** * @return CleanupPolicyMostRecentVersions */ public function getMostRecentVersions() { return $this->mostRecentVersions; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(CleanupPolicy::class, 'Google_Service_ArtifactRegistry_CleanupPolicy');