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 latest version of the \u003ccode\u003eCanaryDeployment\u003c/code\u003e class in the Google Cloud Deploy v1 API is 3.4.0, and multiple previous versions, ranging from 3.3.0 down to 1.0.0, are also documented.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCanaryDeployment\u003c/code\u003e is a class representing the canary deployment configuration within the Google Cloud Deploy v1 API, and it inherits from \u003ccode\u003eobject\u003c/code\u003e and implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePercentages\u003c/code\u003e property, a required field, configures the percentage-based deployments in a \u003ccode\u003eRollout\u003c/code\u003e, with each integer in the list expected to be in ascending order between 0 and 100, or between 0 and 100 inclusive if \u003ccode\u003eGatewayServiceMesh\u003c/code\u003e is configured for Kubernetes.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCanaryDeployment\u003c/code\u003e has optional properties, such as \u003ccode\u003ePostdeploy\u003c/code\u003e and \u003ccode\u003ePredeploy\u003c/code\u003e, that allow configuration of post- and pre-deployment jobs for the last and first phases of deployment, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eVerify\u003c/code\u003e property is a boolean value indicating if verify tests should be run after each percentage deployment.\u003c/p\u003e\n"]]],[],null,[]]