Google Cloud Deploy V1 Client - Class Strategy (2.0.0)

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 \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ standard Google\Cloud\Deploy\V1\Standard

Standard deployment strategy executes a single deploy and allows verifying the deployment.

↳ canary Google\Cloud\Deploy\V1\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
Google\Cloud\Deploy\V1\Standard|null

hasStandard

setStandard

Standard deployment strategy executes a single deploy and allows verifying the deployment.

Parameter
Name Description
var Google\Cloud\Deploy\V1\Standard
Returns
Type Description
$this

getCanary

Canary deployment strategy provides progressive percentage based deployments to a Target.

Returns
Type Description
Google\Cloud\Deploy\V1\Canary|null

hasCanary

setCanary

Canary deployment strategy provides progressive percentage based deployments to a Target.

Parameter
Name Description
var Google\Cloud\Deploy\V1\Canary
Returns
Type Description
$this

getDeploymentStrategy

Returns
Type Description
string