Struct google_cloudkms1_beta1::api::CryptoKeyVersion
source · pub struct CryptoKeyVersion {
pub create_time: Option<DateTime<Utc>>,
pub state: Option<String>,
pub name: Option<String>,
pub destroy_event_time: Option<DateTime<Utc>>,
pub destroy_time: Option<DateTime<Utc>>,
}
Expand description
A CryptoKeyVersion represents an individual cryptographic key, and the associated key material.
It can be used for cryptographic operations either directly, or via its parent CryptoKey, in which case the server will choose the appropriate version for the operation.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- locations key rings crypto keys crypto key versions create projects (request|response)
- locations key rings crypto keys crypto key versions destroy projects (response)
- locations key rings crypto keys crypto key versions restore projects (response)
- locations key rings crypto keys crypto key versions patch projects (request|response)
- locations key rings crypto keys crypto key versions get projects (response)
Fields§
§create_time: Option<DateTime<Utc>>
Output only. The time at which this CryptoKeyVersion was created.
state: Option<String>
The current state of the CryptoKeyVersion.
name: Option<String>
Output only. The resource name for this CryptoKeyVersion in the format
projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*
.
destroy_event_time: Option<DateTime<Utc>>
Output only. The time this CryptoKeyVersion’s key material was destroyed. Only present if state is DESTROYED.
destroy_time: Option<DateTime<Utc>>
Output only. The time this CryptoKeyVersion’s key material is scheduled for destruction. Only present if state is DESTROY_SCHEDULED.
Trait Implementations§
source§impl Clone for CryptoKeyVersion
impl Clone for CryptoKeyVersion
source§fn clone(&self) -> CryptoKeyVersion
fn clone(&self) -> CryptoKeyVersion
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more