public sealed class LinuxNodeConfig.Types.SwapConfig.Types.BootDiskProfile : IMessage<LinuxNodeConfig.Types.SwapConfig.Types.BootDiskProfile>, IEquatable<LinuxNodeConfig.Types.SwapConfig.Types.BootDiskProfile>, IDeepCloneable<LinuxNodeConfig.Types.SwapConfig.Types.BootDiskProfile>, IBufferMessage, IMessageReference documentation and code samples for the Google Kubernetes Engine v1 API class LinuxNodeConfig.Types.SwapConfig.Types.BootDiskProfile.
Swap on the node's boot disk.
Implements
IMessageLinuxNodeConfigTypesSwapConfigTypesBootDiskProfile, IEquatableLinuxNodeConfigTypesSwapConfigTypesBootDiskProfile, IDeepCloneableLinuxNodeConfigTypesSwapConfigTypesBootDiskProfile, IBufferMessage, IMessageNamespace
Google.Cloud.Container.V1Assembly
Google.Cloud.Container.V1.dll
Constructors
BootDiskProfile()
public BootDiskProfile()BootDiskProfile(BootDiskProfile)
public BootDiskProfile(LinuxNodeConfig.Types.SwapConfig.Types.BootDiskProfile other)| Parameter | |
|---|---|
| Name | Description |
other |
LinuxNodeConfigTypesSwapConfigTypesBootDiskProfile |
Properties
HasSwapSizeGib
public bool HasSwapSizeGib { get; }Gets whether the "swap_size_gib" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
HasSwapSizePercent
public bool HasSwapSizePercent { get; }Gets whether the "swap_size_percent" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
SwapSizeCase
public LinuxNodeConfig.Types.SwapConfig.Types.BootDiskProfile.SwapSizeOneofCase SwapSizeCase { get; }| Property Value | |
|---|---|
| Type | Description |
LinuxNodeConfigTypesSwapConfigTypesBootDiskProfileSwapSizeOneofCase |
|
SwapSizeGib
public long SwapSizeGib { get; set; }Specifies the size of the swap space in gibibytes (GiB).
| Property Value | |
|---|---|
| Type | Description |
long |
|
SwapSizePercent
public int SwapSizePercent { get; set; }Specifies the size of the swap space as a percentage of the boot disk size.
| Property Value | |
|---|---|
| Type | Description |
int |
|