Reference documentation and code samples for the Google Anthos Multi Cloud V1 Client class RollbackAwsNodePoolUpdateRequest.
Request message for AwsClusters.RollbackAwsNodePoolUpdate
method.
Generated from protobuf message google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest
Namespace
Google \ Cloud \ GkeMultiCloud \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Required. The name of the AwsNodePool resource to rollback. |
↳ respect_pdb |
bool
Optional. Option for rollback to ignore the PodDisruptionBudget when draining the node pool nodes. Default value is false. |
getName
Required. The name of the AwsNodePool resource to rollback.
AwsNodePool
names are formatted as
projects/<project-id>/locations/<region>/awsClusters/<cluster-id>/awsNodePools/<node-pool-id>
.
See Resource Names
for more details on Google Cloud resource names.
Returns | |
---|---|
Type | Description |
string |
setName
Required. The name of the AwsNodePool resource to rollback.
AwsNodePool
names are formatted as
projects/<project-id>/locations/<region>/awsClusters/<cluster-id>/awsNodePools/<node-pool-id>
.
See Resource Names
for more details on Google Cloud resource names.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getRespectPdb
Optional. Option for rollback to ignore the PodDisruptionBudget when draining the node pool nodes. Default value is false.
Returns | |
---|---|
Type | Description |
bool |
setRespectPdb
Optional. Option for rollback to ignore the PodDisruptionBudget when draining the node pool nodes. Default value is false.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameter | |
---|---|
Name | Description |
name |
string
Required. The name of the AwsNodePool resource to rollback.
See Resource Names for more details on Google Cloud resource names. Please see AwsClustersClient::awsNodePoolName() for help formatting this field. |
Returns | |
---|---|
Type | Description |
RollbackAwsNodePoolUpdateRequest |