WorkerPool class

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.

Constructors

WorkerPool({Map<String, String>? annotations, String? createTime, String? deleteTime, String? displayName, String? etag, String? name, PrivatePoolV1Config? privatePoolV1Config, String? state, String? uid, String? updateTime})
WorkerPool.fromJson(Map json_)

Properties

annotations Map<String, String>?
User specified annotations.
getter/setter pair
createTime String?
Time at which the request to create the WorkerPool was received.
getter/setter pair
deleteTime String?
Time at which the request to delete the WorkerPool was received.
getter/setter pair
displayName String?
A user-specified, human-readable name for the WorkerPool.
getter/setter pair
etag String?
Checksum computed by the server.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
name String?
The resource name of the WorkerPool, with format projects/{project}/locations/{location}/workerPools/{worker_pool}.
getter/setter pair
privatePoolV1Config PrivatePoolV1Config?
Legacy Private Pool configuration.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state String?
WorkerPool state.
getter/setter pair
uid String?
A unique identifier for the WorkerPool.
getter/setter pair
updateTime String?
Time at which the request to update the WorkerPool was received.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited