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