pub struct GcsDestination {
pub uri: Option<String>,
pub uri_prefix: Option<String>,
}Expand description
A Cloud Storage location.
This type is not used in any activity, and only used as part of another schema.
Fields§
§uri: Option<String>The URI of the Cloud Storage object. It’s the same URI that is used by gsutil. For example: “gs://bucket_name/object_name”. See Viewing and Editing Object Metadata for more information.
uri_prefix: Option<String>The URI prefix of all generated Cloud Storage objects. For example: “gs://bucket_name/object_name_prefix”. Each object URI is in format: “gs://bucket_name/object_name_prefix// and only contains assets for that type. starts from 0. For example: “gs://bucket_name/object_name_prefix/google.compute.disk/0” is the first shard of output objects containing all google.compute.disk assets. An INVALID_ARGUMENT error will be returned if file with the same name “gs://bucket_name/object_name_prefix” already exists.
Trait Implementations§
Source§impl Clone for GcsDestination
impl Clone for GcsDestination
Source§fn clone(&self) -> GcsDestination
fn clone(&self) -> GcsDestination
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more