class Google::Apis::CloudbuildV1::PrivatePoolV1Config

Configuration for a V1 `PrivatePool`.

Attributes

network_config[RW]

Defines the network configuration for the pool. Corresponds to the JSON property `networkConfig` @return [Google::Apis::CloudbuildV1::NetworkConfig]

worker_config[RW]

Defines the configuration to be used for creating workers in the pool. Corresponds to the JSON property `workerConfig` @return [Google::Apis::CloudbuildV1::WorkerConfig]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudbuild_v1/classes.rb, line 2123
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/cloudbuild_v1/classes.rb, line 2128
def update!(**args)
  @network_config = args[:network_config] if args.key?(:network_config)
  @worker_config = args[:worker_config] if args.key?(:worker_config)
end