# Anthos Multi-Cloud V1 API - Class Google::Cloud::GkeMultiCloud::V1::SurgeSettings (v0.21.0)

0.21.0 (latest) 0.20.1 0.19.0 0.18.0 0.17.1 0.16.0 0.15.0 0.14.1 0.13.0 0.12.0 0.11.0 0.10.1 0.9.0 0.8.2 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Anthos Multi-Cloud V1 API class Google::Cloud::GkeMultiCloud::V1::SurgeSettings.

SurgeSettings contains the parameters for Surge update.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #max_surge

    def max_surge() -> ::Integer

**Returns**

- (::Integer) --- Optional. The maximum number of nodes that can be created beyond the current size of the node pool during the update process.

### #max_surge=

    def max_surge=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Optional. The maximum number of nodes that can be created beyond the current size of the node pool during the update process.
**Returns**

- (::Integer) --- Optional. The maximum number of nodes that can be created beyond the current size of the node pool during the update process.

### #max_unavailable

    def max_unavailable() -> ::Integer

**Returns**

- (::Integer) --- Optional. The maximum number of nodes that can be simultaneously unavailable during the update process. A node is considered unavailable if its status is not Ready.

### #max_unavailable=

    def max_unavailable=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Optional. The maximum number of nodes that can be simultaneously unavailable during the update process. A node is considered unavailable if its status is not Ready.
**Returns**

- (::Integer) --- Optional. The maximum number of nodes that can be simultaneously unavailable during the update process. A node is considered unavailable if its status is not Ready.