Class: Google::Apis::BaremetalsolutionV2::QosPolicy

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ QosPolicy

Returns a new instance of QosPolicy.



1793
1794
1795
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1793

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

Instance Attribute Details

#bandwidth_gbpsFloat

The bandwidth permitted by the QOS policy, in gbps. Corresponds to the JSON property bandwidthGbps

Returns:

  • (Float)


1791
1792
1793
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1791

def bandwidth_gbps
  @bandwidth_gbps
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1798
1799
1800
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1798

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