Class: Google::Apis::MigrationcenterV1alpha1::VirtualMachinePreferencesNetworkCostParameters
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1alpha1::VirtualMachinePreferencesNetworkCostParameters
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/migrationcenter_v1alpha1/classes.rb,
lib/google/apis/migrationcenter_v1alpha1/representations.rb,
lib/google/apis/migrationcenter_v1alpha1/representations.rb
Overview
Parameters that affect network cost estimations.
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(**args) ⇒ VirtualMachinePreferencesNetworkCostParameters
constructor
A new instance of VirtualMachinePreferencesNetworkCostParameters.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VirtualMachinePreferencesNetworkCostParameters
Returns a new instance of VirtualMachinePreferencesNetworkCostParameters.
7760 7761 7762 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7760 def initialize(**args) update!(**args) end |
Instance Attribute Details
#estimated_egress_traffic_percentage ⇒ Fixnum
Optional. An estimated percentage of priced outbound traffic (egress traffic)
from the measured outbound traffic. Must be in the interval [0, 100].
Corresponds to the JSON property estimatedEgressTrafficPercentage
7758 7759 7760 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7758 def estimated_egress_traffic_percentage @estimated_egress_traffic_percentage end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7765 7766 7767 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7765 def update!(**args) @estimated_egress_traffic_percentage = args[:estimated_egress_traffic_percentage] if args.key?(:estimated_egress_traffic_percentage) end |