[][src]Struct gcp_client::google::cloud::securitycenter::v1beta1::Asset

pub struct Asset {
    pub name: String,
    pub security_center_properties: Option<SecurityCenterProperties>,
    pub resource_properties: HashMap<String, Value>,
    pub security_marks: Option<SecurityMarks>,
    pub create_time: Option<Timestamp>,
    pub update_time: Option<Timestamp>,
}

Cloud Security Command Center's (Cloud SCC) representation of a Google Cloud Platform (GCP) resource.

The Asset is a Cloud SCC resource that captures information about a single GCP resource. All modifications to an Asset are only within the context of Cloud SCC and don't affect the referenced GCP resource.

Fields

name: String

The relative resource name of this asset. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/assets/{asset_id}".

security_center_properties: Option<SecurityCenterProperties>

Cloud SCC managed properties. These properties are managed by Cloud SCC and cannot be modified by the user.

resource_properties: HashMap<String, Value>

Resource managed properties. These properties are managed and defined by the GCP resource and cannot be modified by the user.

security_marks: Option<SecurityMarks>

User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the asset.

create_time: Option<Timestamp>

The time at which the asset was created in Cloud SCC.

update_time: Option<Timestamp>

The time at which the asset was last updated, added, or deleted in Cloud SCC.

Trait Implementations

impl Clone for Asset[src]

impl Debug for Asset[src]

impl Default for Asset[src]

impl Message for Asset[src]

impl PartialEq<Asset> for Asset[src]

impl StructuralPartialEq for Asset[src]

Auto Trait Implementations

impl RefUnwindSafe for Asset

impl Send for Asset

impl Sync for Asset

impl Unpin for Asset

impl UnwindSafe for Asset

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

impl<T> WithSubscriber for T[src]