Class: Google::Apis::AppengineV1::NetworkUtilization
- Inherits:
-
Object
- Object
- Google::Apis::AppengineV1::NetworkUtilization
- 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 network usage. Only applicable in the App Engine flexible environment.
Instance Attribute Summary collapse
-
#target_received_bytes_per_second ⇒ Fixnum
Target bytes received per second.
-
#target_received_packets_per_second ⇒ Fixnum
Target packets received per second.
-
#target_sent_bytes_per_second ⇒ Fixnum
Target bytes sent per second.
-
#target_sent_packets_per_second ⇒ Fixnum
Target packets sent per second.
Instance Method Summary collapse
-
#initialize(**args) ⇒ NetworkUtilization
constructor
A new instance of NetworkUtilization.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ NetworkUtilization
Returns a new instance of NetworkUtilization.
1802 1803 1804 |
# File 'generated/google/apis/appengine_v1/classes.rb', line 1802 def initialize(**args) update!(**args) end |
Instance Attribute Details
#target_received_bytes_per_second ⇒ Fixnum
Target bytes received per second.
Corresponds to the JSON property targetReceivedBytesPerSecond
1785 1786 1787 |
# File 'generated/google/apis/appengine_v1/classes.rb', line 1785 def target_received_bytes_per_second @target_received_bytes_per_second end |
#target_received_packets_per_second ⇒ Fixnum
Target packets received per second.
Corresponds to the JSON property targetReceivedPacketsPerSecond
1790 1791 1792 |
# File 'generated/google/apis/appengine_v1/classes.rb', line 1790 def target_received_packets_per_second @target_received_packets_per_second end |
#target_sent_bytes_per_second ⇒ Fixnum
Target bytes sent per second.
Corresponds to the JSON property targetSentBytesPerSecond
1795 1796 1797 |
# File 'generated/google/apis/appengine_v1/classes.rb', line 1795 def target_sent_bytes_per_second @target_sent_bytes_per_second end |
#target_sent_packets_per_second ⇒ Fixnum
Target packets sent per second.
Corresponds to the JSON property targetSentPacketsPerSecond
1800 1801 1802 |
# File 'generated/google/apis/appengine_v1/classes.rb', line 1800 def target_sent_packets_per_second @target_sent_packets_per_second end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1807 1808 1809 1810 1811 1812 |
# File 'generated/google/apis/appengine_v1/classes.rb', line 1807 def update!(**args) @target_received_bytes_per_second = args[:target_received_bytes_per_second] if args.key?(:target_received_bytes_per_second) @target_received_packets_per_second = args[:target_received_packets_per_second] if args.key?(:target_received_packets_per_second) @target_sent_bytes_per_second = args[:target_sent_bytes_per_second] if args.key?(:target_sent_bytes_per_second) @target_sent_packets_per_second = args[:target_sent_packets_per_second] if args.key?(:target_sent_packets_per_second) end |