Struct google_api_proto::google::cloud::bigquery::analyticshub::v1::sharing_environment_config::DcrExchangeConfig
source · pub struct DcrExchangeConfig {
pub single_selected_resource_sharing_restriction: Option<bool>,
pub single_linked_dataset_per_cleanroom: Option<bool>,
}
Expand description
Data Clean Room (DCR), used for privacy-safe and secured data sharing.
Fields§
§single_selected_resource_sharing_restriction: Option<bool>
Output only. If True, this DCR restricts the contributors to sharing only a single resource in a Listing. And no two resources should have the same IDs. So if a contributor adds a view with a conflicting name, the CreateListing API will reject the request. if False, the data contributor can publish an entire dataset (as before). This is not configurable, and by default, all new DCRs will have the restriction set to True.
single_linked_dataset_per_cleanroom: Option<bool>
Output only. If True, when subscribing to this DCR, it will create only one linked dataset containing all resources shared within the cleanroom. If False, when subscribing to this DCR, it will create 1 linked dataset per listing. This is not configurable, and by default, all new DCRs will have the restriction set to True.
Implementations§
source§impl DcrExchangeConfig
impl DcrExchangeConfig
sourcepub fn single_selected_resource_sharing_restriction(&self) -> bool
pub fn single_selected_resource_sharing_restriction(&self) -> bool
Returns the value of single_selected_resource_sharing_restriction
, or the default value if single_selected_resource_sharing_restriction
is unset.
sourcepub fn single_linked_dataset_per_cleanroom(&self) -> bool
pub fn single_linked_dataset_per_cleanroom(&self) -> bool
Returns the value of single_linked_dataset_per_cleanroom
, or the default value if single_linked_dataset_per_cleanroom
is unset.
Trait Implementations§
source§impl Clone for DcrExchangeConfig
impl Clone for DcrExchangeConfig
source§fn clone(&self) -> DcrExchangeConfig
fn clone(&self) -> DcrExchangeConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DcrExchangeConfig
impl Debug for DcrExchangeConfig
source§impl Default for DcrExchangeConfig
impl Default for DcrExchangeConfig
source§impl Message for DcrExchangeConfig
impl Message for DcrExchangeConfig
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for DcrExchangeConfig
impl PartialEq for DcrExchangeConfig
source§fn eq(&self, other: &DcrExchangeConfig) -> bool
fn eq(&self, other: &DcrExchangeConfig) -> bool
self
and other
values to be equal, and is used
by ==
.impl Copy for DcrExchangeConfig
impl StructuralPartialEq for DcrExchangeConfig
Auto Trait Implementations§
impl Freeze for DcrExchangeConfig
impl RefUnwindSafe for DcrExchangeConfig
impl Send for DcrExchangeConfig
impl Sync for DcrExchangeConfig
impl Unpin for DcrExchangeConfig
impl UnwindSafe for DcrExchangeConfig
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request