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.
2945 2946 2947 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2945 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
2936 2937 2938 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2936 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
2943 2944 2945 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2943 def intra_region_egress @intra_region_egress end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2950 2951 2952 2953 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2950 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 |