Struct google_run1::api::SecretKeySelector[][src]

pub struct SecretKeySelector {
    pub key: Option<String>,
    pub local_object_reference: Option<LocalObjectReference>,
    pub name: Option<String>,
    pub optional: Option<bool>,
}

Cloud Run fully managed: not supported Cloud Run for Anthos: supported SecretKeySelector selects a key of a Secret.

This type is not used in any activity, and only used as part of another schema.

Fields

key: Option<String>

Cloud Run fully managed: supported A Cloud Secret Manager secret version. Must be ‘latest’ for the latest version or an integer for a specific version. Cloud Run for Anthos: supported The key of the secret to select from. Must be a valid secret key.

local_object_reference: Option<LocalObjectReference>

This field should not be used directly as it is meant to be inlined directly into the message. Use the “name” field instead.

name: Option<String>

Cloud Run fully managed: supported The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project. If the secret is in another project, you must define an alias. An alias definition has the form: :projects//secrets/. If multiple alias definitions are needed, they must be separated by commas. The alias definitions must be set on the run.googleapis.com/secrets annotation. Cloud Run for Anthos: supported The name of the secret in the pod’s namespace to select from.

optional: Option<bool>

(Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported Specify whether the Secret or its key must be defined

Trait Implementations

impl Clone for SecretKeySelector[src]

impl Debug for SecretKeySelector[src]

impl Default for SecretKeySelector[src]

impl<'de> Deserialize<'de> for SecretKeySelector[src]

impl Part for SecretKeySelector[src]

impl Serialize for SecretKeySelector[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.