Class: Google::Apis::ClouddeployV1::IgnoreJobRequest
- Inherits:
-
Object
- Object
- Google::Apis::ClouddeployV1::IgnoreJobRequest
- 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
The request object used by IgnoreJob.
Instance Attribute Summary collapse
-
#job_id ⇒ String
Required.
-
#override_deploy_policy ⇒ Array<String>
Optional.
-
#phase_id ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ IgnoreJobRequest
constructor
A new instance of IgnoreJobRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ IgnoreJobRequest
Returns a new instance of IgnoreJobRequest.
2533 2534 2535 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2533 def initialize(**args) update!(**args) end |
Instance Attribute Details
#job_id ⇒ String
Required. The job ID for the Job to ignore.
Corresponds to the JSON property jobId
2520 2521 2522 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2520 def job_id @job_id end |
#override_deploy_policy ⇒ Array<String>
Optional. Deploy policies to override. Format is projects/project/locations/
location/deployPolicies/deployPolicy`.
Corresponds to the JSON propertyoverrideDeployPolicy`
2526 2527 2528 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2526 def override_deploy_policy @override_deploy_policy end |
#phase_id ⇒ String
Required. The phase ID the Job to ignore belongs to.
Corresponds to the JSON property phaseId
2531 2532 2533 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2531 def phase_id @phase_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2538 2539 2540 2541 2542 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2538 def update!(**args) @job_id = args[:job_id] if args.key?(:job_id) @override_deploy_policy = args[:override_deploy_policy] if args.key?(:override_deploy_policy) @phase_id = args[:phase_id] if args.key?(:phase_id) end |