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.



5901
5902
5903
# File 'lib/google/apis/container_v1beta1/classes.rb', line 5901

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)


5894
5895
5896
# File 'lib/google/apis/container_v1beta1/classes.rb', line 5894

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)


5899
5900
5901
# File 'lib/google/apis/container_v1beta1/classes.rb', line 5899

def total_egress_bandwidth_tier
  @total_egress_bandwidth_tier
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5906
5907
5908
5909
# File 'lib/google/apis/container_v1beta1/classes.rb', line 5906

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