Struct google_cloudkms1::CryptoKeyVersion [−][src]
pub struct CryptoKeyVersion { pub state: Option<String>, pub create_time: Option<String>, pub name: Option<String>, pub destroy_time: Option<String>, pub destroy_event_time: Option<String>, }
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.
For security reasons, the raw cryptographic key material represented by a CryptoKeyVersion can never be viewed or exported. It can only be used to encrypt or decrypt data when an authorized user or application invokes Cloud KMS.
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 destroy projects (response)
- locations key rings crypto keys crypto key versions get projects (response)
- locations key rings crypto keys crypto key versions patch projects (request|response)
- locations key rings crypto keys crypto key versions restore projects (response)
- locations key rings crypto keys crypto key versions create projects (request|response)
Fields
state: Option<String>
The current state of the CryptoKeyVersion.
create_time: Option<String>
Output only. The time at which this CryptoKeyVersion was created.
name: Option<String>
Output only. The resource name for this CryptoKeyVersion in the format
projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*
.
destroy_time: Option<String>
Output only. The time this CryptoKeyVersion's key material is scheduled for destruction. Only present if state is DESTROY_SCHEDULED.
destroy_event_time: Option<String>
Output only. The time this CryptoKeyVersion's key material was destroyed. Only present if state is DESTROYED.
Trait Implementations
impl Default for CryptoKeyVersion
[src]
impl Default for CryptoKeyVersion
fn default() -> CryptoKeyVersion
[src]
fn default() -> CryptoKeyVersion
Returns the "default value" for a type. Read more
impl Clone for CryptoKeyVersion
[src]
impl Clone for CryptoKeyVersion
fn clone(&self) -> CryptoKeyVersion
[src]
fn clone(&self) -> CryptoKeyVersion
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for CryptoKeyVersion
[src]
impl Debug for CryptoKeyVersion
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl RequestValue for CryptoKeyVersion
[src]
impl RequestValue for CryptoKeyVersion
impl ResponseResult for CryptoKeyVersion
[src]
impl ResponseResult for CryptoKeyVersion
Auto Trait Implementations
impl Send for CryptoKeyVersion
impl Send for CryptoKeyVersion
impl Sync for CryptoKeyVersion
impl Sync for CryptoKeyVersion