Struct google_api_proto::google::devtools::cloudbuild::v1::WorkerPool
source · pub struct WorkerPool {
pub name: String,
pub display_name: String,
pub uid: String,
pub annotations: BTreeMap<String, String>,
pub create_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
pub delete_time: Option<Timestamp>,
pub state: i32,
pub etag: String,
pub config: Option<Config>,
}
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 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.
Fields§
§name: 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.
display_name: String
A user-specified, human-readable name for the WorkerPool
. If provided,
this value must be 1-63 characters.
uid: String
Output only. A unique identifier for the WorkerPool
.
annotations: BTreeMap<String, String>
User specified annotations. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
create_time: Option<Timestamp>
Output only. Time at which the request to create the WorkerPool
was
received.
update_time: Option<Timestamp>
Output only. Time at which the request to update the WorkerPool
was
received.
delete_time: Option<Timestamp>
Output only. Time at which the request to delete the WorkerPool
was
received.
state: i32
Output only. WorkerPool
state.
etag: 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.
config: Option<Config>
Configuration for the WorkerPool
.
Implementations§
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 moresource§impl Debug for WorkerPool
impl Debug for WorkerPool
source§impl Default for WorkerPool
impl Default for WorkerPool
source§impl Message for WorkerPool
impl Message for WorkerPool
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for WorkerPool
impl PartialEq for WorkerPool
source§fn eq(&self, other: &WorkerPool) -> bool
fn eq(&self, other: &WorkerPool) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for WorkerPool
Auto Trait Implementations§
impl Freeze for WorkerPool
impl RefUnwindSafe for WorkerPool
impl Send for WorkerPool
impl Sync for WorkerPool
impl Unpin for WorkerPool
impl UnwindSafe for WorkerPool
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request