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 for VM runtimes.
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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ NetworkUtilization
Returns a new instance of NetworkUtilization
1372 1373 1374 |
# File 'generated/google/apis/appengine_v1/classes.rb', line 1372 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
1365 1366 1367 |
# File 'generated/google/apis/appengine_v1/classes.rb', line 1365 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
1355 1356 1357 |
# File 'generated/google/apis/appengine_v1/classes.rb', line 1355 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
1360 1361 1362 |
# File 'generated/google/apis/appengine_v1/classes.rb', line 1360 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
1370 1371 1372 |
# File 'generated/google/apis/appengine_v1/classes.rb', line 1370 def target_sent_packets_per_second @target_sent_packets_per_second end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1377 1378 1379 1380 1381 1382 |
# File 'generated/google/apis/appengine_v1/classes.rb', line 1377 def update!(**args) @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_received_bytes_per_second = args[:target_received_bytes_per_second] if args.key?(:target_received_bytes_per_second) @target_sent_packets_per_second = args[:target_sent_packets_per_second] if args.key?(:target_sent_packets_per_second) end |