Struct google_api_proto::google::cloud::bigquery::analyticshub::v1::DataExchange
source · pub struct DataExchange {
pub name: String,
pub display_name: String,
pub description: String,
pub primary_contact: String,
pub documentation: String,
pub listing_count: i32,
pub icon: Bytes,
pub sharing_environment_config: Option<SharingEnvironmentConfig>,
pub discovery_type: Option<i32>,
}
Expand description
A data exchange is a container that lets you share data. Along with the descriptive information about the data exchange, it contains listings that reference shared datasets.
Fields§
§name: String
Output only. The resource name of the data exchange.
e.g. projects/myproject/locations/US/dataExchanges/123
.
display_name: String
Required. Human-readable display name of the data exchange. The display name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), ampersands (&) and must not start or end with spaces. Default value is an empty string. Max length: 63 bytes.
description: String
Optional. Description of the data exchange. The description must not contain Unicode non-characters as well as C0 and C1 control codes except tabs (HT), new lines (LF), carriage returns (CR), and page breaks (FF). Default value is an empty string. Max length: 2000 bytes.
primary_contact: String
Optional. Email or URL of the primary point of contact of the data exchange. Max Length: 1000 bytes.
documentation: String
Optional. Documentation describing the data exchange.
listing_count: i32
Output only. Number of listings contained in the data exchange.
icon: Bytes
Optional. Base64 encoded image representing the data exchange. Max Size: 3.0MiB Expected image dimensions are 512x512 pixels, however the API only performs validation on size of the encoded data. Note: For byte fields, the content of the fields are base64-encoded (which increases the size of the data by 33-36%) when using JSON on the wire.
sharing_environment_config: Option<SharingEnvironmentConfig>
Optional. Configurable data sharing environment option for a data exchange.
discovery_type: Option<i32>
Optional. Type of discovery on the discovery page for all the listings under this exchange. Updating this field also updates (overwrites) the discovery_type field for all the listings under this exchange.
Implementations§
source§impl DataExchange
impl DataExchange
sourcepub fn discovery_type(&self) -> DiscoveryType
pub fn discovery_type(&self) -> DiscoveryType
Returns the enum value of discovery_type
, or the default if the field is unset or set to an invalid enum value.
sourcepub fn set_discovery_type(&mut self, value: DiscoveryType)
pub fn set_discovery_type(&mut self, value: DiscoveryType)
Sets discovery_type
to the provided enum value.
Trait Implementations§
source§impl Clone for DataExchange
impl Clone for DataExchange
source§fn clone(&self) -> DataExchange
fn clone(&self) -> DataExchange
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DataExchange
impl Debug for DataExchange
source§impl Default for DataExchange
impl Default for DataExchange
source§impl Message for DataExchange
impl Message for DataExchange
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 DataExchange
impl PartialEq for DataExchange
source§fn eq(&self, other: &DataExchange) -> bool
fn eq(&self, other: &DataExchange) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DataExchange
Auto Trait Implementations§
impl !Freeze for DataExchange
impl RefUnwindSafe for DataExchange
impl Send for DataExchange
impl Sync for DataExchange
impl Unpin for DataExchange
impl UnwindSafe for DataExchange
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