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.
[[["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 represents the configuration for canary deployments within the Google Cloud Deploy v1 API, and it is the version 2.10.0 documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of \u003ccode\u003eCanaryDeployment\u003c/code\u003e is 3.4.0, with a full history of versions documented from 1.0.0 up to the latest.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCanaryDeployment\u003c/code\u003e class implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, with inherited members like \u003ccode\u003eGetHashCode\u003c/code\u003e, \u003ccode\u003eGetType\u003c/code\u003e, and \u003ccode\u003eToString\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eCanaryDeployment\u003c/code\u003e class include \u003ccode\u003ePercentages\u003c/code\u003e (a list of deployment percentages), \u003ccode\u003ePostdeploy\u003c/code\u003e (configuration for post-deployment jobs), \u003ccode\u003ePredeploy\u003c/code\u003e (configuration for pre-deployment jobs), and \u003ccode\u003eVerify\u003c/code\u003e (whether to run tests).\u003c/p\u003e\n"],["\u003cp\u003eThere are two documented constructors, the first being the default \u003ccode\u003eCanaryDeployment()\u003c/code\u003e, and the second taking a parameter of \u003ccode\u003eCanaryDeployment\u003c/code\u003e named \u003ccode\u003eother\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]