Struct google_compute1::api::ResourcePolicyInstanceSchedulePolicy[][src]

pub struct ResourcePolicyInstanceSchedulePolicy {
    pub expiration_time: Option<String>,
    pub start_time: Option<String>,
    pub time_zone: Option<String>,
    pub vm_start_schedule: Option<ResourcePolicyInstanceSchedulePolicySchedule>,
    pub vm_stop_schedule: Option<ResourcePolicyInstanceSchedulePolicySchedule>,
}

An InstanceSchedulePolicy specifies when and how frequent certain operations are performed on the instance.

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

Fields

expiration_time: Option<String>

The expiration time of the schedule. The timestamp is an RFC3339 string.

start_time: Option<String>

The start time of the schedule. The timestamp is an RFC3339 string.

time_zone: Option<String>

Specifies the time zone to be used in interpreting Schedule.schedule. The value of this field must be a time zone name from the tz database: http://en.wikipedia.org/wiki/Tz_database.

vm_start_schedule: Option<ResourcePolicyInstanceSchedulePolicySchedule>

Specifies the schedule for starting instances.

vm_stop_schedule: Option<ResourcePolicyInstanceSchedulePolicySchedule>

Specifies the schedule for stopping instances.

Trait Implementations

impl Clone for ResourcePolicyInstanceSchedulePolicy[src]

impl Debug for ResourcePolicyInstanceSchedulePolicy[src]

impl Default for ResourcePolicyInstanceSchedulePolicy[src]

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

impl Part for ResourcePolicyInstanceSchedulePolicy[src]

impl Serialize for ResourcePolicyInstanceSchedulePolicy[src]

Auto Trait Implementations

impl RefUnwindSafe for ResourcePolicyInstanceSchedulePolicy[src]

impl Send for ResourcePolicyInstanceSchedulePolicy[src]

impl Sync for ResourcePolicyInstanceSchedulePolicy[src]

impl Unpin for ResourcePolicyInstanceSchedulePolicy[src]

impl UnwindSafe for ResourcePolicyInstanceSchedulePolicy[src]

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.