workerPool property

  1. @TagNumber(5)
String workerPool

Name of the Cloud Build Custom Worker Pool that should be used to build the function. The format of this field is projects/{project}/locations/{region}/workerPools/{workerPool} where {project} and {region} are the project id and region respectively where the worker pool is defined and {workerPool} is the short name of the worker pool.

If the project id is not the same as the function, then the Cloud Functions Service Agent (service-<project_number>@gcf-admin-robot.iam.gserviceaccount.com) must be granted the role Cloud Build Custom Workers Builder (roles/cloudbuild.customworkers.builder) in the project.

Implementation

@$pb.TagNumber(5)
$core.String get workerPool => $_getSZ(4);
  1. @TagNumber(5)
void workerPool=(String v)

Implementation

@$pb.TagNumber(5)
set workerPool($core.String v) { $_setString(4, v); }