Class: Google::Apis::ClouddeployV1::RuntimeConfig
- Inherits:
-
Object
- Object
- Google::Apis::ClouddeployV1::RuntimeConfig
- 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
RuntimeConfig contains the runtime specific configurations for a deployment strategy.
Instance Attribute Summary collapse
-
#cloud_run ⇒ Google::Apis::ClouddeployV1::CloudRunConfig
CloudRunConfig contains the Cloud Run runtime configuration.
-
#kubernetes ⇒ Google::Apis::ClouddeployV1::KubernetesConfig
KubernetesConfig contains the Kubernetes runtime configuration.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RuntimeConfig
constructor
A new instance of RuntimeConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RuntimeConfig
Returns a new instance of RuntimeConfig.
5349 5350 5351 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 5349 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cloud_run ⇒ Google::Apis::ClouddeployV1::CloudRunConfig
CloudRunConfig contains the Cloud Run runtime configuration.
Corresponds to the JSON property cloudRun
5342 5343 5344 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 5342 def cloud_run @cloud_run end |
#kubernetes ⇒ Google::Apis::ClouddeployV1::KubernetesConfig
KubernetesConfig contains the Kubernetes runtime configuration.
Corresponds to the JSON property kubernetes
5347 5348 5349 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 5347 def kubernetes @kubernetes end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5354 5355 5356 5357 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 5354 def update!(**args) @cloud_run = args[:cloud_run] if args.key?(:cloud_run) @kubernetes = args[:kubernetes] if args.key?(:kubernetes) end |