Class: Google::Apis::CloudbillingV1beta::CacheFillRegions

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

Specifies the regions for Cache Fill.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CacheFillRegions

Returns a new instance of CacheFillRegions.



39
40
41
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 39

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

Instance Attribute Details

#destination_regionString

The destination region for cache fill. Corresponds to the JSON property destinationRegion

Returns:

  • (String)


32
33
34
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 32

def destination_region
  @destination_region
end

#source_regionString

The source region for cache fill. Corresponds to the JSON property sourceRegion

Returns:

  • (String)


37
38
39
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 37

def source_region
  @source_region
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



44
45
46
47
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 44

def update!(**args)
  @destination_region = args[:destination_region] if args.key?(:destination_region)
  @source_region = args[:source_region] if args.key?(:source_region)
end