Struct google_api_proto::google::logging::v2::UpdateSettingsRequest
source · 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
source§fn eq(&self, other: &UpdateSettingsRequest) -> bool
fn eq(&self, other: &UpdateSettingsRequest) -> bool
self
and other
values to be equal, and is used
by ==
.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
§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