Class PromoteReleaseRule (2.7.1)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version latestkeyboard_arrow_down
PromoteReleaseRule ( mapping = None , * , ignore_unknown_fields = False , ** kwargs )
The PromoteRelease
rule will automatically promote a release
from the current target to a specified target.
Attributes
Name
Description
id
str
Required. ID of the rule. This id must be unique in the
Automation
resource to which this rule belongs. The
format is [a-z]([a-z0-9-]{0,61}[a-z0-9])?
.
wait
google.protobuf.duration_pb2.Duration
Optional. How long the release need to be
paused until being promoted to the next target.
destination_target_id
str
Optional. The ID of the stage in the pipeline to which this
Release
is deploying. If unspecified, default it to the
next stage in the promotion flow. The value of this field
could be one of the following:
- The last segment of a target name
- "@next", the next target in the promotion sequence
condition
google.cloud.deploy_v1.types.AutomationRuleCondition
Output only. Information around the state of
the Automation rule.
destination_phase
str
Optional. The starting phase of the rollout
created by this operation. Default to the first
phase.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-28 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Class PromoteReleaseRule (2.7.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.7.1 (latest)](/python/docs/reference/clouddeploy/latest/google.cloud.deploy_v1.types.PromoteReleaseRule)\n- [2.7.0](/python/docs/reference/clouddeploy/2.7.0/google.cloud.deploy_v1.types.PromoteReleaseRule)\n- [2.6.3](/python/docs/reference/clouddeploy/2.6.3/google.cloud.deploy_v1.types.PromoteReleaseRule)\n- [2.5.0](/python/docs/reference/clouddeploy/2.5.0/google.cloud.deploy_v1.types.PromoteReleaseRule)\n- [2.4.1](/python/docs/reference/clouddeploy/2.4.1/google.cloud.deploy_v1.types.PromoteReleaseRule)\n- [2.3.0](/python/docs/reference/clouddeploy/2.3.0/google.cloud.deploy_v1.types.PromoteReleaseRule)\n- [2.2.0](/python/docs/reference/clouddeploy/2.2.0/google.cloud.deploy_v1.types.PromoteReleaseRule)\n- [2.1.0](/python/docs/reference/clouddeploy/2.1.0/google.cloud.deploy_v1.types.PromoteReleaseRule)\n- [2.0.0](/python/docs/reference/clouddeploy/2.0.0/google.cloud.deploy_v1.types.PromoteReleaseRule)\n- [1.19.1](/python/docs/reference/clouddeploy/1.19.1/google.cloud.deploy_v1.types.PromoteReleaseRule)\n- [1.18.1](/python/docs/reference/clouddeploy/1.18.1/google.cloud.deploy_v1.types.PromoteReleaseRule)\n- [1.17.3](/python/docs/reference/clouddeploy/1.17.3/google.cloud.deploy_v1.types.PromoteReleaseRule)\n- [1.16.0](/python/docs/reference/clouddeploy/1.16.0/google.cloud.deploy_v1.types.PromoteReleaseRule)\n- [1.15.0](/python/docs/reference/clouddeploy/1.15.0/google.cloud.deploy_v1.types.PromoteReleaseRule)\n- [1.14.0](/python/docs/reference/clouddeploy/1.14.0/google.cloud.deploy_v1.types.PromoteReleaseRule)\n- [1.13.0](/python/docs/reference/clouddeploy/1.13.0/google.cloud.deploy_v1.types.PromoteReleaseRule)\n- [1.12.0](/python/docs/reference/clouddeploy/1.12.0/google.cloud.deploy_v1.types.PromoteReleaseRule)\n- [1.11.1](/python/docs/reference/clouddeploy/1.11.1/google.cloud.deploy_v1.types.PromoteReleaseRule)\n- [1.10.1](/python/docs/reference/clouddeploy/1.10.1/google.cloud.deploy_v1.types.PromoteReleaseRule)\n- [1.9.0](/python/docs/reference/clouddeploy/1.9.0/google.cloud.deploy_v1.types.PromoteReleaseRule)\n- [1.8.0](/python/docs/reference/clouddeploy/1.8.0/google.cloud.deploy_v1.types.PromoteReleaseRule)\n- [1.7.0](/python/docs/reference/clouddeploy/1.7.0/google.cloud.deploy_v1.types.PromoteReleaseRule)\n- [1.6.1](/python/docs/reference/clouddeploy/1.6.1/google.cloud.deploy_v1.types.PromoteReleaseRule)\n- [1.5.0](/python/docs/reference/clouddeploy/1.5.0/google.cloud.deploy_v1.types.PromoteReleaseRule)\n- [1.4.1](/python/docs/reference/clouddeploy/1.4.1/google.cloud.deploy_v1.types.PromoteReleaseRule)\n- [1.3.1](/python/docs/reference/clouddeploy/1.3.1/google.cloud.deploy_v1.types.PromoteReleaseRule)\n- [1.2.1](/python/docs/reference/clouddeploy/1.2.1/google.cloud.deploy_v1.types.PromoteReleaseRule)\n- [1.1.1](/python/docs/reference/clouddeploy/1.1.1/google.cloud.deploy_v1.types.PromoteReleaseRule)\n- [1.0.0](/python/docs/reference/clouddeploy/1.0.0/google.cloud.deploy_v1.types.PromoteReleaseRule)\n- [0.3.2](/python/docs/reference/clouddeploy/0.3.2/google.cloud.deploy_v1.types.PromoteReleaseRule)\n- [0.2.0](/python/docs/reference/clouddeploy/0.2.0/google.cloud.deploy_v1.types.PromoteReleaseRule)\n- [0.1.1](/python/docs/reference/clouddeploy/0.1.1/google.cloud.deploy_v1.types.PromoteReleaseRule) \n\n PromoteReleaseRule(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nThe `PromoteRelease` rule will automatically promote a release\nfrom the current target to a specified target."]]