Reference documentation and code samples for the Google Cloud Deploy V1 API class Google::Cloud::Deploy::V1::PromoteReleaseOperation.
Contains the information of an automated promote-release operation.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#phase
defphase()->::String
Returns
(::String) — Output only. The starting phase of the rollout created by this operation.
#rollout
defrollout()->::String
Returns
(::String) — Output only. The name of the rollout that initiates the AutomationRun.
#target_id
deftarget_id()->::String
Returns
(::String) — Output only. The ID of the target that represents the promotion stage to
which the release will be promoted. The value of this field is the last
segment of a target name.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Google Cloud Deploy V1 API - Class Google::Cloud::Deploy::V1::PromoteReleaseOperation (v2.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.2.0 (latest)](/ruby/docs/reference/google-cloud-deploy-v1/latest/Google-Cloud-Deploy-V1-PromoteReleaseOperation)\n- [2.1.1](/ruby/docs/reference/google-cloud-deploy-v1/2.1.1/Google-Cloud-Deploy-V1-PromoteReleaseOperation)\n- [2.0.2](/ruby/docs/reference/google-cloud-deploy-v1/2.0.2/Google-Cloud-Deploy-V1-PromoteReleaseOperation)\n- [1.6.0](/ruby/docs/reference/google-cloud-deploy-v1/1.6.0/Google-Cloud-Deploy-V1-PromoteReleaseOperation)\n- [1.5.0](/ruby/docs/reference/google-cloud-deploy-v1/1.5.0/Google-Cloud-Deploy-V1-PromoteReleaseOperation)\n- [1.4.0](/ruby/docs/reference/google-cloud-deploy-v1/1.4.0/Google-Cloud-Deploy-V1-PromoteReleaseOperation)\n- [1.3.0](/ruby/docs/reference/google-cloud-deploy-v1/1.3.0/Google-Cloud-Deploy-V1-PromoteReleaseOperation)\n- [1.2.2](/ruby/docs/reference/google-cloud-deploy-v1/1.2.2/Google-Cloud-Deploy-V1-PromoteReleaseOperation)\n- [1.1.0](/ruby/docs/reference/google-cloud-deploy-v1/1.1.0/Google-Cloud-Deploy-V1-PromoteReleaseOperation)\n- [1.0.0](/ruby/docs/reference/google-cloud-deploy-v1/1.0.0/Google-Cloud-Deploy-V1-PromoteReleaseOperation)\n- [0.20.0](/ruby/docs/reference/google-cloud-deploy-v1/0.20.0/Google-Cloud-Deploy-V1-PromoteReleaseOperation)\n- [0.19.1](/ruby/docs/reference/google-cloud-deploy-v1/0.19.1/Google-Cloud-Deploy-V1-PromoteReleaseOperation)\n- [0.18.0](/ruby/docs/reference/google-cloud-deploy-v1/0.18.0/Google-Cloud-Deploy-V1-PromoteReleaseOperation)\n- [0.17.2](/ruby/docs/reference/google-cloud-deploy-v1/0.17.2/Google-Cloud-Deploy-V1-PromoteReleaseOperation)\n- [0.16.0](/ruby/docs/reference/google-cloud-deploy-v1/0.16.0/Google-Cloud-Deploy-V1-PromoteReleaseOperation)\n- [0.15.0](/ruby/docs/reference/google-cloud-deploy-v1/0.15.0/Google-Cloud-Deploy-V1-PromoteReleaseOperation)\n- [0.14.0](/ruby/docs/reference/google-cloud-deploy-v1/0.14.0/Google-Cloud-Deploy-V1-PromoteReleaseOperation)\n- [0.13.0](/ruby/docs/reference/google-cloud-deploy-v1/0.13.0/Google-Cloud-Deploy-V1-PromoteReleaseOperation)\n- [0.12.0](/ruby/docs/reference/google-cloud-deploy-v1/0.12.0/Google-Cloud-Deploy-V1-PromoteReleaseOperation)\n- [0.11.0](/ruby/docs/reference/google-cloud-deploy-v1/0.11.0/Google-Cloud-Deploy-V1-PromoteReleaseOperation)\n- [0.10.0](/ruby/docs/reference/google-cloud-deploy-v1/0.10.0/Google-Cloud-Deploy-V1-PromoteReleaseOperation)\n- [0.9.0](/ruby/docs/reference/google-cloud-deploy-v1/0.9.0/Google-Cloud-Deploy-V1-PromoteReleaseOperation)\n- [0.8.0](/ruby/docs/reference/google-cloud-deploy-v1/0.8.0/Google-Cloud-Deploy-V1-PromoteReleaseOperation)\n- [0.7.0](/ruby/docs/reference/google-cloud-deploy-v1/0.7.0/Google-Cloud-Deploy-V1-PromoteReleaseOperation)\n- [0.6.0](/ruby/docs/reference/google-cloud-deploy-v1/0.6.0/Google-Cloud-Deploy-V1-PromoteReleaseOperation)\n- [0.5.0](/ruby/docs/reference/google-cloud-deploy-v1/0.5.0/Google-Cloud-Deploy-V1-PromoteReleaseOperation)\n- [0.4.0](/ruby/docs/reference/google-cloud-deploy-v1/0.4.0/Google-Cloud-Deploy-V1-PromoteReleaseOperation)\n- [0.3.0](/ruby/docs/reference/google-cloud-deploy-v1/0.3.0/Google-Cloud-Deploy-V1-PromoteReleaseOperation)\n- [0.2.0](/ruby/docs/reference/google-cloud-deploy-v1/0.2.0/Google-Cloud-Deploy-V1-PromoteReleaseOperation)\n- [0.1.3](/ruby/docs/reference/google-cloud-deploy-v1/0.1.3/Google-Cloud-Deploy-V1-PromoteReleaseOperation) \nReference documentation and code samples for the Google Cloud Deploy V1 API class Google::Cloud::Deploy::V1::PromoteReleaseOperation.\n\nContains the information of an automated promote-release operation. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #phase\n\n def phase() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Output only. The starting phase of the rollout created by this operation.\n\n### #rollout\n\n def rollout() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Output only. The name of the rollout that initiates the `AutomationRun`.\n\n### #target_id\n\n def target_id() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Output only. The ID of the target that represents the promotion stage to which the release will be promoted. The value of this field is the last segment of a target name.\n\n### #wait\n\n def wait() -\u003e ::Google::Protobuf::Duration\n\n**Returns**\n\n- ([::Google::Protobuf::Duration](./Google-Protobuf-Duration)) --- Output only. How long the operation will be paused."]]