Google Cloud Deploy V1 Client - Class CloudRunConfig (0.13.1)

Reference documentation and code samples for the Google Cloud Deploy V1 Client class CloudRunConfig.

CloudRunConfig contains the Cloud Run runtime configuration.

Generated from protobuf message google.cloud.deploy.v1.CloudRunConfig

Namespace

Google \ Cloud \ Deploy \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ automatic_traffic_control bool

Whether Cloud Deploy should update the traffic stanza in a Cloud Run Service on the user's behalf to facilitate traffic splitting. This is required to be true for CanaryDeployments, but optional for CustomCanaryDeployments.

getAutomaticTrafficControl

Whether Cloud Deploy should update the traffic stanza in a Cloud Run Service on the user's behalf to facilitate traffic splitting. This is required to be true for CanaryDeployments, but optional for CustomCanaryDeployments.

Returns
TypeDescription
bool

setAutomaticTrafficControl

Whether Cloud Deploy should update the traffic stanza in a Cloud Run Service on the user's behalf to facilitate traffic splitting. This is required to be true for CanaryDeployments, but optional for CustomCanaryDeployments.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this