Class: Google::Apis::ClouddeployV1::TargetArtifact
- Inherits:
-
Object
- Object
- Google::Apis::ClouddeployV1::TargetArtifact
- 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 target render operation.
Instance Attribute Summary collapse
-
#artifact_uri ⇒ String
Output only.
-
#manifest_path ⇒ String
Output only.
-
#skaffold_config_path ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TargetArtifact
constructor
A new instance of TargetArtifact.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TargetArtifact
Returns a new instance of TargetArtifact.
1652 1653 1654 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1652 def initialize(**args) update!(**args) end |
Instance Attribute Details
#artifact_uri ⇒ String
Output only. URI of a directory containing the artifacts. This contains
deployment configuration used by Skaffold during a rollout, and all paths are
relative to this location.
Corresponds to the JSON property artifactUri
1639 1640 1641 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1639 def artifact_uri @artifact_uri end |
#manifest_path ⇒ String
Output only. File path of the rendered manifest relative to the URI.
Corresponds to the JSON property manifestPath
1644 1645 1646 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1644 def manifest_path @manifest_path end |
#skaffold_config_path ⇒ String
Output only. File path of the resolved Skaffold configuration relative to the
URI.
Corresponds to the JSON property skaffoldConfigPath
1650 1651 1652 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1650 def skaffold_config_path @skaffold_config_path end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1657 1658 1659 1660 1661 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1657 def update!(**args) @artifact_uri = args[:artifact_uri] if args.key?(:artifact_uri) @manifest_path = args[:manifest_path] if args.key?(:manifest_path) @skaffold_config_path = args[:skaffold_config_path] if args.key?(:skaffold_config_path) end |