Class: Google::Apis::ClouddeployV1::SkaffoldModules

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SkaffoldModules

Returns a new instance of SkaffoldModules.



6200
6201
6202
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 6200

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#configsArray<String>

Optional. The Skaffold Config modules to use from the specified source. Corresponds to the JSON property configs

Returns:

  • (Array<String>)


6183
6184
6185
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 6183

def configs
  @configs
end

#gitGoogle::Apis::ClouddeployV1::SkaffoldGitSource

Git repository containing Skaffold Config modules. Corresponds to the JSON property git



6188
6189
6190
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 6188

def git
  @git
end

#google_cloud_build_repoGoogle::Apis::ClouddeployV1::SkaffoldGcbRepoSource

Cloud Build V2 Repository containing Skaffold Configs. Corresponds to the JSON property googleCloudBuildRepo



6193
6194
6195
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 6193

def google_cloud_build_repo
  @google_cloud_build_repo
end

#google_cloud_storageGoogle::Apis::ClouddeployV1::SkaffoldGcsSource

Cloud Storage bucket containing Skaffold Config modules. Corresponds to the JSON property googleCloudStorage



6198
6199
6200
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 6198

def google_cloud_storage
  @google_cloud_storage
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6205
6206
6207
6208
6209
6210
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 6205

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