Class: Google::Apis::ClouddeployV1::JobRun
- Inherits:
-
Object
- Object
- Google::Apis::ClouddeployV1::JobRun
- 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
A JobRun resource in the Google Cloud Deploy API. A JobRun contains
information of a single Rollout job evaluation.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#deploy_job_run ⇒ Google::Apis::ClouddeployV1::DeployJobRun
DeployJobRun contains information specific to a deploy
JobRun. -
#end_time ⇒ String
Output only.
-
#etag ⇒ String
Output only.
-
#job_id ⇒ String
Output only.
-
#name ⇒ String
Optional.
-
#phase_id ⇒ String
Output only.
-
#start_time ⇒ String
Output only.
-
#state ⇒ String
Output only.
-
#uid ⇒ String
Output only.
-
#verify_job_run ⇒ Google::Apis::ClouddeployV1::VerifyJobRun
VerifyJobRun contains information specific to a verify
JobRun.
Instance Method Summary collapse
-
#initialize(**args) ⇒ JobRun
constructor
A new instance of JobRun.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ JobRun
Returns a new instance of JobRun.
944 945 946 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 944 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. Time at which the JobRun was created.
Corresponds to the JSON property createTime
888 889 890 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 888 def create_time @create_time end |
#deploy_job_run ⇒ Google::Apis::ClouddeployV1::DeployJobRun
DeployJobRun contains information specific to a deploy JobRun.
Corresponds to the JSON property deployJobRun
893 894 895 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 893 def deploy_job_run @deploy_job_run end |
#end_time ⇒ String
Output only. Time at which the JobRun ended.
Corresponds to the JSON property endTime
898 899 900 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 898 def end_time @end_time end |
#etag ⇒ String
Output only. This checksum is computed by the server based on the value of
other fields, and may be sent on update and delete requests to ensure the
client has an up-to-date value before proceeding.
Corresponds to the JSON property etag
905 906 907 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 905 def etag @etag end |
#job_id ⇒ String
Output only. ID of the Rollout job this JobRun corresponds to.
Corresponds to the JSON property jobId
910 911 912 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 910 def job_id @job_id end |
#name ⇒ String
Optional. Name of the JobRun. Format is projects/project/locations/
location/ deliveryPipelines/deliveryPipeline/releases/releases/rollouts/
rollouts/jobRuns/uuid.
Corresponds to the JSON property name
917 918 919 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 917 def name @name end |
#phase_id ⇒ String
Output only. ID of the Rollout phase this JobRun belongs in.
Corresponds to the JSON property phaseId
922 923 924 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 922 def phase_id @phase_id end |
#start_time ⇒ String
Output only. Time at which the JobRun was started.
Corresponds to the JSON property startTime
927 928 929 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 927 def start_time @start_time end |
#state ⇒ String
Output only. The current state of the JobRun.
Corresponds to the JSON property state
932 933 934 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 932 def state @state end |
#uid ⇒ String
Output only. Unique identifier of the JobRun.
Corresponds to the JSON property uid
937 938 939 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 937 def uid @uid end |
#verify_job_run ⇒ Google::Apis::ClouddeployV1::VerifyJobRun
VerifyJobRun contains information specific to a verify JobRun.
Corresponds to the JSON property verifyJobRun
942 943 944 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 942 def verify_job_run @verify_job_run end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
949 950 951 952 953 954 955 956 957 958 959 960 961 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 949 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @deploy_job_run = args[:deploy_job_run] if args.key?(:deploy_job_run) @end_time = args[:end_time] if args.key?(:end_time) @etag = args[:etag] if args.key?(:etag) @job_id = args[:job_id] if args.key?(:job_id) @name = args[:name] if args.key?(:name) @phase_id = args[:phase_id] if args.key?(:phase_id) @start_time = args[:start_time] if args.key?(:start_time) @state = args[:state] if args.key?(:state) @uid = args[:uid] if args.key?(:uid) @verify_job_run = args[:verify_job_run] if args.key?(:verify_job_run) end |