Struct google_api_proto::google::cloud::dataplex::v1::AspectType
source · pub struct AspectType {
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 etag: String,
pub authorization: Option<Authorization>,
pub metadata_template: Option<MetadataTemplate>,
pub transfer_status: i32,
}
Expand description
Aspect Type is a template for creating Aspects, and represents the JSON-schema for a given Entry, e.g., BigQuery Table Schema.
Fields§
§name: String
Output only. The relative resource name of the AspectType, of the form: projects/{project_number}/locations/{location_id}/aspectTypes/{aspect_type_id}.
uid: String
Output only. System generated globally unique ID for the AspectType. This ID will be different if the AspectType is deleted and re-created with the same name.
create_time: Option<Timestamp>
Output only. The time when the AspectType was created.
update_time: Option<Timestamp>
Output only. The time when the AspectType was last updated.
description: String
Optional. Description of the AspectType.
display_name: String
Optional. User friendly display name.
labels: BTreeMap<String, String>
Optional. User-defined labels for the AspectType.
etag: String
This 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.
Immutable. Authorization defined for this type.
metadata_template: Option<MetadataTemplate>
Required. MetadataTemplate of the aspect.
transfer_status: i32
Output only. Denotes the transfer status of the Aspect Type. It is unspecified for Aspect Types created from Dataplex API.
Implementations§
source§impl AspectType
impl AspectType
sourcepub fn transfer_status(&self) -> TransferStatus
pub fn transfer_status(&self) -> TransferStatus
Returns the enum value of transfer_status
, or the default if the field is set to an invalid enum value.
sourcepub fn set_transfer_status(&mut self, value: TransferStatus)
pub fn set_transfer_status(&mut self, value: TransferStatus)
Sets transfer_status
to the provided enum value.
Trait Implementations§
source§impl Clone for AspectType
impl Clone for AspectType
source§fn clone(&self) -> AspectType
fn clone(&self) -> AspectType
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AspectType
impl Debug for AspectType
source§impl Default for AspectType
impl Default for AspectType
source§impl Message for AspectType
impl Message for AspectType
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
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<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
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<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
self
. Read moresource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
self
.source§impl PartialEq for AspectType
impl PartialEq for AspectType
source§fn eq(&self, other: &AspectType) -> bool
fn eq(&self, other: &AspectType) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AspectType
Auto Trait Implementations§
impl Freeze for AspectType
impl RefUnwindSafe for AspectType
impl Send for AspectType
impl Sync for AspectType
impl Unpin for AspectType
impl UnwindSafe for AspectType
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