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
-
#deployment_jobs ⇒ Google::Apis::ClouddeployV1::DeploymentJobs
Deployment job composition.
-
#id ⇒ 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.
1438 1439 1440 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1438 def initialize(**args) update!(**args) end |
Instance Attribute Details
#deployment_jobs ⇒ Google::Apis::ClouddeployV1::DeploymentJobs
Deployment job composition.
Corresponds to the JSON property deploymentJobs
1426 1427 1428 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1426 def deployment_jobs @deployment_jobs end |
#id ⇒ String
Output only. The ID of the Phase.
Corresponds to the JSON property id
1431 1432 1433 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1431 def id @id end |
#state ⇒ String
Output only. Current state of the Phase.
Corresponds to the JSON property state
1436 1437 1438 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1436 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1443 1444 1445 1446 1447 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1443 def update!(**args) @deployment_jobs = args[:deployment_jobs] if args.key?(:deployment_jobs) @id = args[:id] if args.key?(:id) @state = args[:state] if args.key?(:state) end |