Class: Google::Apis::AppengineV1beta::NetworkUtilization
- Inherits:
-
Object
- Object
- Google::Apis::AppengineV1beta::NetworkUtilization
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/appengine_v1beta/classes.rb,
lib/google/apis/appengine_v1beta/representations.rb,
lib/google/apis/appengine_v1beta/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.
2081 2082 2083 |
# File 'lib/google/apis/appengine_v1beta/classes.rb', line 2081 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
2064 2065 2066 |
# File 'lib/google/apis/appengine_v1beta/classes.rb', line 2064 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
2069 2070 2071 |
# File 'lib/google/apis/appengine_v1beta/classes.rb', line 2069 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
2074 2075 2076 |
# File 'lib/google/apis/appengine_v1beta/classes.rb', line 2074 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
2079 2080 2081 |
# File 'lib/google/apis/appengine_v1beta/classes.rb', line 2079 def target_sent_packets_per_second @target_sent_packets_per_second end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2086 2087 2088 2089 2090 2091 |
# File 'lib/google/apis/appengine_v1beta/classes.rb', line 2086 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 |