Class: Google::Apis::ContainerV1::DesiredAdditionalIpRangesConfig

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

Overview

DesiredAdditionalIPRangesConfig is a wrapper used for cluster update operation and contains multiple AdditionalIPRangesConfigs.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DesiredAdditionalIpRangesConfig

Returns a new instance of DesiredAdditionalIpRangesConfig.



2881
2882
2883
# File 'lib/google/apis/container_v1/classes.rb', line 2881

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

Instance Attribute Details

#additional_ip_ranges_configsArray<Google::Apis::ContainerV1::AdditionalIpRangesConfig>

List of additional IP ranges configs where each AdditionalIPRangesConfig corresponds to one subnetwork's IP ranges Corresponds to the JSON property additionalIpRangesConfigs



2879
2880
2881
# File 'lib/google/apis/container_v1/classes.rb', line 2879

def additional_ip_ranges_configs
  @additional_ip_ranges_configs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2886
2887
2888
# File 'lib/google/apis/container_v1/classes.rb', line 2886

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