Reference documentation and code samples for the Google Cloud Container V1 Client class PodSnapshotConfig.
PodSnapshotConfig is the configuration for GKE Pod Snapshots feature.
Generated from protobuf message google.container.v1.PodSnapshotConfig
Namespace
Google \ Cloud \ Container \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ enabled |
bool
Whether or not the Pod Snapshots feature is enabled. |
getEnabled
Whether or not the Pod Snapshots feature is enabled.
| Returns | |
|---|---|
| Type | Description |
bool |
|
setEnabled
Whether or not the Pod Snapshots feature is enabled.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|