Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::DistributionPolicy (v2.6.0)

Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::DistributionPolicy.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#target_shape

def target_shape() -> ::String
Returns
  • (::String) — The distribution shape to which the group converges either proactively or on resize events (depending on the value set in updatePolicy.instanceRedistributionType). Check the TargetShape enum for the list of possible values.

#target_shape=

def target_shape=(value) -> ::String
Parameter
  • value (::String) — The distribution shape to which the group converges either proactively or on resize events (depending on the value set in updatePolicy.instanceRedistributionType). Check the TargetShape enum for the list of possible values.
Returns
  • (::String) — The distribution shape to which the group converges either proactively or on resize events (depending on the value set in updatePolicy.instanceRedistributionType). Check the TargetShape enum for the list of possible values.

#zones

def zones() -> ::Array<::Google::Cloud::Compute::V1::DistributionPolicyZoneConfiguration>
Returns

#zones=

def zones=(value) -> ::Array<::Google::Cloud::Compute::V1::DistributionPolicyZoneConfiguration>
Parameter
Returns