pub struct Asset {Show 13 fields
pub name: String,
pub display_name: String,
pub uid: String,
pub create_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
pub labels: BTreeMap<String, String>,
pub description: String,
pub state: i32,
pub resource_spec: Option<ResourceSpec>,
pub resource_status: Option<ResourceStatus>,
pub security_status: Option<SecurityStatus>,
pub discovery_spec: Option<DiscoverySpec>,
pub discovery_status: Option<DiscoveryStatus>,
}
Expand description
An asset represents a cloud resource that is being managed within a lake as a member of a zone.
Fields§
§name: String
Output only. The relative resource name of the asset, of the form:
projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}
.
display_name: String
Optional. User friendly display name.
uid: String
Output only. System generated globally unique ID for the asset. This ID will be different if the asset is deleted and re-created with the same name.
create_time: Option<Timestamp>
Output only. The time when the asset was created.
update_time: Option<Timestamp>
Output only. The time when the asset was last updated.
labels: BTreeMap<String, String>
Optional. User defined labels for the asset.
description: String
Optional. Description of the asset.
state: i32
Output only. Current state of the asset.
resource_spec: Option<ResourceSpec>
Required. Specification of the resource that is referenced by this asset.
resource_status: Option<ResourceStatus>
Output only. Status of the resource referenced by this asset.
security_status: Option<SecurityStatus>
Output only. Status of the security policy applied to resource referenced by this asset.
discovery_spec: Option<DiscoverySpec>
Optional. Specification of the discovery feature applied to data referenced by this asset. When this spec is left unset, the asset will use the spec set on the parent zone.
discovery_status: Option<DiscoveryStatus>
Output only. Status of the discovery feature applied to data referenced by this asset.
Implementations§
Trait Implementations§
source§impl Message for Asset
impl Message for Asset
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 Asset
impl PartialEq for Asset
impl StructuralPartialEq for Asset
Auto Trait Implementations§
impl Freeze for Asset
impl RefUnwindSafe for Asset
impl Send for Asset
impl Sync for Asset
impl Unpin for Asset
impl UnwindSafe for Asset
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