Class: Google::Apis::FileV1beta1::PerformanceLimits
- Inherits:
-
Object
- Object
- Google::Apis::FileV1beta1::PerformanceLimits
- 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
The enforced performance limits, calculated from the instance's performance configuration.
Instance Attribute Summary collapse
-
#max_iops ⇒ Fixnum
Output only.
-
#max_read_iops ⇒ Fixnum
Output only.
-
#max_read_throughput_bps ⇒ Fixnum
Output only.
-
#max_write_iops ⇒ Fixnum
Output only.
-
#max_write_throughput_bps ⇒ Fixnum
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PerformanceLimits
constructor
A new instance of PerformanceLimits.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PerformanceLimits
Returns a new instance of PerformanceLimits.
1812 1813 1814 |
# File 'lib/google/apis/file_v1beta1/classes.rb', line 1812 def initialize(**args) update!(**args) end |
Instance Attribute Details
#max_iops ⇒ Fixnum
Output only. The maximum IOPS.
Corresponds to the JSON property maxIops
1790 1791 1792 |
# File 'lib/google/apis/file_v1beta1/classes.rb', line 1790 def max_iops @max_iops end |
#max_read_iops ⇒ Fixnum
Output only. The maximum read IOPS.
Corresponds to the JSON property maxReadIops
1795 1796 1797 |
# File 'lib/google/apis/file_v1beta1/classes.rb', line 1795 def max_read_iops @max_read_iops end |
#max_read_throughput_bps ⇒ Fixnum
Output only. The maximum read throughput in bytes per second.
Corresponds to the JSON property maxReadThroughputBps
1800 1801 1802 |
# File 'lib/google/apis/file_v1beta1/classes.rb', line 1800 def max_read_throughput_bps @max_read_throughput_bps end |
#max_write_iops ⇒ Fixnum
Output only. The maximum write IOPS.
Corresponds to the JSON property maxWriteIops
1805 1806 1807 |
# File 'lib/google/apis/file_v1beta1/classes.rb', line 1805 def max_write_iops @max_write_iops end |
#max_write_throughput_bps ⇒ Fixnum
Output only. The maximumwrite throughput in bytes per second.
Corresponds to the JSON property maxWriteThroughputBps
1810 1811 1812 |
# File 'lib/google/apis/file_v1beta1/classes.rb', line 1810 def max_write_throughput_bps @max_write_throughput_bps end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1817 1818 1819 1820 1821 1822 1823 |
# File 'lib/google/apis/file_v1beta1/classes.rb', line 1817 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) @max_read_throughput_bps = args[:max_read_throughput_bps] if args.key?(:max_read_throughput_bps) @max_write_iops = args[:max_write_iops] if args.key?(:max_write_iops) @max_write_throughput_bps = args[:max_write_throughput_bps] if args.key?(:max_write_throughput_bps) end |