Class: Google::Apis::ClouddeployV1::DeployJobRunMetadata

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DeployJobRunMetadata

Returns a new instance of DeployJobRunMetadata.



1810
1811
1812
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1810

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#cloud_runGoogle::Apis::ClouddeployV1::CloudRunMetadata

CloudRunMetadata contains information from a Cloud Run deployment. Corresponds to the JSON property cloudRun



1797
1798
1799
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1797

def cloud_run
  @cloud_run
end

#customGoogle::Apis::ClouddeployV1::CustomMetadata

CustomMetadata contains information from a user-defined operation. Corresponds to the JSON property custom



1802
1803
1804
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1802

def custom
  @custom
end

#custom_targetGoogle::Apis::ClouddeployV1::CustomTargetDeployMetadata

CustomTargetDeployMetadata contains information from a Custom Target deploy operation. Corresponds to the JSON property customTarget



1808
1809
1810
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1808

def custom_target
  @custom_target
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1815
1816
1817
1818
1819
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1815

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