Google Cloud Deploy V1 Client - Class Strategy (1.5.7)

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
Standard

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

↳ canary
Canary

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

getStandard

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

Returns
Type
Description
Standard |null

hasStandard

setStandard

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

Parameter
Name
Description
var
Returns
Type
Description
$this

getCanary

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

Returns
Type
Description
Canary |null

hasCanary

setCanary

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

Parameter
Name
Description
var
Returns
Type
Description
$this

getDeploymentStrategy

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