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.



2962
2963
2964
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2962

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



2953
2954
2955
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2953

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



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

def intra_region_egress
  @intra_region_egress
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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