Class: Google::Apis::ContainerV1beta1::NetworkPerformanceConfig

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

Configuration of all network bandwidth tiers

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ NetworkPerformanceConfig

Returns a new instance of NetworkPerformanceConfig.



5867
5868
5869
# File 'lib/google/apis/container_v1beta1/classes.rb', line 5867

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

Instance Attribute Details

#external_ip_egress_bandwidth_tierString

Specifies the network bandwidth tier for the NodePool for traffic to external/ public IP addresses. Corresponds to the JSON property externalIpEgressBandwidthTier

Returns:

  • (String)


5860
5861
5862
# File 'lib/google/apis/container_v1beta1/classes.rb', line 5860

def external_ip_egress_bandwidth_tier
  @external_ip_egress_bandwidth_tier
end

#total_egress_bandwidth_tierString

Specifies the total network bandwidth tier for the NodePool. Corresponds to the JSON property totalEgressBandwidthTier

Returns:

  • (String)


5865
5866
5867
# File 'lib/google/apis/container_v1beta1/classes.rb', line 5865

def total_egress_bandwidth_tier
  @total_egress_bandwidth_tier
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5872
5873
5874
5875
# File 'lib/google/apis/container_v1beta1/classes.rb', line 5872

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