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 \ V1Methods
__construct
Constructor.
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.
↳ canary_revision_tags
array
Optional. A list of tags that are added to the canary revision while the canary deployment is in progress.
↳ prior_revision_tags
array
Optional. A list of tags that are added to the prior revision while the canary deployment is in progress.
↳ stable_revision_tags
array
Optional. A list of tags that are added to the final stable revision after the canary deployment is completed.
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.
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.
var
bool
$this
getCanaryRevisionTags
Optional. A list of tags that are added to the canary revision while the canary deployment is in progress.
setCanaryRevisionTags
Optional. A list of tags that are added to the canary revision while the canary deployment is in progress.
var
string[]
$this
getPriorRevisionTags
Optional. A list of tags that are added to the prior revision while the canary deployment is in progress.
setPriorRevisionTags
Optional. A list of tags that are added to the prior revision while the canary deployment is in progress.
var
string[]
$this
getStableRevisionTags
Optional. A list of tags that are added to the final stable revision after the canary deployment is completed.
setStableRevisionTags
Optional. A list of tags that are added to the final stable revision after the canary deployment is completed.
var
string[]
$this