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_read_iops ⇒ Fixnum
Output only.
-
#max_read_throughput ⇒ Fixnum
Output only.
-
#max_write_iops ⇒ Fixnum
Output only.
-
#max_write_throughput ⇒ 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.
1647 1648 1649 |
# File 'lib/google/apis/file_v1beta1/classes.rb', line 1647 def initialize(**args) update!(**args) end |
Instance Attribute Details
#max_read_iops ⇒ Fixnum
Output only. The max read IOPS.
Corresponds to the JSON property maxReadIops
1630 1631 1632 |
# File 'lib/google/apis/file_v1beta1/classes.rb', line 1630 def max_read_iops @max_read_iops end |
#max_read_throughput ⇒ Fixnum
Output only. The max read throughput.
Corresponds to the JSON property maxReadThroughput
1635 1636 1637 |
# File 'lib/google/apis/file_v1beta1/classes.rb', line 1635 def max_read_throughput @max_read_throughput end |
#max_write_iops ⇒ Fixnum
Output only. The max write IOPS.
Corresponds to the JSON property maxWriteIops
1640 1641 1642 |
# File 'lib/google/apis/file_v1beta1/classes.rb', line 1640 def max_write_iops @max_write_iops end |
#max_write_throughput ⇒ Fixnum
Output only. The max write throughput.
Corresponds to the JSON property maxWriteThroughput
1645 1646 1647 |
# File 'lib/google/apis/file_v1beta1/classes.rb', line 1645 def max_write_throughput @max_write_throughput end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1652 1653 1654 1655 1656 1657 |
# File 'lib/google/apis/file_v1beta1/classes.rb', line 1652 def update!(**args) @max_read_iops = args[:max_read_iops] if args.key?(:max_read_iops) @max_read_throughput = args[:max_read_throughput] if args.key?(:max_read_throughput) @max_write_iops = args[:max_write_iops] if args.key?(:max_write_iops) @max_write_throughput = args[:max_write_throughput] if args.key?(:max_write_throughput) end |