Class: Google::Apis::AppengineV1::DiskUtilization

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/appengine_v1/classes.rb,
generated/google/apis/appengine_v1/representations.rb,
generated/google/apis/appengine_v1/representations.rb

Overview

Target scaling by disk usage. Only applicable in the App Engine flexible environment.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DiskUtilization

Returns a new instance of DiskUtilization.



748
749
750
# File 'generated/google/apis/appengine_v1/classes.rb', line 748

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

Instance Attribute Details

#target_read_bytes_per_secondFixnum

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

Returns:

  • (Fixnum)


731
732
733
# File 'generated/google/apis/appengine_v1/classes.rb', line 731

def target_read_bytes_per_second
  @target_read_bytes_per_second
end

#target_read_ops_per_secondFixnum

Target ops read per seconds. Corresponds to the JSON property targetReadOpsPerSecond

Returns:

  • (Fixnum)


736
737
738
# File 'generated/google/apis/appengine_v1/classes.rb', line 736

def target_read_ops_per_second
  @target_read_ops_per_second
end

#target_write_bytes_per_secondFixnum

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

Returns:

  • (Fixnum)


741
742
743
# File 'generated/google/apis/appengine_v1/classes.rb', line 741

def target_write_bytes_per_second
  @target_write_bytes_per_second
end

#target_write_ops_per_secondFixnum

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

Returns:

  • (Fixnum)


746
747
748
# File 'generated/google/apis/appengine_v1/classes.rb', line 746

def target_write_ops_per_second
  @target_write_ops_per_second
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



753
754
755
756
757
758
# File 'generated/google/apis/appengine_v1/classes.rb', line 753

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