[][src]Struct google_compute1::BackendServiceCdnPolicy

pub struct BackendServiceCdnPolicy {
    pub signed_url_key_names: Option<Vec<String>>,
    pub signed_url_cache_max_age_sec: Option<String>,
    pub cache_key_policy: Option<CacheKeyPolicy>,
}

Message containing Cloud CDN configuration for a backend service.

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

Fields

signed_url_key_names: Option<Vec<String>>

[Output Only] Names of the keys for signing request URLs.

signed_url_cache_max_age_sec: Option<String>

Maximum number of seconds the response to a signed URL request will be considered fresh. After this time period, the response will be revalidated before being served. Defaults to 1hr (3600s). When serving responses to signed URL requests, Cloud CDN will internally behave as though all responses from this backend had a "Cache-Control: public, max-age=[TTL]" header, regardless of any existing Cache-Control header. The actual headers served in responses will not be altered.

cache_key_policy: Option<CacheKeyPolicy>

The CacheKeyPolicy for this CdnPolicy.

Trait Implementations

impl Part for BackendServiceCdnPolicy[src]

impl Default for BackendServiceCdnPolicy[src]

impl Clone for BackendServiceCdnPolicy[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for BackendServiceCdnPolicy[src]

impl Serialize for BackendServiceCdnPolicy[src]

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

Auto Trait Implementations

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

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