Google Anthos Multi Cloud V1 Client - Class NodeTaint (1.0.0)

Reference documentation and code samples for the Google Anthos Multi Cloud V1 Client class NodeTaint.

The taint content for the node taint.

Generated from protobuf message google.cloud.gkemulticloud.v1.NodeTaint

Namespace

Google \ Cloud \ GkeMultiCloud \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ key string

Required. Key for the taint.

↳ value string

Required. Value for the taint.

↳ effect int

Required. The taint effect.

getKey

Required. Key for the taint.

Returns
Type Description
string

setKey

Required. Key for the taint.

Parameter
Name Description
var string
Returns
Type Description
$this

getValue

Required. Value for the taint.

Returns
Type Description
string

setValue

Required. Value for the taint.

Parameter
Name Description
var string
Returns
Type Description
$this

getEffect

Required. The taint effect.

Returns
Type Description
int

setEffect

Required. The taint effect.

Parameter
Name Description
var int
Returns
Type Description
$this