class Google::Apis::CloudbuildV1alpha1::PoolOption
Details about how a build should be executed on a `WorkerPool`. See [running builds in a private pool](cloud.google.com/build/docs/private-pools/ run-builds-in-private-pool) for more information.
Attributes
name[RW]
The `WorkerPool` resource to execute the build on. You must have `cloudbuild. workerpools.use` on the project hosting the WorkerPool
. Format projects/` project`/locations/`location`/workerPools/`workerPoolId` Corresponds to the JSON property `name` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/cloudbuild_v1alpha1/classes.rb, line 1474 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_v1alpha1/classes.rb, line 1479 def update!(**args) @name = args[:name] if args.key?(:name) end