Kubernetes Engine V1beta1 API - Class Google::Cloud::Container::V1beta1::LinuxNodeConfig::SwapConfig::BootDiskProfile (v0.50.0)

Reference documentation and code samples for the Kubernetes Engine V1beta1 API class Google::Cloud::Container::V1beta1::LinuxNodeConfig::SwapConfig::BootDiskProfile.

Swap on the node's boot disk.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#swap_size_gib

def swap_size_gib() -> ::Integer
Returns
  • (::Integer) — Specifies the size of the swap space in gibibytes (GiB).

    Note: The following fields are mutually exclusive: swap_size_gib, swap_size_percent. If a field in that set is populated, all other fields in the set will automatically be cleared.

#swap_size_gib=

def swap_size_gib=(value) -> ::Integer
Parameter
  • value (::Integer) — Specifies the size of the swap space in gibibytes (GiB).

    Note: The following fields are mutually exclusive: swap_size_gib, swap_size_percent. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Integer) — Specifies the size of the swap space in gibibytes (GiB).

    Note: The following fields are mutually exclusive: swap_size_gib, swap_size_percent. If a field in that set is populated, all other fields in the set will automatically be cleared.

#swap_size_percent

def swap_size_percent() -> ::Integer
Returns
  • (::Integer) — Specifies the size of the swap space as a percentage of the boot disk size.

    Note: The following fields are mutually exclusive: swap_size_percent, swap_size_gib. If a field in that set is populated, all other fields in the set will automatically be cleared.

#swap_size_percent=

def swap_size_percent=(value) -> ::Integer
Parameter
  • value (::Integer) — Specifies the size of the swap space as a percentage of the boot disk size.

    Note: The following fields are mutually exclusive: swap_size_percent, swap_size_gib. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Integer) — Specifies the size of the swap space as a percentage of the boot disk size.

    Note: The following fields are mutually exclusive: swap_size_percent, swap_size_gib. If a field in that set is populated, all other fields in the set will automatically be cleared.