Class: Google::Apis::ContainerV1::AdditionalPodRangesConfig

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

AdditionalPodRangesConfig is the configuration for additional pod secondary ranges supporting the ClusterUpdate message.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AdditionalPodRangesConfig

Returns a new instance of AdditionalPodRangesConfig.



147
148
149
# File 'lib/google/apis/container_v1/classes.rb', line 147

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

Instance Attribute Details

#pod_range_infoArray<Google::Apis::ContainerV1::RangeInfo>

Output only. Information for additional pod range. Corresponds to the JSON property podRangeInfo



140
141
142
# File 'lib/google/apis/container_v1/classes.rb', line 140

def pod_range_info
  @pod_range_info
end

#pod_range_namesArray<String>

Name for pod secondary ipv4 range which has the actual range defined ahead. Corresponds to the JSON property podRangeNames

Returns:

  • (Array<String>)


145
146
147
# File 'lib/google/apis/container_v1/classes.rb', line 145

def pod_range_names
  @pod_range_names
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



152
153
154
155
# File 'lib/google/apis/container_v1/classes.rb', line 152

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