Class: Google::Apis::ClouddeployV1::DeployJobRun
- Inherits:
-
Object
- Object
- Google::Apis::ClouddeployV1::DeployJobRun
- 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
DeployJobRun contains information specific to a deploy JobRun.
Instance Attribute Summary collapse
-
#build ⇒ String
Output only.
-
#failure_cause ⇒ String
Output only.
-
#failure_message ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DeployJobRun
constructor
A new instance of DeployJobRun.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DeployJobRun
Returns a new instance of DeployJobRun.
607 608 609 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 607 def initialize(**args) update!(**args) end |
Instance Attribute Details
#build ⇒ String
Output only. The resource name of the Cloud Build Build object that is used
to deploy. Format is projects/project/locations/location/builds/build.
Corresponds to the JSON property build
594 595 596 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 594 def build @build end |
#failure_cause ⇒ String
Output only. The reason the deploy failed. This will always be unspecified
while the deploy is in progress or if it succeeded.
Corresponds to the JSON property failureCause
600 601 602 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 600 def failure_cause @failure_cause end |
#failure_message ⇒ String
Output only. Additional information about the deploy failure, if available.
Corresponds to the JSON property failureMessage
605 606 607 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 605 def @failure_message end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
612 613 614 615 616 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 612 def update!(**args) @build = args[:build] if args.key?(:build) @failure_cause = args[:failure_cause] if args.key?(:failure_cause) @failure_message = args[:failure_message] if args.key?(:failure_message) end |