Struct gapi_grpc::google::cloud::asset::v1p7beta1::RelatedAsset[][src]

pub struct RelatedAsset {
    pub asset: String,
    pub asset_type: String,
    pub ancestors: Vec<String>,
}

An asset identify in Google Cloud which contains its name, type and ancestors. An asset can be any resource in the Google Cloud resource hierarchy, a resource outside the Google Cloud resource hierarchy (such as Google Kubernetes Engine clusters and objects), or a policy (e.g. Cloud IAM policy). See Supported asset types for more information.

Fields

asset: String

The full name of the asset. Example: //compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1

See Resource names for more information.

asset_type: String

The type of the asset. Example: compute.googleapis.com/Disk

See Supported asset types for more information.

ancestors: Vec<String>

The ancestors of an asset in Google Cloud resource hierarchy, represented as a list of relative resource names. An ancestry path starts with the closest ancestor in the hierarchy and ends at root.

Example: ["projects/123456789", "folders/5432", "organizations/1234"]

Trait Implementations

impl Clone for RelatedAsset[src]

impl Debug for RelatedAsset[src]

impl Default for RelatedAsset[src]

impl Message for RelatedAsset[src]

impl PartialEq<RelatedAsset> for RelatedAsset[src]

impl StructuralPartialEq for RelatedAsset[src]

Auto Trait Implementations

impl RefUnwindSafe for RelatedAsset

impl Send for RelatedAsset

impl Sync for RelatedAsset

impl Unpin for RelatedAsset

impl UnwindSafe for RelatedAsset

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]