Class: Google::Apis::ClouddeployV1::SkaffoldGcbRepoSource
- Inherits:
-
Object
- Object
- Google::Apis::ClouddeployV1::SkaffoldGcbRepoSource
- 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 Build V2 Repository containing Skaffold Configs.
Instance Attribute Summary collapse
-
#path ⇒ String
Optional.
-
#ref ⇒ String
Optional.
-
#repository ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SkaffoldGcbRepoSource
constructor
A new instance of SkaffoldGcbRepoSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SkaffoldGcbRepoSource
Returns a new instance of SkaffoldGcbRepoSource.
5417 5418 5419 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 5417 def initialize(**args) update!(**args) end |
Instance Attribute Details
#path ⇒ String
Optional. Relative path from the repository root to the Skaffold Config file.
Corresponds to the JSON property path
5404 5405 5406 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 5404 def path @path end |
#ref ⇒ String
Optional. Branch or tag to use when cloning the repository.
Corresponds to the JSON property ref
5409 5410 5411 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 5409 def ref @ref end |
#repository ⇒ String
Required. Name of the Cloud Build V2 Repository. Format is projects/project
/
locations/location
/connections/connection
/repositories/repository
.
Corresponds to the JSON property repository
5415 5416 5417 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 5415 def repository @repository end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5422 5423 5424 5425 5426 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 5422 def update!(**args) @path = args[:path] if args.key?(:path) @ref = args[:ref] if args.key?(:ref) @repository = args[:repository] if args.key?(:repository) end |