Class: Google::Apis::FileV1::FixedIops
- Inherits:
-
Object
- Object
- Google::Apis::FileV1::FixedIops
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/file_v1/classes.rb,
lib/google/apis/file_v1/representations.rb,
lib/google/apis/file_v1/representations.rb
Overview
Fixed IOPS (input/output operations per second) parameters.
Instance Attribute Summary collapse
-
#max_iops ⇒ Fixnum
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FixedIops
constructor
A new instance of FixedIops.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ FixedIops
Returns a new instance of FixedIops.
348 349 350 |
# File 'lib/google/apis/file_v1/classes.rb', line 348 def initialize(**args) update!(**args) end |
Instance Attribute Details
#max_iops ⇒ Fixnum
Required. Maximum IOPS.
Corresponds to the JSON property maxIops
346 347 348 |
# File 'lib/google/apis/file_v1/classes.rb', line 346 def max_iops @max_iops end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
353 354 355 |
# File 'lib/google/apis/file_v1/classes.rb', line 353 def update!(**args) @max_iops = args[:max_iops] if args.key?(:max_iops) end |