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.



2976
2977
2978
# File 'lib/google/apis/container_v1/classes.rb', line 2976

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



2974
2975
2976
# File 'lib/google/apis/container_v1/classes.rb', line 2974

def additional_ip_ranges_configs
  @additional_ip_ranges_configs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2981
2982
2983
# File 'lib/google/apis/container_v1/classes.rb', line 2981

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