Class: Google::Apis::ContainerV1beta1::AdditionalPodRangesConfig

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

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.



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

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

Instance Attribute Details

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

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



146
147
148
# File 'lib/google/apis/container_v1beta1/classes.rb', line 146

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>)


151
152
153
# File 'lib/google/apis/container_v1beta1/classes.rb', line 151

def pod_range_names
  @pod_range_names
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



158
159
160
161
# File 'lib/google/apis/container_v1beta1/classes.rb', line 158

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