Class: Google::Apis::ClouddeployV1::TimedPromoteReleaseOperation
- Inherits:
-
Object
- Object
- Google::Apis::ClouddeployV1::TimedPromoteReleaseOperation
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/clouddeploy_v1/classes.rb,
lib/google/apis/clouddeploy_v1/representations.rb,
lib/google/apis/clouddeploy_v1/representations.rb
Overview
Contains the information of an automated timed promote-release operation.
Instance Attribute Summary collapse
-
#phase ⇒ String
Output only.
-
#release ⇒ String
Output only.
-
#target_id ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TimedPromoteReleaseOperation
constructor
A new instance of TimedPromoteReleaseOperation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TimedPromoteReleaseOperation
Returns a new instance of TimedPromoteReleaseOperation.
6400 6401 6402 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 6400 def initialize(**args) update!(**args) end |
Instance Attribute Details
#phase ⇒ String
Output only. The starting phase of the rollout created by this operation.
Corresponds to the JSON property phase
6386 6387 6388 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 6386 def phase @phase end |
#release ⇒ String
Output only. The name of the release to be promoted.
Corresponds to the JSON property release
6391 6392 6393 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 6391 def release @release end |
#target_id ⇒ 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.
Corresponds to the JSON property targetId
6398 6399 6400 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 6398 def target_id @target_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6405 6406 6407 6408 6409 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 6405 def update!(**args) @phase = args[:phase] if args.key?(:phase) @release = args[:release] if args.key?(:release) @target_id = args[:target_id] if args.key?(:target_id) end |