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.



3881
3882
3883
# File 'lib/google/apis/container_v1beta1/classes.rb', line 3881

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)


3874
3875
3876
# File 'lib/google/apis/container_v1beta1/classes.rb', line 3874

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)


3879
3880
3881
# File 'lib/google/apis/container_v1beta1/classes.rb', line 3879

def total_egress_bandwidth_tier
  @total_egress_bandwidth_tier
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3886
3887
3888
3889
# File 'lib/google/apis/container_v1beta1/classes.rb', line 3886

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