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.



3518
3519
3520
# File 'lib/google/apis/container_v1beta1/classes.rb', line 3518

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)


3511
3512
3513
# File 'lib/google/apis/container_v1beta1/classes.rb', line 3511

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)


3516
3517
3518
# File 'lib/google/apis/container_v1beta1/classes.rb', line 3516

def total_egress_bandwidth_tier
  @total_egress_bandwidth_tier
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3523
3524
3525
3526
# File 'lib/google/apis/container_v1beta1/classes.rb', line 3523

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