Class: Google::Apis::AppengineV1beta::NetworkUtilization
- Inherits:
-
Object
- Object
- Google::Apis::AppengineV1beta::NetworkUtilization
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/appengine_v1beta/classes.rb,
generated/google/apis/appengine_v1beta/representations.rb,
generated/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.
1881 1882 1883 |
# File 'generated/google/apis/appengine_v1beta/classes.rb', line 1881 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
1864 1865 1866 |
# File 'generated/google/apis/appengine_v1beta/classes.rb', line 1864 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
1869 1870 1871 |
# File 'generated/google/apis/appengine_v1beta/classes.rb', line 1869 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
1874 1875 1876 |
# File 'generated/google/apis/appengine_v1beta/classes.rb', line 1874 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
1879 1880 1881 |
# File 'generated/google/apis/appengine_v1beta/classes.rb', line 1879 def target_sent_packets_per_second @target_sent_packets_per_second end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1886 1887 1888 1889 1890 1891 |
# File 'generated/google/apis/appengine_v1beta/classes.rb', line 1886 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 |