autoscalingSettings = $autoscalingSettings; } /** * @return AutoscalingSettings */ public function getAutoscalingSettings() { return $this->autoscalingSettings; } /** * Output only. Creation time of this resource. * * @param string $createTime */ public function setCreateTime($createTime) { $this->createTime = $createTime; } /** * @return string */ public function getCreateTime() { return $this->createTime; } /** * Output only. True if the cluster is a management cluster; false otherwise. * There can only be one management cluster in a private cloud and it has to * be the first one. * * @param bool $management */ public function setManagement($management) { $this->management = $management; } /** * @return bool */ public function getManagement() { return $this->management; } /** * Output only. Identifier. The resource name of this cluster. Resource names * are schemeless URIs that follow the conventions in * https://cloud.google.com/apis/design/resource_names. For example: * `projects/my-project/locations/us-central1-a/privateClouds/my- * cloud/clusters/my-cluster` * * @param string $name */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * Required. The map of cluster node types in this cluster, where the key is * canonical identifier of the node type (corresponds to the `NodeType`). * * @param NodeTypeConfig[] $nodeTypeConfigs */ public function setNodeTypeConfigs($nodeTypeConfigs) { $this->nodeTypeConfigs = $nodeTypeConfigs; } /** * @return NodeTypeConfig[] */ public function getNodeTypeConfigs() { return $this->nodeTypeConfigs; } /** * Output only. State of the resource. * * Accepted values: STATE_UNSPECIFIED, ACTIVE, CREATING, UPDATING, DELETING, * REPAIRING * * @param self::STATE_* $state */ public function setState($state) { $this->state = $state; } /** * @return self::STATE_* */ public function getState() { return $this->state; } /** * Optional. Configuration of a stretched cluster. Required for clusters that * belong to a STRETCHED private cloud. * * @param StretchedClusterConfig $stretchedClusterConfig */ public function setStretchedClusterConfig(StretchedClusterConfig $stretchedClusterConfig) { $this->stretchedClusterConfig = $stretchedClusterConfig; } /** * @return StretchedClusterConfig */ public function getStretchedClusterConfig() { return $this->stretchedClusterConfig; } /** * Output only. System-generated unique identifier for the resource. * * @param string $uid */ public function setUid($uid) { $this->uid = $uid; } /** * @return string */ public function getUid() { return $this->uid; } /** * Output only. Last update time of this resource. * * @param string $updateTime */ public function setUpdateTime($updateTime) { $this->updateTime = $updateTime; } /** * @return string */ public function getUpdateTime() { return $this->updateTime; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Cluster::class, 'Google_Service_VMwareEngine_Cluster');