[−][src]Struct google_storagetransfer1::Schedule
Transfers can be scheduled to recur or to run just once.
This type is not used in any activity, and only used as part of another schema.
Fields
schedule_start_date: Option<Date>
Required. The start date of a transfer. Date boundaries are determined
relative to UTC time. If schedule_start_date
and start_time_of_day
are in the past relative to the job's creation time, the transfer starts
the day after you schedule the transfer request.
Note: When starting jobs at or near midnight UTC it is possible that
a job will start later than expected. For example, if you send an outbound
request on June 1 one millisecond prior to midnight UTC and the Storage
Transfer Service server receives the request on June 2, then it will create
a TransferJob with schedule_start_date
set to June 2 and a
start_time_of_day
set to midnight UTC. The first scheduled
TransferOperation will take place on June 3 at midnight UTC.
start_time_of_day: Option<TimeOfDay>
The time in UTC that a transfer job is scheduled to run. Transfers may start later than this time.
If start_time_of_day
is not specified:
- One-time transfers run immediately.
- Recurring transfers run immediately, and each day at midnight UTC, through schedule_end_date.
If start_time_of_day
is specified:
- One-time transfers run at the specified time.
- Recurring transfers run at the specified time each day, through
schedule_end_date
.
schedule_end_date: Option<Date>
The last day a transfer runs. Date boundaries are determined relative to UTC time. A job will run once per 24 hours within the following guidelines:
- If
schedule_end_date
and schedule_start_date are the same and in the future relative to UTC, the transfer is executed only one time. - If
schedule_end_date
is later thanschedule_start_date
andschedule_end_date
is in the future relative to UTC, the job will run each day at start_time_of_day throughschedule_end_date
.
Trait Implementations
impl Clone for Schedule
[src]
impl Debug for Schedule
[src]
impl Default for Schedule
[src]
impl<'de> Deserialize<'de> for Schedule
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Part for Schedule
[src]
impl Serialize for Schedule
[src]
Auto Trait Implementations
impl RefUnwindSafe for Schedule
impl Send for Schedule
impl Sync for Schedule
impl Unpin for Schedule
impl UnwindSafe for Schedule
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Typeable for T where
T: Any,
T: Any,