Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::CapacityAdviceRequestDistributionPolicy.
Distribution policy.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#target_shape
def target_shape() -> ::String
Returns
- (::String) — Target distribution shape. You can specify the following values:ANY, ANY_SINGLE_ZONE, or BALANCED. Check the TargetShape enum for the list of possible values.
#target_shape=
def target_shape=(value) -> ::String
Parameter
- value (::String) — Target distribution shape. You can specify the following values:ANY, ANY_SINGLE_ZONE, or BALANCED. Check the TargetShape enum for the list of possible values.
Returns
- (::String) — Target distribution shape. You can specify the following values:ANY, ANY_SINGLE_ZONE, or BALANCED. Check the TargetShape enum for the list of possible values.
#zones
def zones() -> ::Array<::Google::Cloud::Compute::V1::CapacityAdviceRequestDistributionPolicyZoneConfiguration>
Returns
- (::Array<::Google::Cloud::Compute::V1::CapacityAdviceRequestDistributionPolicyZoneConfiguration>) — Zones where Capacity Advisor looks for capacity.
#zones=
def zones=(value) -> ::Array<::Google::Cloud::Compute::V1::CapacityAdviceRequestDistributionPolicyZoneConfiguration>
Parameter
- value (::Array<::Google::Cloud::Compute::V1::CapacityAdviceRequestDistributionPolicyZoneConfiguration>) — Zones where Capacity Advisor looks for capacity.
Returns
- (::Array<::Google::Cloud::Compute::V1::CapacityAdviceRequestDistributionPolicyZoneConfiguration>) — Zones where Capacity Advisor looks for capacity.