Struct google_ml1::api::GoogleCloudMlV1__EnvVar[][src]

pub struct GoogleCloudMlV1__EnvVar {
    pub name: Option<String>,
    pub value: Option<String>,
}

Represents an environment variable to be made available in a container. This message is a subset of the Kubernetes EnvVar v1 core specification.

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

Fields

name: Option<String>

Name of the environment variable. Must be a valid C identifier and must not begin with the prefix AIP_.

value: Option<String>

Value of the environment variable. Defaults to an empty string. In this field, you can reference environment variables set by AI Platform Prediction and environment variables set earlier in the same env field as where this message occurs. You cannot reference environment variables set in the Docker image. In order for environment variables to be expanded, reference them by using the following syntax: $(VARIABLE_NAME) Note that this differs from Bash variable expansion, which does not use parentheses. If a variable cannot be resolved, the reference in the input string is used unchanged. To avoid variable expansion, you can escape this syntax with $$; for example: $$(VARIABLE_NAME)

Trait Implementations

impl Clone for GoogleCloudMlV1__EnvVar[src]

impl Debug for GoogleCloudMlV1__EnvVar[src]

impl Default for GoogleCloudMlV1__EnvVar[src]

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

impl Part for GoogleCloudMlV1__EnvVar[src]

impl Serialize for GoogleCloudMlV1__EnvVar[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.