Google Cloud Deploy V1 API - Class Google::Cloud::Deploy::V1::CanaryDeployment (v1.2.2)

Reference documentation and code samples for the Google Cloud Deploy V1 API class Google::Cloud::Deploy::V1::CanaryDeployment.

CanaryDeployment represents the canary deployment configuration

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#percentages

def percentages() -> ::Array<::Integer>
Returns
  • (::Array<::Integer>) — Required. The percentage based deployments that will occur as a part of a Rollout. List is expected in ascending order and each integer n is 0 <= n < 100. If the GatewayServiceMesh is configured for Kubernetes, then the range for n is 0 <= n <= 100.

#percentages=

def percentages=(value) -> ::Array<::Integer>
Parameter
  • value (::Array<::Integer>) — Required. The percentage based deployments that will occur as a part of a Rollout. List is expected in ascending order and each integer n is 0 <= n < 100. If the GatewayServiceMesh is configured for Kubernetes, then the range for n is 0 <= n <= 100.
Returns
  • (::Array<::Integer>) — Required. The percentage based deployments that will occur as a part of a Rollout. List is expected in ascending order and each integer n is 0 <= n < 100. If the GatewayServiceMesh is configured for Kubernetes, then the range for n is 0 <= n <= 100.

#postdeploy

def postdeploy() -> ::Google::Cloud::Deploy::V1::Postdeploy
Returns

#postdeploy=

def postdeploy=(value) -> ::Google::Cloud::Deploy::V1::Postdeploy
Parameter
Returns

#predeploy

def predeploy() -> ::Google::Cloud::Deploy::V1::Predeploy
Returns

#predeploy=

def predeploy=(value) -> ::Google::Cloud::Deploy::V1::Predeploy
Parameter
  • value (::Google::Cloud::Deploy::V1::Predeploy) — Optional. Configuration for the predeploy job of the first phase. If this is not configured, there will be no predeploy job for this phase.
Returns

#verify

def verify() -> ::Boolean
Returns
  • (::Boolean) — Whether to run verify tests after each percentage deployment.

#verify=

def verify=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Whether to run verify tests after each percentage deployment.
Returns
  • (::Boolean) — Whether to run verify tests after each percentage deployment.