Class: Google::Apis::AppengineV1beta5::DiskUtilization

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ DiskUtilization

Returns a new instance of DiskUtilization



745
746
747
# File 'generated/google/apis/appengine_v1beta5/classes.rb', line 745

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#target_read_bytes_per_secFixnum

Target bytes read per second. Corresponds to the JSON property targetReadBytesPerSec

Returns:

  • (Fixnum)


738
739
740
# File 'generated/google/apis/appengine_v1beta5/classes.rb', line 738

def target_read_bytes_per_sec
  @target_read_bytes_per_sec
end

#target_read_ops_per_secFixnum

Target ops read per second. Corresponds to the JSON property targetReadOpsPerSec

Returns:

  • (Fixnum)


743
744
745
# File 'generated/google/apis/appengine_v1beta5/classes.rb', line 743

def target_read_ops_per_sec
  @target_read_ops_per_sec
end

#target_write_bytes_per_secFixnum

Target bytes written per second. Corresponds to the JSON property targetWriteBytesPerSec

Returns:

  • (Fixnum)


728
729
730
# File 'generated/google/apis/appengine_v1beta5/classes.rb', line 728

def target_write_bytes_per_sec
  @target_write_bytes_per_sec
end

#target_write_ops_per_secFixnum

Target ops written per second. Corresponds to the JSON property targetWriteOpsPerSec

Returns:

  • (Fixnum)


733
734
735
# File 'generated/google/apis/appengine_v1beta5/classes.rb', line 733

def target_write_ops_per_sec
  @target_write_ops_per_sec
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



750
751
752
753
754
755
# File 'generated/google/apis/appengine_v1beta5/classes.rb', line 750

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