Class: Google::Apis::ComputeBeta::InterconnectApplicationAwareInterconnectBandwidthPercentagePolicy

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InterconnectApplicationAwareInterconnectBandwidthPercentagePolicy

Returns a new instance of InterconnectApplicationAwareInterconnectBandwidthPercentagePolicy.



27980
27981
27982
# File 'lib/google/apis/compute_beta/classes.rb', line 27980

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

Instance Attribute Details

#bandwidth_percentagesArray<Google::Apis::ComputeBeta::InterconnectApplicationAwareInterconnectBandwidthPercentage>

Specify bandwidth percentages for various traffic classes for queuing type Bandwidth Percent. Corresponds to the JSON property bandwidthPercentages



27978
27979
27980
# File 'lib/google/apis/compute_beta/classes.rb', line 27978

def bandwidth_percentages
  @bandwidth_percentages
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



27985
27986
27987
# File 'lib/google/apis/compute_beta/classes.rb', line 27985

def update!(**args)
  @bandwidth_percentages = args[:bandwidth_percentages] if args.key?(:bandwidth_percentages)
end