Class: Google::Apis::MigrationcenterV1::DailyResourceUsageAggregationNetwork
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1::DailyResourceUsageAggregationNetwork
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/migrationcenter_v1/classes.rb,
lib/google/apis/migrationcenter_v1/representations.rb,
lib/google/apis/migrationcenter_v1/representations.rb
Overview
Statistical aggregation of network usage.
Instance Attribute Summary collapse
-
#egress_bps ⇒ Google::Apis::MigrationcenterV1::DailyResourceUsageAggregationStats
Statistical aggregation of samples for a single resource usage.
-
#ingress_bps ⇒ Google::Apis::MigrationcenterV1::DailyResourceUsageAggregationStats
Statistical aggregation of samples for a single resource usage.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DailyResourceUsageAggregationNetwork
constructor
A new instance of DailyResourceUsageAggregationNetwork.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DailyResourceUsageAggregationNetwork
Returns a new instance of DailyResourceUsageAggregationNetwork.
1026 1027 1028 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1026 def initialize(**args) update!(**args) end |
Instance Attribute Details
#egress_bps ⇒ Google::Apis::MigrationcenterV1::DailyResourceUsageAggregationStats
Statistical aggregation of samples for a single resource usage.
Corresponds to the JSON property egressBps
1019 1020 1021 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1019 def egress_bps @egress_bps end |
#ingress_bps ⇒ Google::Apis::MigrationcenterV1::DailyResourceUsageAggregationStats
Statistical aggregation of samples for a single resource usage.
Corresponds to the JSON property ingressBps
1024 1025 1026 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1024 def ingress_bps @ingress_bps end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1031 1032 1033 1034 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1031 def update!(**args) @egress_bps = args[:egress_bps] if args.key?(:egress_bps) @ingress_bps = args[:ingress_bps] if args.key?(:ingress_bps) end |