pub struct DatasetTemplate {
pub dataset_id_prefix: Option<String>,
pub kms_key_name: Option<String>,
pub location: Option<String>,
}
Expand description
Dataset template used for dynamic dataset creation.
This type is not used in any activity, and only used as part of another schema.
Fields§
§dataset_id_prefix: Option<String>
If supplied, every created dataset will have its name prefixed by the provided value. The prefix and name will be separated by an underscore. i.e. _.
kms_key_name: Option<String>
Describes the Cloud KMS encryption key that will be used to protect destination BigQuery table. The BigQuery Service Account associated with your project requires access to this encryption key. i.e. projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{cryptoKey}. See https://cloud.google.com/bigquery/docs/customer-managed-encryption for more information.
location: Option<String>
Required. The geographic location where the dataset should reside. See https://cloud.google.com/bigquery/docs/locations for supported locations.
Trait Implementations§
Source§impl Clone for DatasetTemplate
impl Clone for DatasetTemplate
Source§fn clone(&self) -> DatasetTemplate
fn clone(&self) -> DatasetTemplate
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for DatasetTemplate
impl Debug for DatasetTemplate
Source§impl Default for DatasetTemplate
impl Default for DatasetTemplate
Source§fn default() -> DatasetTemplate
fn default() -> DatasetTemplate
Source§impl<'de> Deserialize<'de> for DatasetTemplate
impl<'de> Deserialize<'de> for DatasetTemplate
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Serialize for DatasetTemplate
impl Serialize for DatasetTemplate
impl Part for DatasetTemplate
Auto Trait Implementations§
impl Freeze for DatasetTemplate
impl RefUnwindSafe for DatasetTemplate
impl Send for DatasetTemplate
impl Sync for DatasetTemplate
impl Unpin for DatasetTemplate
impl UnwindSafe for DatasetTemplate
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more