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
-
#artifact ⇒ Google::Apis::ClouddeployV1::DeployArtifact
The artifacts produced by a deploy operation.
-
#build ⇒ String
Output only.
-
#failure_cause ⇒ String
Output only.
-
#failure_message ⇒ String
Output only.
-
#metadata ⇒ Google::Apis::ClouddeployV1::DeployJobRunMetadata
DeployJobRunMetadata surfaces information associated with a
DeployJobRunto the user.
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.
1877 1878 1879 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1877 def initialize(**args) update!(**args) end |
Instance Attribute Details
#artifact ⇒ Google::Apis::ClouddeployV1::DeployArtifact
The artifacts produced by a deploy operation.
Corresponds to the JSON property artifact
1852 1853 1854 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1852 def artifact @artifact end |
#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 propertybuild`
1858 1859 1860 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1858 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
1864 1865 1866 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1864 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
1869 1870 1871 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1869 def @failure_message end |
#metadata ⇒ Google::Apis::ClouddeployV1::DeployJobRunMetadata
DeployJobRunMetadata surfaces information associated with a DeployJobRun to
the user.
Corresponds to the JSON property metadata
1875 1876 1877 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1875 def @metadata end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1882 1883 1884 1885 1886 1887 1888 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1882 def update!(**args) @artifact = args[:artifact] if args.key?(:artifact) @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) @metadata = args[:metadata] if args.key?(:metadata) end |