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.



4450
4451
4452
# File 'lib/google/apis/container_v1beta1/classes.rb', line 4450

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)


4443
4444
4445
# File 'lib/google/apis/container_v1beta1/classes.rb', line 4443

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)


4448
4449
4450
# File 'lib/google/apis/container_v1beta1/classes.rb', line 4448

def total_egress_bandwidth_tier
  @total_egress_bandwidth_tier
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4455
4456
4457
4458
# File 'lib/google/apis/container_v1beta1/classes.rb', line 4455

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