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

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.

Generated from protobuf field string key = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
string

setKey

Required. Key for the taint.

Generated from protobuf field string key = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getValue

Required. Value for the taint.

Generated from protobuf field string value = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
string

setValue

Required. Value for the taint.

Generated from protobuf field string value = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getEffect

Required. The taint effect.

Generated from protobuf field .google.cloud.gkemulticloud.v1.NodeTaint.Effect effect = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

setEffect

Required. The taint effect.

Generated from protobuf field .google.cloud.gkemulticloud.v1.NodeTaint.Effect effect = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
var int
Returns
TypeDescription
$this