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\u003eThis document provides reference information for the \u003ccode\u003eCanaryDeployment\u003c/code\u003e class within the Google Cloud Deploy v1 API, specifically version 3.0.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCanaryDeployment\u003c/code\u003e is used to configure the gradual rollout of deployments, allowing for percentage-based traffic shifting.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties such as \u003ccode\u003ePercentages\u003c/code\u003e to define traffic distribution, and \u003ccode\u003ePredeploy\u003c/code\u003e and \u003ccode\u003ePostdeploy\u003c/code\u003e to configure jobs before and after deployment phases.\u003c/p\u003e\n"],["\u003cp\u003eThe document also provides implementation details, listing that it implements interfaces such as IMessage, IEquatable, IDeepCloneable, and IBufferMessage.\u003c/p\u003e\n"],["\u003cp\u003eThe latest available version is 3.4.0, and it contains a history of previous versions ranging back to 1.0.0, all accessible through documentation links.\u003c/p\u003e\n"]]],[],null,[]]