Class: Google::Apis::ComputeAlpha::NetworkPerformanceConfig

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ NetworkPerformanceConfig

Returns a new instance of NetworkPerformanceConfig.



29049
29050
29051
# File 'lib/google/apis/compute_alpha/classes.rb', line 29049

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

Instance Attribute Details

#external_ip_egress_bandwidth_tierString

Corresponds to the JSON property externalIpEgressBandwidthTier

Returns:

  • (String)


29042
29043
29044
# File 'lib/google/apis/compute_alpha/classes.rb', line 29042

def external_ip_egress_bandwidth_tier
  @external_ip_egress_bandwidth_tier
end

#total_egress_bandwidth_tierString

Corresponds to the JSON property totalEgressBandwidthTier

Returns:

  • (String)


29047
29048
29049
# File 'lib/google/apis/compute_alpha/classes.rb', line 29047

def total_egress_bandwidth_tier
  @total_egress_bandwidth_tier
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



29054
29055
29056
29057
# File 'lib/google/apis/compute_alpha/classes.rb', line 29054

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