pub struct UpdateCmekSettingsRequest {
pub name: String,
pub cmek_settings: Option<CmekSettings>,
pub update_mask: Option<FieldMask>,
}
Expand description
The parameters to [UpdateCmekSettings][google.logging.v2.ConfigServiceV2.UpdateCmekSettings].
See Enabling CMEK for Log Router for more information.
Fields§
§name: String
Required. The resource name for the CMEK settings to update.
"projects/\[PROJECT_ID\]/cmekSettings"
"organizations/\[ORGANIZATION_ID\]/cmekSettings"
"billingAccounts/\[BILLING_ACCOUNT_ID\]/cmekSettings"
"folders/\[FOLDER_ID\]/cmekSettings"
For example:
"organizations/12345/cmekSettings"
Note: CMEK 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.
cmek_settings: Option<CmekSettings>
Required. The CMEK settings to update.
See Enabling CMEK for Log Router for more information.
update_mask: Option<FieldMask>
Optional. Field mask identifying which fields from cmek_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 UpdateCmekSettingsRequest
impl Clone for UpdateCmekSettingsRequest
Source§fn clone(&self) -> UpdateCmekSettingsRequest
fn clone(&self) -> UpdateCmekSettingsRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for UpdateCmekSettingsRequest
impl Debug for UpdateCmekSettingsRequest
Source§impl Default for UpdateCmekSettingsRequest
impl Default for UpdateCmekSettingsRequest
Source§impl Message for UpdateCmekSettingsRequest
impl Message for UpdateCmekSettingsRequest
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
.impl StructuralPartialEq for UpdateCmekSettingsRequest
Auto Trait Implementations§
impl Freeze for UpdateCmekSettingsRequest
impl RefUnwindSafe for UpdateCmekSettingsRequest
impl Send for UpdateCmekSettingsRequest
impl Sync for UpdateCmekSettingsRequest
impl Unpin for UpdateCmekSettingsRequest
impl UnwindSafe for UpdateCmekSettingsRequest
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