Class: Google::Apis::CloudbuildV1::PrivatePoolV1Config
- Inherits:
-
Object
- Object
- Google::Apis::CloudbuildV1::PrivatePoolV1Config
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudbuild_v1/classes.rb,
lib/google/apis/cloudbuild_v1/representations.rb,
lib/google/apis/cloudbuild_v1/representations.rb
Overview
Configuration for a V1 PrivatePool
.
Instance Attribute Summary collapse
-
#network_config ⇒ Google::Apis::CloudbuildV1::NetworkConfig
Defines the network configuration for the pool.
-
#private_service_connect ⇒ Google::Apis::CloudbuildV1::PrivateServiceConnect
Defines the Private Service Connect network configuration for the pool.
-
#worker_config ⇒ Google::Apis::CloudbuildV1::WorkerConfig
Defines the configuration to be used for creating workers in the pool.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PrivatePoolV1Config
constructor
A new instance of PrivatePoolV1Config.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PrivatePoolV1Config
Returns a new instance of PrivatePoolV1Config.
3316 3317 3318 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 3316 def initialize(**args) update!(**args) end |
Instance Attribute Details
#network_config ⇒ Google::Apis::CloudbuildV1::NetworkConfig
Defines the network configuration for the pool.
Corresponds to the JSON property networkConfig
3304 3305 3306 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 3304 def network_config @network_config end |
#private_service_connect ⇒ Google::Apis::CloudbuildV1::PrivateServiceConnect
Defines the Private Service Connect network configuration for the pool.
Corresponds to the JSON property privateServiceConnect
3309 3310 3311 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 3309 def private_service_connect @private_service_connect end |
#worker_config ⇒ Google::Apis::CloudbuildV1::WorkerConfig
Defines the configuration to be used for creating workers in the pool.
Corresponds to the JSON property workerConfig
3314 3315 3316 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 3314 def worker_config @worker_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3321 3322 3323 3324 3325 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 3321 def update!(**args) @network_config = args[:network_config] if args.key?(:network_config) @private_service_connect = args[:private_service_connect] if args.key?(:private_service_connect) @worker_config = args[:worker_config] if args.key?(:worker_config) end |