Reference documentation and code samples for the Google Anthos Multi Cloud V1 Client class SurgeSettings.
SurgeSettings contains the parameters for Surge update.
Generated from protobuf messagegoogle.cloud.gkemulticloud.v1.SurgeSettings
Namespace
Google \ Cloud \ GkeMultiCloud \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ max_surge
int
Optional. The maximum number of nodes that can be created beyond the current size of the node pool during the update process.
↳ max_unavailable
int
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.
getMaxSurge
Optional. The maximum number of nodes that can be created beyond the
current size of the node pool during the update process.
Returns
Type
Description
int
setMaxSurge
Optional. The maximum number of nodes that can be created beyond the
current size of the node pool during the update process.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getMaxUnavailable
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
Type
Description
int
setMaxUnavailable
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Anthos Multi Cloud V1 Client - Class SurgeSettings (1.2.2)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.2 (latest)](/php/docs/reference/cloud-gke-multi-cloud/latest/V1.SurgeSettings)\n- [1.2.1](/php/docs/reference/cloud-gke-multi-cloud/1.2.1/V1.SurgeSettings)\n- [1.1.2](/php/docs/reference/cloud-gke-multi-cloud/1.1.2/V1.SurgeSettings)\n- [1.0.0](/php/docs/reference/cloud-gke-multi-cloud/1.0.0/V1.SurgeSettings)\n- [0.6.1](/php/docs/reference/cloud-gke-multi-cloud/0.6.1/V1.SurgeSettings)\n- [0.5.4](/php/docs/reference/cloud-gke-multi-cloud/0.5.4/V1.SurgeSettings)\n- [0.4.4](/php/docs/reference/cloud-gke-multi-cloud/0.4.4/V1.SurgeSettings)\n- [0.3.0](/php/docs/reference/cloud-gke-multi-cloud/0.3.0/V1.SurgeSettings)\n- [0.2.3](/php/docs/reference/cloud-gke-multi-cloud/0.2.3/V1.SurgeSettings)\n- [0.1.4](/php/docs/reference/cloud-gke-multi-cloud/0.1.4/V1.SurgeSettings) \nReference documentation and code samples for the Google Anthos Multi Cloud V1 Client class SurgeSettings.\n\nSurgeSettings contains the parameters for Surge update.\n\nGenerated from protobuf message `google.cloud.gkemulticloud.v1.SurgeSettings`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ GkeMultiCloud \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getMaxSurge\n\nOptional. The maximum number of nodes that can be created beyond the\ncurrent size of the node pool during the update process.\n\n### setMaxSurge\n\nOptional. The maximum number of nodes that can be created beyond the\ncurrent size of the node pool during the update process.\n\n### getMaxUnavailable\n\nOptional. The maximum number of nodes that can be simultaneously\nunavailable during the update process. A node is considered unavailable if\nits status is not Ready.\n\n### setMaxUnavailable\n\nOptional. The maximum number of nodes that can be simultaneously\nunavailable during the update process. A node is considered unavailable if\nits status is not Ready."]]