Class: Google::Apis::ClouddeployV1::IgnoreJobRequest

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
more...

Overview

The request object used by IgnoreJob.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ IgnoreJobRequest

Returns a new instance of IgnoreJobRequest.

[View source]

2091
2092
2093
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2091

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

Instance Attribute Details

#job_idString

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

Returns:

  • (String)

2084
2085
2086
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2084

def job_id
  @job_id
end

#phase_idString

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

Returns:

  • (String)

2089
2090
2091
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2089

def phase_id
  @phase_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object

[View source]

2096
2097
2098
2099
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2096

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