#[non_exhaustive]pub struct ExternalSystem {
pub name: String,
pub assignees: Vec<String>,
pub external_uid: String,
pub status: String,
pub external_system_update_time: Option<Timestamp>,
pub case_uri: String,
pub case_priority: String,
pub case_sla: Option<Timestamp>,
pub case_create_time: Option<Timestamp>,
pub case_close_time: Option<Timestamp>,
pub ticket_info: Option<TicketInfo>,
/* private fields */
}Expand description
Representation of third party SIEM/SOAR fields within SCC.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringFull resource name of the external system. The following list shows some examples:
organizations/1234/sources/5678/findings/123456/externalSystems/jira
organizations/1234/sources/5678/locations/us/findings/123456/externalSystems/jira
folders/1234/sources/5678/findings/123456/externalSystems/jira
folders/1234/sources/5678/locations/us/findings/123456/externalSystems/jira
projects/1234/sources/5678/findings/123456/externalSystems/jira
projects/1234/sources/5678/locations/us/findings/123456/externalSystems/jira
assignees: Vec<String>References primary/secondary etc assignees in the external system.
external_uid: StringThe identifier that’s used to track the finding’s corresponding case in the external system.
status: StringThe most recent status of the finding’s corresponding case, as reported by the external system.
external_system_update_time: Option<Timestamp>The time when the case was last updated, as reported by the external system.
case_uri: StringThe link to the finding’s corresponding case in the external system.
case_priority: StringThe priority of the finding’s corresponding case in the external system.
case_sla: Option<Timestamp>The SLA of the finding’s corresponding case in the external system.
case_create_time: Option<Timestamp>The time when the case was created, as reported by the external system.
case_close_time: Option<Timestamp>The time when the case was closed, as reported by the external system.
ticket_info: Option<TicketInfo>Information about the ticket, if any, that is being used to track the resolution of the issue that is identified by this finding.
Implementations§
Source§impl ExternalSystem
impl ExternalSystem
pub fn new() -> Self
Sourcepub fn set_assignees<T, V>(self, v: T) -> Self
pub fn set_assignees<T, V>(self, v: T) -> Self
Sourcepub fn set_external_uid<T: Into<String>>(self, v: T) -> Self
pub fn set_external_uid<T: Into<String>>(self, v: T) -> Self
Sets the value of external_uid.
§Example
let x = ExternalSystem::new().set_external_uid("example");Sourcepub fn set_status<T: Into<String>>(self, v: T) -> Self
pub fn set_status<T: Into<String>>(self, v: T) -> Self
Sourcepub fn set_external_system_update_time<T>(self, v: T) -> Self
pub fn set_external_system_update_time<T>(self, v: T) -> Self
Sets the value of external_system_update_time.
§Example
use wkt::Timestamp;
let x = ExternalSystem::new().set_external_system_update_time(Timestamp::default()/* use setters */);Sourcepub fn set_or_clear_external_system_update_time<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_external_system_update_time<T>(self, v: Option<T>) -> Self
Sets or clears the value of external_system_update_time.
§Example
use wkt::Timestamp;
let x = ExternalSystem::new().set_or_clear_external_system_update_time(Some(Timestamp::default()/* use setters */));
let x = ExternalSystem::new().set_or_clear_external_system_update_time(None::<Timestamp>);Sourcepub fn set_case_uri<T: Into<String>>(self, v: T) -> Self
pub fn set_case_uri<T: Into<String>>(self, v: T) -> Self
Sourcepub fn set_case_priority<T: Into<String>>(self, v: T) -> Self
pub fn set_case_priority<T: Into<String>>(self, v: T) -> Self
Sets the value of case_priority.
§Example
let x = ExternalSystem::new().set_case_priority("example");Sourcepub fn set_case_sla<T>(self, v: T) -> Self
pub fn set_case_sla<T>(self, v: T) -> Self
Sourcepub fn set_or_clear_case_sla<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_case_sla<T>(self, v: Option<T>) -> Self
Sourcepub fn set_case_create_time<T>(self, v: T) -> Self
pub fn set_case_create_time<T>(self, v: T) -> Self
Sets the value of case_create_time.
§Example
use wkt::Timestamp;
let x = ExternalSystem::new().set_case_create_time(Timestamp::default()/* use setters */);Sourcepub fn set_or_clear_case_create_time<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_case_create_time<T>(self, v: Option<T>) -> Self
Sets or clears the value of case_create_time.
§Example
use wkt::Timestamp;
let x = ExternalSystem::new().set_or_clear_case_create_time(Some(Timestamp::default()/* use setters */));
let x = ExternalSystem::new().set_or_clear_case_create_time(None::<Timestamp>);Sourcepub fn set_case_close_time<T>(self, v: T) -> Self
pub fn set_case_close_time<T>(self, v: T) -> Self
Sets the value of case_close_time.
§Example
use wkt::Timestamp;
let x = ExternalSystem::new().set_case_close_time(Timestamp::default()/* use setters */);Sourcepub fn set_or_clear_case_close_time<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_case_close_time<T>(self, v: Option<T>) -> Self
Sets or clears the value of case_close_time.
§Example
use wkt::Timestamp;
let x = ExternalSystem::new().set_or_clear_case_close_time(Some(Timestamp::default()/* use setters */));
let x = ExternalSystem::new().set_or_clear_case_close_time(None::<Timestamp>);Sourcepub fn set_ticket_info<T>(self, v: T) -> Selfwhere
T: Into<TicketInfo>,
pub fn set_ticket_info<T>(self, v: T) -> Selfwhere
T: Into<TicketInfo>,
Sets the value of ticket_info.
§Example
use google_cloud_securitycenter_v2::model::external_system::TicketInfo;
let x = ExternalSystem::new().set_ticket_info(TicketInfo::default()/* use setters */);Sourcepub fn set_or_clear_ticket_info<T>(self, v: Option<T>) -> Selfwhere
T: Into<TicketInfo>,
pub fn set_or_clear_ticket_info<T>(self, v: Option<T>) -> Selfwhere
T: Into<TicketInfo>,
Sets or clears the value of ticket_info.
§Example
use google_cloud_securitycenter_v2::model::external_system::TicketInfo;
let x = ExternalSystem::new().set_or_clear_ticket_info(Some(TicketInfo::default()/* use setters */));
let x = ExternalSystem::new().set_or_clear_ticket_info(None::<TicketInfo>);Trait Implementations§
Source§impl Clone for ExternalSystem
impl Clone for ExternalSystem
Source§fn clone(&self) -> ExternalSystem
fn clone(&self) -> ExternalSystem
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more