Class: Google::Apis::ClouddeployV1::RetryJobRequest

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

RetryJobRequest is the request object used by RetryJob.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RetryJobRequest

Returns a new instance of RetryJobRequest.



1857
1858
1859
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1857

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

Instance Attribute Details

#job_idString

Required. The job ID for the Job to retry. Corresponds to the JSON property jobId

Returns:

  • (String)


1850
1851
1852
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1850

def job_id
  @job_id
end

#phase_idString

Required. The phase ID the Job to retry belongs to. Corresponds to the JSON property phaseId

Returns:

  • (String)


1855
1856
1857
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1855

def phase_id
  @phase_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1862
1863
1864
1865
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1862

def update!(**args)
  @job_id = args[:job_id] if args.key?(:job_id)
  @phase_id = args[:phase_id] if args.key?(:phase_id)
end