Class: Google::Apis::ClouddeployV1::Phase
- Inherits:
-
Object
- Object
- Google::Apis::ClouddeployV1::Phase
- 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
Phase represents a collection of jobs that are logically grouped together for
a Rollout
.
Instance Attribute Summary collapse
-
#child_rollout_jobs ⇒ Google::Apis::ClouddeployV1::ChildRolloutJobs
ChildRollouts job composition Corresponds to the JSON property
childRolloutJobs
. -
#deployment_jobs ⇒ Google::Apis::ClouddeployV1::DeploymentJobs
Deployment job composition.
-
#id ⇒ String
Output only.
-
#skip_message ⇒ String
Output only.
-
#state ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Phase
constructor
A new instance of Phase.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Phase
Returns a new instance of Phase.
3468 3469 3470 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3468 def initialize(**args) update!(**args) end |
Instance Attribute Details
#child_rollout_jobs ⇒ Google::Apis::ClouddeployV1::ChildRolloutJobs
ChildRollouts job composition
Corresponds to the JSON property childRolloutJobs
3446 3447 3448 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3446 def child_rollout_jobs @child_rollout_jobs end |
#deployment_jobs ⇒ Google::Apis::ClouddeployV1::DeploymentJobs
Deployment job composition.
Corresponds to the JSON property deploymentJobs
3451 3452 3453 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3451 def deployment_jobs @deployment_jobs end |
#id ⇒ String
Output only. The ID of the Phase.
Corresponds to the JSON property id
3456 3457 3458 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3456 def id @id end |
#skip_message ⇒ String
Output only. Additional information on why the Phase was skipped, if available.
Corresponds to the JSON property skipMessage
3461 3462 3463 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3461 def @skip_message end |
#state ⇒ String
Output only. Current state of the Phase.
Corresponds to the JSON property state
3466 3467 3468 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3466 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3473 3474 3475 3476 3477 3478 3479 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3473 def update!(**args) @child_rollout_jobs = args[:child_rollout_jobs] if args.key?(:child_rollout_jobs) @deployment_jobs = args[:deployment_jobs] if args.key?(:deployment_jobs) @id = args[:id] if args.key?(:id) @skip_message = args[:skip_message] if args.key?(:skip_message) @state = args[:state] if args.key?(:state) end |