Class: Google::Apis::FileV1beta1::IopsPerGb
- Inherits:
-
Object
- Object
- Google::Apis::FileV1beta1::IopsPerGb
- 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
Overview
IOPS per capacity parameters.
Instance Attribute Summary collapse
-
#max_read_iops_per_gb ⇒ Fixnum
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ IopsPerGb
constructor
A new instance of IopsPerGb.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ IopsPerGb
Returns a new instance of IopsPerGb.
822 823 824 |
# File 'lib/google/apis/file_v1beta1/classes.rb', line 822 def initialize(**args) update!(**args) end |
Instance Attribute Details
#max_read_iops_per_gb ⇒ Fixnum
Required. Maximum read IOPS per GB.
Corresponds to the JSON property maxReadIopsPerGb
820 821 822 |
# File 'lib/google/apis/file_v1beta1/classes.rb', line 820 def max_read_iops_per_gb @max_read_iops_per_gb end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
827 828 829 |
# File 'lib/google/apis/file_v1beta1/classes.rb', line 827 def update!(**args) @max_read_iops_per_gb = args[:max_read_iops_per_gb] if args.key?(:max_read_iops_per_gb) end |