# Distributed Cloud Edge Container V1 API - Class Google::Cloud::EdgeContainer::V1::NodePool (v1.4.0)

1.4.0 (latest) 1.3.1 1.2.0 1.1.0 1.0.1 0.4.0 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the Distributed Cloud Edge Container V1 API class Google::Cloud::EdgeContainer::V1::NodePool.

A set of Kubernetes nodes in a cluster with common configuration and
specification.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #create_time

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

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-edge_container-v1/latest/Google-Protobuf-Timestamp)) --- Output only. The time when the node pool was created.

### #labels

    def labels() -> ::Google::Protobuf::Map{::String => ::String}

**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- Labels associated with this resource.

### #labels=

    def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}

**Parameter**

- **value** (::Google::Protobuf::Map{::String =\> ::String}) --- Labels associated with this resource.
**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- Labels associated with this resource.

### #local_disk_encryption

    def local_disk_encryption() -> ::Google::Cloud::EdgeContainer::V1::NodePool::LocalDiskEncryption

**Returns**

- ([::Google::Cloud::EdgeContainer::V1::NodePool::LocalDiskEncryption](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-edge_container-v1/latest/Google-Cloud-EdgeContainer-V1-NodePool-LocalDiskEncryption)) --- Optional. Local disk encryption options. This field is only used when enabling CMEK support.

### #local_disk_encryption=

    def local_disk_encryption=(value) -> ::Google::Cloud::EdgeContainer::V1::NodePool::LocalDiskEncryption

**Parameter**

- **value** ([::Google::Cloud::EdgeContainer::V1::NodePool::LocalDiskEncryption](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-edge_container-v1/latest/Google-Cloud-EdgeContainer-V1-NodePool-LocalDiskEncryption)) --- Optional. Local disk encryption options. This field is only used when enabling CMEK support.
**Returns**

- ([::Google::Cloud::EdgeContainer::V1::NodePool::LocalDiskEncryption](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-edge_container-v1/latest/Google-Cloud-EdgeContainer-V1-NodePool-LocalDiskEncryption)) --- Optional. Local disk encryption options. This field is only used when enabling CMEK support.

### #machine_filter

    def machine_filter() -> ::String

**Returns**

- (::String) --- Only machines matching this filter will be allowed to join the node pool. The filtering language accepts strings like "name=

### #machine_filter=

    def machine_filter=(value) -> ::String

**Parameter**

- **value** (::String) --- Only machines matching this filter will be allowed to join the node pool. The filtering language accepts strings like "name=
**Returns**

- (::String) --- Only machines matching this filter will be allowed to join the node pool. The filtering language accepts strings like "name=

### #name

    def name() -> ::String

**Returns**

- (::String) --- Required. The resource name of the node pool.

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The resource name of the node pool.
**Returns**

- (::String) --- Required. The resource name of the node pool.

### #node_config

    def node_config() -> ::Google::Cloud::EdgeContainer::V1::NodePool::NodeConfig

**Returns**

- ([::Google::Cloud::EdgeContainer::V1::NodePool::NodeConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-edge_container-v1/latest/Google-Cloud-EdgeContainer-V1-NodePool-NodeConfig)) --- Optional. Configuration for each node in the NodePool

### #node_config=

    def node_config=(value) -> ::Google::Cloud::EdgeContainer::V1::NodePool::NodeConfig

**Parameter**

- **value** ([::Google::Cloud::EdgeContainer::V1::NodePool::NodeConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-edge_container-v1/latest/Google-Cloud-EdgeContainer-V1-NodePool-NodeConfig)) --- Optional. Configuration for each node in the NodePool
**Returns**

- ([::Google::Cloud::EdgeContainer::V1::NodePool::NodeConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-edge_container-v1/latest/Google-Cloud-EdgeContainer-V1-NodePool-NodeConfig)) --- Optional. Configuration for each node in the NodePool

### #node_count

    def node_count() -> ::Integer

**Returns**

- (::Integer) --- Required. The number of nodes in the pool.

### #node_count=

    def node_count=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Required. The number of nodes in the pool.
**Returns**

- (::Integer) --- Required. The number of nodes in the pool.

### #node_location

    def node_location() -> ::String

**Returns**

- (::String) --- Name of the Google Distributed Cloud Edge zone where this node pool will be created. For example: `us-central1-edge-customer-a`.

### #node_location=

    def node_location=(value) -> ::String

**Parameter**

- **value** (::String) --- Name of the Google Distributed Cloud Edge zone where this node pool will be created. For example: `us-central1-edge-customer-a`.
**Returns**

- (::String) --- Name of the Google Distributed Cloud Edge zone where this node pool will be created. For example: `us-central1-edge-customer-a`.

### #node_version

    def node_version() -> ::String

**Returns**

- (::String) --- Output only. The lowest release version among all worker nodes.

### #update_time

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

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-edge_container-v1/latest/Google-Protobuf-Timestamp)) --- Output only. The time when the node pool was last updated.