[][src]Struct google_datastore1::GoogleDatastoreAdminV1ImportEntitiesRequest

pub struct GoogleDatastoreAdminV1ImportEntitiesRequest {
    pub labels: Option<HashMap<String, String>>,
    pub input_url: Option<String>,
    pub entity_filter: Option<GoogleDatastoreAdminV1EntityFilter>,
}

The request for google.datastore.admin.v1.DatastoreAdmin.ImportEntities.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

labels: Option<HashMap<String, String>>

Client-assigned labels.

input_url: Option<String>

The full resource URL of the external storage location. Currently, only Google Cloud Storage is supported. So input_url should be of the form: gs://BUCKET_NAME[/NAMESPACE_PATH]/OVERALL_EXPORT_METADATA_FILE, where BUCKET_NAME is the name of the Cloud Storage bucket, NAMESPACE_PATH is an optional Cloud Storage namespace path (this is not a Cloud Datastore namespace), and OVERALL_EXPORT_METADATA_FILE is the metadata file written by the ExportEntities operation. For more information about Cloud Storage namespace paths, see Object name considerations.

For more information, see google.datastore.admin.v1.ExportEntitiesResponse.output_url.

entity_filter: Option<GoogleDatastoreAdminV1EntityFilter>

Optionally specify which kinds/namespaces are to be imported. If provided, the list must be a subset of the EntityFilter used in creating the export, otherwise a FAILED_PRECONDITION error will be returned. If no filter is specified then all entities from the export are imported.

Trait Implementations

impl RequestValue for GoogleDatastoreAdminV1ImportEntitiesRequest[src]

impl Default for GoogleDatastoreAdminV1ImportEntitiesRequest[src]

impl Clone for GoogleDatastoreAdminV1ImportEntitiesRequest[src]

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

Performs copy-assignment from source. Read more

impl Debug for GoogleDatastoreAdminV1ImportEntitiesRequest[src]

impl Serialize for GoogleDatastoreAdminV1ImportEntitiesRequest[src]

impl<'de> Deserialize<'de> for GoogleDatastoreAdminV1ImportEntitiesRequest[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]