# Google Cloud VMware Engine V1 API - Class Google::Cloud::VmwareEngine::V1::Cluster (v1.5.0)

1.5.0 (latest) 1.4.1 1.3.1 1.2.0 1.1.0 1.0.1 0.11.0 0.10.0 0.9.2 0.8.0 0.7.1 0.6.1 0.5.0 0.4.0 0.3.1 0.2.0 0.1.1 Reference documentation and code samples for the Google Cloud VMware Engine V1 API class Google::Cloud::VmwareEngine::V1::Cluster.

A cluster in a private cloud.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #autoscaling_settings

    def autoscaling_settings() -> ::Google::Cloud::VmwareEngine::V1::AutoscalingSettings

**Returns**

- ([::Google::Cloud::VmwareEngine::V1::AutoscalingSettings](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vmware_engine-v1/latest/Google-Cloud-VmwareEngine-V1-AutoscalingSettings)) --- Optional. Configuration of the autoscaling applied to this cluster.

### #autoscaling_settings=

    def autoscaling_settings=(value) -> ::Google::Cloud::VmwareEngine::V1::AutoscalingSettings

**Parameter**

- **value** ([::Google::Cloud::VmwareEngine::V1::AutoscalingSettings](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vmware_engine-v1/latest/Google-Cloud-VmwareEngine-V1-AutoscalingSettings)) --- Optional. Configuration of the autoscaling applied to this cluster.
**Returns**

- ([::Google::Cloud::VmwareEngine::V1::AutoscalingSettings](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vmware_engine-v1/latest/Google-Cloud-VmwareEngine-V1-AutoscalingSettings)) --- Optional. Configuration of the autoscaling applied to this cluster.

### #create_time

    def create_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vmware_engine-v1/latest/Google-Protobuf-Timestamp)) --- Output only. Creation time of this resource.

### #management

    def management() -> ::Boolean

**Returns**

- (::Boolean) --- 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.

### #name

    def name() -> ::String

**Returns**

- (::String) --- Output only. 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`

### #node_type_configs

    def node_type_configs() -> ::Google::Protobuf::Map{::String => ::Google::Cloud::VmwareEngine::V1::NodeTypeConfig}

**Returns**

- (::Google::Protobuf::Map{::String =\> ::Google::Cloud::VmwareEngine::V1::NodeTypeConfig}) --- Required. The map of cluster node types in this cluster, where the key is canonical identifier of the node type (corresponds to the `NodeType`).

### #node_type_configs=

    def node_type_configs=(value) -> ::Google::Protobuf::Map{::String => ::Google::Cloud::VmwareEngine::V1::NodeTypeConfig}

**Parameter**

- **value** (::Google::Protobuf::Map{::String =\> ::Google::Cloud::VmwareEngine::V1::NodeTypeConfig}) --- Required. The map of cluster node types in this cluster, where the key is canonical identifier of the node type (corresponds to the `NodeType`).
**Returns**

- (::Google::Protobuf::Map{::String =\> ::Google::Cloud::VmwareEngine::V1::NodeTypeConfig}) --- Required. The map of cluster node types in this cluster, where the key is canonical identifier of the node type (corresponds to the `NodeType`).

### #state

    def state() -> ::Google::Cloud::VmwareEngine::V1::Cluster::State

**Returns**

- ([::Google::Cloud::VmwareEngine::V1::Cluster::State](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vmware_engine-v1/latest/Google-Cloud-VmwareEngine-V1-Cluster-State)) --- Output only. State of the resource.

### #stretched_cluster_config

    def stretched_cluster_config() -> ::Google::Cloud::VmwareEngine::V1::StretchedClusterConfig

**Returns**

- ([::Google::Cloud::VmwareEngine::V1::StretchedClusterConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vmware_engine-v1/latest/Google-Cloud-VmwareEngine-V1-StretchedClusterConfig)) --- Optional. Configuration of a stretched cluster. Required for clusters that belong to a STRETCHED private cloud.

### #stretched_cluster_config=

    def stretched_cluster_config=(value) -> ::Google::Cloud::VmwareEngine::V1::StretchedClusterConfig

**Parameter**

- **value** ([::Google::Cloud::VmwareEngine::V1::StretchedClusterConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vmware_engine-v1/latest/Google-Cloud-VmwareEngine-V1-StretchedClusterConfig)) --- Optional. Configuration of a stretched cluster. Required for clusters that belong to a STRETCHED private cloud.
**Returns**

- ([::Google::Cloud::VmwareEngine::V1::StretchedClusterConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vmware_engine-v1/latest/Google-Cloud-VmwareEngine-V1-StretchedClusterConfig)) --- Optional. Configuration of a stretched cluster. Required for clusters that belong to a STRETCHED private cloud.

### #uid

    def uid() -> ::String

**Returns**

- (::String) --- Output only. System-generated unique identifier for the resource.

### #update_time

    def update_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vmware_engine-v1/latest/Google-Protobuf-Timestamp)) --- Output only. Last update time of this resource.