Reference documentation and code samples for the Google Cloud Deploy V1 Client class Strategy.
Strategy contains deployment strategy information.
Generated from protobuf message google.cloud.deploy.v1.Strategy
Namespace
Google \ Cloud \ Deploy \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ standard |
Standard
Standard deployment strategy executes a single deploy and allows verifying the deployment. |
↳ canary |
Canary
Canary deployment strategy provides progressive percentage based deployments to a Target. |
getStandard
Standard deployment strategy executes a single deploy and allows verifying the deployment.
Returns | |
---|---|
Type | Description |
Standard|null |
hasStandard
setStandard
Standard deployment strategy executes a single deploy and allows verifying the deployment.
Parameter | |
---|---|
Name | Description |
var |
Standard
|
Returns | |
---|---|
Type | Description |
$this |
getCanary
Canary deployment strategy provides progressive percentage based deployments to a Target.
Returns | |
---|---|
Type | Description |
Canary|null |
hasCanary
setCanary
Canary deployment strategy provides progressive percentage based deployments to a Target.
Parameter | |
---|---|
Name | Description |
var |
Canary
|
Returns | |
---|---|
Type | Description |
$this |
getDeploymentStrategy
Returns | |
---|---|
Type | Description |
string |