public sealed class WorkerPool : IMessage<WorkerPool>, IEquatable<WorkerPool>, IDeepCloneable<WorkerPool>, IBufferMessage, IMessage
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.
Implements
IMessage<WorkerPool>, IEquatable<WorkerPool>, IDeepCloneable<WorkerPool>, IBufferMessage, IMessageNamespace
Google.Cloud.CloudBuild.V1Assembly
Google.Cloud.CloudBuild.V1.dll
Constructors
WorkerPool()
public WorkerPool()
WorkerPool(WorkerPool)
public WorkerPool(WorkerPool other)
Parameter | |
---|---|
Name | Description |
other | WorkerPool |
Properties
CreateTime
public Timestamp CreateTime { get; set; }
Output only. Time at which the request to create the WorkerPool
was
received.
Property Value | |
---|---|
Type | Description |
Timestamp |
DeleteTime
public Timestamp DeleteTime { get; set; }
Output only. Time at which the request to delete the WorkerPool
was
received.
Property Value | |
---|---|
Type | Description |
Timestamp |
Name
public string Name { get; set; }
User-defined name of the WorkerPool
.
Property Value | |
---|---|
Type | Description |
String |
ProjectId
public string ProjectId { get; set; }
The project ID of the GCP project for which the WorkerPool
is created.
Property Value | |
---|---|
Type | Description |
String |
Regions
public RepeatedField<WorkerPool.Types.Region> Regions { get; }
List of regions to create the WorkerPool
. Regions can't be empty.
If Cloud Build adds a new GCP region in the future, the existing
WorkerPool
will not be enabled in the new region automatically;
you must add the new region to the regions
field to enable the
WorkerPool
in that region.
Property Value | |
---|---|
Type | Description |
RepeatedField<WorkerPool.Types.Region> |
ServiceAccountEmail
public string ServiceAccountEmail { get; set; }
Output only. The service account used to manage the WorkerPool
. The
service account must have the Compute Instance Admin (Beta) permission at
the project level.
Property Value | |
---|---|
Type | Description |
String |
Status
public WorkerPool.Types.Status Status { get; set; }
Output only. WorkerPool Status.
Property Value | |
---|---|
Type | Description |
WorkerPool.Types.Status |
UpdateTime
public Timestamp UpdateTime { get; set; }
Output only. Time at which the request to update the WorkerPool
was
received.
Property Value | |
---|---|
Type | Description |
Timestamp |
WorkerConfig
public WorkerConfig WorkerConfig { get; set; }
Configuration to be used for a creating workers in the WorkerPool
.
Property Value | |
---|---|
Type | Description |
WorkerConfig |
WorkerCount
public long WorkerCount { get; set; }
Total number of workers to be created across all requested regions.
Property Value | |
---|---|
Type | Description |
Int64 |