Class: Google::Apis::ClouddeployV1::Phase

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Phase

Returns a new instance of Phase.



1595
1596
1597
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1595

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#child_rollout_jobsGoogle::Apis::ClouddeployV1::ChildRolloutJobs

ChildRollouts job composition Corresponds to the JSON property childRolloutJobs



1578
1579
1580
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1578

def child_rollout_jobs
  @child_rollout_jobs
end

#deployment_jobsGoogle::Apis::ClouddeployV1::DeploymentJobs

Deployment job composition. Corresponds to the JSON property deploymentJobs



1583
1584
1585
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1583

def deployment_jobs
  @deployment_jobs
end

#idString

Output only. The ID of the Phase. Corresponds to the JSON property id

Returns:

  • (String)


1588
1589
1590
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1588

def id
  @id
end

#stateString

Output only. Current state of the Phase. Corresponds to the JSON property state

Returns:

  • (String)


1593
1594
1595
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1593

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1600
1601
1602
1603
1604
1605
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1600

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)
  @state = args[:state] if args.key?(:state)
end