Cloud Build V1 API - Class Google::Cloud::Build::V1::BuildOptions::PoolOption (v0.19.0)

Reference documentation and code samples for the Cloud Build V1 API class Google::Cloud::Build::V1::BuildOptions::PoolOption.

Details about how a build should be executed on a WorkerPool.

See running builds in a private pool for more information.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#name

def name() -> ::String
Returns
  • (::String) — 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}

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — 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}

Returns
  • (::String) — 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}