Reference documentation and code samples for the Cloud Build V1 API class Google::Cloud::Build::V1::WorkerPool.
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 WorkerPool
s 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.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#annotations
def annotations() -> ::Google::Protobuf::Map{::String => ::String}
- (::Google::Protobuf::Map{::String => ::String}) — User specified annotations. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
#annotations=
def annotations=(value) -> ::Google::Protobuf::Map{::String => ::String}
- value (::Google::Protobuf::Map{::String => ::String}) — User specified annotations. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
- (::Google::Protobuf::Map{::String => ::String}) — User specified annotations. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
-
(::Google::Protobuf::Timestamp) — Output only. Time at which the request to create the
WorkerPool
was received.
#delete_time
def delete_time() -> ::Google::Protobuf::Timestamp
-
(::Google::Protobuf::Timestamp) — Output only. Time at which the request to delete the
WorkerPool
was received.
#display_name
def display_name() -> ::String
-
(::String) — A user-specified, human-readable name for the
WorkerPool
. If provided, this value must be 1-63 characters.
#display_name=
def display_name=(value) -> ::String
-
value (::String) — A user-specified, human-readable name for the
WorkerPool
. If provided, this value must be 1-63 characters.
-
(::String) — A user-specified, human-readable name for the
WorkerPool
. If provided, this value must be 1-63 characters.
#etag
def etag() -> ::String
- (::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
def name() -> ::String
-
(::String) — Output only. The resource name of the
WorkerPool
, with formatprojects/{project}/locations/{location}/workerPools/{worker_pool}
. The value of{worker_pool}
is provided byworker_pool_id
inCreateWorkerPool
request and the value of{location}
is determined by the endpoint accessed.
#private_pool_v1_config
def private_pool_v1_config() -> ::Google::Cloud::Build::V1::PrivatePoolV1Config
- (::Google::Cloud::Build::V1::PrivatePoolV1Config) — Private Pool using a v1 configuration.
#private_pool_v1_config=
def private_pool_v1_config=(value) -> ::Google::Cloud::Build::V1::PrivatePoolV1Config
- value (::Google::Cloud::Build::V1::PrivatePoolV1Config) — Private Pool using a v1 configuration.
- (::Google::Cloud::Build::V1::PrivatePoolV1Config) — Private Pool using a v1 configuration.
#state
def state() -> ::Google::Cloud::Build::V1::WorkerPool::State
-
(::Google::Cloud::Build::V1::WorkerPool::State) — Output only.
WorkerPool
state.
#uid
def uid() -> ::String
-
(::String) — Output only. A unique identifier for the
WorkerPool
.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
-
(::Google::Protobuf::Timestamp) — Output only. Time at which the request to update the
WorkerPool
was received.