Reference documentation and code samples for the Google Cloud Container V1 Client class NodeKernelModuleLoading.
Configuration for kernel module loading on nodes.
Generated from protobuf message google.container.v1.LinuxNodeConfig.NodeKernelModuleLoading
Namespace
Google \ Cloud \ Container \ V1 \ LinuxNodeConfigMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ policy |
int
Set the node module loading policy for nodes in the node pool. |
getPolicy
Set the node module loading policy for nodes in the node pool.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type Policy. |
setPolicy
Set the node module loading policy for nodes in the node pool.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type Policy. |
| Returns | |
|---|---|
| Type | Description |
$this |
|