Cloud Build V1 API - Class Google::Cloud::Build::V1::BuildOptions::PoolOption (v1.15.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}

#resolved_worker_release

def resolved_worker_release() -> ::String
Returns
  • (::String) — Output only. OUTPUT_ONLY. Worker release resolved from the release channel.

#worker_release

def worker_release() -> ::String
Returns
  • (::String) — Output only. OUTPUT_ONLY. The release or release channel used to run the Build. This is set to the same value as PrivatePoolV1Config.WorkerConfig.worker_release for the UI to easily access.