Class: Google::Apis::AppengineV1beta::DiskUtilization
- Inherits:
-
Object
- Object
- Google::Apis::AppengineV1beta::DiskUtilization
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/appengine_v1beta/classes.rb,
generated/google/apis/appengine_v1beta/representations.rb,
generated/google/apis/appengine_v1beta/representations.rb
Overview
Target scaling by disk usage. Only applicable in the App Engine flexible environment.
Instance Attribute Summary collapse
-
#target_read_bytes_per_second ⇒ Fixnum
Target bytes read per second.
-
#target_read_ops_per_second ⇒ Fixnum
Target ops read per seconds.
-
#target_write_bytes_per_second ⇒ Fixnum
Target bytes written per second.
-
#target_write_ops_per_second ⇒ 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.
Constructor Details
#initialize(**args) ⇒ DiskUtilization
Returns a new instance of DiskUtilization.
827 828 829 |
# File 'generated/google/apis/appengine_v1beta/classes.rb', line 827 def initialize(**args) update!(**args) end |
Instance Attribute Details
#target_read_bytes_per_second ⇒ Fixnum
Target bytes read per second.
Corresponds to the JSON property targetReadBytesPerSecond
810 811 812 |
# File 'generated/google/apis/appengine_v1beta/classes.rb', line 810 def target_read_bytes_per_second @target_read_bytes_per_second end |
#target_read_ops_per_second ⇒ Fixnum
Target ops read per seconds.
Corresponds to the JSON property targetReadOpsPerSecond
815 816 817 |
# File 'generated/google/apis/appengine_v1beta/classes.rb', line 815 def target_read_ops_per_second @target_read_ops_per_second end |
#target_write_bytes_per_second ⇒ Fixnum
Target bytes written per second.
Corresponds to the JSON property targetWriteBytesPerSecond
820 821 822 |
# File 'generated/google/apis/appengine_v1beta/classes.rb', line 820 def target_write_bytes_per_second @target_write_bytes_per_second end |
#target_write_ops_per_second ⇒ Fixnum
Target ops written per second.
Corresponds to the JSON property targetWriteOpsPerSecond
825 826 827 |
# File 'generated/google/apis/appengine_v1beta/classes.rb', line 825 def target_write_ops_per_second @target_write_ops_per_second end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
832 833 834 835 836 837 |
# File 'generated/google/apis/appengine_v1beta/classes.rb', line 832 def update!(**args) @target_read_bytes_per_second = args[:target_read_bytes_per_second] if args.key?(:target_read_bytes_per_second) @target_read_ops_per_second = args[:target_read_ops_per_second] if args.key?(:target_read_ops_per_second) @target_write_bytes_per_second = args[:target_write_bytes_per_second] if args.key?(:target_write_bytes_per_second) @target_write_ops_per_second = args[:target_write_ops_per_second] if args.key?(:target_write_ops_per_second) end |