Class: Google::Apis::BaremetalsolutionV2::QosPolicy
- Inherits:
-
Object
- Object
- Google::Apis::BaremetalsolutionV2::QosPolicy
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/baremetalsolution_v2/classes.rb,
lib/google/apis/baremetalsolution_v2/representations.rb,
lib/google/apis/baremetalsolution_v2/representations.rb
Overview
QOS policy parameters.
Instance Attribute Summary collapse
-
#bandwidth_gbps ⇒ Float
The bandwidth permitted by the QOS policy, in gbps.
Instance Method Summary collapse
-
#initialize(**args) ⇒ QosPolicy
constructor
A new instance of QosPolicy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ QosPolicy
Returns a new instance of QosPolicy.
1771 1772 1773 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1771 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bandwidth_gbps ⇒ Float
The bandwidth permitted by the QOS policy, in gbps.
Corresponds to the JSON property bandwidthGbps
1769 1770 1771 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1769 def bandwidth_gbps @bandwidth_gbps end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1776 1777 1778 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1776 def update!(**args) @bandwidth_gbps = args[:bandwidth_gbps] if args.key?(:bandwidth_gbps) end |