Class: Google::Apis::ClouddeployV1::SkaffoldGcsSource
- Inherits:
-
Object
- Object
- Google::Apis::ClouddeployV1::SkaffoldGcsSource
- 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
Cloud Storage bucket containing Skaffold Config modules.
Instance Attribute Summary collapse
-
#path ⇒ String
Optional.
-
#source ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SkaffoldGcsSource
constructor
A new instance of SkaffoldGcsSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SkaffoldGcsSource
Returns a new instance of SkaffoldGcsSource.
5445 5446 5447 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 5445 def initialize(**args) update!(**args) end |
Instance Attribute Details
#path ⇒ String
Optional. Relative path from the source to the Skaffold file.
Corresponds to the JSON property path
5436 5437 5438 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 5436 def path @path end |
#source ⇒ String
Required. Cloud Storage source paths to copy recursively. For example,
providing "gs://my-bucket/dir/configs/*" will result in Skaffold copying all
files within the "dir/configs" directory in the bucket "my-bucket".
Corresponds to the JSON property source
5443 5444 5445 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 5443 def source @source end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5450 5451 5452 5453 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 5450 def update!(**args) @path = args[:path] if args.key?(:path) @source = args[:source] if args.key?(:source) end |