[][src]Struct google_run1::HTTPGetAction

pub struct HTTPGetAction {
    pub path: Option<String>,
    pub host: Option<String>,
    pub scheme: Option<String>,
    pub http_headers: Option<Vec<HTTPHeader>>,
}

Cloud Run fully managed: not supported

Cloud Run for Anthos: supported

HTTPGetAction describes an action based on HTTP Get requests.

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

Fields

path: Option<String>

(Optional)

Cloud Run fully managed: not supported

Cloud Run for Anthos: supported

Path to access on the HTTP server.

host: Option<String>

(Optional)

Cloud Run fully managed: not supported

Cloud Run for Anthos: supported

Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead.

scheme: Option<String>

(Optional)

Cloud Run fully managed: not supported

Cloud Run for Anthos: supported

Scheme to use for connecting to the host. Defaults to HTTP.

http_headers: Option<Vec<HTTPHeader>>

(Optional)

Cloud Run fully managed: not supported

Cloud Run for Anthos: supported

Custom headers to set in the request. HTTP allows repeated headers.

Trait Implementations

impl Clone for HTTPGetAction[src]

impl Debug for HTTPGetAction[src]

impl Default for HTTPGetAction[src]

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

impl Part for HTTPGetAction[src]

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

impl<T> Typeable for T where
    T: Any