Class: Google::Apis::ClouddeployV1::DeployArtifact

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

The artifacts produced by a deploy operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DeployArtifact

Returns a new instance of DeployArtifact.



1819
1820
1821
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1819

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

Instance Attribute Details

#artifact_uriString

Output only. URI of a directory containing the artifacts. All paths are relative to this location. Corresponds to the JSON property artifactUri

Returns:

  • (String)


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

def artifact_uri
  @artifact_uri
end

#manifest_pathsArray<String>

Output only. File paths of the manifests applied during the deploy operation relative to the URI. Corresponds to the JSON property manifestPaths

Returns:

  • (Array<String>)


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

def manifest_paths
  @manifest_paths
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1824
1825
1826
1827
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1824

def update!(**args)
  @artifact_uri = args[:artifact_uri] if args.key?(:artifact_uri)
  @manifest_paths = args[:manifest_paths] if args.key?(:manifest_paths)
end