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_read_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.
344 345 346 |
# File 'lib/google/apis/file_v1/classes.rb', line 344 def initialize(**args) update!(**args) end |
Instance Attribute Details
#max_read_iops ⇒ Fixnum
Required. Maximum raw read IOPS.
Corresponds to the JSON property maxReadIops
342 343 344 |
# File 'lib/google/apis/file_v1/classes.rb', line 342 def max_read_iops @max_read_iops end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
349 350 351 |
# File 'lib/google/apis/file_v1/classes.rb', line 349 def update!(**args) @max_read_iops = args[:max_read_iops] if args.key?(:max_read_iops) end |