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.
2908 2909 2910 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2908 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
2899 2900 2901 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2899 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
2906 2907 2908 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2906 def intra_region_egress @intra_region_egress end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2913 2914 2915 2916 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2913 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 |