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.



1910
1911
1912
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1910

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



1897
1898
1899
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1897

def cloud_run
  @cloud_run
end

#customGoogle::Apis::ClouddeployV1::CustomMetadata

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



1902
1903
1904
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1902

def custom
  @custom
end

#custom_targetGoogle::Apis::ClouddeployV1::CustomTargetDeployMetadata

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



1908
1909
1910
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1908

def custom_target
  @custom_target
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1915
1916
1917
1918
1919
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1915

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