Class: Google::Apis::FileV1beta1::FixedIops
- Inherits:
-
Object
- Object
- Google::Apis::FileV1beta1::FixedIops
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/file_v1beta1/classes.rb,
lib/google/apis/file_v1beta1/representations.rb,
lib/google/apis/file_v1beta1/representations.rb more...
Overview
Fixed IOPS (input/output operations per second) parameters.
Instance Attribute Summary collapse
-
#max_iops ⇒ Fixnum
Required.
-
#max_read_iops ⇒ Fixnum
Optional.
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.
368 369 370 |
# File 'lib/google/apis/file_v1beta1/classes.rb', line 368 def initialize(**args) update!(**args) end |
Instance Attribute Details
#max_iops ⇒ Fixnum
Required. Maximum IOPS.
Corresponds to the JSON property maxIops
360 361 362 |
# File 'lib/google/apis/file_v1beta1/classes.rb', line 360 def max_iops @max_iops end |
#max_read_iops ⇒ Fixnum
Optional. Deprecated: max_iops
should be used instead of this parameter.
Maximum read IOPS.
Corresponds to the JSON property maxReadIops
366 367 368 |
# File 'lib/google/apis/file_v1beta1/classes.rb', line 366 def max_read_iops @max_read_iops end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
373 374 375 376 |
# File 'lib/google/apis/file_v1beta1/classes.rb', line 373 def update!(**args) @max_iops = args[:max_iops] if args.key?(:max_iops) @max_read_iops = args[:max_read_iops] if args.key?(:max_read_iops) end |