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.



1771
1772
1773
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1771

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



1758
1759
1760
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1758

def cloud_run
  @cloud_run
end

#customGoogle::Apis::ClouddeployV1::CustomMetadata

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



1763
1764
1765
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1763

def custom
  @custom
end

#custom_targetGoogle::Apis::ClouddeployV1::CustomTargetDeployMetadata

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



1769
1770
1771
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1769

def custom_target
  @custom_target
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1776
1777
1778
1779
1780
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1776

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