clientStatus = $clientStatus; } /** * @return self::CLIENT_STATUS_* */ public function getClientStatus() { return $this->clientStatus; } /** * The cluster config. * * @param array[] $cluster */ public function setCluster($cluster) { $this->cluster = $cluster; } /** * @return array[] */ public function getCluster() { return $this->cluster; } /** * Set if the last update failed, cleared after the next successful update. * The ``error_state`` field contains the rejected version of this particular * resource along with the reason and timestamp. For successfully updated or * acknowledged resource, this field should be empty. [#not-implemented-hide:] * * @param UpdateFailureState $errorState */ public function setErrorState(UpdateFailureState $errorState) { $this->errorState = $errorState; } /** * @return UpdateFailureState */ public function getErrorState() { return $this->errorState; } /** * The timestamp when the Cluster was last updated. * * @param string $lastUpdated */ public function setLastUpdated($lastUpdated) { $this->lastUpdated = $lastUpdated; } /** * @return string */ public function getLastUpdated() { return $this->lastUpdated; } /** * This is the per-resource version information. This version is currently * taken from the :ref:`version_info ` field at the time that the cluster was * loaded. In the future, discrete per-cluster versions may be supported by * the API. * * @param string $versionInfo */ public function setVersionInfo($versionInfo) { $this->versionInfo = $versionInfo; } /** * @return string */ public function getVersionInfo() { return $this->versionInfo; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(DynamicCluster::class, 'Google_Service_TrafficDirectorService_DynamicCluster');