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.



3449
3450
3451
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3449

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

Instance Attribute Details

#child_rollout_jobsGoogle::Apis::ClouddeployV1::ChildRolloutJobs

ChildRollouts job composition Corresponds to the JSON property childRolloutJobs



3427
3428
3429
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3427

def child_rollout_jobs
  @child_rollout_jobs
end

#deployment_jobsGoogle::Apis::ClouddeployV1::DeploymentJobs

Deployment job composition. Corresponds to the JSON property deploymentJobs



3432
3433
3434
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3432

def deployment_jobs
  @deployment_jobs
end

#idString

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

Returns:

  • (String)


3437
3438
3439
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3437

def id
  @id
end

#skip_messageString

Output only. Additional information on why the Phase was skipped, if available. Corresponds to the JSON property skipMessage

Returns:

  • (String)


3442
3443
3444
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3442

def skip_message
  @skip_message
end

#stateString

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

Returns:

  • (String)


3447
3448
3449
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3447

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3454
3455
3456
3457
3458
3459
3460
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3454

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