Class: Google::Apis::FileV1::PerformanceLimits
- Inherits:
-
Object
- Object
- Google::Apis::FileV1::PerformanceLimits
- 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
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.
1513 1514 1515 |
# File 'lib/google/apis/file_v1/classes.rb', line 1513 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
1496 1497 1498 |
# File 'lib/google/apis/file_v1/classes.rb', line 1496 def max_read_iops @max_read_iops end |
#max_read_throughput ⇒ Fixnum
Output only. The max read throughput.
Corresponds to the JSON property maxReadThroughput
1501 1502 1503 |
# File 'lib/google/apis/file_v1/classes.rb', line 1501 def max_read_throughput @max_read_throughput end |
#max_write_iops ⇒ Fixnum
Output only. The max write IOPS.
Corresponds to the JSON property maxWriteIops
1506 1507 1508 |
# File 'lib/google/apis/file_v1/classes.rb', line 1506 def max_write_iops @max_write_iops end |
#max_write_throughput ⇒ Fixnum
Output only. The max write throughput.
Corresponds to the JSON property maxWriteThroughput
1511 1512 1513 |
# File 'lib/google/apis/file_v1/classes.rb', line 1511 def max_write_throughput @max_write_throughput end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1518 1519 1520 1521 1522 1523 |
# File 'lib/google/apis/file_v1/classes.rb', line 1518 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 |