Class: Google::Apis::ComputeAlpha::CapacityAdviceRequestDistributionPolicyZoneConfiguration
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::CapacityAdviceRequestDistributionPolicyZoneConfiguration
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb
Instance Attribute Summary collapse
-
#zone ⇒ String
The URL of the zone.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CapacityAdviceRequestDistributionPolicyZoneConfiguration
constructor
A new instance of CapacityAdviceRequestDistributionPolicyZoneConfiguration.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CapacityAdviceRequestDistributionPolicyZoneConfiguration
Returns a new instance of CapacityAdviceRequestDistributionPolicyZoneConfiguration.
8363 8364 8365 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 8363 def initialize(**args) update!(**args) end |
Instance Attribute Details
#zone ⇒ String
The URL of the zone. It can be a partial or full URL. For example, the following are valid values:
- https://www.googleapis.com/compute/v1/projects/project/zones/zone
- projects/project/zones/zone
- zones/zone
Corresponds to the JSON property
zone
8361 8362 8363 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 8361 def zone @zone end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8368 8369 8370 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 8368 def update!(**args) @zone = args[:zone] if args.key?(:zone) end |