Class: Google::Cloud::Container::V1beta1::LinuxNodeConfig::SwapConfig::BootDiskProfile

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/container/v1beta1/cluster_service.rb

Overview

Swap on the node's boot disk.

Instance Attribute Summary collapse

Instance Attribute Details

#swap_size_gib::Integer

Returns 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.



167
168
169
170
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 167

class BootDiskProfile
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#swap_size_percent::Integer

Returns 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.



167
168
169
170
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 167

class BootDiskProfile
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end