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 in the Google Cloud Deploy v1 API provides configuration for canary deployments in rollouts.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of \u003ccode\u003eCanaryDeployment\u003c/code\u003e is 3.4.0, while this page specifically covers version 2.12.0 of the Google Cloud Deploy v1 API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCanaryDeployment\u003c/code\u003e includes properties like \u003ccode\u003ePercentages\u003c/code\u003e, \u003ccode\u003ePostdeploy\u003c/code\u003e, \u003ccode\u003ePredeploy\u003c/code\u003e, and \u003ccode\u003eVerify\u003c/code\u003e to control deployment behavior, such as setting deployment percentages, defining pre and post-deployment jobs, and test verification.\u003c/p\u003e\n"],["\u003cp\u003eThis 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, allowing it to interact with Protobuf systems.\u003c/p\u003e\n"],["\u003cp\u003eMultiple versions of \u003ccode\u003eCanaryDeployment\u003c/code\u003e exist, ranging from 1.0.0 to 3.4.0, with each version having its own specific reference documentation, as detailed in the linked version list.\u003c/p\u003e\n"]]],[],null,[]]