Class: Google::Apis::ClouddeployV1::Job
- Inherits:
-
Object
- Object
- Google::Apis::ClouddeployV1::Job
- 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
Job represents an operation for a Rollout.
Instance Attribute Summary collapse
-
#advance_child_rollout_job ⇒ Google::Apis::ClouddeployV1::AdvanceChildRolloutJob
An advanceChildRollout Job.
-
#create_child_rollout_job ⇒ Google::Apis::ClouddeployV1::CreateChildRolloutJob
A createChildRollout Job.
-
#deploy_job ⇒ Google::Apis::ClouddeployV1::DeployJob
A deploy Job.
-
#id ⇒ String
Output only.
-
#job_run ⇒ String
Output only.
-
#postdeploy_job ⇒ Google::Apis::ClouddeployV1::PostdeployJob
A postdeploy Job.
-
#predeploy_job ⇒ Google::Apis::ClouddeployV1::PredeployJob
A predeploy Job.
-
#skip_message ⇒ String
Output only.
-
#state ⇒ String
Output only.
-
#verify_job ⇒ Google::Apis::ClouddeployV1::VerifyJob
A verify Job.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Job
constructor
A new instance of Job.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Job
Returns a new instance of Job.
1896 1897 1898 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1896 def initialize(**args) update!(**args) end |
Instance Attribute Details
#advance_child_rollout_job ⇒ Google::Apis::ClouddeployV1::AdvanceChildRolloutJob
An advanceChildRollout Job.
Corresponds to the JSON property advanceChildRolloutJob
1848 1849 1850 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1848 def advance_child_rollout_job @advance_child_rollout_job end |
#create_child_rollout_job ⇒ Google::Apis::ClouddeployV1::CreateChildRolloutJob
A createChildRollout Job.
Corresponds to the JSON property createChildRolloutJob
1853 1854 1855 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1853 def create_child_rollout_job @create_child_rollout_job end |
#deploy_job ⇒ Google::Apis::ClouddeployV1::DeployJob
A deploy Job.
Corresponds to the JSON property deployJob
1858 1859 1860 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1858 def deploy_job @deploy_job end |
#id ⇒ String
Output only. The ID of the Job.
Corresponds to the JSON property id
1863 1864 1865 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1863 def id @id end |
#job_run ⇒ String
Output only. The name of the JobRun responsible for the most recent
invocation of this Job.
Corresponds to the JSON property jobRun
1869 1870 1871 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1869 def job_run @job_run end |
#postdeploy_job ⇒ Google::Apis::ClouddeployV1::PostdeployJob
A postdeploy Job.
Corresponds to the JSON property postdeployJob
1874 1875 1876 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1874 def postdeploy_job @postdeploy_job end |
#predeploy_job ⇒ Google::Apis::ClouddeployV1::PredeployJob
A predeploy Job.
Corresponds to the JSON property predeployJob
1879 1880 1881 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1879 def predeploy_job @predeploy_job end |
#skip_message ⇒ String
Output only. Additional information on why the Job was skipped, if available.
Corresponds to the JSON property skipMessage
1884 1885 1886 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1884 def @skip_message end |
#state ⇒ String
Output only. The current state of the Job.
Corresponds to the JSON property state
1889 1890 1891 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1889 def state @state end |
#verify_job ⇒ Google::Apis::ClouddeployV1::VerifyJob
A verify Job.
Corresponds to the JSON property verifyJob
1894 1895 1896 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1894 def verify_job @verify_job end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1901 def update!(**args) @advance_child_rollout_job = args[:advance_child_rollout_job] if args.key?(:advance_child_rollout_job) @create_child_rollout_job = args[:create_child_rollout_job] if args.key?(:create_child_rollout_job) @deploy_job = args[:deploy_job] if args.key?(:deploy_job) @id = args[:id] if args.key?(:id) @job_run = args[:job_run] if args.key?(:job_run) @postdeploy_job = args[:postdeploy_job] if args.key?(:postdeploy_job) @predeploy_job = args[:predeploy_job] if args.key?(:predeploy_job) @skip_message = args[:skip_message] if args.key?(:skip_message) @state = args[:state] if args.key?(:state) @verify_job = args[:verify_job] if args.key?(:verify_job) end |