Google Cloud Deploy V1 Client - Class Strategy (0.9.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
NameDescription
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
TypeDescription
Google\Cloud\Deploy\V1\Standard|null

hasStandard

setStandard

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

Parameter
NameDescription
var Google\Cloud\Deploy\V1\Standard
Returns
TypeDescription
$this

getCanary

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

Returns
TypeDescription
Google\Cloud\Deploy\V1\Canary|null

hasCanary

setCanary

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

Parameter
NameDescription
var Google\Cloud\Deploy\V1\Canary
Returns
TypeDescription
$this

getDeploymentStrategy

Returns
TypeDescription
string