pub struct WorkerPool {
pub annotations: Option<HashMap<String, String>>,
pub create_time: Option<DateTime<Utc>>,
pub delete_time: Option<DateTime<Utc>>,
pub display_name: Option<String>,
pub etag: Option<String>,
pub name: Option<String>,
pub private_pool_v1_config: Option<PrivatePoolV1Config>,
pub state: Option<String>,
pub uid: Option<String>,
pub update_time: Option<DateTime<Utc>>,
}Expand description
Configuration for a WorkerPool. Cloud Build owns and maintains a pool of workers for general use and have no access to a project’s private network. By default, builds submitted to Cloud Build will use a worker from this pool. If your build needs access to resources on a private network, create and use a WorkerPool to run your builds. Private WorkerPools give your builds access to any single VPC network that you administer, including any on-prem resources connected to that VPC network. For an overview of private pools, see Private pools overview.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- locations worker pools create projects (request)
- locations worker pools get projects (response)
- locations worker pools patch projects (request)
Fields§
§annotations: Option<HashMap<String, String>>User specified annotations. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
create_time: Option<DateTime<Utc>>Output only. Time at which the request to create the WorkerPool was received.
delete_time: Option<DateTime<Utc>>Output only. Time at which the request to delete the WorkerPool was received.
display_name: Option<String>A user-specified, human-readable name for the WorkerPool. If provided, this value must be 1-63 characters.
etag: Option<String>Output only. Checksum computed by the server. May be sent on update and delete requests to ensure that the client has an up-to-date value before proceeding.
name: Option<String>Output only. The resource name of the WorkerPool, with format projects/{project}/locations/{location}/workerPools/{worker_pool}. The value of {worker_pool} is provided by worker_pool_id in CreateWorkerPool request and the value of {location} is determined by the endpoint accessed.
private_pool_v1_config: Option<PrivatePoolV1Config>Private Pool configuration.
state: Option<String>Output only. WorkerPool state.
uid: Option<String>Output only. A unique identifier for the WorkerPool.
update_time: Option<DateTime<Utc>>Output only. Time at which the request to update the WorkerPool was received.
Trait Implementations§
Source§impl Clone for WorkerPool
impl Clone for WorkerPool
Source§fn clone(&self) -> WorkerPool
fn clone(&self) -> WorkerPool
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more