Struct google_storagetransfer1::api::TransferSpec[][src]

pub struct TransferSpec {
    pub aws_s3_data_source: Option<AwsS3Data>,
    pub azure_blob_storage_data_source: Option<AzureBlobStorageData>,
    pub gcs_data_sink: Option<GcsData>,
    pub gcs_data_source: Option<GcsData>,
    pub http_data_source: Option<HttpData>,
    pub object_conditions: Option<ObjectConditions>,
    pub transfer_options: Option<TransferOptions>,
}

Configuration for running a transfer.

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

Fields

aws_s3_data_source: Option<AwsS3Data>

An AWS S3 data source.

azure_blob_storage_data_source: Option<AzureBlobStorageData>

An Azure Blob Storage data source.

gcs_data_sink: Option<GcsData>

A Cloud Storage data sink.

gcs_data_source: Option<GcsData>

A Cloud Storage data source.

http_data_source: Option<HttpData>

An HTTP URL data source.

object_conditions: Option<ObjectConditions>

Only objects that satisfy these object conditions are included in the set of data source and data sink objects. Object conditions based on objects’ “last modification time” do not exclude objects in a data sink.

transfer_options: Option<TransferOptions>

If the option delete_objects_unique_in_sink is true and time-based object conditions such as ‘last modification time’ are specified, the request fails with an INVALID_ARGUMENT error.

Trait Implementations

impl Clone for TransferSpec[src]

impl Debug for TransferSpec[src]

impl Default for TransferSpec[src]

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

impl Part for TransferSpec[src]

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