Class: Google::Apis::ComputeAlpha::InterconnectApplicationAwareInterconnectBandwidthPercentagePolicy

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) ⇒ InterconnectApplicationAwareInterconnectBandwidthPercentagePolicy

Returns a new instance of InterconnectApplicationAwareInterconnectBandwidthPercentagePolicy.



24201
24202
24203
# File 'lib/google/apis/compute_alpha/classes.rb', line 24201

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

Instance Attribute Details

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

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



24199
24200
24201
# File 'lib/google/apis/compute_alpha/classes.rb', line 24199

def bandwidth_percentages
  @bandwidth_percentages
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



24206
24207
24208
# File 'lib/google/apis/compute_alpha/classes.rb', line 24206

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