Struct google_api_proto::google::cloud::privatecatalog::v1beta1::AssetReference
source · pub struct AssetReference {
pub id: String,
pub description: String,
pub inputs: Option<Inputs>,
pub validation_status: i32,
pub validation_operation: Option<Operation>,
pub gcs_source: Option<GcsSource>,
pub create_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
pub version: String,
pub source: Option<Source>,
}
Expand description
Defines the reference of an asset belonging to a product.
Fields§
§id: String
Output only. A unique identifier among asset references in a product.
description: String
Output only. The human-readable description of the referenced asset. Maximum 256 characters in length.
inputs: Option<Inputs>
Output only. The definition of input parameters to hydrate the asset template.
validation_status: i32
Output only. The current state of the asset reference.
validation_operation: Option<Operation>
Output only. The validation process metadata.
gcs_source: Option<GcsSource>
Output only. The cloud storage source.
create_time: Option<Timestamp>
Output only. The creation timestamp of the asset reference.
update_time: Option<Timestamp>
Output only. The last update timestamp of the asset reference.
version: String
The version of the source used for this asset reference.
source: Option<Source>
The destination of the asset.
Implementations§
source§impl AssetReference
impl AssetReference
sourcepub fn validation_status(&self) -> AssetValidationState
pub fn validation_status(&self) -> AssetValidationState
Returns the enum value of validation_status
, or the default if the field is set to an invalid enum value.
sourcepub fn set_validation_status(&mut self, value: AssetValidationState)
pub fn set_validation_status(&mut self, value: AssetValidationState)
Sets validation_status
to the provided enum value.
Trait Implementations§
source§impl Clone for AssetReference
impl Clone for AssetReference
source§fn clone(&self) -> AssetReference
fn clone(&self) -> AssetReference
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AssetReference
impl Debug for AssetReference
source§impl Default for AssetReference
impl Default for AssetReference
source§impl Message for AssetReference
impl Message for AssetReference
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 AssetReference
impl PartialEq for AssetReference
source§fn eq(&self, other: &AssetReference) -> bool
fn eq(&self, other: &AssetReference) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AssetReference
Auto Trait Implementations§
impl Freeze for AssetReference
impl RefUnwindSafe for AssetReference
impl Send for AssetReference
impl Sync for AssetReference
impl Unpin for AssetReference
impl UnwindSafe for AssetReference
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