Struct google_api_proto::google::storagetransfer::v1::UpdateAgentPoolRequest
source · pub struct UpdateAgentPoolRequest {
pub agent_pool: Option<AgentPool>,
pub update_mask: Option<FieldMask>,
}
Expand description
Specifies the request passed to UpdateAgentPool.
Fields§
§agent_pool: Option<AgentPool>
Required. The agent pool to update. agent_pool
is expected to specify
following fields:
-
[name][google.storagetransfer.v1.AgentPool.name]
-
[display_name][google.storagetransfer.v1.AgentPool.display_name]
-
[bandwidth_limit][google.storagetransfer.v1.AgentPool.bandwidth_limit] An
UpdateAgentPoolRequest
with any other fields is rejected with the error [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT].
update_mask: Option<FieldMask>
The [field mask]
(https://developers.google.com/protocol-buffers/docs/reference/google.protobuf)
of the fields in agentPool
to update in this request.
The following agentPool
fields can be updated:
-
[display_name][google.storagetransfer.v1.AgentPool.display_name]
-
[bandwidth_limit][google.storagetransfer.v1.AgentPool.bandwidth_limit]
Trait Implementations§
source§impl Clone for UpdateAgentPoolRequest
impl Clone for UpdateAgentPoolRequest
source§fn clone(&self) -> UpdateAgentPoolRequest
fn clone(&self) -> UpdateAgentPoolRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateAgentPoolRequest
impl Debug for UpdateAgentPoolRequest
source§impl Default for UpdateAgentPoolRequest
impl Default for UpdateAgentPoolRequest
source§impl Message for UpdateAgentPoolRequest
impl Message for UpdateAgentPoolRequest
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 UpdateAgentPoolRequest
impl PartialEq for UpdateAgentPoolRequest
source§fn eq(&self, other: &UpdateAgentPoolRequest) -> bool
fn eq(&self, other: &UpdateAgentPoolRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateAgentPoolRequest
Auto Trait Implementations§
impl Freeze for UpdateAgentPoolRequest
impl RefUnwindSafe for UpdateAgentPoolRequest
impl Send for UpdateAgentPoolRequest
impl Sync for UpdateAgentPoolRequest
impl Unpin for UpdateAgentPoolRequest
impl UnwindSafe for UpdateAgentPoolRequest
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