Class: Google::Apis::ClouddeployV1::PredeployJobRun
- Inherits:
-
Object
- Object
- Google::Apis::ClouddeployV1::PredeployJobRun
- 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
PredeployJobRun contains information specific to a predeploy 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) ⇒ PredeployJobRun
constructor
A new instance of PredeployJobRun.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PredeployJobRun
Returns a new instance of PredeployJobRun.
3915 3916 3917 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3915 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 execute the custom actions associated with the predeploy Job. Format is
projects/
project/locations/
location/builds/
build`.
Corresponds to the JSON property
build`
3902 3903 3904 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3902 def build @build end |
#failure_cause ⇒ String
Output only. The reason the predeploy failed. This will always be unspecified
while the predeploy is in progress or if it succeeded.
Corresponds to the JSON property failureCause
3908 3909 3910 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3908 def failure_cause @failure_cause end |
#failure_message ⇒ String
Output only. Additional information about the predeploy failure, if available.
Corresponds to the JSON property failureMessage
3913 3914 3915 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3913 def @failure_message end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3920 3921 3922 3923 3924 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3920 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 |