Class: Google::Apis::ClouddeployV1::Config
- Inherits:
-
Object
- Object
- Google::Apis::ClouddeployV1::Config
- 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
Service-wide configuration.
Instance Attribute Summary collapse
-
#default_skaffold_version ⇒ String
Output only.
-
#name ⇒ String
Name of the configuration.
-
#supported_versions ⇒ Array<Google::Apis::ClouddeployV1::SkaffoldVersion>
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Config
constructor
A new instance of Config.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Config
Returns a new instance of Config.
363 364 365 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 363 def initialize(**args) update!(**args) end |
Instance Attribute Details
#default_skaffold_version ⇒ String
Output only. Default Skaffold version that is assigned when a Release is
created without specifying a Skaffold version.
Corresponds to the JSON property defaultSkaffoldVersion
351 352 353 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 351 def default_skaffold_version @default_skaffold_version end |
#name ⇒ String
Name of the configuration.
Corresponds to the JSON property name
356 357 358 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 356 def name @name end |
#supported_versions ⇒ Array<Google::Apis::ClouddeployV1::SkaffoldVersion>
Output only. All supported versions of Skaffold.
Corresponds to the JSON property supportedVersions
361 362 363 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 361 def supported_versions @supported_versions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
368 369 370 371 372 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 368 def update!(**args) @default_skaffold_version = args[:default_skaffold_version] if args.key?(:default_skaffold_version) @name = args[:name] if args.key?(:name) @supported_versions = args[:supported_versions] if args.key?(:supported_versions) end |