public sealed class CanaryDeployment : IMessage<CanaryDeployment>, IEquatable<CanaryDeployment>, IDeepCloneable<CanaryDeployment>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Deploy v1 API class CanaryDeployment.
CanaryDeployment represents the canary deployment configuration
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eCanaryDeployment\u003c/code\u003e class in the Google Cloud Deploy v1 API provides configuration for canary deployments in rollouts, and is designed to handle percentage-based deployments.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the Google.Cloud.Deploy.V1 API is 3.4.0, however the current page is displaying version 3.2.0, which is one of multiple available versions, with older versions available, all the way down to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCanaryDeployment\u003c/code\u003e objects can be constructed using a default constructor or a copy constructor that takes another \u003ccode\u003eCanaryDeployment\u003c/code\u003e object as input.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePercentages\u003c/code\u003e property allows you to define the percentage increments for deployments in a rollout, while the \u003ccode\u003ePredeploy\u003c/code\u003e and \u003ccode\u003ePostdeploy\u003c/code\u003e properties enable configuration of pre- and post-deployment jobs.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eVerify\u003c/code\u003e property determines if verification tests will be executed following each incremental deployment as part of the canary process.\u003c/p\u003e\n"]]],[],null,[]]