Class: Google::Apis::CloudbillingV1beta::VmToVmEgressWorkload

Inherits:
Object
  • Object
show all
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 data transfer.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VmToVmEgressWorkload

Returns a new instance of VmToVmEgressWorkload.



2968
2969
2970
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2968

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#inter_region_egressGoogle::Apis::CloudbillingV1beta::InterRegionEgress

Data transfer between two regions. Corresponds to the JSON property interRegionEgress



2959
2960
2961
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2959

def inter_region_egress
  @inter_region_egress
end

#intra_region_egressGoogle::Apis::CloudbillingV1beta::IntraRegionEgress

Data transfer within the same region. When the source region and destination region are in the same zone, using internal IP addresses, there isn't any charge for data transfer. Corresponds to the JSON property intraRegionEgress



2966
2967
2968
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2966

def intra_region_egress
  @intra_region_egress
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2973
2974
2975
2976
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2973

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