Class: Google::Apis::AppengineV1beta5::NetworkUtilization
- Inherits:
-
Object
- Object
- Google::Apis::AppengineV1beta5::NetworkUtilization
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/appengine_v1beta5/classes.rb,
generated/google/apis/appengine_v1beta5/representations.rb,
generated/google/apis/appengine_v1beta5/representations.rb
Overview
Target scaling by network usage. Only applicable for VM runtimes.
Instance Attribute Summary collapse
-
#target_received_bytes_per_sec ⇒ Fixnum
Target bytes received per second.
-
#target_received_packets_per_sec ⇒ Fixnum
Target packets received per second.
-
#target_sent_bytes_per_sec ⇒ Fixnum
Target bytes sent per second.
-
#target_sent_packets_per_sec ⇒ 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.
729 730 731 |
# File 'generated/google/apis/appengine_v1beta5/classes.rb', line 729 def initialize(**args) update!(**args) end |
Instance Attribute Details
#target_received_bytes_per_sec ⇒ Fixnum
Target bytes received per second.
Corresponds to the JSON property targetReceivedBytesPerSec
722 723 724 |
# File 'generated/google/apis/appengine_v1beta5/classes.rb', line 722 def target_received_bytes_per_sec @target_received_bytes_per_sec end |
#target_received_packets_per_sec ⇒ Fixnum
Target packets received per second.
Corresponds to the JSON property targetReceivedPacketsPerSec
727 728 729 |
# File 'generated/google/apis/appengine_v1beta5/classes.rb', line 727 def target_received_packets_per_sec @target_received_packets_per_sec end |
#target_sent_bytes_per_sec ⇒ Fixnum
Target bytes sent per second.
Corresponds to the JSON property targetSentBytesPerSec
712 713 714 |
# File 'generated/google/apis/appengine_v1beta5/classes.rb', line 712 def target_sent_bytes_per_sec @target_sent_bytes_per_sec end |
#target_sent_packets_per_sec ⇒ Fixnum
Target packets sent per second.
Corresponds to the JSON property targetSentPacketsPerSec
717 718 719 |
# File 'generated/google/apis/appengine_v1beta5/classes.rb', line 717 def target_sent_packets_per_sec @target_sent_packets_per_sec end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
734 735 736 737 738 739 |
# File 'generated/google/apis/appengine_v1beta5/classes.rb', line 734 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 |