Class: Google::Apis::ContainerV1beta1::PodCidrOverprovisionConfig

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/container_v1beta1/classes.rb,
lib/google/apis/container_v1beta1/representations.rb,
lib/google/apis/container_v1beta1/representations.rb

Overview

[PRIVATE FIELD] Config for pod CIDR size overprovisioning.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PodCidrOverprovisionConfig

Returns a new instance of PodCidrOverprovisionConfig.



5508
5509
5510
# File 'lib/google/apis/container_v1beta1/classes.rb', line 5508

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#disableBoolean Also known as: disable?

Whether Pod CIDR overprovisioning is disabled. Note: Pod CIDR overprovisioning is enabled by default. Corresponds to the JSON property disable

Returns:

  • (Boolean)


5505
5506
5507
# File 'lib/google/apis/container_v1beta1/classes.rb', line 5505

def disable
  @disable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5513
5514
5515
# File 'lib/google/apis/container_v1beta1/classes.rb', line 5513

def update!(**args)
  @disable = args[:disable] if args.key?(:disable)
end