Google Cloud Deploy V1 Client - Class Strategy (0.12.1)

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

hasStandard

setStandard

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

Parameter
Name
Description
Returns
Type
Description
$this

getCanary

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

Returns
Type
Description

hasCanary

setCanary

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

Parameter
Name
Description
Returns
Type
Description
$this

getDeploymentStrategy

Returns
Type
Description
string
Design a Mobile Site
View Site in Mobile | Classic
Share by: