#[non_exhaustive]pub struct ShieldedInstanceIdentity {
pub ecc_p_256_encryption_key: Option<ShieldedInstanceIdentityEntry>,
pub ecc_p_256_signing_key: Option<ShieldedInstanceIdentityEntry>,
pub encryption_key: Option<ShieldedInstanceIdentityEntry>,
pub kind: Option<String>,
pub signing_key: Option<ShieldedInstanceIdentityEntry>,
/* private fields */
}instances only.Expand description
A Shielded Instance Identity.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.ecc_p_256_encryption_key: Option<ShieldedInstanceIdentityEntry>An Endorsement Key (EK) made by the ECC P256 algorithm issued to the Shielded Instance’s vTPM.
ecc_p_256_signing_key: Option<ShieldedInstanceIdentityEntry>An Attestation Key (AK) made by the ECC P256 algorithm issued to the Shielded Instance’s vTPM.
encryption_key: Option<ShieldedInstanceIdentityEntry>An Endorsement Key (EK) made by the RSA 2048 algorithm issued to the Shielded Instance’s vTPM.
kind: Option<String>Output only. [Output Only] Type of the resource. Alwayscompute#shieldedInstanceIdentity for shielded Instance identity entry.
signing_key: Option<ShieldedInstanceIdentityEntry>An Attestation Key (AK) made by the RSA 2048 algorithm issued to the Shielded Instance’s vTPM.
Implementations§
Source§impl ShieldedInstanceIdentity
impl ShieldedInstanceIdentity
Sourcepub fn set_ecc_p_256_encryption_key<T>(self, v: T) -> Selfwhere
T: Into<ShieldedInstanceIdentityEntry>,
pub fn set_ecc_p_256_encryption_key<T>(self, v: T) -> Selfwhere
T: Into<ShieldedInstanceIdentityEntry>,
Sets the value of ecc_p_256_encryption_key.
§Example
use google_cloud_compute_v1::model::ShieldedInstanceIdentityEntry;
let x = ShieldedInstanceIdentity::new().set_ecc_p_256_encryption_key(ShieldedInstanceIdentityEntry::default()/* use setters */);Sourcepub fn set_or_clear_ecc_p_256_encryption_key<T>(self, v: Option<T>) -> Selfwhere
T: Into<ShieldedInstanceIdentityEntry>,
pub fn set_or_clear_ecc_p_256_encryption_key<T>(self, v: Option<T>) -> Selfwhere
T: Into<ShieldedInstanceIdentityEntry>,
Sets or clears the value of ecc_p_256_encryption_key.
§Example
use google_cloud_compute_v1::model::ShieldedInstanceIdentityEntry;
let x = ShieldedInstanceIdentity::new().set_or_clear_ecc_p_256_encryption_key(Some(ShieldedInstanceIdentityEntry::default()/* use setters */));
let x = ShieldedInstanceIdentity::new().set_or_clear_ecc_p_256_encryption_key(None::<ShieldedInstanceIdentityEntry>);Sourcepub fn set_ecc_p_256_signing_key<T>(self, v: T) -> Selfwhere
T: Into<ShieldedInstanceIdentityEntry>,
pub fn set_ecc_p_256_signing_key<T>(self, v: T) -> Selfwhere
T: Into<ShieldedInstanceIdentityEntry>,
Sets the value of ecc_p_256_signing_key.
§Example
use google_cloud_compute_v1::model::ShieldedInstanceIdentityEntry;
let x = ShieldedInstanceIdentity::new().set_ecc_p_256_signing_key(ShieldedInstanceIdentityEntry::default()/* use setters */);Sourcepub fn set_or_clear_ecc_p_256_signing_key<T>(self, v: Option<T>) -> Selfwhere
T: Into<ShieldedInstanceIdentityEntry>,
pub fn set_or_clear_ecc_p_256_signing_key<T>(self, v: Option<T>) -> Selfwhere
T: Into<ShieldedInstanceIdentityEntry>,
Sets or clears the value of ecc_p_256_signing_key.
§Example
use google_cloud_compute_v1::model::ShieldedInstanceIdentityEntry;
let x = ShieldedInstanceIdentity::new().set_or_clear_ecc_p_256_signing_key(Some(ShieldedInstanceIdentityEntry::default()/* use setters */));
let x = ShieldedInstanceIdentity::new().set_or_clear_ecc_p_256_signing_key(None::<ShieldedInstanceIdentityEntry>);Sourcepub fn set_encryption_key<T>(self, v: T) -> Selfwhere
T: Into<ShieldedInstanceIdentityEntry>,
pub fn set_encryption_key<T>(self, v: T) -> Selfwhere
T: Into<ShieldedInstanceIdentityEntry>,
Sets the value of encryption_key.
§Example
use google_cloud_compute_v1::model::ShieldedInstanceIdentityEntry;
let x = ShieldedInstanceIdentity::new().set_encryption_key(ShieldedInstanceIdentityEntry::default()/* use setters */);Sourcepub fn set_or_clear_encryption_key<T>(self, v: Option<T>) -> Selfwhere
T: Into<ShieldedInstanceIdentityEntry>,
pub fn set_or_clear_encryption_key<T>(self, v: Option<T>) -> Selfwhere
T: Into<ShieldedInstanceIdentityEntry>,
Sets or clears the value of encryption_key.
§Example
use google_cloud_compute_v1::model::ShieldedInstanceIdentityEntry;
let x = ShieldedInstanceIdentity::new().set_or_clear_encryption_key(Some(ShieldedInstanceIdentityEntry::default()/* use setters */));
let x = ShieldedInstanceIdentity::new().set_or_clear_encryption_key(None::<ShieldedInstanceIdentityEntry>);Sourcepub fn set_or_clear_kind<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_kind<T>(self, v: Option<T>) -> Self
Sourcepub fn set_signing_key<T>(self, v: T) -> Selfwhere
T: Into<ShieldedInstanceIdentityEntry>,
pub fn set_signing_key<T>(self, v: T) -> Selfwhere
T: Into<ShieldedInstanceIdentityEntry>,
Sets the value of signing_key.
§Example
use google_cloud_compute_v1::model::ShieldedInstanceIdentityEntry;
let x = ShieldedInstanceIdentity::new().set_signing_key(ShieldedInstanceIdentityEntry::default()/* use setters */);Sourcepub fn set_or_clear_signing_key<T>(self, v: Option<T>) -> Selfwhere
T: Into<ShieldedInstanceIdentityEntry>,
pub fn set_or_clear_signing_key<T>(self, v: Option<T>) -> Selfwhere
T: Into<ShieldedInstanceIdentityEntry>,
Sets or clears the value of signing_key.
§Example
use google_cloud_compute_v1::model::ShieldedInstanceIdentityEntry;
let x = ShieldedInstanceIdentity::new().set_or_clear_signing_key(Some(ShieldedInstanceIdentityEntry::default()/* use setters */));
let x = ShieldedInstanceIdentity::new().set_or_clear_signing_key(None::<ShieldedInstanceIdentityEntry>);Trait Implementations§
Source§impl Clone for ShieldedInstanceIdentity
impl Clone for ShieldedInstanceIdentity
Source§fn clone(&self) -> ShieldedInstanceIdentity
fn clone(&self) -> ShieldedInstanceIdentity
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ShieldedInstanceIdentity
impl Debug for ShieldedInstanceIdentity
Source§impl Default for ShieldedInstanceIdentity
impl Default for ShieldedInstanceIdentity
Source§fn default() -> ShieldedInstanceIdentity
fn default() -> ShieldedInstanceIdentity
Source§impl Message for ShieldedInstanceIdentity
impl Message for ShieldedInstanceIdentity
Source§impl PartialEq for ShieldedInstanceIdentity
impl PartialEq for ShieldedInstanceIdentity
impl StructuralPartialEq for ShieldedInstanceIdentity
Auto Trait Implementations§
impl Freeze for ShieldedInstanceIdentity
impl RefUnwindSafe for ShieldedInstanceIdentity
impl Send for ShieldedInstanceIdentity
impl Sync for ShieldedInstanceIdentity
impl Unpin for ShieldedInstanceIdentity
impl UnsafeUnpin for ShieldedInstanceIdentity
impl UnwindSafe for ShieldedInstanceIdentity
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
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