Struct google_api_proto::google::cloud::dataplex::v1::DataAttribute
source · pub struct DataAttribute {
pub name: String,
pub uid: String,
pub create_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
pub description: String,
pub display_name: String,
pub labels: BTreeMap<String, String>,
pub parent_id: String,
pub attribute_count: i32,
pub etag: String,
pub resource_access_spec: Option<ResourceAccessSpec>,
pub data_access_spec: Option<DataAccessSpec>,
}Expand description
Denotes one dataAttribute in a dataTaxonomy, for example, PII. DataAttribute resources can be defined in a hierarchy. A single dataAttribute resource can contain specs of multiple types
PII
- ResourceAccessSpec :
- readers :foo@bar.com
- DataAccessSpec :
- readers :bar@foo.comFields§
§name: StringOutput only. The relative resource name of the dataAttribute, of the form: projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}.
uid: StringOutput only. System generated globally unique ID for the DataAttribute. This ID will be different if the DataAttribute is deleted and re-created with the same name.
create_time: Option<Timestamp>Output only. The time when the DataAttribute was created.
update_time: Option<Timestamp>Output only. The time when the DataAttribute was last updated.
description: StringOptional. Description of the DataAttribute.
display_name: StringOptional. User friendly display name.
labels: BTreeMap<String, String>Optional. User-defined labels for the DataAttribute.
parent_id: StringOptional. The ID of the parent DataAttribute resource, should belong to the same data taxonomy. Circular dependency in parent chain is not valid. Maximum depth of the hierarchy allowed is 4. [a -> b -> c -> d -> e, depth = 4]
attribute_count: i32Output only. The number of child attributes present for this attribute.
etag: StringThis checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
resource_access_spec: Option<ResourceAccessSpec>Optional. Specified when applied to a resource (eg: Cloud Storage bucket, BigQuery dataset, BigQuery table).
data_access_spec: Option<DataAccessSpec>Optional. Specified when applied to data stored on the resource (eg: rows, columns in BigQuery Tables).
Trait Implementations§
source§impl Clone for DataAttribute
impl Clone for DataAttribute
source§fn clone(&self) -> DataAttribute
fn clone(&self) -> DataAttribute
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DataAttribute
impl Debug for DataAttribute
source§impl Default for DataAttribute
impl Default for DataAttribute
source§impl Message for DataAttribute
impl Message for DataAttribute
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 DataAttribute
impl PartialEq for DataAttribute
source§fn eq(&self, other: &DataAttribute) -> bool
fn eq(&self, other: &DataAttribute) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DataAttribute
Auto Trait Implementations§
impl Freeze for DataAttribute
impl RefUnwindSafe for DataAttribute
impl Send for DataAttribute
impl Sync for DataAttribute
impl Unpin for DataAttribute
impl UnwindSafe for DataAttribute
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