Class: Google::Apis::AppengineV1beta5::DiskUtilization
- Inherits:
-
Object
- Object
- Google::Apis::AppengineV1beta5::DiskUtilization
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/appengine_v1beta5/classes.rb,
generated/google/apis/appengine_v1beta5/representations.rb,
generated/google/apis/appengine_v1beta5/representations.rb
Overview
Target scaling by disk usage. Only applicable for VM runtimes.
Instance Attribute Summary collapse
-
#target_read_bytes_per_sec ⇒ Fixnum
Target bytes read per second.
-
#target_read_ops_per_sec ⇒ Fixnum
Target ops read per second.
-
#target_write_bytes_per_sec ⇒ Fixnum
Target bytes written per second.
-
#target_write_ops_per_sec ⇒ Fixnum
Target ops written per second.
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::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DiskUtilization
Returns a new instance of DiskUtilization.
692 693 694 |
# File 'generated/google/apis/appengine_v1beta5/classes.rb', line 692 def initialize(**args) update!(**args) end |
Instance Attribute Details
#target_read_bytes_per_sec ⇒ Fixnum
Target bytes read per second.
Corresponds to the JSON property targetReadBytesPerSec
685 686 687 |
# File 'generated/google/apis/appengine_v1beta5/classes.rb', line 685 def target_read_bytes_per_sec @target_read_bytes_per_sec end |
#target_read_ops_per_sec ⇒ Fixnum
Target ops read per second.
Corresponds to the JSON property targetReadOpsPerSec
690 691 692 |
# File 'generated/google/apis/appengine_v1beta5/classes.rb', line 690 def target_read_ops_per_sec @target_read_ops_per_sec end |
#target_write_bytes_per_sec ⇒ Fixnum
Target bytes written per second.
Corresponds to the JSON property targetWriteBytesPerSec
675 676 677 |
# File 'generated/google/apis/appengine_v1beta5/classes.rb', line 675 def target_write_bytes_per_sec @target_write_bytes_per_sec end |
#target_write_ops_per_sec ⇒ Fixnum
Target ops written per second.
Corresponds to the JSON property targetWriteOpsPerSec
680 681 682 |
# File 'generated/google/apis/appengine_v1beta5/classes.rb', line 680 def target_write_ops_per_sec @target_write_ops_per_sec end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
697 698 699 700 701 702 |
# File 'generated/google/apis/appengine_v1beta5/classes.rb', line 697 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 |