Interface CanaryConfiguration.Builder

  • Method Details

    • canaryPercent

      CanaryConfiguration.Builder canaryPercent(Double canaryPercent)

      The percentage of production traffic to shift to the new service revision during the canary phase. Valid values are 0.1 to 100.0. The default value is 5.0.

      Parameters:
      canaryPercent - The percentage of production traffic to shift to the new service revision during the canary phase. Valid values are 0.1 to 100.0. The default value is 5.0.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • canaryBakeTimeInMinutes

      CanaryConfiguration.Builder canaryBakeTimeInMinutes(Integer canaryBakeTimeInMinutes)

      The amount of time in minutes to wait during the canary phase before shifting the remaining production traffic to the new service revision. Valid values are 0 to 1440 minutes (24 hours). The default value is 10.

      Parameters:
      canaryBakeTimeInMinutes - The amount of time in minutes to wait during the canary phase before shifting the remaining production traffic to the new service revision. Valid values are 0 to 1440 minutes (24 hours). The default value is 10.
      Returns:
      Returns a reference to this object so that method calls can be chained together.