Class: Google::Apis::ClouddeployV1::ExecutionConfig
- Inherits:
-
Object
- Object
- Google::Apis::ClouddeployV1::ExecutionConfig
- 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
Configuration of the environment to use when calling Skaffold.
Instance Attribute Summary collapse
-
#default_pool ⇒ Google::Apis::ClouddeployV1::DefaultPool
Execution using the default Cloud Build pool.
-
#private_pool ⇒ Google::Apis::ClouddeployV1::PrivatePool
Execution using a private Cloud Build pool.
-
#usages ⇒ Array<String>
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ExecutionConfig
constructor
A new instance of ExecutionConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ExecutionConfig
Returns a new instance of ExecutionConfig.
464 465 466 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 464 def initialize(**args) update!(**args) end |
Instance Attribute Details
#default_pool ⇒ Google::Apis::ClouddeployV1::DefaultPool
Execution using the default Cloud Build pool.
Corresponds to the JSON property defaultPool
452 453 454 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 452 def default_pool @default_pool end |
#private_pool ⇒ Google::Apis::ClouddeployV1::PrivatePool
Execution using a private Cloud Build pool.
Corresponds to the JSON property privatePool
457 458 459 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 457 def private_pool @private_pool end |
#usages ⇒ Array<String>
Required. Usages when this configuration should be applied.
Corresponds to the JSON property usages
462 463 464 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 462 def usages @usages end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
469 470 471 472 473 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 469 def update!(**args) @default_pool = args[:default_pool] if args.key?(:default_pool) @private_pool = args[:private_pool] if args.key?(:private_pool) @usages = args[:usages] if args.key?(:usages) end |