pub struct UpdateSettingsRequest {
pub name: String,
pub settings: Option<Settings>,
pub update_mask: Option<FieldMask>,
}
Expand description
The parameters to [UpdateSettings][google.logging.v2.ConfigServiceV2.UpdateSettings].
See Enabling CMEK for Log Router for more information.
Fields§
§name: String
Required. The resource name for the settings to update.
"organizations/\[ORGANIZATION_ID\]/settings"
For example:
"organizations/12345/settings"
Note: Settings for the Log Router can currently only be configured for Google Cloud organizations. Once configured, it applies to all projects and folders in the Google Cloud organization.
settings: Option<Settings>
Required. The settings to update.
See Enabling CMEK for Log Router for more information.
update_mask: Option<FieldMask>
Optional. Field mask identifying which fields from settings
should
be updated. A field will be overwritten if and only if it is in the update
mask. Output only fields cannot be updated.
See [FieldMask][google.protobuf.FieldMask] for more information.
For example: "updateMask=kmsKeyName"
Trait Implementations§
Source§impl Clone for UpdateSettingsRequest
impl Clone for UpdateSettingsRequest
Source§fn clone(&self) -> UpdateSettingsRequest
fn clone(&self) -> UpdateSettingsRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for UpdateSettingsRequest
impl Debug for UpdateSettingsRequest
Source§impl Default for UpdateSettingsRequest
impl Default for UpdateSettingsRequest
Source§impl Message for UpdateSettingsRequest
impl Message for UpdateSettingsRequest
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 UpdateSettingsRequest
impl PartialEq for UpdateSettingsRequest
impl StructuralPartialEq for UpdateSettingsRequest
Auto Trait Implementations§
impl Freeze for UpdateSettingsRequest
impl RefUnwindSafe for UpdateSettingsRequest
impl Send for UpdateSettingsRequest
impl Sync for UpdateSettingsRequest
impl Unpin for UpdateSettingsRequest
impl UnwindSafe for UpdateSettingsRequest
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
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>
T
in a tonic::Request