Class: Google::Apis::AppengineV1beta::DiskUtilization

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

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



819
820
821
# File 'generated/google/apis/appengine_v1beta/classes.rb', line 819

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)


802
803
804
# File 'generated/google/apis/appengine_v1beta/classes.rb', line 802

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)


807
808
809
# File 'generated/google/apis/appengine_v1beta/classes.rb', line 807

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)


812
813
814
# File 'generated/google/apis/appengine_v1beta/classes.rb', line 812

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)


817
818
819
# File 'generated/google/apis/appengine_v1beta/classes.rb', line 817

def target_write_ops_per_second
  @target_write_ops_per_second
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



824
825
826
827
828
829
# File 'generated/google/apis/appengine_v1beta/classes.rb', line 824

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