Reference documentation and code samples for the Google Anthos Multi Cloud V1 Client class Toleration.
Toleration defines the fields for tolerations for pods created by auto-installed components.
Generated from protobuf message google.cloud.gkemulticloud.v1.Toleration
Namespace
Google \ Cloud \ GkeMultiCloud \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ key
string
Key is the taint key that the toleration applies to.
↳ value
string
Value is the taint value that the toleration applies to.
↳ key_operator
int
KeyOperator represents a key's relationship to the value e.g. 'Exist'.
↳ effect
int
Effect indicates the taint effect to match e.g. 'NoSchedule'
getKey
Key is the taint key that the toleration applies to.
string
setKey
Key is the taint key that the toleration applies to.
var
string
$this
getValue
Value is the taint value that the toleration applies to.
string
setValue
Value is the taint value that the toleration applies to.
var
string
$this
getKeyOperator
KeyOperator represents a key's relationship to the value e.g. 'Exist'.
setKeyOperator
KeyOperator represents a key's relationship to the value e.g. 'Exist'.
$this
getEffect
Effect indicates the taint effect to match e.g. 'NoSchedule'
setEffect
Effect indicates the taint effect to match e.g. 'NoSchedule'
$this

