pub struct UpdateExclusionRequest {
pub name: String,
pub exclusion: Option<LogExclusion>,
pub update_mask: Option<FieldMask>,
}
Expand description
The parameters to UpdateExclusion
.
Fields§
§name: String
Required. The resource name of the exclusion to update:
"projects/\[PROJECT_ID\]/exclusions/\[EXCLUSION_ID\]"
"organizations/\[ORGANIZATION_ID\]/exclusions/\[EXCLUSION_ID\]"
"billingAccounts/\[BILLING_ACCOUNT_ID\]/exclusions/\[EXCLUSION_ID\]"
"folders/\[FOLDER_ID\]/exclusions/\[EXCLUSION_ID\]"
For example:
"projects/my-project/exclusions/my-exclusion"
exclusion: Option<LogExclusion>
Required. New values for the existing exclusion. Only the fields specified
in update_mask
are relevant.
update_mask: Option<FieldMask>
Required. A non-empty list of fields to change in the existing exclusion.
New values for the fields are taken from the corresponding fields in the
[LogExclusion][google.logging.v2.LogExclusion] included in this request.
Fields not mentioned in update_mask
are not changed and are ignored in
the request.
For example, to change the filter and description of an exclusion,
specify an update_mask
of "filter,description"
.
Trait Implementations§
Source§impl Clone for UpdateExclusionRequest
impl Clone for UpdateExclusionRequest
Source§fn clone(&self) -> UpdateExclusionRequest
fn clone(&self) -> UpdateExclusionRequest
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for UpdateExclusionRequest
impl Debug for UpdateExclusionRequest
Source§impl Default for UpdateExclusionRequest
impl Default for UpdateExclusionRequest
Source§impl Message for UpdateExclusionRequest
impl Message for UpdateExclusionRequest
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
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,
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
Encodes the message to a newly allocated buffer.
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,
Encodes the message with a length-delimiter to a buffer. Read more
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,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
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,
Decodes a length-delimited instance of the message from the buffer.
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,
Decodes an instance of the message from a buffer, and merges it into
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,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self
.Source§impl PartialEq for UpdateExclusionRequest
impl PartialEq for UpdateExclusionRequest
impl StructuralPartialEq for UpdateExclusionRequest
Auto Trait Implementations§
impl Freeze for UpdateExclusionRequest
impl RefUnwindSafe for UpdateExclusionRequest
impl Send for UpdateExclusionRequest
impl Sync for UpdateExclusionRequest
impl Unpin for UpdateExclusionRequest
impl UnwindSafe for UpdateExclusionRequest
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
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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>
Wrap the input message
T
in a tonic::Request