Class: Google::Apis::ClouddeployV1::RetryJobRequest
- Inherits:
-
Object
- Object
- Google::Apis::ClouddeployV1::RetryJobRequest
- 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
-
#job_id ⇒ String
Required.
-
#phase_id ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RetryJobRequest
constructor
A new instance of RetryJobRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RetryJobRequest
Returns a new instance of RetryJobRequest.
3968 3969 3970 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3968 def initialize(**args) update!(**args) end |
Instance Attribute Details
#job_id ⇒ String
Required. The job ID for the Job to retry.
Corresponds to the JSON property jobId
3961 3962 3963 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3961 def job_id @job_id end |
#phase_id ⇒ String
Required. The phase ID the Job to retry belongs to.
Corresponds to the JSON property phaseId
3966 3967 3968 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3966 def phase_id @phase_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3973 3974 3975 3976 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3973 def update!(**args) @job_id = args[:job_id] if args.key?(:job_id) @phase_id = args[:phase_id] if args.key?(:phase_id) end |