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.



1719
1720
1721
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1719

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)


1711
1712
1713
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1711

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>)


1717
1718
1719
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1717

def manifest_paths
  @manifest_paths
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1724
1725
1726
1727
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1724

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