Struct gapi_grpc::google::cloud::securitycenter::v1p1beta1::Asset[][src]

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>,
    pub iam_policy: Option<IamPolicy>,
    pub canonical_name: String,
}

Security Command Center representation of a Google Cloud resource.

The Asset is a Security Command Center resource that captures information about a single Google Cloud resource. All modifications to an Asset are only within the context of Security Command Center and don’t affect the referenced Google Cloud 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>

Security Command Center managed properties. These properties are managed by Security Command Center and cannot be modified by the user.

resource_properties: HashMap<String, Value>

Resource managed properties. These properties are managed and defined by the Google Cloud 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 Security Command Center.

update_time: Option<Timestamp>

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

iam_policy: Option<IamPolicy>

Cloud IAM Policy information associated with the Google Cloud resource described by the Security Command Center asset. This information is managed and defined by the Google Cloud resource and cannot be modified by the user.

canonical_name: String

The canonical name of the resource. It’s either “organizations/{organization_id}/assets/{asset_id}”, “folders/{folder_id}/assets/{asset_id}” or “projects/{project_number}/assets/{asset_id}”, depending on the closest CRM ancestor of the resource.

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