Class: Google::Apis::CloudbillingV1beta::VmToVmEgressWorkload
- Inherits:
-
Object
- Object
- Google::Apis::CloudbillingV1beta::VmToVmEgressWorkload
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudbilling_v1beta/classes.rb,
lib/google/apis/cloudbilling_v1beta/representations.rb,
lib/google/apis/cloudbilling_v1beta/representations.rb
Overview
Specify VM to VM egress.
Instance Attribute Summary collapse
-
#inter_region_egress ⇒ Google::Apis::CloudbillingV1beta::InterRegionEgress
Egress traffic between two regions.
-
#intra_region_egress ⇒ Google::Apis::CloudbillingV1beta::IntraRegionEgress
Egress traffic within the same region.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VmToVmEgressWorkload
constructor
A new instance of VmToVmEgressWorkload.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VmToVmEgressWorkload
Returns a new instance of VmToVmEgressWorkload.
1412 1413 1414 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1412 def initialize(**args) update!(**args) end |
Instance Attribute Details
#inter_region_egress ⇒ Google::Apis::CloudbillingV1beta::InterRegionEgress
Egress traffic between two regions.
Corresponds to the JSON property interRegionEgress
1403 1404 1405 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1403 def inter_region_egress @inter_region_egress end |
#intra_region_egress ⇒ Google::Apis::CloudbillingV1beta::IntraRegionEgress
Egress traffic within the same region. When source region and destination
region are in the same zone, using the internal IP addresses, there isn't any
egress charge.
Corresponds to the JSON property intraRegionEgress
1410 1411 1412 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1410 def intra_region_egress @intra_region_egress end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1417 1418 1419 1420 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1417 def update!(**args) @inter_region_egress = args[:inter_region_egress] if args.key?(:inter_region_egress) @intra_region_egress = args[:intra_region_egress] if args.key?(:intra_region_egress) end |