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

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

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
string

setKey

Required. Key for the taint.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getValue

Required. Value for the taint.

Returns
TypeDescription
string

setValue

Required. Value for the taint.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getEffect

Required. The taint effect.

Returns
TypeDescription
int

setEffect

Required. The taint effect.

Parameter
NameDescription
var int
Returns
TypeDescription
$this