Show / Hide Table of Contents

Class WorkerPool

Configuration for a WorkerPool to run the builds. Workers are machines that Cloud Build uses to run your builds. By default, all workers run in a project owned by Cloud Build. To have full control over the workers that execute your builds -- such as enabling them to access private resources on your private network -- you can request Cloud Build to run the workers in your own project by creating a custom workers pool.

Inheritance
System.Object
WorkerPool
Implements
IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.CloudBuild.v1alpha2.Data
Assembly: Google.Apis.CloudBuild.v1alpha2.dll
Syntax
public class WorkerPool : IDirectResponseSchema

Properties

CreateTime

Output only. Time at which the request to create the WorkerPool was received.

Declaration
[JsonProperty("createTime")]
public virtual object CreateTime { get; set; }
Property Value
Type Description
System.Object

DeleteTime

Output only. Time at which the request to delete the WorkerPool was received.

Declaration
[JsonProperty("deleteTime")]
public virtual object DeleteTime { get; set; }
Property Value
Type Description
System.Object

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.String

Name

Output only. The resource name of the WorkerPool. Format of the name is projects/{project_id}/workerPools/{worker_pool_id}, where the value of {worker_pool_id} is provided in the CreateWorkerPool request.

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
System.String

NetworkConfig

Network configuration for the WorkerPool.

Declaration
[JsonProperty("networkConfig")]
public virtual NetworkConfig NetworkConfig { get; set; }
Property Value
Type Description
NetworkConfig

Region

Required. Immutable. The region where the WorkerPool runs. Only "us-central1" is currently supported. Note that region cannot be changed once the WorkerPool is created.

Declaration
[JsonProperty("region")]
public virtual string Region { get; set; }
Property Value
Type Description
System.String

State

Output only. WorkerPool state.

Declaration
[JsonProperty("state")]
public virtual string State { get; set; }
Property Value
Type Description
System.String

UpdateTime

Output only. Time at which the request to update the WorkerPool was received.

Declaration
[JsonProperty("updateTime")]
public virtual object UpdateTime { get; set; }
Property Value
Type Description
System.Object

WorkerConfig

Worker configuration for the WorkerPool.

Declaration
[JsonProperty("workerConfig")]
public virtual WorkerConfig WorkerConfig { get; set; }
Property Value
Type Description
WorkerConfig

Implements

IDirectResponseSchema
In This Article
Back to top Generated by DocFX