Struct google_api_proto::google::cloud::kms::v1::AutokeyConfig
source · pub struct AutokeyConfig {
pub name: String,
pub key_project: String,
}
Expand description
Cloud KMS Autokey configuration for a folder.
Fields§
§name: String
Identifier. Name of the [AutokeyConfig][google.cloud.kms.v1.AutokeyConfig]
resource, e.g. folders/{FOLDER_NUMBER}/autokeyConfig
.
key_project: String
Optional. Name of the key project, e.g. projects/{PROJECT_ID}
or
projects/{PROJECT_NUMBER}
, where Cloud KMS Autokey will provision a new
[CryptoKey][google.cloud.kms.v1.CryptoKey] when a
[KeyHandle][google.cloud.kms.v1.KeyHandle] is created. On
[UpdateAutokeyConfig][google.cloud.kms.v1.AutokeyAdmin.UpdateAutokeyConfig],
the caller will require cloudkms.cryptoKeys.setIamPolicy
permission on
this key project. Once configured, for Cloud KMS Autokey to function
properly, this key project must have the Cloud KMS API activated and the
Cloud KMS Service Agent for this key project must be granted the
cloudkms.admin
role (or pertinent permissions). A request with an empty
key project field will clear the configuration.
Trait Implementations§
source§impl Clone for AutokeyConfig
impl Clone for AutokeyConfig
source§fn clone(&self) -> AutokeyConfig
fn clone(&self) -> AutokeyConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AutokeyConfig
impl Debug for AutokeyConfig
source§impl Default for AutokeyConfig
impl Default for AutokeyConfig
source§impl Message for AutokeyConfig
impl Message for AutokeyConfig
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 AutokeyConfig
impl PartialEq for AutokeyConfig
source§fn eq(&self, other: &AutokeyConfig) -> bool
fn eq(&self, other: &AutokeyConfig) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AutokeyConfig
Auto Trait Implementations§
impl Freeze for AutokeyConfig
impl RefUnwindSafe for AutokeyConfig
impl Send for AutokeyConfig
impl Sync for AutokeyConfig
impl Unpin for AutokeyConfig
impl UnwindSafe for AutokeyConfig
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