Class: Google::Apis::AppengineV1beta4::DiskUtilization
- Inherits:
-
Object
- Object
- Google::Apis::AppengineV1beta4::DiskUtilization
- Includes:
- Core::Hashable
- Defined in:
- generated/google/apis/appengine_v1beta4/classes.rb,
generated/google/apis/appengine_v1beta4/representations.rb,
generated/google/apis/appengine_v1beta4/representations.rb
Overview
Target scaling by disk usage (for VM runtimes only).
Instance Attribute Summary collapse
-
#target_read_bytes_per_sec ⇒ Fixnum
Target bytes per second read.
-
#target_read_ops_per_sec ⇒ Fixnum
Target ops per second read.
-
#target_write_bytes_per_sec ⇒ Fixnum
Target bytes per second written.
-
#target_write_ops_per_sec ⇒ Fixnum
Target ops per second written.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DiskUtilization
constructor
A new instance of DiskUtilization.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DiskUtilization
Returns a new instance of DiskUtilization.
491 492 493 |
# File 'generated/google/apis/appengine_v1beta4/classes.rb', line 491 def initialize(**args) update!(**args) end |
Instance Attribute Details
#target_read_bytes_per_sec ⇒ Fixnum
Target bytes per second read.
Corresponds to the JSON property targetReadBytesPerSec
484 485 486 |
# File 'generated/google/apis/appengine_v1beta4/classes.rb', line 484 def target_read_bytes_per_sec @target_read_bytes_per_sec end |
#target_read_ops_per_sec ⇒ Fixnum
Target ops per second read.
Corresponds to the JSON property targetReadOpsPerSec
489 490 491 |
# File 'generated/google/apis/appengine_v1beta4/classes.rb', line 489 def target_read_ops_per_sec @target_read_ops_per_sec end |
#target_write_bytes_per_sec ⇒ Fixnum
Target bytes per second written.
Corresponds to the JSON property targetWriteBytesPerSec
474 475 476 |
# File 'generated/google/apis/appengine_v1beta4/classes.rb', line 474 def target_write_bytes_per_sec @target_write_bytes_per_sec end |
#target_write_ops_per_sec ⇒ Fixnum
Target ops per second written.
Corresponds to the JSON property targetWriteOpsPerSec
479 480 481 |
# File 'generated/google/apis/appengine_v1beta4/classes.rb', line 479 def target_write_ops_per_sec @target_write_ops_per_sec end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
496 497 498 499 500 501 |
# File 'generated/google/apis/appengine_v1beta4/classes.rb', line 496 def update!(**args) @target_write_bytes_per_sec = args[:target_write_bytes_per_sec] if args.key?(:target_write_bytes_per_sec) @target_write_ops_per_sec = args[:target_write_ops_per_sec] if args.key?(:target_write_ops_per_sec) @target_read_bytes_per_sec = args[:target_read_bytes_per_sec] if args.key?(:target_read_bytes_per_sec) @target_read_ops_per_sec = args[:target_read_ops_per_sec] if args.key?(:target_read_ops_per_sec) end |