Class: Google::Apis::ComputeBeta::DistributionPolicyZoneConfiguration
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::DistributionPolicyZoneConfiguration
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_beta/classes.rb,
lib/google/apis/compute_beta/representations.rb,
lib/google/apis/compute_beta/representations.rb
Instance Attribute Summary collapse
-
#zone ⇒ String
The URL of thezone.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DistributionPolicyZoneConfiguration
constructor
A new instance of DistributionPolicyZoneConfiguration.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DistributionPolicyZoneConfiguration
Returns a new instance of DistributionPolicyZoneConfiguration.
12336 12337 12338 |
# File 'lib/google/apis/compute_beta/classes.rb', line 12336 def initialize(**args) update!(**args) end |
Instance Attribute Details
#zone ⇒ String
The URL of thezone.
The zone must exist in the region where the managed instance group is
located.
Corresponds to the JSON property zone
12334 12335 12336 |
# File 'lib/google/apis/compute_beta/classes.rb', line 12334 def zone @zone end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12341 12342 12343 |
# File 'lib/google/apis/compute_beta/classes.rb', line 12341 def update!(**args) @zone = args[:zone] if args.key?(:zone) end |