[][src]Struct google_securitycenter1::Asset

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

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.

This type is not used in any activity, and only used as part of another schema.

Fields

resource_properties: Option<HashMap<String, String>>

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

update_time: Option<String>

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

name: Option<String>

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

iam_policy: Option<IamPolicy>

IAM Policy information associated with the GCP resource described by the Cloud SCC asset. This information is 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<String>

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

security_center_properties: Option<SecurityCenterProperties>

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

Trait Implementations

impl Part for Asset[src]

impl Default for Asset[src]

impl Clone for Asset[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for Asset[src]

impl Serialize for Asset[src]

impl<'de> Deserialize<'de> for Asset[src]

Auto Trait Implementations

impl Send for Asset

impl Unpin for Asset

impl Sync for Asset

impl UnwindSafe for Asset

impl RefUnwindSafe for Asset

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]