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.



1866
1867
1868
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1866

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



1853
1854
1855
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1853

def cloud_run
  @cloud_run
end

#customGoogle::Apis::ClouddeployV1::CustomMetadata

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



1858
1859
1860
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1858

def custom
  @custom
end

#custom_targetGoogle::Apis::ClouddeployV1::CustomTargetDeployMetadata

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



1864
1865
1866
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1864

def custom_target
  @custom_target
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1871
1872
1873
1874
1875
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1871

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