Class: Google::Apis::ClouddeployV1::BuildArtifact
- Inherits:
-
Object
- Object
- Google::Apis::ClouddeployV1::BuildArtifact
- 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
Description of an a image to use during Skaffold rendering.
Instance Attribute Summary collapse
-
#image ⇒ String
Optional.
-
#tag ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BuildArtifact
constructor
A new instance of BuildArtifact.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BuildArtifact
Returns a new instance of BuildArtifact.
955 956 957 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 955 def initialize(**args) update!(**args) end |
Instance Attribute Details
#image ⇒ String
Optional. Image name in Skaffold configuration.
Corresponds to the JSON property image
946 947 948 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 946 def image @image end |
#tag ⇒ String
Optional. Image tag to use. This will generally be the full path to an image,
such as "gcr.io/my-project/busybox:1.2.3" or "gcr.io/my-project/busybox@sha256:
abc123".
Corresponds to the JSON property tag
953 954 955 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 953 def tag @tag end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
960 961 962 963 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 960 def update!(**args) @image = args[:image] if args.key?(:image) @tag = args[:tag] if args.key?(:tag) end |