Class: Google::Apis::CloudbillingV1beta::CacheFillRegions
- Inherits:
-
Object
- Object
- Google::Apis::CloudbillingV1beta::CacheFillRegions
- 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
-
#destination_region ⇒ String
The destination region for cache fill.
-
#source_region ⇒ String
The source region for cache fill.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CacheFillRegions
constructor
A new instance of CacheFillRegions.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_region ⇒ String
The destination region for cache fill.
Corresponds to the JSON property destinationRegion
32 33 34 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 32 def destination_region @destination_region end |
#source_region ⇒ String
The source region for cache fill.
Corresponds to the JSON property sourceRegion
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 |