Class: Google::Apis::ComputeAlpha::CapacityAdviceRequestDistributionPolicyZoneConfiguration

Inherits:
Object
  • Object
show all
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

Overview

Zone configuration for the distribution policy.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CapacityAdviceRequestDistributionPolicyZoneConfiguration

Returns a new instance of CapacityAdviceRequestDistributionPolicyZoneConfiguration.



8362
8363
8364
# File 'lib/google/apis/compute_alpha/classes.rb', line 8362

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

Instance Attribute Details

#zoneString

The URL of the zone. It can be a partial or full URL. For example, the following are valid values:

Returns:

  • (String)


8360
8361
8362
# File 'lib/google/apis/compute_alpha/classes.rb', line 8360

def zone
  @zone
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8367
8368
8369
# File 'lib/google/apis/compute_alpha/classes.rb', line 8367

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