Class: Google::Apis::AppengineV1beta4::NetworkUtilization
- Inherits:
-
Object
- Object
- Google::Apis::AppengineV1beta4::NetworkUtilization
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- 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. 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
1182 1183 1184 |
# File 'generated/google/apis/appengine_v1beta4/classes.rb', line 1182 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
1165 1166 1167 |
# File 'generated/google/apis/appengine_v1beta4/classes.rb', line 1165 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
1170 1171 1172 |
# File 'generated/google/apis/appengine_v1beta4/classes.rb', line 1170 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
1175 1176 1177 |
# File 'generated/google/apis/appengine_v1beta4/classes.rb', line 1175 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
1180 1181 1182 |
# File 'generated/google/apis/appengine_v1beta4/classes.rb', line 1180 def target_sent_packets_per_sec @target_sent_packets_per_sec end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1187 1188 1189 1190 1191 1192 |
# File 'generated/google/apis/appengine_v1beta4/classes.rb', line 1187 def update!(**args) @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) @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) end |