Class: Google::Apis::FileV1::IopsPerTb
- Inherits:
-
Object
- Object
- Google::Apis::FileV1::IopsPerTb
- 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
IOPS per TB. Filestore defines TB as 1024^4 bytes (TiB).
Instance Attribute Summary collapse
-
#max_iops_per_tb ⇒ Fixnum
Required.
-
#max_read_iops_per_tb ⇒ Fixnum
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ IopsPerTb
constructor
A new instance of IopsPerTb.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ IopsPerTb
Returns a new instance of IopsPerTb.
810 811 812 |
# File 'lib/google/apis/file_v1/classes.rb', line 810 def initialize(**args) update!(**args) end |
Instance Attribute Details
#max_iops_per_tb ⇒ Fixnum
Required. Maximum IOPS per TiB.
Corresponds to the JSON property maxIopsPerTb
802 803 804 |
# File 'lib/google/apis/file_v1/classes.rb', line 802 def max_iops_per_tb @max_iops_per_tb end |
#max_read_iops_per_tb ⇒ Fixnum
Optional. Deprecated: max_iops_per_tb
should be used instead of this
parameter. Maximum read IOPS per TiB.
Corresponds to the JSON property maxReadIopsPerTb
808 809 810 |
# File 'lib/google/apis/file_v1/classes.rb', line 808 def max_read_iops_per_tb @max_read_iops_per_tb end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
815 816 817 818 |
# File 'lib/google/apis/file_v1/classes.rb', line 815 def update!(**args) @max_iops_per_tb = args[:max_iops_per_tb] if args.key?(:max_iops_per_tb) @max_read_iops_per_tb = args[:max_read_iops_per_tb] if args.key?(:max_read_iops_per_tb) end |