Struct google_api_proto::google::logging::v2::UpdateExclusionRequest
source · 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
source§fn eq(&self, other: &UpdateExclusionRequest) -> bool
fn eq(&self, other: &UpdateExclusionRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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
§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>
Wrap the input message
T
in a tonic::Request