Class: Google::Apis::ClouddeployV1::SkaffoldGitSource
- Inherits:
-
Object
- Object
- Google::Apis::ClouddeployV1::SkaffoldGitSource
- 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
Git repository containing Skaffold Config modules.
Instance Attribute Summary collapse
-
#path ⇒ String
Optional.
-
#ref ⇒ String
Optional.
-
#repo ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SkaffoldGitSource
constructor
A new instance of SkaffoldGitSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SkaffoldGitSource
Returns a new instance of SkaffoldGitSource.
4631 4632 4633 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 4631 def initialize(**args) update!(**args) end |
Instance Attribute Details
#path ⇒ String
Optional. Relative path from the repository root to the Skaffold file.
Corresponds to the JSON property path
4619 4620 4621 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 4619 def path @path end |
#ref ⇒ String
Optional. Git ref the package should be cloned from.
Corresponds to the JSON property ref
4624 4625 4626 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 4624 def ref @ref end |
#repo ⇒ String
Required. Git repository the package should be cloned from.
Corresponds to the JSON property repo
4629 4630 4631 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 4629 def repo @repo end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4636 4637 4638 4639 4640 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 4636 def update!(**args) @path = args[:path] if args.key?(:path) @ref = args[:ref] if args.key?(:ref) @repo = args[:repo] if args.key?(:repo) end |