[−][src]Struct google_containeranalysis1_beta1::Occurrence
An instance of an analysis type that has been found on a resource.
Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- occurrences create projects (request|response)
- occurrences get projects (response)
- occurrences patch projects (request|response)
Fields
kind: Option<String>
Output only. This explicitly denotes which of the occurrence details are specified. This field can be used as a filter in list requests.
installation: Option<GrafeasV1beta1PackageDetails>
Describes the installation of a package on the linked resource.
name: Option<String>
Output only. The name of the occurrence in the form of
projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]
.
vulnerability: Option<GrafeasV1beta1VulnerabilityDetails>
Describes a security vulnerability.
update_time: Option<String>
Output only. The time this occurrence was last updated.
discovered: Option<GrafeasV1beta1DiscoveryDetails>
Describes when a resource was discovered.
attestation: Option<Details>
Describes an attestation of an artifact.
build: Option<GrafeasV1beta1BuildDetails>
Describes a verifiable build.
deployment: Option<GrafeasV1beta1DeploymentDetails>
Describes the deployment of an artifact on a runtime.
remediation: Option<String>
A description of actions that can be taken to remedy the note.
resource: Option<ResourceType>
Required. Immutable. The resource for which the occurrence applies.
create_time: Option<String>
Output only. The time this occurrence was created.
derived_image: Option<GrafeasV1beta1ImageDetails>
Describes how this resource derives from the basis in the associated note.
note_name: Option<String>
Required. Immutable. The analysis note associated with this occurrence, in
the form of projects/[PROVIDER_ID]/notes/[NOTE_ID]
. This field can be
used as a filter in list requests.
Trait Implementations
impl ResponseResult for Occurrence
[src]
impl RequestValue for Occurrence
[src]
impl Clone for Occurrence
[src]
fn clone(&self) -> Occurrence
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for Occurrence
[src]
fn default() -> Occurrence
[src]
impl Debug for Occurrence
[src]
impl Serialize for Occurrence
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for Occurrence
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for Occurrence
impl Sync for Occurrence
impl Unpin for Occurrence
impl UnwindSafe for Occurrence
impl RefUnwindSafe for Occurrence
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Typeable for T where
T: Any,
T: Any,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,