Class: Google::Apis::AppengineV1beta4::NetworkUtilization
- Inherits:
-
Object
- Object
- Google::Apis::AppengineV1beta4::NetworkUtilization
- Includes:
- Core::Hashable
- Defined in:
- generated/google/apis/appengine_v1beta4/classes.rb,
generated/google/apis/appengine_v1beta4/representations.rb,
generated/google/apis/appengine_v1beta4/representations.rb
Overview
Target scaling by network usage (for VM runtimes only).
Instance Attribute Summary collapse
-
#target_received_bytes_per_sec ⇒ Fixnum
Target bytes per second received.
-
#target_received_packets_per_sec ⇒ Fixnum
Target packets per second received.
-
#target_sent_bytes_per_sec ⇒ Fixnum
Target bytes per second sent.
-
#target_sent_packets_per_sec ⇒ Fixnum
Target packets per second sent.
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::Hashable
Constructor Details
#initialize(**args) ⇒ NetworkUtilization
Returns a new instance of NetworkUtilization.
528 529 530 |
# File 'generated/google/apis/appengine_v1beta4/classes.rb', line 528 def initialize(**args) update!(**args) end |
Instance Attribute Details
#target_received_bytes_per_sec ⇒ Fixnum
Target bytes per second received.
Corresponds to the JSON property targetReceivedBytesPerSec
521 522 523 |
# File 'generated/google/apis/appengine_v1beta4/classes.rb', line 521 def target_received_bytes_per_sec @target_received_bytes_per_sec end |
#target_received_packets_per_sec ⇒ Fixnum
Target packets per second received.
Corresponds to the JSON property targetReceivedPacketsPerSec
526 527 528 |
# File 'generated/google/apis/appengine_v1beta4/classes.rb', line 526 def target_received_packets_per_sec @target_received_packets_per_sec end |
#target_sent_bytes_per_sec ⇒ Fixnum
Target bytes per second sent.
Corresponds to the JSON property targetSentBytesPerSec
511 512 513 |
# File 'generated/google/apis/appengine_v1beta4/classes.rb', line 511 def target_sent_bytes_per_sec @target_sent_bytes_per_sec end |
#target_sent_packets_per_sec ⇒ Fixnum
Target packets per second sent.
Corresponds to the JSON property targetSentPacketsPerSec
516 517 518 |
# File 'generated/google/apis/appengine_v1beta4/classes.rb', line 516 def target_sent_packets_per_sec @target_sent_packets_per_sec end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
533 534 535 536 537 538 |
# File 'generated/google/apis/appengine_v1beta4/classes.rb', line 533 def update!(**args) @target_sent_bytes_per_sec = args[:target_sent_bytes_per_sec] if args.key?(:target_sent_bytes_per_sec) @target_sent_packets_per_sec = args[:target_sent_packets_per_sec] if args.key?(:target_sent_packets_per_sec) @target_received_bytes_per_sec = args[:target_received_bytes_per_sec] if args.key?(:target_received_bytes_per_sec) @target_received_packets_per_sec = args[:target_received_packets_per_sec] if args.key?(:target_received_packets_per_sec) end |