Struct gapi_grpc::google::cloud::privatecatalog::v1beta1::AssetReference[][src]

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>,
}

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

impl AssetReference[src]

pub fn validation_status(&self) -> AssetValidationState[src]

Returns the enum value of validation_status, or the default if the field is set to an invalid enum value.

pub fn set_validation_status(&mut self, value: AssetValidationState)[src]

Sets validation_status to the provided enum value.

Trait Implementations

impl Clone for AssetReference[src]

impl Debug for AssetReference[src]

impl Default for AssetReference[src]

impl Message for AssetReference[src]

impl PartialEq<AssetReference> for AssetReference[src]

impl StructuralPartialEq for AssetReference[src]

Auto Trait Implementations

impl RefUnwindSafe for AssetReference

impl Send for AssetReference

impl Sync for AssetReference

impl Unpin for AssetReference

impl UnwindSafe for AssetReference

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]