Class: Google::Apis::ClouddeployV1::SkaffoldModules
- Inherits:
-
Object
- Object
- Google::Apis::ClouddeployV1::SkaffoldModules
- 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
Skaffold Config modules and their remote source.
Instance Attribute Summary collapse
-
#configs ⇒ Array<String>
Optional.
-
#git ⇒ Google::Apis::ClouddeployV1::SkaffoldGitSource
Git repository containing Skaffold Config modules.
-
#google_cloud_build_repo ⇒ Google::Apis::ClouddeployV1::SkaffoldGcbRepoSource
Cloud Build V2 Repository containing Skaffold Configs.
-
#google_cloud_storage ⇒ Google::Apis::ClouddeployV1::SkaffoldGcsSource
Cloud Storage bucket containing Skaffold Config modules.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SkaffoldModules
constructor
A new instance of SkaffoldModules.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SkaffoldModules
Returns a new instance of SkaffoldModules.
5492 5493 5494 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 5492 def initialize(**args) update!(**args) end |
Instance Attribute Details
#configs ⇒ Array<String>
Optional. The Skaffold Config modules to use from the specified source.
Corresponds to the JSON property configs
5475 5476 5477 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 5475 def configs @configs end |
#git ⇒ Google::Apis::ClouddeployV1::SkaffoldGitSource
Git repository containing Skaffold Config modules.
Corresponds to the JSON property git
5480 5481 5482 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 5480 def git @git end |
#google_cloud_build_repo ⇒ Google::Apis::ClouddeployV1::SkaffoldGcbRepoSource
Cloud Build V2 Repository containing Skaffold Configs.
Corresponds to the JSON property googleCloudBuildRepo
5485 5486 5487 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 5485 def google_cloud_build_repo @google_cloud_build_repo end |
#google_cloud_storage ⇒ Google::Apis::ClouddeployV1::SkaffoldGcsSource
Cloud Storage bucket containing Skaffold Config modules.
Corresponds to the JSON property googleCloudStorage
5490 5491 5492 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 5490 def google_cloud_storage @google_cloud_storage end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5497 5498 5499 5500 5501 5502 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 5497 def update!(**args) @configs = args[:configs] if args.key?(:configs) @git = args[:git] if args.key?(:git) @google_cloud_build_repo = args[:google_cloud_build_repo] if args.key?(:google_cloud_build_repo) @google_cloud_storage = args[:google_cloud_storage] if args.key?(:google_cloud_storage) end |