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 allows configuration of canary deployments with percentage-based rollouts.\u003c/p\u003e\n"],["\u003cp\u003eThe class supports setting pre-deploy and post-deploy jobs for the first and last phases respectively, allowing for custom actions before and after deployment.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePercentages\u003c/code\u003e property specifies a list of deployment percentages in ascending order that determine how the \u003ccode\u003eRollout\u003c/code\u003e will be carried out.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eVerify\u003c/code\u003e property allows the ability to run verification tests after each percentage deployment to validate the release.\u003c/p\u003e\n"],["\u003cp\u003eThe latest available version of the \u003ccode\u003eCanaryDeployment\u003c/code\u003e class is 3.4.0, while this documentation page pertains to version 3.1.0, with several earlier versions also listed.\u003c/p\u003e\n"]]],[],null,[]]