Class: Google::Apis::ClouddeployV1::DeployJobRunMetadata
- Inherits:
-
Object
- Object
- Google::Apis::ClouddeployV1::DeployJobRunMetadata
- 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
DeployJobRunMetadata surfaces information associated with a DeployJobRun to
the user.
Instance Attribute Summary collapse
-
#cloud_run ⇒ Google::Apis::ClouddeployV1::CloudRunMetadata
CloudRunMetadata contains information from a Cloud Run deployment.
-
#custom ⇒ Google::Apis::ClouddeployV1::CustomMetadata
CustomMetadata contains information from a user-defined operation.
-
#custom_target ⇒ Google::Apis::ClouddeployV1::CustomTargetDeployMetadata
CustomTargetDeployMetadata contains information from a Custom Target deploy operation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DeployJobRunMetadata
constructor
A new instance of DeployJobRunMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DeployJobRunMetadata
Returns a new instance of DeployJobRunMetadata.
1911 1912 1913 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1911 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cloud_run ⇒ Google::Apis::ClouddeployV1::CloudRunMetadata
CloudRunMetadata contains information from a Cloud Run deployment.
Corresponds to the JSON property cloudRun
1898 1899 1900 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1898 def cloud_run @cloud_run end |
#custom ⇒ Google::Apis::ClouddeployV1::CustomMetadata
CustomMetadata contains information from a user-defined operation.
Corresponds to the JSON property custom
1903 1904 1905 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1903 def custom @custom end |
#custom_target ⇒ Google::Apis::ClouddeployV1::CustomTargetDeployMetadata
CustomTargetDeployMetadata contains information from a Custom Target deploy
operation.
Corresponds to the JSON property customTarget
1909 1910 1911 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1909 def custom_target @custom_target end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1916 1917 1918 1919 1920 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1916 def update!(**args) @cloud_run = args[:cloud_run] if args.key?(:cloud_run) @custom = args[:custom] if args.key?(:custom) @custom_target = args[:custom_target] if args.key?(:custom_target) end |