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.



2990
2991
2992
# File 'lib/google/apis/container_v1/classes.rb', line 2990

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



2988
2989
2990
# File 'lib/google/apis/container_v1/classes.rb', line 2988

def additional_ip_ranges_configs
  @additional_ip_ranges_configs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2995
2996
2997
# File 'lib/google/apis/container_v1/classes.rb', line 2995

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